From f407688e92951e94745354f90625bd0786cf9404 Mon Sep 17 00:00:00 2001 From: "jean-christophe.alleman" Date: Fri, 19 Apr 2019 10:20:08 +0200 Subject: [PATCH] feat(me.voucherAccount): add api endpoints --- dist/ovh-api-services.js | 43 +++++++++++++++++++ dist/ovh-api-services.min.js | 20 ++++----- src/me/me.service.js | 3 ++ .../me-voucherAccount.service.js | 11 +++++ .../me-voucherAccount.v6.service.js | 8 ++++ .../me-voucherAccount-movements.service.js | 8 ++++ .../me-voucherAccount-movements.v6.service.js | 9 ++++ 7 files changed, 92 insertions(+), 10 deletions(-) create mode 100644 src/me/voucherAccount/me-voucherAccount.service.js create mode 100644 src/me/voucherAccount/me-voucherAccount.v6.service.js create mode 100644 src/me/voucherAccount/movements/me-voucherAccount-movements.service.js create mode 100644 src/me/voucherAccount/movements/me-voucherAccount-movements.v6.service.js diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index 28d63d54..6b584166 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -10620,6 +10620,9 @@ angular.module("ovh-api-services").service("OvhApiMe", ["$injector", function ($ }, Payment: function () { return $injector.get("OvhApiMePayment"); + }, + VoucherAccount: function () { + return $injector.get("OvhApiMeVoucherAccount"); } }; }]); @@ -11376,6 +11379,46 @@ angular.module("ovh-api-services").service("OvhApiMeVipStatusV6", ["$injector", return req; }]); +angular.module("ovh-api-services").service("OvhApiMeVoucherAccount", ["$injector", function ($injector) { + "use strict"; + return { + v6: function () { + return $injector.get("OvhApiMeVoucherAccountV6"); + }, + Movements: function () { + return $injector.get("OvhApiMeVoucherAccountMovements"); + } + }; +}]); + +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountV6", ["$resource", function ($resource) { + "use strict"; + + return $resource("/me/voucherAccount/:voucherAccountId", { + voucherAccountId: "@voucherAccountId" + }); + +}]); + +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovements", ["$injector", function ($injector) { + "use strict"; + return { + v6: function () { + return $injector.get("OvhApiMeVoucherAccountMovementsV6"); + } + }; +}]); + +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovementsV6", ["$resource", function ($resource) { + "use strict"; + + return $resource("/me/voucherAccount/:voucherAccountId/movements/:movementId", { + voucherAccountId: "@voucherAccountId", + movementId: "@movementId" + }); + +}]); + angular .module("ovh-api-services") .service("OvhApiMetrics", ["$injector", function ($injector) { diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 7d776253..9d7a76ab 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -1,4 +1,4 @@ -/*! ovh-api-services - 6.11.1 - 2019-04-16 */ +/*! ovh-api-services - 6.11.1 - 2019-04-18 */ angular.module("ovh-api-services",["ngOvhApiWrappers","ngOvhSwimmingPoll"]),angular.module("ovh-api-services").service("OvhApiAnalytics",["$injector",function(a){"use strict";return{Platforms:function(){return a.get("OvhApiAnalyticsPlatforms")},Capabilities:function(){return a.get("OvhApiAnalyticsCapabilities")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsCapabilities",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAnalyticsCapabilitiesV6")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsCapabilitiesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiAnalyticsCapabilitiesV6Query"),d=a("/analytics/capabilities/platforms",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiAnalyticsPlatforms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAnalyticsPlatformsV6")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsPlatformsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiAnalyticsPlatformsV6"),d=b("OvhApiAnalyticsPlatformsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/analytics/platforms/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},deploy:{method:"POST",interceptor:e},getActivity:{url:"/analytics/platforms/{serviceName}/activity",method:"GET",cache:c},getNodes:{url:"/analytics/platforms/{serviceName}/nodes",method:"GET",cache:c},getStatus:{url:"/analytics/platforms/{serviceName}/status",method:"GET",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiAuth",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAuthV6")}}}]),angular.module("ovh-api-services").service("OvhApiAuthV6",["$resource","$http",function(a,b){"use strict";return a("/auth",{},{logout:{url:"/auth/logout",method:"POST",isArray:!1},time:{url:"/auth/time",method:"GET",isArray:!1,transformResponse:b.defaults.transformResponse.concat(function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d})}})}]),angular.module("ovh-api-services").service("OvhApiCdn",["$injector",function(a){"use strict";return{Dedicated:function(){return a.get("OvhApiCdnDedicated")},Website:function(){return a.get("OvhApiCdnWebsite")},Webstorage:function(){return a.get("OvhApiCdnWebstorage")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicated",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnDedicated");return{v6:function(){return a.get("OvhApiCdnDedicatedV6")},Domains:function(){return a.get("OvhApiCdnDedicatedDomains")},Ssl:function(){return a.get("OvhApiCdnDedicatedSsl")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedV6",["$resource","$q","OvhApiCdnDedicated",function(a,b,c){"use strict";return a("/cdn/dedicated/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache},quota:{method:"GET",url:"/cdn/dedicated/:serviceName/quota",isArray:!0},logs:{method:"POST",url:"/cdn/dedicated/:serviceName/logs"},swsGetStatistics:{method:"GET",url:"/sws/dedicated/cdn/:serviceName/statistics",serviceType:"aapi",isArray:!1},swsGetAllBackends:{method:"GET",url:"/sws/dedicated/cdn/:serviceName/backends",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsBackends",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsBackendsV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsBackendsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain/backends/:ip",{serviceName:"@serviceName",domain:"@domain",ip:"@ip"},{add:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/backends",params:{ip:"@ip"}}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsCacheRules",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsCacheRulesV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain/cacheRules/:cacheRuleId",{serviceName:"@serviceName",domain:"@domain",cacheRuleId:"@cacheRuleId"},{flush:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/cacheRules/:cacheRuleId/flush"}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomains",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsV6")},Backends:function(){return a.get("OvhApiCdnDedicatedDomainsBackends")},CacheRules:function(){return a.get("OvhApiCdnDedicatedDomainsCacheRules")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain",{serviceName:"@serviceName",domain:"@domain"},{add:{method:"POST",url:"/cdn/dedicated/:serviceName/domains",params:{domain:"@domain"}},flush:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/flush"},logs:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/logs"},statistics:{method:"GET",url:"/cdn/dedicated/:serviceName/domains/:domain/statistics"},update:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedSslV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/ssl",{serviceName:"@serviceName"},{update:{method:"POST",url:"/cdn/dedicated/:serviceName/ssl/update"}})}]),angular.module("ovh-api-services").service("OvhApiCdnWebsite",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebsite");return{v6:function(){return a.get("OvhApiCdnWebsiteV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebsiteV6",["$resource","$q","OvhApiCdnWebsite",function(a,b,c){"use strict";return a("/cdn/website/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache}})}]),angular.module("ovh-api-services").service("OvhApiCdnWebstorage",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebstorage");return{v6:function(){return a.get("OvhApiCdnWebstorageV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebstorageV6",["$resource","$q","OvhApiCdnWebstorage",function(a,b,c){"use strict";return a("/cdn/webstorage/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache}})}]),angular.module("ovh-api-services").service("OvhApiChangelogAapi",["$resource",function(a){"use strict";return a("/changelog",{},{query:{serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiChangelog",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiChangelogAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudAapiQuery"),d=a("/cloud/instances",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudV6")},Aapi:function(){return a.get("OvhApiCloudAapi")},Price:function(){return a.get("OvhApiCloudPrice")},Project:function(){return a.get("OvhApiCloudProject")},PCA:function(){return a.get("OvhApiCloudPCA")}}}]),angular.module("ovh-api-services").service("OvhApiCloudV6",["$resource","OvhApiCloudProjectV6","OvhApiVrack",function(a,b,c){var d={response:function(a){return b.resetAllCache(),c.v6().resetCache(),c.Aapi().resetCache(),a.data}};return a("/cloud",{},{query:{method:"GET",isArray:!0},schema:{method:"GET",url:"/cloud.json"},createProject:{url:"/cloud/createProject",method:"POST",interceptor:d},createProjectInfo:{url:"/cloud/createProjectInfo",method:"GET"},order:{url:"/cloud/order",method:"GET",isArray:!0},subsidiaryPrice:{url:"/cloud/subsidiaryPrice",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiCloudPCA",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudPCAV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudPCAV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPCAv6Query"),d=b("OvhApiCloudPCAV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/:serviceName/pca/:pcaServiceName",{serviceName:"@serviceName",pcaServiceName:"@pcaServiceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},transferState:{url:"/cloud/:serviceName/pca/:pcaServiceName/transferState",method:"GET",cache:d},transfer:{url:"/cloud/:serviceName/pca/:pcaServiceName/transfer",method:"POST",interceptor:e},download:{url:"/cloud/:serviceName/pca/:pcaServiceName/download",method:"POST",interceptor:e},deleteData:{url:"/cloud/:serviceName/pca/:pcaServiceName/deleteData",method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudPrice",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudPriceV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudPriceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPriceV6");return a("/cloud/price",{flavorId:"@flavorId",region:"@region"},{get:{method:"GET",cache:c},query:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAcl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAclV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAclV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAclV6Query"),d=b("OvhApiCloudProjectAclV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/acl/:accountId",{serviceName:"@serviceName",accountId:"@accountId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},remove:{method:"DELETE",interceptor:e},add:{url:"/cloud/project/:serviceName/acl",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAggregateAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAggregateAapi"),d=a("/cloud/project/:serviceName/aggregate",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAggregate",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiCloudProjectAggregateAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAlerting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAlertingV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAlertingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAlertingV6Query"),d=b("OvhApiCloudProjectAlertingV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/alerting/:alertId",{serviceName:"@serviceName",alertId:"@alertId"},{getIds:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},alert:{url:"/cloud/project/:serviceName/alerting/:alertId/alert",method:"GET",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBill",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectBillV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBillV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/bill",{serviceName:"@serviceName",from:"@from",to:"@to"})}]),angular.module("ovh-api-services").service("OvhApiCloudProject",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("CloudProject");return{v6:function(){return a.get("OvhApiCloudProjectV6")},resetCache:c.removeAll,cache:c,Acl:function(){return a.get("OvhApiCloudProjectAcl")},Flavor:function(){return a.get("OvhApiCloudProjectFlavor")},Image:function(){return a.get("OvhApiCloudProjectImage")},Instance:function(){return a.get("OvhApiCloudProjectInstance")},Ip:function(){return a.get("OvhApiCloudProjectIp")},Kube:function(){return a.get("OvhApiCloudProjectKube")},Region:function(){return a.get("OvhApiCloudProjectRegion")},Snapshot:function(){return a.get("OvhApiCloudProjectSnapshot")},SshKey:function(){return a.get("OvhApiCloudProjectSshKey")},Credit:function(){return a.get("OvhApiCloudProjectCredit")},User:function(){return a.get("OvhApiCloudProjectUser")},ServiceInfos:function(){return a.get("OvhApiCloudProjectServiceInfos")},Alerting:function(){return a.get("OvhApiCloudProjectAlerting")},Bill:function(){return a.get("OvhApiCloudProjectBill")},Migration:function(){return a.get("OvhApiCloudProjectMigration")},Stack:function(){return a.get("OvhApiCloudProjectStack")},Volume:function(){return a.get("OvhApiCloudProjectVolume")},Network:function(){return a.get("OvhApiCloudProjectNetwork")},Quota:function(){return a.get("OvhApiCloudProjectQuota")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectV6",["$cacheFactory","$resource","$q","OvhApiCloudProject",function(a,b,c,d){"use strict";var e=a("OvhApiCloudProjectV6Query"),f={response:function(a){return d.resetCache(),a.data}},g=b("/cloud/project/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d.cache},unleash:{url:"/cloud/project/:serviceName/unleash",method:"POST",interceptor:f},put:{url:"/cloud/project/:serviceName",method:"PUT",interceptor:f},"delete":{url:"/cloud/project/:serviceName/terminate",method:"POST",interceptor:f},cancelCreation:{url:"/cloud/project/:serviceName/cancel",method:"POST",interceptor:f},vrack:{url:"/cloud/project/:serviceName/vrack",method:"GET"},createVrack:{url:"/cloud/project/:serviceName/vrack",method:"POST",hasBody:!1},operations:{method:"GET",isArray:!0,url:"/cloud/project/:serviceName/operation"},getOperation:{method:"GET",url:"/cloud/project/:serviceName/operation/:operationId"}});return g.queryDetails=function(){return g.query().$promise.then(function(a){var b=[];return angular.forEach(a,function(a){b.push(g.get({serviceName:a}).$promise)}),c.all(b)})},g.resetAllCache=function(){d.resetCache()},g.resetCache=function(){d.resetCache()},g.resetQueryCache=function(){d.resetCache()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiCloudProjectConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectConsumptionV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/consumption",{serviceName:"@serviceName"},{query:{method:"GET"},current:{url:"/cloud/project/:serviceName/usage/current",method:"GET"},bills:{url:"/cloud/project/:serviceName/usage/history",params:{serviceName:"@serviceName"},queryParams:{from:"@from",to:"@to"},method:"GET",isArray:!0},bill:{url:"/cloud/project/:serviceName/usage/history/:usageId",params:{usageId:"@usageId"},method:"GET"}});return b.getConsumption=function(a,c){if(c.startOf("month").isSame(moment().startOf("month")))return this.current({serviceName:a}).$promise;var d=c.startOf("month").subtract(1,"day").toISOString(),e=c.endOf("month").toISOString();return b.bills({serviceName:a,from:d,to:e}).$promise.then(function(a){return _.map(a,"id")}).then(function(c){return _.any(c)?b.bill({serviceName:a,usageId:_.first(c)}).$promise:null})},b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCreditAapi",["$resource","OvhApiCloudProjectCredit",function(a,b){"use strict";var c=a("/cloud/project/:serviceName/credit",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",cache:b.cache.aapi.query,isArray:!0}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCredit",["$injector","$cacheFactory",function(a,b){"use strict";var c={v6:{query:b("OvhApiCloudProjectCreditV6Query"),get:b("OvhApiCloudProjectCreditV6")},aapi:{query:b("OvhApiCloudProjectCreditAapiQuery")}};return{v6:function(){return a.get("OvhApiCloudProjectCreditV6")},Aapi:function(){return a.get("OvhApiCloudProjectCreditAapi")},resetCache:function(){c.v6.query.removeAll(),c.v6.get.removeAll(),c.aapi.query.removeAll()},cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCreditV6",["$resource","OvhApiCloudProjectCredit",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/credit/:creditId",{serviceName:"@serviceName",creditId:"@creditId"},{get:{method:"GET",cache:b.cache.v6.get},query:{method:"GET",cache:b.cache.v6.query,isArray:!0},save:{method:"POST",interceptor:c}});return d.resetCache=function(){b.cache.v6.get.removeAll()},d.resetQueryCache=function(){b.cache.v6.query.removeAll(),b.cache.aapi.query.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavor",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectFlavorV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavorV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectFlavorV6"),d=b("OvhApiCloudProjectFlavorV6Query"),e=a("/cloud/project/:serviceName/flavor/:flavorId",{serviceName:"@serviceName",flavorId:"@flavorId"},{get:{method:"GET",cache:c,transformResponse:function(a,b,c){var d=a;return 200===c&&(d=angular.fromJson(d),d.typeGeneric=_.snakeCase(d.type),d.groupName=d.name.replace(/^win\-/,"")),d}},query:{method:"GET",cache:d,isArray:!0,queryParams:{region:"@region"},transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),angular.forEach(d,function(a){a.typeGeneric=_.snakeCase(a.type),a.groupName=a.name.replace(/^win\-/,"")}),_.sortBy(d,function(a){return/(\d+)/.test(a.name)?parseInt(a.name.match(/(\d+)/)[0],10):a.name})):d}}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecastV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/forecast",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectImageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImageV6",["$resource","$cacheFactory",function(a,b){"use strict";function c(a,b){if(e[b]){for(var c=0,d=e[b].length;d>c;c++)if(e[b][c].regex.test(a))return e[b][c].name;return b+"_other"}return"unknown"}var d=b("OvhApiCloudProjectImageV6"),e={linux:[{name:"ubuntu",regex:/^Ubuntu/i},{name:"freebsd",regex:/^FreeBSD/i},{name:"coreos",regex:/^CoreOS/i},{name:"debian",regex:/^Debian/i},{name:"centos",regex:/^Cent[\s\-]?OS/i},{name:"fedora",regex:/^Fedora/i},{name:"dokku",regex:/^Dokku/i}],windows:[{name:"windows_server_2012",regex:/^Win[a-zA-Z\s\-]+2012/i},{name:"windows_server_2016",regex:/^Win[a-zA-Z\s\-]+2016/i}]};return a("/cloud/project/:serviceName/image/:imageId",{serviceName:"@serviceName",imageId:"@imageId"},{get:{method:"GET",cache:d,transformResponse:function(a,b,d){var e=a;return 200===d&&(e=angular.fromJson(e),e.nameGeneric=_.snakeCase(e.name),e.distribution=c(e.name,e.type)),e}},query:{method:"GET",cache:d,isArray:!0,transformResponse:function(a,b,d){var e=a;return 200===d?(e=angular.fromJson(e),angular.forEach(e,function(a){a.nameGeneric=_.snakeCase(a.name),a.distribution=c(a.name,a.type)}),_.sortBy(e,"name")):e}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceAapi",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c=a("/cloud/project/:projectId/instance/monitoring",{projectId:"@projectId"},{monitoring:{url:"/cloud/project/:projectId/instance/monitoring",cache:b.cache,method:"GET",serviceType:"aapi"},summary:{url:"/cloud/project/:projectId/instance/:instanceId/summary",cache:b.cache,method:"GET",serviceType:"aapi",params:{instanceId:"@instanceId"}}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstance",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstance");return{v6:function(){return a.get("OvhApiCloudProjectInstanceV6")},Aapi:function(){return a.get("OvhApiCloudProjectInstanceAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceV6",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/instance/:instanceId",{serviceName:"@serviceName",instanceId:"@instanceId"},{get:{method:"GET",cache:b.cache},query:{method:"GET",cache:b.cache,isArray:!0},save:{method:"POST",interceptor:c},remove:{method:"DELETE",interceptor:c},"delete":{method:"DELETE",interceptor:c},put:{method:"PUT",interceptor:c},backup:{url:"/cloud/project/:serviceName/instance/:instanceId/snapshot",method:"POST",isArray:!1,interceptor:c},reboot:{url:"/cloud/project/:serviceName/instance/:instanceId/reboot",method:"POST",interceptor:c},resume:{url:"/cloud/project/:serviceName/instance/:instanceId/resume",method:"POST",interceptor:c},activeMonthlyBilling:{url:"/cloud/project/:serviceName/instance/:instanceId/activeMonthlyBilling",method:"POST",interceptor:c},applicationAccess:{url:"/cloud/project/:serviceName/instance/:instanceId/applicationAccess",method:"POST",isArray:!0},resize:{url:"/cloud/project/:serviceName/instance/:instanceId/resize",method:"POST",interceptor:c},reinstall:{url:"/cloud/project/:serviceName/instance/:instanceId/reinstall",method:"POST",interceptor:c},rescueMode:{url:"/cloud/project/:serviceName/instance/:instanceId/rescueMode",method:"POST",interceptor:c},vnc:{url:"/cloud/project/:serviceName/instance/:instanceId/vnc",method:"POST"},bulk:{url:"/cloud/project/:serviceName/instance/bulk",method:"POST",interceptor:c,isArray:!0},monitoring:{url:"/cloud/project/:serviceName/instance/:instanceId/monitoring",cache:b.cache,method:"GET"}});return d.resetAllCache=function(){b.resetCache()},d.resetCache=function(){b.resetCache()},d.resetQueryCache=function(){b.resetCache()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIp",["OvhApiCloudProjectIpFailover",function(a){"use strict";return{failover:a}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpV6Query"),d=b("OvhApiCloudProjectIpV6"),e=a("/cloud/project/:serviceName/ip",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailover",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIpFailoverV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailoverV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpFailoverV6Query"),d=b("OvhApiCloudProjectIpFailoverV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/ip/failover/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},attach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/attach",interceptor:e},detach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/detach",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplb",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIplbV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplbV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIplbV6Query"),d=b("OvhApiCloudProjectIplbV6"),e=a("/cloud/project/:serviceName/ipLoadbalancing/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},post:{method:"POST"},validate:{method:"POST",url:"/cloud/project/:serviceName/ipLoadbalancing/:id/validate"},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKubeAapi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiCloudProjectKubeAapi"),d=b("/cloud/project/:serviceName/kube",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKube",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiCloudProjectKubeAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectMigration",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectMigrationV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectMigrationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectMigrationV6Query"),d=b("OvhApiCloudProjectMigrationV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/migration/:migrationId",{serviceName:"@serviceName",migrationId:"@migrationId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetwork",["$injector",function(a){"use strict";return{Private:function(){return a.get("OvhApiCloudProjectNetworkPrivate")},Public:function(){return a.get("OvhApiCloudProjectNetworkPublic")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivate",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPrivateV6")},Subnet:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnet")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateV6Query"),d=b("OvhApiCloudProjectNetworkPrivateV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/network/private/:networkId",{serviceName:"@serviceName",networkId:"@networkId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateSubnet",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnetV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateSubnetV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateSubnetV6Query"),d=b("OvhApiCloudProjectNetworkPrivateSubnetV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/network/private/:networkId/subnet/:subnetId",{serviceName:"@serviceName",networkId:"@networkId",subnetId:"@subnetId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPublic",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPublicV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPublicV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPublicV6Query"),d=a("/cloud/project/:serviceName/network/public/:networkId",{serviceName:"@serviceName",networkId:"@networkId"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetQueryCache()},d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectOpenstackClient",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectOpenstackClientV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectOpenstackClientV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/openstackClient",{serviceName:"@serviceName"},{post:{method:"POST"}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectQuotaV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/quota",{serviceName:"@serviceName"},{get:{method:"GET"},query:{method:"GET",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAvailableRegions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAvailableRegionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAvailableRegionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAvailableRegionsV6Query"),d=b("OvhApiCloudProjectAvailableRegionsV6"),e=a("/cloud/project/:serviceName/regionAvailable",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),d.sort()):d}}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionV6")},Workflow:function(){return a.get("OvhApiCloudProjectRegionWorkflow"); },AvailableRegions:function(){return a.get("OvhApiCloudProjectAvailableRegions")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionV6Query"),d=b("OvhApiCloudProjectRegionV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/region/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),d.sort()):d}},addRegion:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackupV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackupV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionWorkflowBackupV6Query"),d={response:function(a){return c.removeAll(),a.data}},e=a("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupId",{serviceName:"@serviceName",regionName:"@regionName"},{query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflow",["$injector",function(a){"use strict";return{Backup:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackup")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfos",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectServiceInfosV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfosV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectServiceInfosV6Query"),d=b("OvhApiCloudProjectServiceInfosV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/serviceInfos",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSnapshotV6Query"),d=b("OvhApiCloudProjectSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/snapshot/:snapshotId",{serviceName:"@serviceName",snapshotId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):d}},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSshKeyV6Query"),d=b("OvhApiCloudProjectSshKeyV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/sshkey/:keyId",{serviceName:"@serviceName",keyId:"@keyId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):angular.fromJson(d)}},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStackV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectStackV6Query"),d=b("OvhApiCloudProjectStackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/stack/:stackId",{serviceName:"@serviceName",stackId:"@stackId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},availability:{url:"/cloud/project/:serviceName/stack/:stackId/availability",method:"GET",interceptor:e},client:{url:"/cloud/project/:serviceName/stack/:stackId/client",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorageAapi",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/storages",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",archive:"@archive",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStorageV6")},Aapi:function(){return a.get("OvhApiCloudProjectStorageAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorageV6",["$resource",function(a){"use strict";var b="/:basePath/cloud/project/:projectId/storage/:containerId";return a(b,{projectId:"@projectId",containerId:"@containerId"},{access:{method:"POST",url:"/:basePath/cloud/project/:projectId/storage/access"},cors:{method:"POST",url:b+"/cors"},getURL:{method:"POST",url:b+"/publicUrl"},"static":{method:"POST",url:b+"/static"}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsage",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiCloudProjectUsageHistory")},Current:function(){return a.get("OvhApiCloudProjectUsageCurrent")},Forecast:function(){return a.get("OvhApiCloudProjectUsageForecast")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageCurrentV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageCurrentV6"),d=a("/cloud/project/:serviceName/usage/current",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecastV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageForecastV6"),d=a("/cloud/project/:serviceName/usage/forecast",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistoryV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageHistoryV6Query"),d=b("OvhApiCloudProjectUsageHistoryV6"),e=a("/cloud/project/:serviceName/usage/history/:usageId",{serviceName:"@serviceName",usageId:"@usageId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserAapi",["$resource",function(a){"use strict";var b={openrc:{method:"GET",serviceType:"aapi",url:"/cloud/project/:serviceName/user/:userId/openrc"}},c=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},b);return c.services=b,c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUserV6")},Aapi:function(){return a.get("OvhApiCloudProjectUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUserV6Query"),d=b("OvhApiCloudProjectUserV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f={rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},g=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},remove:{method:"DELETE",interceptor:e},password:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/regeneratePassword"},token:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/token"},openrc:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/openrc"},ec2Credential:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/ec2Credential"},rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},f);return g.services=f,g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolume",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeV6Query"),d=b("OvhApiCloudProjectVolumeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/:volumeId",{serviceName:"@serviceName",volumeId:"@volumeId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e},put:{method:"PUT",interceptor:e},attach:{url:"/cloud/project/:serviceName/volume/:volumeId/attach",method:"POST",interceptor:e},detach:{url:"/cloud/project/:serviceName/volume/:volumeId/detach",method:"POST",interceptor:e},upsize:{url:"/cloud/project/:serviceName/volume/:volumeId/upsize",method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeSnapshotV6Query"),d=b("OvhApiCloudProjectVolumeSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/snapshot/:snapshotId",{serviceName:"@serviceName",volumeId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e},create:{url:"/cloud/project/:serviceName/volume/:volumeId/snapshot",method:"POST",param:{serviceName:"@serviceName",volumeId:"@volumeId"},interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiConnectivityEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiConnectivityEligibility");return{v6:function(){return a.get("OvhApiConnectivityEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiConnectivityEligibilityV6",["$resource","OvhApiConnectivityEligibility",function(a,b){"use strict";return a("/connectivity/eligibility/search/buildingDetails ",{},{buildingDetails:{method:"POST",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiDbaas",["$injector",function(a){"use strict";return{Queue:function(){return a.get("OvhApiDbaasQueue")},Logs:function(){return a.get("OvhApiDbaasLogs")},Order:function(){return a.get("OvhApiDbaasOrder")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccountingAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAccountingAapi"),d=a("/dbaas/logs/:serviceName/accounting",{serviceName:"@serviceName"},{me:{method:"GET",url:"/dbaas/logs/:serviceName/accounting",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccounting",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsAccountingAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlertIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert/:alertId",{serviceName:"@serviceName",streamId:"@streamId",alertId:"@alertId"},{post:{method:"POST"},put:{method:"PUT"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlert",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAlertV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsAlertIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlertV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAlertV6"),d=b("OvhApiDbaasLogsAlertV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert/:alertId",{serviceName:"@serviceName",streamId:"@streamId",alertId:"@alertId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasAapi",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/alias/:aliasId",{},{get:{method:"GET",serviceType:"aapi"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId",{serviceName:"@serviceName"},{create:{method:"POST"},update:{method:"PUT"},linkStream:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream"},unlinkStream:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream/:streamId"},linkIndex:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index"},unlinkIndex:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index/:indexId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlias",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAliasV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsAliasIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsAliasAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId",{serviceName:"@serviceName"},{create:{method:"POST"},update:{method:"PUT"},remove:{method:"DELETE"},linkStream:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream"},unlinkStream:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream/:streamId"},linkIndex:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index"},unlinkIndex:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index/:indexId"},query:{method:"GET",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchiveIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId",{serviceName:"@serviceName",streamId:"@streamId",archiveId:"@archiveId",expirationInSeconds:"@expirationInSeconds"},{url:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId/url"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchive",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsArchiveV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsArchiveIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchiveV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsArchiveV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId",{serviceName:"@serviceName",streamId:"@streamId",archiveId:"@archiveId",expirationInSeconds:"@expirationInSeconds"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET"},url:{method:"POST",interceptor:d,url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId/url"}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsClusterIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/cluster/:clusterId",{serviceName:"@serviceName",clusterId:"@clusterId"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsCluster",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsClusterV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsClusterIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsClusterV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsClusterV6"),d=b("OvhApiDbaasLogsClusterV6Query"),e=a("/dbaas/logs/:serviceName/cluster/:clusterId",{serviceName:"@serviceName",clusterId:"@clusterId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContacts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsContactsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContactsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsContactsV6"),d=a("/me/contact/:contactId",{contactId:"@contactId"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardAapi"),d=a("/dbaas/logs/:serviceName/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{create:{method:"POST"},update:{method:"PUT"},duplicate:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId/duplicate"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsDashboardV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsDashboardIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsDashboardAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardV6"),d=b("OvhApiDbaasLogsDashboardV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{query:{method:"GET",isArray:!0,cache:d},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},duplicate:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId/duplicate",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetailsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDetailsAapi"),d=a("/dbaas/logs/:serviceName/home",{serviceName:"@serviceName"},{me:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetails",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsDetailsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexAapi"),d=b("OvhApiDbaasLogsIndexAapiQuery"),e=a("/dbaas/logs/:serviceName/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{post:{method:"POST"},put:{method:"PUT"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndex",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsIndexV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsIndexIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsIndexAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexV6"),d=b("OvhApiDbaasLogsIndexV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/elasticsearch/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputAapi"),d=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId",allowedNetworkId:"@allowedNetworkId"},{create:{method:"POST"},update:{method:"PUT"},start:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/start"},restart:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/restart"},end:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/end"},logurl:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/logs/url"},test:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/configtest"},testResult:{method:"GET",url:"/dbaas/logs/:serviceName/input/:inputId/configtest/result"},updateLogstash:{method:"PUT",url:"/dbaas/logs/:serviceName/input/:inputId/configuration/logstash"},updateFlowgger:{method:"PUT",url:"/dbaas/logs/:serviceName/input/:inputId/configuration/flowgger"},trustNetwork:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork"},rejectNetwork:{method:"DELETE",url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork/:allowedNetworkId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInput",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsInputV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsInputIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsInputAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputV6"),d=b("OvhApiDbaasLogsInputV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId",allowedNetworkId:"@allowedNetworkId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},start:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/start"},restart:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/restart"},end:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/end"},logurl:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/logs/url"},test:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/configtest"},testResult:{method:"GET",url:"/dbaas/logs/:serviceName/input/:inputId/configtest/result"},updateLogstash:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/logstash"},updateFlowgger:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/flowgger"},trustNetwork:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork"},rejectNetwork:{method:"DELETE",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork/:allowedNetworkId"}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAapi"),d=a("/dbaas/logs/:serviceName/home",{},{home:{method:"GET",url:"/dbaas/logs/:serviceName/home",serviceType:"aapi",cache:c,isArray:!1}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsAapi")},Accounting:function(){return a.get("OvhApiDbaasLogsAccounting")},Cluster:function(){return a.get("OvhApiDbaasLogsCluster")},Contacts:function(){return a.get("OvhApiDbaasLogsContacts")},Details:function(){return a.get("OvhApiDbaasLogsDetails")},Stream:function(){return a.get("OvhApiDbaasLogsStream")},Offer:function(){return a.get("OvhApiDbaasLogsOffer")},Operation:function(){return a.get("OvhApiDbaasLogsOperation")},Alert:function(){return a.get("OvhApiDbaasLogsAlert")},Index:function(){return a.get("OvhApiDbaasLogsIndex")},Alias:function(){return a.get("OvhApiDbaasLogsAlias")},Archive:function(){return a.get("OvhApiDbaasLogsArchive")},Role:function(){return a.get("OvhApiDbaasLogsRole")},Input:function(){return a.get("OvhApiDbaasLogsInput")},Token:function(){return a.get("OvhApiDbaasLogsTokens")},Dashboard:function(){return a.get("OvhApiDbaasLogsDashboard")},User:function(){return a.get("OvhApiDbaasLogsUser")},Option:function(){return a.get("OvhApiDbaasLogsOption")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"},{streams:{method:"GET",isArray:!0,url:"/dbaas/logs/:serviceName/output/graylog/stream",cache:c},logDetail:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},serviceInfos:{method:"GET",url:"/dbaas/logs/:serviceName/serviceInfos",cache:c}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOfferIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/offer",{serviceName:"@serviceName"},{offerDetail:{url:"/dbaas/logs/offer/:offerCode",method:"GET"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOfferV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsOfferIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOfferV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsOfferV6"),d=b("OvhApiDbaasLogsOfferV6Query"),e=a("/dbaas/logs/:serviceName/offer",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},offerDetail:{url:"/dbaas/logs/offer/:offerCode",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperationIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/operation/:operationId",{serviceName:"@serviceName",operationId:"@operationId"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOperationV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsOperationIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperationV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/operation/:operationId",{serviceName:"@serviceName",operationId:"@operationId"},{get:{method:"GET",url:"/dbaas/logs/:serviceName/operation/:operationId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOptionIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/option/{optionId}",{ @@ -6,13 +6,13 @@ serviceName:"@serviceName",optionId:"@optionId"},{terminate:{method:"POST",url:" method:"POST",interceptor:d,params:{name:"@name",expiration:"@expiration"}}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionSnapshotV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/snapshot",{serviceName:"@serviceName",partitionName:"@partitionName",snapshotType:"@snapshotType"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",url:"/dedicated/nasha/:serviceName/partition/:partitionName/snapshot/:snapshotType"},add:{method:"POST",interceptor:d,params:{snapshotType:"@snapshotType"}},remove:{method:"DELETE",interceptor:d,url:"/dedicated/nasha/:serviceName/partition/:partitionName/snapshot/:snapshotType"}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaTaskV6Query"),d=a("/dedicated/nasha/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0,params:{operation:"@operation",status:"@status"}},get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedServerAapi"),d=a("/dedicated/server/:serverName",{serverName:"@serverName"},{get:{method:"GET",serviceType:"aapi",cache:c},rtm:{url:"/dedicated/server/rtm/:type/:period",method:"GET",serviceType:"aapi",isArray:!0},query:{url:"/dedicated/server/detail/all",method:"GET",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerV6")},Aapi:function(){return a.get("OvhApiDedicatedServerAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedServerV6"),d=b("OvhApiDedicatedServerV6Query"),e=a("/dedicated/server/:serverName",{serverName:"@serverName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getHardware:{url:"/dedicated/server/:serverName/specifications/hardware",method:"GET",cache:c},getNetwork:{url:"/dedicated/server/:serverName/specifications/network",method:"GET",cache:c},getBootInfo:{url:"/dedicated/server/:serverName/boot/:bootId",method:"GET",bootId:"@bootId",cache:c},getServiceInfos:{url:"/dedicated/server/:serverName/serviceInfos",method:"GET",cache:c},getMrtg:{url:"/dedicated/server/:serverName/mrtg",method:"GET",period:"@period",type:"@type",cache:c,isArray:!0},getStatisticsChart:{url:"/dedicated/server/:serverName/statistics/chart",method:"GET",period:"@period",type:"@type",cache:c},askHardDiskDriveReplacement:{url:"/dedicated/server/:serverName/support/replace/hardDiskDrive",method:"POST"},schema:{method:"GET",url:"/dedicated/server.json",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudAllowedNetwork",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudAllowedNetworkV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudAllowedNetworkV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudAllowedNetworkV6Query"),d=b("OvhApiDedicatedCloudAllowedNetworkV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/allowedNetwork/:networkAccessId",{serviceName:"@serviceName",networkAccessId:"@networkAccessId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterBackup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterBackupV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterBackupV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterBackupV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/datacenter/:datacenterId/backup",f=a(e,{serviceName:"@serviceName",datacenterId:"@datacenterId"},{get:{method:"GET",cache:c},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d},changeProperties:{url:e+"/changeProperties",method:"POST",interceptor:d}});return f.resetAllCache=function(){f.resetCache()},f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterV6")},Filer:function(){return a.get("OvhApiDedicatedCloudDatacenterFiler")},Host:function(){return a.get("OvhApiDedicatedCloudDatacenterHost")},DisasterRecovery:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecovery")},Backup:function(){return a.get("OvhApiDedicatedCloudDatacenterBackup")},Zerto:function(){return a.get("OvhApiDedicatedCloudDatacenterZerto")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterV6"),d=b("OvhApiDedicatedCloudDatacenterV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecovery",["$injector",function(a){"use strict";return{Zerto:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecoveryZerto")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecoveryZerto",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto",f=a(e,{serviceName:"@serviceName",datacenterId:"@datacenterId"},{get:{url:e+"/state",method:"POST",cache:c,hasBody:!1},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d},generateZsspPassword:{url:e+"/generateZsspPassword",method:"POST",interceptor:d}});return f.resetAllCache=function(){f.resetCache()},f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterFiler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterFilerV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterFilerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterFilerV6Query"),d=b("OvhApiDedicatedCloudDatacenterFilerV6"),e=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId/filer/:filerId",{serviceName:"@serviceName",datacenterId:"@datacenterId",filerId:"@filerId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterHost",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterHostV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterHostV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterHostV6Query"),d=b("OvhApiDedicatedCloudDatacenterHostV6"),e=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId/host/:hostId",{serviceName:"@serviceName",datacenterId:"@datacenterId",hostId:"@hostId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZerto",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoV6")},Single:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoSingle")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudDatacenterZertoV6"),d={response:function(a){return c.removeAll(),a}},e=b("/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{disable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/disable",method:"POST",interceptor:d},enable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/enable",method:"POST",interceptor:d},generateZsspPassword:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/generateZsspPassword",method:"POST",interceptor:d},state:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/state",method:"POST",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoSingle",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoSingleV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoSingleV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudDatacenterZertoSingleV6"),d={response:function(a){return c.removeAll(),a}},e=b("/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{disable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle/disable",method:"POST",interceptor:d},enable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle/enable",method:"POST",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudV6")},AllowedNetwork:function(){return a.get("OvhApiDedicatedCloudAllowedNetwork")},Datacenter:function(){return a.get("OvhApiDedicatedCloudDatacenter")},Federation:function(){return a.get("OvhApiDedicatedCloudFederation")},Filer:function(){return a.get("OvhApiDedicatedCloudFiler")},Ip:function(){return a.get("OvhApiDedicatedCloudIp")},Location:function(){return a.get("OvhApiDedicatedCloudLocation")},Option:function(){return a.get("OvhApiDedicatedCloudOption")},Task:function(){return a.get("OvhApiDedicatedCloudTask")},User:function(){return a.get("OvhApiDedicatedCloudUser")},Vlan:function(){return a.get("OvhApiDedicatedCloudVlan")},VMEncryption:function(){return a.get("OvhApiDedicatedCloudVMEncryption")},VRack:function(){return a.get("OvhApiDedicatedCloudVRack")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudV6"),d=b("OvhApiDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},getServiceInfos:{url:"/dedicatedCloud/:serviceName/serviceInfos",method:"GET",cache:c},terminate:{url:"/dedicatedCloud/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/dedicatedCloud/:serviceName/confirmTermination",method:"POST",interceptor:e},hcx:{url:"/dedicatedCloud/:serviceName/hcx",method:"GET",cache:c},getGlobalTasks:{url:"/dedicatedCloud/:serviceName/globalTasks",method:"GET",isArray:!0,queryParams:{datacenterId:"@datacenterId","endDate.from":"@endDate.from","endDate.to":"@endDate.to","executionDate.from":"@executionDate.from","executionDate.to":"@executionDate.to",filerId:"@filerId",hostId:"@hostId","lastModificationDate.from":"@lastModificationDate.from","lastModificationDate.to":"@lastModificationDate.to",name:"@name",networkAccessId:"@networkAccessId",orderId:"@orderId",parentTaskId:"@parentTaskId",state:"@state",userId:"@userId",vlanId:"@vlanId"}}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederationActiveDirectory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFederationActiveDirectoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederationActiveDirectoryV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFederationActiveDirectoryV6Query"),d=b("OvhApiDedicatedCloudFederationActiveDirectoryV6"),e=a("/dedicatedCloud/:serviceName/federation/activeDirectory/:activeDirectoryId",{serviceName:"@serviceName",activeDirectoryId:"@activeDirectoryId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e.resetCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFederationV6")},ActiveDirectory:function(){return a.get("OvhApiDedicatedCloudFederationActiveDirectory")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFederationV6Query"),d=a("/dedicatedCloud/:serviceName/federation",{serviceName:"@serviceName"},{query:{method:"GET",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFiler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFilerV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFilerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFilerV6Query"),d=b("OvhApiDedicatedCloudFilerV6"),e=a("/dedicatedCloud/:serviceName/filer/:filerId",{serviceName:"@serviceName",filerId:"@filerId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudIpV6")},Details:function(){return a.get("OvhApiDedicatedCloudIpDetails")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudIpV6Query"),d=b("OvhApiDedicatedCloudIpV6"),e=a("/dedicatedCloud/:serviceName/ip/:network",{serviceName:"@serviceName",network:"@network"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e.resetCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpDetailsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudIpDetailsV6"),d=b("/dedicatedCloud/:serviceName/ip/:network/details",{serviceName:"@serviceName",network:"@network"},{get:{method:"GET",cache:c,isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpDetails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudIpDetailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationV6")},Stock:function(){return a.get("OvhApiDedicatedCloudLocationStock")},Hypervisor:function(){return a.get("OvhApiDedicatedCloudLocationHypervisor")},HostProfile:function(){return a.get("OvhApiDedicatedCloudLocationHostProfile")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationV6Query"),d=b("OvhApiDedicatedCloudLocationV6"),e=a("/dedicatedCloud/location/:pccZone",{pccZone:"@pccZone"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHostProfile",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationHostProfileV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHostProfileV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationHostProfileV6Query"),d=b("OvhApiDedicatedCloudLocationHostProfileV6"),e=a("/dedicatedCloud/location/:pccZone/hostProfile/:id",{pccZone:"@pccZone",id:"@id"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHypervisor",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationHypervisorV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHypervisorV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationHypervisorV6Query"),d=b("OvhApiDedicatedCloudLocationHypervisorV6"),e=a("/dedicatedCloud/location/:pccZone/hypervisor/:id",{pccZone:"@pccZone",id:"@id"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationStock",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationStockV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationStockV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationStockV6Query"),d="/dedicatedCloud/location/:pccZone/stock",e=a(d,{pccZone:"@pccZone"},{queryPcc:{url:d+"/pcc",method:"GET",cache:c,isArray:!0},queryHost:{url:d+"/host",method:"GET",cache:c,isArray:!0,params:{minYear:"@minYear"}},queryZpool:{url:d+"/zpool",method:"GET",cache:c,isArray:!0,params:{profileFilter:"@profileFilter"}}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudOption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudOptionV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/:option",f=a(e,{serviceName:"@serviceName",option:"@option"},{get:{method:"GET",cache:c},canBeDisabled:{url:e+"/canBeDisabled",method:"GET",cache:c},canBeEnabled:{url:e+"/canBeEnabled",method:"GET",cache:c},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d}});return f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudTaskV6Query"),d=b("OvhApiDedicatedCloudTaskV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f="/dedicatedCloud/:serviceName/task/:taskId",g=a(f,{serviceName:"@serviceName",taskId:"@taskId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name",state:"@state"}},changeMaintenanceExecutionDate:{url:f+"/changeMaintenanceExecutionDate",method:"POST",interceptor:e},resetTaskState:{url:f+"/resetTaskState",method:"POST",interceptor:e}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserV6")},ObjectRight:function(){return a.get("OvhApiDedicatedCloudUserObjectRight")},Right:function(){return a.get("OvhApiDedicatedCloudUserRight")},Task:function(){return a.get("OvhApiDedicatedCloudUserTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserV6Query"),d=b("OvhApiDedicatedCloudUserV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name"}},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changeProperties:{url:"/dedicatedCloud/:serviceName/user/:userId/changeProperties",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserObjectRight",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserObjectRightV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserObjectRightV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserObjectRightV6Query"),d=b("OvhApiDedicatedCloudUserObjectRightV6"),e=a("/dedicatedCloud/:serviceName/user/:userId/objectRight/:objectRightId",{serviceName:"@serviceName",userId:"@userId",rightId:"@objectRightId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserRight",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserRightV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserRightV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserRightV6Query"),d=b("OvhApiDedicatedCloudUserRightV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/user/:userId/right/:rightId",{serviceName:"@serviceName",userId:"@userId",rightId:"@rightId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserTaskV6Query"),d=b("OvhApiDedicatedCloudUserTaskV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f="/dedicatedCloud/:serviceName/user/:userId/task/:taskId",g=a(f,{serviceName:"@serviceName",userId:"@userId",taskId:"@taskId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name",state:"@state"}},changeMaintenanceExecutionDate:{url:f+"/changeMaintenanceExecutionDate",method:"POST",interceptor:e},resetTaskState:{url:f+"/resetTaskState",method:"POST",interceptor:e}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVlan",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVlanV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVlanV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVlanV6Query"),d=b("OvhApiDedicatedCloudVlanV6"),e=a("/dedicatedCloud/:serviceName/vlan/:vlanId",{serviceName:"@serviceName",vlandId:"@vlanId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVMEncryptionV6")},kms:function(){return a.get("OvhApiDedicatedCloudVMEncryptionKms")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVMEncryptionV6Query"),d=a("/dedicatedCloud/:serviceName/vmEncryption",{serviceName:"@serviceName"},{query:{method:"GET",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionKms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVMEncryptionKmsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionKmsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVMEncryptionKmsV6Query"),d=b("OvhApiDedicatedCloudVMEncryptionKmsV6"),e=function(a){return d.remove(a.config.url),c.removeAll(),a},f=a("/dedicatedCloud/:serviceName/vmEncryption/kms/:kmsId",{serviceName:"@serviceName",kmsId:"@kmsId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d},create:{method:"POST",url:"/dedicatedCloud/:serviceName/vmEncryption/kms",params:{ip:"@ip",description:"@description",sslThumbprint:"@sslThumbprint"},interceptor:e},changeProperties:{method:"POST",url:"/dedicatedCloud/:serviceName/vmEncryption/kms/:kmsId/changeProperties",params:{description:"@description",sslThumbprint:"@sslThumbprint"},interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetQueryCache=function(){c.removeAll()},f.resetCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVRackV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVRackV6Query"),d=b("OvhApiDedicatedCloudVRackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/vrack/:vrack",{serviceName:"@serviceName",vrack:"@vrack"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDeskaasService",["$injector","$cacheFactory","Poller",function(a,b,c){var d=b("deskaas");return{v6:function(){return a.get("OvhApiDeskaasV6")},resetCache:d.removeAll,cache:d,pollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");return a.$on("$destroy",function(){c.kill(function(a){return"deskaas_task"===a.namespace?!0:!1})}),c.poll(d,null,{namespace:"deskaas_task",scope:a.$id})},stopPollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");c.kill(function(a){return"deskaas_task"===a.namespace&&a.url===d?!0:!1})}}}]),angular.module("ovh-api-services").service("OvhApiDeskaasV6",["$resource","OvhApiDeskaasService",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/deskaas/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/deskaas.json"},query:{method:"GET",isArray:!0,cache:b.cache},getServices:{method:"GET",isArray:!0,cache:b.cache},getDetails:{method:"GET",url:"/deskaas/:serviceName",cache:b.cache},changeAlias:{method:"POST",url:"/deskaas/:serviceName/changeAlias",interceptor:c},changeUsername:{method:"POST",url:"/deskaas/:serviceName/changeUsername",interceptor:c},changeContact:{method:"POST",url:"/deskaas/:serviceName/changeContact",interceptor:c},getAuthToken:{method:"GET",url:"/deskaas/:serviceName/getAuthToken",cache:b.cache},getPwdPolicy:{method:"GET",url:"/deskaas/:serviceName/passwordPolicy",interceptor:c},rebootService:{method:"POST",url:"/deskaas/:serviceName/reboot"},restoreService:{method:"POST",url:"/deskaas/:serviceName/refresh",interceptor:c},serviceInfos:{method:"GET",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},putServiceInfos:{method:"PUT",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},getAllTasks:{method:"GET",url:"/deskaas/:serviceName/task",isArray:!0,interceptor:c},getTaskBatch:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",isArray:!0,interceptor:c,headers:{"X-Ovh-Batch":","}},getTask:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",interceptor:c},getDoneTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=done",isArray:!0,interceptor:c},getCanceledTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=canceled",isArray:!0,interceptor:c},deleteService:{method:"POST",url:"/deskaas/:serviceName/terminate",interceptor:c},upgradeService:{method:"POST",url:"/deskaas/:serviceName/upgrade",interceptor:c},getUser:{method:"GET",url:"/deskaas/:serviceName/user",interceptor:c},resetPassword:{method:"POST",url:"/deskaas/:serviceName/user/changePassword",interceptor:c},getUserTasks:{method:"GET",url:"/deskaas/:serviceName/user/task/",interceptor:c},getUserTask:{method:"GET",url:"/deskaas/:serviceName/user/task/:taskId",interceptor:c},confirmTerminate:{method:"POST",url:"/deskaas/:serviceName/confirmTermination",interceptor:c},console:{ method:"POST",url:"/deskaas/:serviceName/console",interceptor:c},getProducts:{method:"GET",url:"/order/catalog/formatted/deskaas",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurations",["$injector",function(a){"use strict";return{ObfuscatedEmails:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmails")},Optin:function(){return a.get("OvhApiDomainConfigurationsOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmailsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsObfuscatedEmailsQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/obfuscatedEmails",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0},refresh:{method:"POST",url:"/domain/:serviceName/configurations/obfuscatedEmails/refresh",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsOptinQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainV6")},v7:function(){return a.get("OvhApiDomainV7")},Configurations:function(){return a.get("OvhApiDomainConfigurations")},Rules:function(){return a.get("OvhApiDomainRules")}}}]),angular.module("ovh-api-services").service("OvhApiDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainV6"),d=b("OvhApiDomainV6Query"),e=a("/domain/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainV7",["apiv7",function(a){"use strict";var b=a("/domain/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDomainRules",["$injector",function(a){"use strict";return{EmailsObfuscation:function(){return a.get("OvhApiDomainRulesEmailsObfuscation")},Optin:function(){return a.get("OvhApiDomainRulesOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesEmailsObfuscationV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesEmailsObfuscationQueryV6"),d=a("/domain/:serviceName/rules/emailsObfuscation",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesOptinQueryV6"),d=a("/domain/:serviceName/rules/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiEmailDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiEmailDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiEmailDomainV6"),d=a("/email/domain/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},serviceInfos:{method:"GET",url:"/email/domain/:serviceName/serviceInfos"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailExchange",["$injector",function(a){"use strict";return{service:function(){return a.get("OvhApiEmailExchangeService")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceAapi",["$resource",function(a){"use strict";return a("/sws/exchange/:organization/:exchange",{organization:"@organization",exchange:"@exchange"},{get:{serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeService",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiEmailExchangeServiceAapi")},v6:function(){return a.get("OvhApiEmailExchangeServiceV6")},v7:function(){return a.get("OvhApiEmailExchangeServiceV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV6",["$resource",function(a){"use strict";var b=a("/email/exchange/:organizationName/service/:exchangeService",{organizationName:"@organizationName",exchangeService:"@exchangeService"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV7",["apiv7",function(a){"use strict";var b=a("/email/exchange/:organizationName/service",{organizationName:"@organizationName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlan",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailMXPlanV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlanV7",["apiv7",function(a){"use strict";var b=a("/email/mxplan/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailPro",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailProV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailProV7",["apiv7",function(a){"use strict";var b=a("/email/pro/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiFreeFaxAapi",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/freefax/:serviceName",{serviceName:"@serviceName"},{notifications:{method:"GET",url:"/freefax/notifications/:serviceName",serviceType:"aapi",isArray:!0,cache:c.cache},notificationsUpdate:{method:"PUT",url:"/freefax/notifications/:serviceName/update",serviceType:"aapi",interceptor:d},details:{method:"GET",serviceType:"aapi",url:"/freefax/:serviceName/details",cache:c.cache}});return e}]),angular.module("ovh-api-services").service("OvhApiFreeFax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiFreeFax");return{v6:function(){return a.get("OvhApiFreeFaxV6")},Aapi:function(){return a.get("OvhApiFreeFaxAapi")},v7:function(){return a.get("OvhApiFreeFaxV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV6",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}};return a("/freefax/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/freefax.json"},query:{method:"GET",url:"/freefax",isArray:!0,cache:c.cache},getPrice:{method:"GET",url:"/order/freefax/new",cache:c.cache},orderCredits:{method:"POST",url:"/order/freefax/new",interceptor:d},voiceMailGet:{method:"GET",url:"/freefax/:serviceName/voicemail"},voiceMailGetRouting:{method:"GET",isArray:!1,url:"/freefax/:serviceName/voicemail/routing",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},voiceMailChangeRouting:{method:"POST",url:"/freefax/:serviceName/voicemail/changeRouting",interceptor:d},voiceMailPut:{method:"PUT",url:"/freefax/:serviceName/voicemail",interceptor:d},changePassword:{method:"POST",url:"/freefax/:serviceName/voicemail/changePassword"},resetPassword:{method:"POST",url:"/freefax/:serviceName/changePassword",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},saveConfiguration:{method:"PUT",url:"/freefax/:serviceName",interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV7",["apiv7",function(a){"use strict";var b=a("/freefax/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseV6")},Whitelist:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelist")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:d},availableOrderCapacities:{method:"GET",url:"/hosting/privateDatabase/availableOrderCapacities",params:{offer:"@offer"}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelist",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelistV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelistV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseWhitelistV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName/whitelist",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c,params:{ip:"@ip",service:"@service",sftp:"@sftp"}},post:{method:"POST",interceptor:d},getIp:{method:"GET",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},cache:c},putIp:{method:"PUT",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip",whitelist:"@whitelist"},interceptor:d},deleteIp:{method:"DELETE",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},interceptor:d}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingWebSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingWebSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingWebSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingWebSslv6Cache"),d={response:function(a){return c.removeAll(),a.data}},e=a("/hosting/web/:serviceName/ssl",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},post:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d},queryDomains:{url:"/hosting/web/:serviceName/ssl/domains",method:"GET",cache:c,isArray:!0},regenerate:{url:"/hosting/web/:serviceName/ssl/regenerate",method:"POST",interceptor:d},getReport:{url:"/hosting/web/:serviceName/ssl/report",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpV6")},Reverse:function(){return a.get("OvhApiIpReverse")}}}]),angular.module("ovh-api-services").service("OvhApiIpV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpV6"),d=b("OvhApiIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip",{ip:"@ip"},{schema:{method:"GET",url:"/ip.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},move:{method:"POST",url:"/ip/:ip/move"},park:{method:"POST",url:"/ip/:ip/park"},task:{method:"GET",isArray:!0,url:"/ip/:ip/task"},taskDetails:{method:"GET",url:"/ip/:ip/task/:taskId",params:{ip:"@ip",taskId:"@taskId"}},reverse:{method:"GET",url:"/ip/:ip/reverse/:ipReverse",params:{ip:"@ip",taskId:"@ipReverse"},cache:c}});return f.getPendingTask=function(a,b){return f.task({ip:a,"function":b,status:"todo"}).$promise.then(function(c){return c&&c.length?c[0]:f.task({ip:a,"function":b,status:"doing"}).$promise.then(function(a){return a&&a.length?a[0]:null})})},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpReverse",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpReverseV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpReverseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpReverseV6"),d=b("OvhApiIpReverseV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip/reverse/:ipReverse",{ip:"@ip",ipReverse:"@ipReverse"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/ip/:ip/reverse",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.getReverseDns=function(a,b){return f.query({ip:b||a}).$promise.then(function(c){return~c.indexOf(a)?f.get({ip:b||a,ipReverse:a}).$promise.then(function(a){return a.reverse}):null})},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"Server",["$injector",function(a){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+b+"ServerV6")}}}])}),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"ServerV6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6"),f=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId/server/:serverId",{serviceName:"@serviceName",farmId:"@farmId",serverId:"@serverId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){var d=_.capitalize(c);return b[d]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"V6")},Server:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"Server")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFarmV6")},b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarmV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingFarmV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFarms",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"V6"),f=d("OvhApiIpLoadBalancingFarm"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId",{serviceName:"@serviceName",farmId:"@farmId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){return b[_.capitalize(c)]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFrontend"+_.capitalize(c)+"V6")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFrontendV6")},b}]),function(){"use strict";angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontendV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpLoadBalancingFrontendV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFrontends",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFrontend"+b+"V6"),f=d("OvhApiIpLoadBalancingFrontend"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/frontend/:frontendId",{serviceName:"@serviceName",frontendId:"@frontendId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])})}(),angular.module("ovh-api-services").service("OvhApiIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingV6")},Farm:function(){return a.get("OvhApiIpLoadBalancingFarm")},Frontend:function(){return a.get("OvhApiIpLoadBalancingFrontend")},Ssl:function(){return a.get("OvhApiIpLoadBalancingSsl")},Task:function(){return a.get("OvhApiIpLoadBalancingTask")},Quota:function(){return a.get("OvhApiIpLoadBalancingQuota")},Vrack:function(){return a.get("OvhApiIpLoadBalancingVrack")},Zone:function(){return a.get("OvhApiIpLoadBalancingZone")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingV6"),d=b("OvhApiIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/ipLoadbalancing.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},availableZones:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableZones",cache:c},availableFarmProbes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmProbes",cache:c},availableFarmTypes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmType",cache:c},failoverIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/failover ",cache:c},natIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/natIp ",cache:c},pendingChanges:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/pendingChanges"},refresh:{method:"POST",url:"/ipLoadbalancing/:serviceName/refresh"},serviceInfos:{method:"GET",url:"/ipLoadbalancing/:serviceName/serviceInfos",cache:c},freeCertificate:{method:"POST",url:"/ipLoadbalancing/:serviceName/freeCertificate"},status:{method:"GET",url:"/ipLoadbalancing/:serviceName/status"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuotaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingQuotaV6"),d=b("OvhApiIpLoadBalancingQuotaV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/quota/:zoneName",{serviceName:"@serviceName",zoneName:"@zoneName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingSslV6"),d=b("OvhApiIpLoadBalancingSslV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/ssl/:sslId",{serviceName:"@serviceName",sslId:"@sslId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTaskV6",["$resource",function(a){"use strict";var b=a("/ipLoadbalancing/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}});return b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingVrackV6"),d=b("OvhApiIpLoadBalancingVrackV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId",{serviceName:"@serviceName",vrackNetworkId:"@vrackNetworkId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},getCreationRules:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/networkCreationRules"},getStatus:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/status"},updateFarmId:{interceptor:e,method:"POST",url:"/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId/updateFarmId "}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingZoneV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingZoneV6"),d=b("OvhApiIpLoadBalancingZoneV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/zone/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},cancelDelete:{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/cancelTermination",interceptor:e},"delete":{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/terminate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKube",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubeV6")},PublicCloud:function(){return a.get("OvhApiKubePublicCloud")}}}]),angular.module("ovh-api-services").service("OvhApiKubeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubeV6"),d=b("OvhApiKubeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},update:{method:"PUT",interceptor:e,params:{name:"@name"}},getKubeConfig:{url:"/kube/:serviceName/kubeconfig",method:"GET",cache:c},getServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"GET",cache:c},reset:{url:"/kube/:serviceName/reset",method:"POST",interceptor:e},updateServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"PUT",interceptor:e},updateVersion:{url:"/kube/:serviceName/update",method:"POST",interceptor:e},updatePolicy:{url:"/kube/:serviceName/updatePolicy",method:"PUT",interceptor:e},getSchema:{url:"/kube.json",method:"GET"},terminate:{url:"/kube/:serviceName/terminate",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloud",["$injector",function(a){"use strict";return{Node:function(){return a.get("OvhApiKubePublicCloudNode")},Project:function(){return a.get("OvhApiKubePublicCloudProject")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudNodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNodeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudNodeV6"),d=b("OvhApiKubePublicCloudNodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName/publiccloud/node/:nodeId",{serviceName:"@serviceName",nodeId:"@nodeId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e,params:{flavorName:"@flavorName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProjectV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudProjectV6Query"),d=a("/kube/:serviceName/publiccloud/project",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicenseAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseAapi"),d=a("/sws/license",{},{get:{method:"GET",url:"/sws/license?filterType",serviceType:"aapi",cache:c,isArray:!1,params:{count:"@count",offset:"@offset"}}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiLicenseOffice")},Aapi:function(){return a.get("OvhApiLicenseAapi")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeDomainV6"),d=b("OvhApiLicenseOfficeDomainV6Query"),e=a("/license/office/:serviceName/domain/:domainName",{serviceName:"@serviceName",domainName:"@domainName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiLicenseOffice",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeV6")},Domain:function(){return a.get("OvhApiLicenseOfficeDomain")},Users:function(){return a.get("OvhApiLicenseOfficeUsers")},UsageStatistics:function(){return a.get("OvhApiLicenseOfficeUsageStatistics")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiLicenseOfficeV6"),d=b("OvhApiLicenseOfficeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/license/office/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/license/office.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsageStatistics",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeUsageStatisticsV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsageStatisticsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsageStatisticsV6Query");return a("/license/office/:serviceName/usageStatistics",{serviceName:"@serviceName",from:"@from",to:"@to"},{query:{method:"GET",isArray:!0,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeUsersV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsersV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsersV6"),d=b("OvhApiLicenseOfficeUsersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/license/office/:serviceName/user/:user",{serviceName:"@serviceName",user:"@user"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionBackupCode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionBackupCodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionBackupCodeV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionBackupCodeV6"),d=a("OvhApiMeAccessRestrictionBackupCodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/backupCode",{},{get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/backupCode/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/backupCode/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/backupCode/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionIpV6"); -}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionIpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionIpV6"),d=a("OvhApiMeAccessRestrictionIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/ip/:ip",{ip:"@ip"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/ip",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestriction",["$injector",function(a){"use strict";return{BackupCode:function(){return a.get("OvhApiMeAccessRestrictionBackupCode")},Ip:function(){return a.get("OvhApiMeAccessRestrictionIp")},v6:function(){return a.get("OvhApiMeAccessRestrictionV6")},Sms:function(){return a.get("OvhApiMeAccessRestrictionSms")},Totp:function(){return a.get("OvhApiMeAccessRestrictionTotp")},U2f:function(){return a.get("OvhApiMeAccessRestrictionU2f")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionV6",["$resource",function(a){"use strict";return a("/me/accessRestriction",{},{developerMode:{url:"/me/accessRestriction/developerMode",method:"GET"},updateDeveloperMode:{url:"/me/accessRestriction/developerMode",method:"PUT"},ipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"GET"},updateipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionSmsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSmsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionSmsV6"),d=a("OvhApiMeAccessRestrictionSmsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/sms/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/sms",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/sms/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/sms/:id/enable",interceptor:e},sendCode:{method:"POST",url:"/me/accessRestriction/sms/:id/sendCode",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/sms/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionTotp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionTotpV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionTotpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionTotpV6"),d=a("OvhApiMeAccessRestrictionTotpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/totp/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/totp",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/totp/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/totp/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/totp/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionU2f",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionU2fV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionU2fV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionU2fV6"),d=a("OvhApiMeAccessRestrictionU2fV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/u2f/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/u2f",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},challenge:{method:"POST",url:"/me/accessRestriction/u2f/:id/challenge",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/u2f/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/u2f/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/u2f/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAgreements",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAgreementsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAgreementsV6",["$resource",function(a){"use strict";return a("/me/agreements/:id",{id:"@id"},{accept:{url:"/me/agreements/:id/accept",method:"POST"},contract:{url:"/me/agreements/:id/contract",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlertsAapi",["$resource",function(a){"use strict";return a("/me/alerts",{},{query:{method:"GET",isArray:!0,url:"/me/alerts",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlerts",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeAlertsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplication",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiApplicationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplicationV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiApplicationV6Query"),d=a("OvhApiMeApiApplicationV6"),e=a("OvhApiMeApiApplicationV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/application/:applicationId",{applicationId:"@applicationId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"POST",interceptor:f}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApiCredential",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiCredentialV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiCredentialV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiCredentialV6Query"),d=a("OvhApiMeApiCredentialV6"),e=a("OvhApiMeApiCredentialV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/credential/:credentialId",{credentialId:"@credentialId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"DELETE",interceptor:f},application:{method:"GET",url:"/me/api/credential/:credentialId/application",cache:d,params:{credentialId:"@credentialId"}}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApi",["$injector",function(a){"use strict";return{Application:function(){return a.get("OvhApiMeApiApplication")},Credential:function(){return a.get("OvhApiMeApiCredential")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeans",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeansV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeansV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeAvailableAutomaticPaymentMeansV6");return a("/me/availableAutomaticPaymentMeans",{},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtV6")},Operation:function(){return a.get("OvhApiMeBillDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt",{billId:"@billId"},{pay:{url:"/me/bill/:billId/debt/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperationV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt/operation/:operationId",{billId:"@billId",operationId:"@operationId"},{associatedObject:{url:"/me/bill/:billId/debt/operation/:operationId/associatedObject",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDetails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDetailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDetailsV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/details/:billDetailId",{billId:"@billId",billDetailId:"@billDetailId"})}]),angular.module("ovh-api-services").service("OvhApiMeBillAapi",["$resource",function(a){"use strict";return a("/me/bill",{},{last:{method:"GET",url:"/me/bill/last",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeBill",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeBillAapi")},v6:function(){return a.get("OvhApiMeBillV6")},v7:function(){return a.get("OvhApiMeBillV7")},Details:function(){return a.get("OvhApiMeBillDetails")},Debt:function(){return a.get("OvhApiMeBillDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeBillV6"),d=a("/me/bill/:billId",{billId:"@billId"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillV7",["apiv7",function(a){"use strict";return a("/me/bill/:billId",{billId:"@billId"},{debt:{url:"/me/bill/:billId/debt",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacities",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingCapacitiesV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacitiesV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeBillingCapacitiesQueryV6"),d=b("/me/billing/capacities",{},{query:{method:"GET",isArray:!1,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingInvoicesByPostalMailV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMailV6",["$resource",function(a){"use strict";return a("/me/billing/invoicesByPostalMail",{},{get:{method:"GET",isArray:!1,transformResponse:function(a){return{data:angular.fromJson(a)}}},post:{method:"POST",params:{enable:"@enable"}}})}]),angular.module("ovh-api-services").service("OvhApiMeBilling",["$injector",function(a){"use strict";return{Capacities:function(){return a.get("OvhApiMeBillingCapacities")},InvoicesByPostalMail:function(){return a.get("OvhApiMeBillingInvoicesByPostalMail")}}}]),angular.module("ovh-api-services").service("OvhApiMeContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeContactV6")},v7:function(){return a.get("OvhApiMeContactV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeContactQueryV6"),d=b("OvhApiMeContactV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}};return a("/me/contact/:contactId",{contactId:"@contactId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},create:{method:"POST",interceptor:e},save:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiMeContactV7",["$resource","$cacheFactory","apiv7",function(a,b,c){"use strict";var d=b("OvhApiMeContactv7Query"),e=b("OvhApiMeContactV7"),f=c("/me/contact/:contactId",{contactId:"@contactId"},{query:{url:"/me/contact",method:"GET",cache:d,isArray:!0,serviceType:"apiV7"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){e.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtV6"),d=b("OvhApiMeDebtAccountDebtQueryV6"),e={response:function(a){return c.remove(a.config.url),a}},f=a("/me/debtAccount/debt/:debtId",{debtId:"@debtId"},{get:{method:"GET",cache:c},pay:{url:"/me/debtAccount/debt/:debtId/pay",method:"POST",interceptor:e},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtV6")},Operation:function(){return a.get("OvhApiMeDebtAccountDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtOperationV6"),d=b("OvhApiMeDebtAccountDebtOperationQueryV6"),e=a("/me/debtAccount/debt/:debtId/operation/:operationId",{debtId:"@debtId",operationId:"@operationId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},associatedObject:{url:"/me/debtAccount/debt/:debtId/operation/:operationId/associatedObject",method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e.resetAllCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountV6",["$resource",function(a){"use strict";return a("/me/debtAccount",{},{pay:{url:"/me/debtAccount/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountV6")},Debt:function(){return a.get("OvhApiMeDebtAccountDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeDeposit",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiMeDepositV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositV7",["apiv7",function(a){"use strict";var b=a("/me/deposit/:depositId",{depositId:"@depositId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequest",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDepositRequestV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequestV6",["$resource",function(a){"use strict";return a("/me/depositRequest/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeDocument",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDocumentV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDocumentV6",["$resource","$cacheFactory","$window","$http",function(a,b,c,d){"use strict";var e=b("OvhApiMeDocumentV6"),f=b("OvhApiMeDocumentV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=a("/me/document/:id",{id:"@id"},{get:{method:"GET",cache:e},query:{method:"GET",cache:f,isArray:!0},create:{method:"POST",interceptor:g},"delete":{method:"DELETE",interceptor:g},cors:{method:"POST",url:"/me/document/cors"}});return h.resetQueryCache=function(){f.removeAll()},h.resetCache=function(){e.removeAll()},h.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},h.upload=function(a,b){return h.create({},{name:a}).$promise.then(function(a){return h.cors({},{origin:c.location.origin}).$promise.then(function(){return d.put(a.putUrl,b,{serviceType:"storage",headers:{"Content-type":"multipart/form-data"}}).then(function(){return h.get({id:a.id}).$promise})})})},h}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomains",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFaxCustomDomainsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomainsV6",["$resource",function(a){"use strict";return a("/me/fax/customDomains/:id",{id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeFax",["$injector",function(a){"use strict";return{CustomDomains:function(){return a.get("OvhApiMeFaxCustomDomains")}}}]),angular.module("ovh-api-services").service("OvhApiMeFeedbackAapi",["$resource",function(a){"use strict";return a("/me",{},{feedback:{method:"POST",url:"/me/feedback",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFidelityAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccountV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeFidelityAccountV6"),d=a("/me/fidelityAccount",{},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityGroupV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroupV6",["$resource",function(a){"use strict";return a("/me/identity/group/:group",{group:"@group"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/group"},update:{method:"PUT"},"delete":{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeIdentity",["$injector",function(a){"use strict";return{Group:function(){return a.get("OvhApiMeIdentityGroup")},User:function(){return a.get("OvhApiMeIdentityUser")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityUserV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUserV6",["$resource",function(a){"use strict";return a("/me/identity/user/:user",{user:"@user"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/user"},update:{method:"PUT"},"delete":{method:"DELETE"},disable:{method:"POST",url:"/me/identity/user/:user/disable"},enable:{method:"POST",url:"/me/identity/user/:user/enable"}})}]),angular.module("ovh-api-services").service("OvhApiMe",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeV6")},Api:function(){return a.get("OvhApiMeApi")},AccessRestriction:function(){return a.get("OvhApiMeAccessRestriction")},Agreements:function(){return a.get("OvhApiMeAgreements")},SshKey:function(){return a.get("OvhApiMeSshKey")},Bill:function(){return a.get("OvhApiMeBill")},Billing:function(){return a.get("OvhApiMeBilling")},Order:function(){return a.get("OvhApiMeOrder")},OvhAccount:function(){return a.get("OvhApiMeOvhAccount")},FidelityAccount:function(){return a.get("OvhApiMeFidelityAccount")},PaymentMean:function(){return a.get("OvhApiMePaymentMean")},PaymentMethod:function(){return a.get("OvhApiMePaymentMethod")},AvailableAutomaticPaymentMeans:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeans")},Document:function(){return a.get("OvhApiMeDocument")},Contact:function(){return a.get("OvhApiMeContact")},Task:function(){return a.get("OvhApiMeTask")},Telephony:function(){return a.get("OvhApiMeTelephony")},Fax:function(){return a.get("OvhApiMeFax")},DepositRequest:function(){return a.get("OvhApiMeDepositRequest")},DebtAccount:function(){return a.get("OvhApiMeDebtAccount")},Identity:function(){return a.get("OvhApiMeIdentity")},Notification:function(){return a.get("OvhApiMeNotification")},Deposit:function(){return a.get("OvhApiMeDeposit")},Payment:function(){return a.get("OvhApiMePayment")}}}]),angular.module("ovh-api-services").service("OvhApiMeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/me",{},{get:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},schema:{method:"GET",url:"/me.json"},consumption:{method:"GET",url:"/me/consumption/usage/current",isArray:!0},consumptionHistory:{method:"GET",url:"/me/consumption/usage/history",isArray:!0}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeNotificationEmailHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistoryV6",["$resource",function(a){"use strict";return a("/me/notification/email/history/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmail",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiMeNotificationEmailHistory")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotification",["$injector",function(a){"use strict";return{Email:function(){return a.get("OvhApiMeNotificationEmail")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrder",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeOrderV6")},v7:function(){return a.get("OvhApiMeOrderV7")},PayRegisteredPaymentMean:function(){return a.get("OvhApiMeOrderPayRegisteredPaymentMean")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeOrderV6"),d=b("OvhApiMeOrderV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/me/order/:orderId",{orderId:"@orderId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getStatus:{url:"/me/order/:orderId/status",method:"GET",transformResponse:function(a,b,c){return 200===c?{status:angular.fromJson(a)}:a}},getDetails:{method:"GET",url:"/me/order/:orderId/details",cache:d,isArray:!0},getDetail:{method:"GET",url:"/me/order/:orderId/details/:detailId",params:{orderId:"@orderId",detailId:"@detailId"},cache:d},payRegisteredPaymentMean:{method:"POST",url:"/me/order/:orderId/payWithRegisteredPaymentMean",interceptor:e},associatedObject:{method:"GET",url:"/me/order/:orderId/associatedObject"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeOrderV7",["apiv7",function(a){"use strict";var b=a("/me/order/:orderId",{orderId:"@orderId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountAapi",["$resource",function(a){"use strict";return a("/me/ovhAccount/all",{},{info:{method:"GET",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccount",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeOvhAccountAapi")},v6:function(){return a.get("OvhApiMeOvhAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountV6",["$resource","$cacheFactory","OvhApiMev6",function(a,b,c){"use strict";var d=b("OvhApiMeOvhAccountV6"),e=b("OvhApiMeOvhAccountV6Query"),f=a("/me/ovhAccount/:ovhAccountId",{ovhAccountId:"@ovhAccountId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:e,isArray:!0}});return f.getBalance=function(){return c.get().$promise.then(function(a){return f.get({ovhAccountId:a.ovhSubsidiary}).$promise}).then(function(a){return a.balance})},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){e.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMePayment",["$injector",function(a){"use strict";return{Method:function(){return a.get("OvhApiMePayMethod")},Transaction:function(){return a.get("OvhApiMePaymentTransaction")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePayMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethodV6",["$resource",function(a){"use strict";return a("/me/payment/method/:paymentMethodId",{paymentMethodId:"@paymentMethodId"},{availableMethods:{method:"GET",url:"/me/payment/availableMethods",isArray:!0},finalize:{method:"POST",url:"/me/payment/method/:paymentMethodId/finalize"},edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransaction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentTransactionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransactionV6",["$resource",function(a){"use strict";return a("/me/payment/transaction/:transactionId",{transactionId:"@transactionId"})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanBankAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccountV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/bankAccount/:id",{id:"@id",state:"@state"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/bankAccount/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query({state:"valid"}).$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanCreditCardV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCardV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/creditCard/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/creditCard/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c.getCreditCards=function(){return c.query().$promise.then(function(a){var d=[];return angular.forEach(a,function(a){d.push(c.get({id:a}).$promise)}),b.all(d)})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccountV6",["$resource",function(a){"use strict";return a("/me/paymentMean/deferredPaymentAccount/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/deferredPaymentAccount/:id/chooseAsDefaultPaymentMean"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMean",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanV6")},BankAccount:function(){return a.get("OvhApiMePaymentMeanBankAccount")},CreditCard:function(){return a.get("OvhApiMePaymentMeanCreditCard")},DeferredPaymentAccount:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccount")},Paypal:function(){return a.get("OvhApiMePaymentMeanPaypal")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanV6",["OvhApiMePaymentMeanBankAccount","OvhApiMePaymentMeanCreditCard","OvhApiMePaymentMeanPaypal",function(a,b,c){"use strict";return{getDefaultPaymentMean:function(){return b.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="creditCard",b):c.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="paypal",b):a.v6().getDefaultPaymentMean().then(function(a){return a?(a.paymentType="bankAccount",a):null})})})}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypal",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanPaypalV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypalV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/paypal/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/paypal/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethodV6",["$resource",function(a){"use strict";return a("/me/paymentMethod/:id",{id:"@id"},{edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeSshKeyV6"),d=b("OvhApiMeSshKeyV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/sshKey/:keyName",{keyName:"@keyName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeTaskContactChange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTaskContactChangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTaskContactChangeV6",["$resource",function(a){"use strict";return a("/me/task/contactChange/:id",{id:"@id" -},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},accept:{method:"POST",url:"/me/task/contactChange/:id/accept"},refuse:{method:"POST",url:"/me/task/contactChange/:id/refuse"},resendEmail:{method:"POST",url:"/me/task/contactChange/:id/resendEmail"}})}]),angular.module("ovh-api-services").service("OvhApiMeTask",["$injector",function(a){"use strict";return{ContactChange:function(){return a.get("OvhApiMeTaskContactChange")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestriction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonyDefaultIpRestrictionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestrictionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeTelephonyDefaultIpRestrictionV6"),d=b("OvhApiMeTelephonyDefaultIpRestrictionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/telephony/defaultIpRestriction/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeTelephony",["$injector",function(a){"use strict";return{DefaultIpRestriction:function(){return a.get("OvhApiMeTelephonyDefaultIpRestriction")},Settings:function(){return a.get("OvhApiMeTelephonySettings")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonySettingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettingsV6",["$resource",function(a){"use strict";return a("/me/telephony/settings",{},{get:{method:"GET"},change:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeVipStatus",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVipStatusV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeVipStatusV6",["$injector","$resource",function(a,b){"use strict";var c=b("/me/vipStatus");return c}]),angular.module("ovh-api-services").service("OvhApiMetrics",["$injector",function(a){return{Token:function(){return a.get("OvhApiMetricsToken")},v6:function(){return a.get("OvhApiMetricsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMetricsV6"),d=b("OvhApiMetricsV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/metrics/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getServiceInfos:{url:"/metrics/:serviceName/serviceInfos",method:"GET",cache:c},getConsumption:{url:"/metrics/:serviceName/consumption",method:"GET"},setQuota:{url:"/metrics/:serviceName/quota",method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMetricsToken",["$injector",function(a){return{v6:function(){return a.get("OvhApiMetricsTokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsTokenV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMetricsTokenV6"),d=b("OvhApiMetricsTokenV6Query"),e={response:function(a){return c.removeAll(),a.data}},f=a("/metrics/:serviceName/token/:tokenID",{serviceName:"@serviceName",tokenID:"@tokenID"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},edit:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMsServicesAccount",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesAccountV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesAccountV6"),d=a("/msServices/:serviceName/account/:userPrincipalName",{serviceName:"@serviceName",userPrincipalName:"@userPrincipalName"},{getExchange:{method:"GET",cache:c,isArray:!1,url:"/msServices/:serviceName/account/:userPrincipalName/exchange"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchange",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchangeV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesExchangeV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/exchange",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/exchange/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{serviceUsesAgora:"TRUE"===(""+a).toUpperCase()}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMsServices",["$injector",function(a){return{Account:function(){return a.get("OvhApiMsServicesAccount")},Exchange:function(){return a.get("OvhApiMsServicesExchange")},Sharepoint:function(){return a.get("OvhApiMsServicesSharepoint")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMsServicesV6"),d=b("OvhApiMsServicesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/msServices/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0,url:"/msServices"},get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMsServicesSharepoint",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesSharepointV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesSharepointV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesSharepointV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/sharepoint",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/sharepoint/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{billingMigrated:angular.fromJson(a)}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMyIpAapi",["$resource",function(a){"use strict";return a("/myIp",{},{get:{serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMyIp",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMyIpAapi")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRules",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountCreationRulesV6");return{v6:function(){return a.get("OvhApiNewAccountCreationRulesV6")},cache:c,resetCache:c.removeAll}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRulesV6",["$resource","OvhApiNewAccountCreationRules",function(a,b){"use strict";return a("/newAccount/creationRules",{country:"@country",legalform:"@legalform",ovhCompany:"@ovhCompany",ovhSubsidiary:"@ovhSubsidiary"},{get:{method:"GET",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalForm",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountLegalFormV6")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalFormV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountLegalFormV6"),d=b("OvhApiNewAccountLegalFormV6Query"),e=a("/newAccount/legalform",{country:"@country"},{get:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiNewAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountV6")},LegalForm:function(){return a.get("OvhApiNewAccountLegalForm")},CreationRules:function(){return a.get("OvhApiNewAccountCreationRules")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountV6",["$resource",function(a){"use strict";return a("/newAccount",{},{rules:{method:"POST",url:"/newAccount/rules",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiNotificationAapi",["$resource",function(a){"use strict";return a("/notification",{},{query:{method:"GET",isArray:!0,url:"/notification",serviceType:"aapi"},post:{method:"POST",isArray:!0,url:"/notification",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiNotification",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhNotificationAapi")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfiguration",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartItemConfigurationV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfigurationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemConfigurationV6Query"),d=b("OvhApiOrderCartItemConfigurationV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId/configuration/:configurationId",{cartId:"@cartId",itemId:"@itemId",configurationId:"@configurationId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartItem",["$injector",function(a){"use strict";return{Configuration:function(){return a.get("OvhApiOrderCartItemConfiguration")},v6:function(){return a.get("OvhApiOrderCartItemV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemV6Query"),d=b("OvhApiOrderCartItemV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId",{cartId:"@cartId",itemId:"@itemId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartMicrosoftV6"),d={response:function(a){return e.resetCache(),a.data}},e=a("/order/cart/:cartId/microsoft",{cartId:"@cartId"},{get:{method:"GET",cache:c,isArray:!0},post:{method:"POST",interceptor:d},getOptions:{url:"/order/cart/:cartId/microsoft/options",method:"GET",cache:c,isArray:!0,queryParams:{planCode:"@planCode"}},postOptions:{url:"/order/cart/:cartId/microsoft/options",method:"POST",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderCart",["$injector",function(a){"use strict";return{Item:function(){return a.get("OvhApiOrderCartItem")},Microsoft:function(){return a.get("OvhApiOrderCartMicrosoft")},Product:function(){return a.get("OvhApiOrderCartProduct")},ServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},v6:function(){return a.get("OvhApiOrderCartV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartV6Query"),d=b("OvhApiOrderCartV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId",{cartId:"@cartId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/order/cart"},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},assign:{method:"POST",url:"/order/cart/:cartId/assign"},checkout:{method:"POST",url:"/order/cart/:cartId/checkout"},getCheckout:{method:"GET",url:"/order/cart/:cartId/checkout"},summary:{method:"GET",url:"/order/cart/:cartId/summary"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartProduct",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartProductV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartProductV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartProductV6Query"),d=b("OvhApiOrderCartProductV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/:productName",{cartId:"@cartId",productName:"@productName"},{get:{method:"GET",cache:d,isArray:!0},getOptions:{url:"/order/cart/:cartId/:productName/options",method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e},postOptions:{url:"/order/cart/:cartId/:productName/options",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoft/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!0,cache:d},getAvailableServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoft"},post:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftExchange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftExchangeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoftExchange/:serviceName",{serviceName:"@serviceName"},{getAvailableOffers:{method:"GET",isArray:!0,cache:d},getServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoftExchange"},orderOptions:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOption",["$injector",function(a){"use strict";return{Microsoft:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoft")},MicrosoftExchange:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchange")},Vps:function(){return a.get("OvhApiOrderCartServiceOptionVps")},v6:function(){return a.get("OvhApiOrderCartServiceOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionV6Query"),d=b("OvhApiOrderCartServiceOptionV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cartServiceOption/:productName/:serviceName",{productName:"@productName",serviceName:"@serviceName"},{get:{method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionVpsV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVpsV6",["$resource",function(a){"use strict";return a("/order/cartServiceOption/vps/:serviceName",{serviceName:"@serviceName"},{get:{isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormatted",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCatalogFormattedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormattedV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCatalogFormattedV6"),d=a("/order/catalog/formatted/:catalogName",{catalogName:"@catalogName"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackend",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCdnDedicatedBackendV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackendV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName/backend/:duration",{serviceName:"@serviceName",duration:"@duration"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicated",["$injector",function(a){"use strict";return{Backend:function(){return a.get("OvhApiOrderCdnDedicatedBackend")},v6:function(){return a.get("OvhApiOrderCdnDedicatedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdn",["$injector",function(a){"use strict";return{Dedicated:function(){return a.get("OvhApiOrderCdnDedicated")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCredit",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectCreditV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCreditV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/credit",{serviceName:"@serviceName",amount:"@amount"},{get:{method:"GET"},query:{method:"GET",isArray:!0},save:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIpV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/ip",{serviceName:"@serviceName",country:"@country",instanceId:"@instanceId",quantity:"@quantity"},{get:{method:"GET"},buy:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderDedicatedNashaNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderDedicatedNashaNewV6Query"),d=b("OvhApiOrderDedicatedNashaNewV6"),e={response:function(a){return c.removeAll(),a.data}},f=a("/order/dedicated/nasha/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c,params:{datacenter:"@datacenter",model:"@model"}},get:{method:"GET",cache:d,isArray:!1,params:{datacenter:"@datacenter",model:"@model"}},create:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNasha",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderDedicatedNashaNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderFreefaxV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefaxV6",["$resource",function(a){"use strict";return a("/order/freefax/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/freefax/:serviceName/new"},orderNew:{method:"POST",url:"/order/freefax/:serviceName/new"},getConvertToVoicefax:{method:"GET",url:"/order/freefax/:serviceName/convertToVoicefax"},orderConvertToVoicefax:{method:"POST",url:"/order/freefax/:serviceName/convertToVoicefax"}})}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderPrivateDatabaseV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabaseV6",["$resource",function(a){"use strict";return a("/order/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new",isArray:!0,params:{datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},getNewDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration",datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},orderNew:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration"}},getRam:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram",isArray:!0,params:{ram:"@ram"}},getRamDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration",ram:"@ram"}},orderRam:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration"}}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderLicenseOfficeNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNewV6",["$resource","$cacheFactory","OvhApiLicense",function(a,b,c){"use strict";var d=b("OvhApiOrderLicenseOfficeNewV6Query"),e=b("OvhApiOrderLicenseOfficeNewV6"),f={response:function(a){return c.Office().v6().resetQueryCache(),a}};return a("/order/license/office/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOffice",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderLicenseOfficeNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiOrderLicenseOffice")},v6:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiOrder",["$injector",function(a){"use strict";return{Cart:function(){return a.get("OvhApiOrderCart")},CartServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},CatalogFormatted:function(){return a.get("OvhApiOrderCatalogFormatted")},DedicatedNasha:function(){return a.get("OvhApiOrderDedicatedNasha")},Freefax:function(){return a.get("OvhApiOrderFreefax")},License:function(){return a.get("OvhApiOrderLicense")},Router:function(){return a.get("OvhApiOrderRouter")},Sms:function(){return a.get("OvhApiOrderSms")},Telephony:function(){return a.get("OvhApiOrderTelephony")},Vrack:function(){return a.get("OvhApiOrderVrack")},Upgrade:function(){return a.get("OvhApiOrderUpgrade")},v6:function(){return a.get("OvhApiOrderV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderv6Schema"),d=a("/order",{},{schema:{method:"GET",cache:c,url:"/order.json"}});return d.resetSchemaCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderOverTheBoxNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderOverTheBoxNewV6Query"),d=b("OvhApiOrderOverTheBoxNewV6"),e=a("/order/overTheBox/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},save:{method:"POST",interceptor:f}}),f={response:function(a){return e.resetQueryCache(),a.data}};return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBox",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderOverTheBoxNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderRouterNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNewV6",["$resource","$cacheFactory","OvhApiRouter",function(a,b,c){"use strict";var d=b("OvhApiOrderRouterNewV6Query"),e=b("OvhApiOrderRouterNewV6"),f={response:function(a){return c.v6().resetQueryCache(),a}};return a("/order/router/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderRouter",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderRouterNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderSms",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderSms");return{v6:function(){return a.get("OvhApiOrderSmsV6")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiOrderSmsV6",["$resource","OvhApiOrderSms",function(a,b){"use strict";return a("/order/sms/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!0,cache:b.cache},getCredits:{method:"GET",url:"/order/sms/:serviceName/credits",cache:b.cache},orderCredits:{method:"POST",url:"/order/sms/:serviceName/credits"},getNewSmsAccount:{method:"GET",url:"/order/sms/new",cache:b.cache},orderNewSmsAccount:{method:"POST",url:"/order/sms/new"}})}]),angular.module("ovh-api-services").service("OvhApiOrderTelephonyAapi",["$resource","OvhApiOrderTelephony",function(a,b){"use strict";return a("/order/telephony",{billingAccount:"@billingAccount"},{billingAccounts:{method:"GET",url:"/order/telephony/all",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiOrderTelephony",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderTelephony");return{v6:function(){return a.get("OvhApiOrderTelephonyV6")},Aapi:function(){return a.get("OvhApiOrderTelephonyAapi")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiOrderTelephonyV6",["$resource","OvhApiOrderTelephony",function(a,b){"use strict";return a("/order/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",isArray:!0,cache:b.cache},billingAccounts:{method:"GET",url:"/order/telephony",isArray:!0,cache:b.cache},getNewBillingAccount:{method:"GET",url:"/order/telephony/new",preventLogout:!0},orderNewBillingAccount:{method:"POST",url:"/order/telephony/new",preventLogout:!0},getNumberGeographical:{method:"GET",url:"/order/telephony/:billingAccount/numberGeographic",isArray:!1,cache:b.cache},getNumberNogeographical:{method:"GET",url:"/order/telephony/:billingAccount/numberNogeographic",isArray:!1,cache:b.cache},getNumberSpecial:{method:"GET",url:"/order/telephony/:billingAccount/numberSpecial",isArray:!1,cache:b.cache},orderNumberGeographical:{method:"POST",url:"/order/telephony/:billingAccount/numberGeographic",isArray:!1},orderNumberNogeographical:{method:"POST",url:"/order/telephony/:billingAccount/numberNogeographic",isArray:!1},orderNumberSpecial:{method:"POST",url:"/order/telephony/:billingAccount/numberSpecial",isArray:!1},getPortability:{method:"GET",url:"/order/telephony/:billingAccount/portability",isArray:!1},orderPortability:{method:"POST",url:"/order/telephony/:billingAccount/portability",isArray:!1},getAccessories:{method:"GET",url:"/order/telephony/:billingAccount/accessories",isArray:!1},orderAccessories:{method:"POST",url:"/order/telephony/:billingAccount/accessories",isArray:!1},getSecurityDeposit:{method:"GET",url:"/order/telephony/:billingAccount/securityDeposit",isArray:!1},orderSecurityDeposit:{method:"POST",url:"/order/telephony/:billingAccount/securityDeposit",isArray:!1},getHardware:{method:"GET",url:"/order/telephony/lines/:serviceName/hardware",isArray:!1},orderHardware:{method:"POST",url:"/order/telephony/lines/:serviceName/hardware",isArray:!1},getSimultaneousLines:{method:"GET",url:"/order/telephony/lines/:serviceName/updateSimultaneousChannels",isArray:!1},orderSimultaneousLines:{method:"POST",url:"/order/telephony/lines/:serviceName/updateSimultaneousChannels",isArray:!1},getSimultaneousTrunkLines:{method:"GET",url:"/order/telephony/trunks/:serviceName/updateSimultaneousChannels",isArray:!1},orderSimultaneousTrunkLines:{method:"POST",url:"/order/telephony/trunks/:serviceName/updateSimultaneousChannels",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradeMicrosoftExchange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderUpgradeMicrosoftExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradeMicrosoftExchangeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderUpgradeMicrosoftExchangeV6Query"),d=b("OvhApiOrderUpgradeMicrosoftExchangeV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/upgrade/microsoftExchange/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{getAvailableServices:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/microsoftExchange"},getAvailableOffers:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/microsoftExchange/:serviceName"},getOrder:{method:"GET",cache:d,isArray:!1},order:{method:"POST",cache:d,isArray:!1,interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderUpgrade",["$injector",function(a){ -"use strict";return{MicrosoftExchange:function(){return a.get("OvhApiOrderUpgradeMicrosoftExchange")},Vps:function(){return a.get("OvhApiOrderVps")},PrivateCloud:function(){return a.get("OvhApiOrderUpgradePrivateCloud")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradePrivateCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderUpgradePrivateCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradePrivateCloudV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderUpgradePrivateCloudV6Query"),d=b("OvhApiOrderUpgradePrivateCloudV6"),e={response:function(a){return f.resetCache(),f.resetQueryCache(),a.data}},f=a("/order/upgrade/privateCloud/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{get:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/privateCloud/:serviceName"},getPlan:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e},query:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/privateCloud"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderVpsV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderVpsV6",["$resource",function(a){"use strict";return a("/order/upgrade/vps/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{getAvailableOffers:{method:"GET",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiOrderVrackNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderVrackNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderVrackNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderVrackNewV6Query"),d=b("OvhApiOrderVrackNewV6"),e=a("/order/vrack/new",{quantity:"@quantity"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},create:{method:"POST",interceptor:f}}),f={response:function(a){return e.resetQueryCache(),a.data}};return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderVrack",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderVrackNew")}}}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxAapi",["$resource","Poller","OvhApiOverTheBox",function(a,b,c){"use strict";var d="/overTheBox/:serviceName/remoteAccesses",e={response:function(a){return c.resetCache(),a.resource}},f=a("/overTheBox/:serviceName",{serviceName:"@serviceName"},{remoteAccesses:{method:"GET",url:d,serviceType:"aapi",isArray:!0,cache:c.cache},createAndAuthorize:{method:"POST",url:"/overTheBox/:serviceName/remoteAccess/create",serviceType:"aapi",isArray:!1,interceptor:e},getServices:{method:"GET",url:"/overTheBox/devices",serviceType:"aapi",isArray:!0}});return f.poll=function(a,c){var e=d.replace(/\/:(\w*)\//g,function(a,b){return"/"+c[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi",cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},f}]),angular.module("ovh-api-services").service("OvhApiOverTheBox",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOverTheBox");return{v6:function(){return a.get("OvhApiOverTheBoxV6")},Aapi:function(){return a.get("OvhApiOverTheBoxAapi")},v7:function(){return a.get("OvhApiOverTheBoxV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxV6",["$resource","OvhApiOverTheBox",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/overTheBox/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/overTheBox.json"},query:{method:"GET",isArray:!0,cache:b.cache},get:{method:"GET",cache:b.cache},checkDevices:{method:"POST",url:"/overTheBox/devices",isArray:!0},getDevice:{method:"GET",url:"/overTheBox/:serviceName/device",cache:b.cache},getServiceInfos:{method:"GET",url:"/overTheBox/:serviceName/serviceInfos",cache:b.cache},putService:{method:"PUT",url:"/overTheBox/:serviceName",interceptor:c},deleteAtExpiration:{method:"DELETE",interceptor:c},keepAtExpiration:{method:"POST",url:"/overTheBox/:serviceName/cancelResiliation",interceptor:c},putServiceInfos:{method:"PUT",url:"/overTheBox/:serviceName/serviceInfos",interceptor:c},linkDevice:{method:"POST",url:"/overTheBox/:serviceName/linkDevice",interceptor:c},getTasks:{method:"GET",url:"/overTheBox/:serviceName/tasks",isArray:!0,cache:b.cache},getTask:{method:"GET",url:"/overTheBox/:serviceName/tasks/:taskId",cache:b.cache},loadRemote:{method:"GET",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId",cache:b.cache},createRemote:{method:"POST",url:"/overTheBox/:serviceName/remoteAccesses",interceptor:c},deleteRemote:{method:"DELETE",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId",interceptor:c},authorizeRemote:{method:"POST",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId/authorize",interceptor:c},availableOffers:{method:"GET",url:"/overTheBox/availableOffers",isArray:!0,cache:b.cache},getServices:{method:"GET",url:"/overTheBox",isArray:!0,cache:b.cache},getAvailableActions:{method:"GET",url:"/overTheBox/:serviceName/device/availableActions",isArray:!0},launchAction:{method:"POST",url:"/overTheBox/:serviceName/device/actions",isArray:!1},getLogs:{method:"POST",url:"/overTheBox/:serviceName/device/logs ",isArray:!1}});return d}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxV7",["apiv7",function(a){"use strict";var b=a("/overtTheBox/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccessAapi",["$resource","OvhApiPackXdslAccess",function(a,b){"use strict";return a("/pack/xdsl/:packId/access/services",{packId:"@packId"},{query:{serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccess",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslAccess");return{Aapi:function(){return a.get("OvhApiPackXdslAccessAapi")},v6:function(){return a.get("OvhApiPackXdslAccessV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccessV6",["$resource","OvhApiPackXdslAccess",function(a,b){"use strict";return a("/pack/xdsl/:packId/xdslAccess",{packId:"@packId"},{getServices:{url:"/pack/xdsl/:packId/xdslAccess/services",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivationAapi",["$resource","OvhApiPackXdslDomainActivation",function(a,b){"use strict";return a("/pack/xdsl/:packId/domain/disponibility/:language/:domain",{packId:"@packId",language:"@language",domain:"@domain"},{checkDisponibility:{method:"POST",serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslDomainActivation");return{v6:function(){return a.get("OvhApiPackXdslDomainActivationV6")},Aapi:function(){return a.get("OvhApiPackXdslDomainActivationAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivationV6",["$resource","OvhApiPackXdslDomainActivation",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/domain/services",{packId:"@id"},{postServices:{method:"POST",isArray:!1,interceptor:c},getServices:{method:"GET",isArray:!0,cache:b.cache},getTlds:{method:"GET",url:"/pack/xdsl/:packId/domain/options/tlds",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPackXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiPackXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslEmailProV6"),d=b("OvhApiPackXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/pack/xdsl/:packName/emailPro/services",{packName:"@packName"},{query:{method:"GET",isArray:!0,cache:d},save:{method:"POST",interceptor:e},getDomains:{method:"GET",url:"/pack/xdsl/:packName/emailPro/options/domains",isArray:!0,cache:c},isEmailAvailable:{method:"GET",url:"/pack/xdsl/:packName/emailPro/options/isEmailAvailable",transformResponse:function(a,b,c){return 200!==c?a:{available:"TRUE"===_.trim(a).toUpperCase()}}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountAapi",["$resource","OvhApiPackXdslExchangeAccount",function(a,b){"use strict";return a("/pack/xdsl/:packName/exchangeAccount/email",{packName:"@packName"},{query:{isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccount",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeAccount");return{Aapi:function(){return a.get("OvhApiPackXdslExchangeAccountAapi")},Services:function(){return a.get("OvhApiPackXdslExchangeAccountServices")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountServices",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPackXdslExchangeAccountServicesV6")}}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountServicesV6",["$resource",function(a){"use strict";return a("/pack/xdsl/:packName/exchangeAccount/services/:domain",{packName:"@packName",domain:"@domain"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeIndividual",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeIndividual");return{v6:function(){return a.get("OvhApiPackXdslExchangeIndividualV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeIndividualV6",["$resource","$http","OvhApiPackXdslExchangeIndividual",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/pack/xdsl/:packId/exchangeIndividual/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:c.cache},save:{method:"POST",interceptor:d},getDomains:{method:"GET",url:"/pack/xdsl/:packId/exchangeIndividual/options/domains",isArray:!0,cache:c.cache}});return e.isEmailAvailable=function(a){return b({url:"/pack/xdsl/"+a.packId+"/exchangeIndividual/options/isEmailAvailable",method:"GET",params:{email:a.email}})},e}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeLite",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeLite");return{v6:function(){return a.get("OvhApiPackXdslExchangeLiteV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeLiteV6",["$resource","$http","OvhApiPackXdslExchangeLite",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/pack/xdsl/:packId/exchangeLite/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:c.cache},save:{method:"POST",interceptor:d}});return e.isEmailAvailable=function(a){return b({url:"/pack/xdsl/"+a.packId+"/exchangeLite/options/isEmailAvailable",method:"GET",params:{email:a.email}})},e}]),angular.module("ovh-api-services").service("OvhApiPackXdslHostedEmail",["$injector","$cacheFactory",function(a,b){var c=b("OvhApiPackXdslHostedEmail");return{v6:function(){return a.get("OvhApiPackXdslHostedEmailV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslHostedEmailV6",["$resource","OvhApiPackXdslHostedEmail",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/hostedEmail/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c},getDomains:{method:"GET",url:"/pack/xdsl/:packId/hostedEmail/options/domains",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName/hubic/services",{packName:"@packName"});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicAapi",["$resource","OvhApiPackXdslHubic",function(a,b){"use strict";return a("/pack/xdsl/:packId/hubic",{packId:"@packId"},{query:{serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslHubic");return{Aapi:function(){return a.get("OvhApiPackXdslHubicAapi")},v6:function(){return a.get("OvhApiPackXdslHubicV6")},v7:function(){return a.get("OvhApiPackXdslHubicV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiPackXdslHubicV6");return b("/pack/xdsl/:packName/hubic/services",{packName:"@packName"},{getDomainDetails:{method:"GET",url:"/pack/xdsl/:packName/hubic/services/:domain/details",cache:c,params:{domain:"@domain"}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslMove",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslMove");return{Aapi:angular.noop,v6:function(){return a.get("OvhApiPackXdslMoveV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslMoveV6",["$resource","Poller",function(a,b){"use strict";var c=a("/pack/xdsl/:packName/addressMove/eligibility",{packName:"@packName"},{move:{method:"POST",url:"/pack/xdsl/:packName/addressMove/move",isArray:!1}});return c.pollElligibility=function(a,c){var d=["/pack/xdsl/",c.packName,"/addressMove/eligibility"].join("");return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,null,{postData:{lineNumber:c.lineNumber,address:c.address},successRule:{status:function(a){return"error"===a.status||"ok"===a.status}},scope:a.$id,method:"post",retryMaxAttempts:3})},c}]),angular.module("ovh-api-services").service("OvhApiPackXdslAapi",["$resource","OvhApiPackXdsl",function(a,b){"use strict";var c=a("/pack/xdsl/:packId",{packId:"@packId"},{get:{serviceType:"aapi",isArray:!1,cache:b.cache},getLines:{url:"/pack/xdsl/:packId/lines",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiPackXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdsl");return{v6:function(){return a.get("OvhApiPackXdslV6")},Aapi:function(){return a.get("OvhApiPackXdslAapi")},v7:function(){return a.get("OvhApiPackXdslV7")},Task:function(){return a.get("OvhApiPackXdslTask")},Access:function(){return a.get("OvhApiPackXdslAccess")},DomainActivation:function(){return a.get("OvhApiPackXdslDomainActivation")},EmailPro:function(){return a.get("OvhApiPackXdslEmailPro")},ExchangeAccount:function(){return a.get("OvhApiPackXdslExchangeAccount")},ExchangeIndividual:function(){return a.get("OvhApiPackXdslExchangeIndividual")},ExchangeLite:function(){return a.get("OvhApiPackXdslExchangeLite")},HostedEmail:function(){return a.get("OvhApiPackXdslHostedEmail")},Hubic:function(){return a.get("OvhApiPackXdslHubic")},Move:function(){return a.get("OvhApiPackXdslMove")},PromotionCode:function(){return a.get("OvhApiPackXdslPromotionCode")},Resiliation:function(){return a.get("OvhApiPackXdslResiliation")},ServiceInfo:function(){return a.get("OvhApiPackXdslServiceInfo")},SiteBuilderStart:function(){return a.get("OvhApiPackXdslSiteBuilderStart")},Tasks:function(){return a.get("OvhApiPackXdslTask")},VoipBillingAccount:function(){return a.get("OvhApiPackXdslVoipBillingAccount")},VoipEcofax:function(){return a.get("OvhApiVoipEcofax")},VoipLine:function(){return a.get("OvhApiPackXdslVoipLine")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslV6",["$resource","OvhApiTelecomSidebar","OvhApiPackXdsl",function(a,b,c){"use strict";var d={response:function(a){return b.resetCache(),c.resetCache(),a.resource}};return a("/pack/xdsl/:packId",{packId:"@id"},{put:{method:"PUT",interceptor:d},getServiceInfos:{method:"GET",url:"/pack/xdsl/:packId/serviceInfos",cache:c.cache},getServices:{method:"GET",isArray:!0,url:"/pack/xdsl/:packId/services",cache:c.cache,transformResponse:function(a,b,c){if(200===c){var d=angular.fromJson(a);return d.forEach(function(a){a.available=a.total-(a.used+a.inCreation)}),d}return a}},migrationOffers:{method:"POST",isArray:!1,url:"/pack/xdsl/:packName/migration/offers",params:{packName:"@packName"}},migrate:{method:"POST",isArray:!1,url:"/pack/xdsl/:packName/migration/migrate",params:{packName:"@packName"}},shippingAddresses:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/shippingAddresses",params:{packName:"@packName",context:"@context"}},resiliationFollowUp:{method:"GET",url:"/pack/xdsl/:packName/resiliationFollowUp"},servicesToDelete:{method:"POST",isArray:!0,url:"/pack/xdsl/:packName/migration/servicesToDelete",params:{packName:"@packName"}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName",{packName:"@packName"},{access:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/xdslAccess/services"}});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslPromotionCode",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslPromotionCode");return{Aapi:angular.noop,v6:function(){return a.get("OvhApiPackXdslPromotionCodeV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslPromotionCodeV6",["$resource","OvhApiPackXdslPromotionCode",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/promotionCode",{packId:"@packId"},{capabilities:{url:"/pack/xdsl/:packId/promotionCode/capabilities",method:"GET",isArray:!1,cache:b.cache},generate:{url:"/pack/xdsl/:packId/promotionCode/generate",method:"POST",isArray:!1,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliationAapi",["$resource","OvhApiPackXdslResiliation",function(a,b){"use strict";return a("/pack/xdsl/canCancelResiliation/all",{packId:"@packId"},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/pack/xdsl/:packId/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache},subServicesTerms:{url:"/pack/:packId/resiliate/subServicesInfos",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslResiliation");return{Aapi:function(){return a.get("OvhApiPackXdslResiliationAapi")},v6:function(){return a.get("OvhApiPackXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliationV6",["$resource","OvhApiPackXdslResiliation",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packName/canCancelResiliation",{packName:"@packName"},{canCancelResiliation:{url:"/pack/xdsl/:packName/canCancelResiliation",method:"GET",isArray:!1,cache:b.cache,transformResponse:function(a){return{value:"true"===a}}},cancelResiliation:{url:"/pack/xdsl/:packName/cancelResiliation",method:"POST",isArray:!1,interceptor:c},resiliate:{url:"/pack/xdsl/:packName/resiliate",method:"POST",isArray:!1,interceptor:c},resiliationTerms:{url:"/pack/xdsl/:packName/resiliationTerms",method:"GET",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslServiceInfoAapi",["$resource","OvhApiPackXdslServiceInfo",function(a,b){"use strict";return a("/pack/xdsl/:packName/serviceInfos/all",{packName:"@packName"},{infoAll:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslServiceInfo",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslServiceInfo");return{Aapi:function(){return a.get("OvhApiPackXdslServiceInfoAapi")},v6:angular.noop,resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslSiteBuilderStart",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslSiteBuilderStart");return{v6:function(){return a.get("OvhApiPackXdslSiteBuilderStartV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslSiteBuilderStartV6",["$resource","OvhApiPackXdslSiteBuilderStart",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/siteBuilderStart/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslTaskAapi",["$resource","OvhApiPackXdslTask",function(a,b){"use strict";var c=a("/pack/xdsl/:packName/tasks",{packName:"@packName"},{details:{method:"GET",url:"/pack/xdsl/:packName/tasks/detail",serviceType:"aapi",isArray:!0,cache:b.cache},detailsAll:{method:"GET",url:"/pack/xdsl/:packName/tasks/detail/all",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiPackXdslTask",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslTask");return{Aapi:function(){return a.get("OvhApiPackXdslTaskAapi")},v6:function(){return a.get("OvhApiPackXdslTaskV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslTaskV6",["$resource",function(a){"use strict";return a("/pack/xdsl/:packName/tasks",{packName:"@packName"},{query:{method:"GET",isArray:!0},get:{method:"GET"},save:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipBillingAccount",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipBillingAccount");return{v6:function(){return a.get("OvhApiPackXdslVoipBillingAccountV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipBillingAccountV6",["$resource","OvhApiPackXdslVoipBillingAccount",function(a,b){"use strict";return a("/pack/xdsl/:packId/voipBillingAccount/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipEcofax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipEcofax");return{v6:function(){return a.get("OvhApiPackXdslVoipEcofaxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipEcofaxV6",["$resource","OvhApiPackXdslVoipEcofax",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/voipEcofax/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineAapi",["$resource","OvhApiPackXdslVoipLine",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/pack/xdsl/:packId/voipLines",{packId:"@packId"},{query:{url:"/pack/xdsl/:packId/voipLine/services",serviceType:"aapi",isArray:!0,cache:b.cache},activate:{url:"/pack/xdsl/:packId/voipLines/activate",serviceType:"aapi",isArray:!1,method:"POST",interceptor:c}});return d}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLine",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipLine");return{Aapi:function(){return a.get("OvhApiPackXdslVoipLineAapi")},v6:function(){return a.get("OvhApiPackXdslVoipLineV6")},v7:function(){return a.get("OvhApiPackXdslVoipLineV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineV6",["$resource","OvhApiPackXdslVoipLine",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/voipLine/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c},getHardwares:{method:"GET",url:"/pack/xdsl/:packId/voipLine/options/hardwares",isArray:!0,cache:b.cache},getShippingAddresses:{method:"GET",url:"/pack/xdsl/:packId/voipLine/options/shippingAddresses",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName/voipLine",{packName:"@packName"},{services:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/voipLine/services"}});return b}]),angular.module("ovh-api-services").service("OvhApiPortalRadarServerAapi",["$resource","OvhApiPortalRadarServer",function(a,b){"use strict";return a("/dedicated/server/radar/aggregate",{},{aggregate:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPortalRadarServer",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPortalRadarServer");return{Aapi:function(){return a.get("OvhApiPortalRadarServerAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPriceOverTheBoxOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPriceOverTheBoxOfferV6")}}}]),angular.module("ovh-api-services").service("OvhApiPriceOverTheBoxOfferV6",["$resource",function(a){"use strict";return a("/price/overTheBox/offer/:offerName",{offerName:"@offerName"},{schema:{method:"GET",url:"/price.json"}})}]),angular.module("ovh-api-services").service("OvhApiProductsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiProductsAapi"),d=a("/products",{},{get:{method:"GET",isArray:!1,universe:"@universe",serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiProducts",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiProductsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiScreenshotAapi",["$resource","OvhApiScreenshot",function(a,b){"use strict";var c={response:function(a){return a.data}};return a("/sws/screenshot",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiScreenshot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiScreenshot");return{Aapi:function(){return a.get("OvhApiScreenshotAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiServicesAapi",["$resource",function(a){"use strict";return a("/services",{},{get:{isArray:!0,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiServices",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiServicesAapi")},v6:function(){return a.get("OvhApiServicesV6")}}}]),angular.module("ovh-api-services").service("OvhApiServicesV6",["$resource",function(a){"use strict";return a("/services/:serviceId",{serviceId:"@serviceId"})}]),angular.module("ovh-api-services").service("OvhApiSiteBuildersAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiSiteBuildersAapi"),d=a("/sitebuilders",{},{get:{method:"GET",isArray:!0,universe:"@universe",serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiSiteBuilders",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiSiteBuildersAapi")}}}]),angular.module("ovh-api-services").service("OvhApiSmsBlacklists",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsBlacklistsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsBlacklistsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsBlacklistsV6"),d=a("OvhApiSmsBlacklistsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/blacklists/:number",{serviceName:"@serviceName",number:"@number"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetQueryCache=function(){d.removeAll()},f.resetCache=function(){c.removeAll()},f.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsHlr",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsHlrV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsHlrV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsHlrV6"),d=a("OvhApiSmsHlrV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/hlr/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},send:{method:"POST",interceptor:e},getOperator:{method:"GET",url:"/sms/:serviceName/hlr/:id/operator",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsIncomingV6"),d=a("OvhApiSmsIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/incoming/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsJobsV6"),d=a("OvhApiSmsJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/jobs/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e},getPtts:{method:"GET",url:"/sms/ptts",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsOutgoingV6"),d=a("OvhApiSmsOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/outgoing/:id",{ -serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/outgoing/:id/hlr",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsPhonebooksPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksPhonebookContactV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsPhonebooksPhonebookContactV6"),d=a("OvhApiSmsPhonebooksPhonebookContactV6Query"),e=a("OvhApiSmsPhonebooksPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=b("/sms/:serviceName/phonebooks/:bookKey/phonebookContact/:id",{serviceName:"@serviceName",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/sms/:serviceName/phonebooks/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsPhonebooksV6")},PhonebookContact:function(){return a.get("OvhApiSmsPhonebooksPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsPhonebooksV6"),d=a("OvhApiSmsPhonebooksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/phonebooks/:bookKey",{serviceName:"@serviceName",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/sms/:serviceName/phonebooks",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/sms/:serviceName/phonebooks/:bookKey/export"},"import":{method:"POST",url:"/sms/:serviceName/phonebooks/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsReceivers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsReceiversV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsReceiversV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsReceiversV6"),d=a("OvhApiSmsReceiversV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/receivers/:slotId",{serviceName:"@serviceName",slotId:"@slotId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/receivers",interceptor:e},getCsv:{method:"GET",url:"/sms/:serviceName/receivers/:slotId/csv",cache:c,transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},clean:{method:"POST",url:"/sms/:serviceName/receivers/:slotId/clean",interceptor:e},edit:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsSenders",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsSendersV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsSendersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsSendersV6"),d=a("OvhApiSmsSendersV6Query"),e=a("OvhApiSmsSendersv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=b("/sms/:serviceName/senders/:sender",{serviceName:"@serviceName",sender:"@sender"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":"|"},cache:e},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/sms/:serviceName/senders",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiSmsAapi",["$resource","OvhApiSms",function(a,b){"use strict";var c=a("/sms",{},{detail:{method:"GET",url:"/sms/details",serviceType:"aapi",cache:b.cache,isArray:!0}});return c.resetCache=b.resetCache,c}]),angular.module("ovh-api-services").service("OvhApiSms",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiSms");return{Aapi:function(){return a.get("OvhApiSmsAapi")},v6:function(){return a.get("OvhApiSmsV6")},v7:function(){return a.get("OvhApiSmsV7")},Jobs:function(){return a.get("OvhApiSmsJobs")},Senders:function(){return a.get("OvhApiSmsSenders")},Blacklists:function(){return a.get("OvhApiSmsBlacklists")},Receivers:function(){return a.get("OvhApiSmsReceivers")},Incoming:function(){return a.get("OvhApiSmsIncoming")},Outgoing:function(){return a.get("OvhApiSmsOutgoing")},Users:function(){return a.get("OvhApiSmsUsers")},Hlr:function(){return a.get("OvhApiSmsHlr")},Templates:function(){return a.get("OvhApiSmsTemplates")},Task:function(){return a.get("OvhApiSmsTask")},VirtualNumbers:function(){return a.get("OvhApiSmsVirtualNumbers")},Phonebooks:function(){return a.get("OvhApiSmsPhonebooks")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiSmsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsV6"),d=a("OvhApiSmsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",url:"/sms/:serviceName",isArray:!1,interceptor:e},edit:{method:"PUT",interceptor:e},schema:{method:"GET",url:"/sms.json"},seeOffers:{method:"GET",url:"/sms/:serviceName/seeOffers",isArray:!0,cache:c},getDocument:{method:"GET",url:"/sms/:serviceName/document",params:{wayType:"@wayType"},transformResponse:function(a,b,c){return 200===c?{docId:angular.fromJson(a)}:a}},getServiceInfos:{method:"GET",url:"/sms/:serviceName/serviceInfos",cache:c},getSendersAvailableForValidation:{method:"GET",url:"/sms/:serviceName/sendersAvailableForValidation",isArray:!0,cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsV7",["apiv7",function(a){"use strict";var b=a("/sms/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiSmsTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/sms/:serviceName/task/:taskId",d=a(c,{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:7e3})},d}]),angular.module("ovh-api-services").service("OvhApiSmsTemplates",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsTemplatesV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsTemplatesV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsTemplatesV6"),d=a("OvhApiSmsTemplatesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/templatesControl/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/sms/:serviceName/templatesControl",isArray:!1,interceptor:e},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},relaunchValidation:{method:"POST",url:"/sms/:serviceName/templatesControl/:name/relaunchValidation",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersIncomingV6"),d=a("OvhApiSmsUsersIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/incoming/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUserJobsV6"),d=a("OvhApiSmsUserJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/jobs/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersOutgoingV6"),d=a("OvhApiSmsUsersOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/outgoing/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/users/:login/outgoing/:id/hlr",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersReceivers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersReceiversV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersReceiversV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersReceiversV6"),d=a("OvhApiSmsUsersReceiversV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/receivers/:slotId",{serviceName:"@serviceName",login:"@login",slotId:"@slotId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/receivers",interceptor:e},getCsv:{method:"GET",url:"/sms/:serviceName/users/:login/receivers/:slotId/csv",cache:c,transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},clean:{method:"POST",url:"/sms/:serviceName/users/:login/receivers/:slotId/clean",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersV6")},Incoming:function(){return a.get("OvhApiSmsUsersIncoming")},Jobs:function(){return a.get("OvhApiSmsUsersJobs")},Outgoing:function(){return a.get("OvhApiSmsUsersOutgoing")},Receivers:function(){return a.get("OvhApiSmsUsersReceivers")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersV6"),d=a("OvhApiSmsUsersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login",{serviceName:"@serviceName",login:"@login"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/users",interceptor:e},getDocument:{method:"GET",url:"/sms/:serviceName/users/:login/document",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersIncomingV6"),d=a("OvhApiSmsVirtualNumbersIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/incoming/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersJobsV6"),d=a("OvhApiSmsVirtualNumbersJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/jobs/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersOutgoingV6"),d=a("OvhApiSmsVirtualNumbersOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/outgoing/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/virtualNumbers/:number/outgoing/:id/hlr",cache:c},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersV6")},Incoming:function(){return a.get("OvhApiSmsVirtualNumbersIncoming")},Jobs:function(){return a.get("OvhApiSmsVirtualNumbersJobs")},Outgoing:function(){return a.get("OvhApiSmsVirtualNumbersOutgoing")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersV6"),d=a("OvhApiSmsVirtualNumbersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/virtualNumbers/:number",{serviceName:"@serviceName",number:"@number"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},queryVirtualNumbers:{method:"GET",url:"/sms/virtualNumbers",isArray:!0,cache:c},getVirtualNumbers:{method:"GET",url:"/sms/virtualNumbers/:number",params:{number:"@number"},cache:c},getVirtualNumbersServiceInfos:{method:"GET",url:"/sms/virtualNumbers/:number/serviceInfos",params:{number:"@number"},cache:c},updateVirtualNumbersServiceInfos:{method:"PUT",url:"/sms/virtualNumbers/:number/serviceInfos",params:{number:"@number"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiStatus",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStatusV6")},Task:function(){return a.get("OvhApiStatusTask")}}}]),angular.module("ovh-api-services").service("OvhApiStatusV6",["$cacheFactory","$resource",function(a,b){"use strict";return b("/status")}]),angular.module("ovh-api-services").service("OvhApiStatusTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStatusTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiStatusTaskV6",["$cacheFactory","$resource",function(a,b){"use strict";return b("/status/task")}]),angular.module("ovh-api-services").service("OvhApiStoreContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStoreContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiStoreContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiStoreContactV6"),d=b("OvhApiStoreContactV6Query"),e=a("/store/contact/:contactId",{contactId:"@contactId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f}}),f={response:function(a){return e.resetCache(),a.data}};return e.resetCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiStoreDocument",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStoreDocumentV6")}}}]),angular.module("ovh-api-services").service("OvhApiStoreDocumentV6",["$resource","$cacheFactory","$http","$q",function(a,b,c,d){"use strict";var e=b("OvhApiStoreDocumentV6"),f=b("OvhApiStoreDocumentV6Query"),g=a("/store/document/:documentId",{documentId:"@documentId"},{query:{method:"GET",cache:f},get:{method:"GET",cache:e},create:{method:"POST",interceptor:h},update:{method:"PUT",interceptor:h},"delete":{method:"DELETE",interceptor:h},cors:{method:"POST",url:"/store/document/cors"}}),h={response:function(a){return g.resetCache(),a.data}};return g.upload=function(a,b,e){var f,h=_.map(e,function(a,b){return{key:b,value:a}}),i={name:a,tags:h};return g.create({},i).$promise.then(function(a){return f=a,c.put(a.putUrl,b,{serviceType:"storage",headers:{"Content-Type":"multipart/form-data"}})["catch"](function(a){return g["delete"]({documentId:f.id}),d.reject(a)})}).then(function(){return f.id})},g.resetCache=function(){e.removeAll(),f.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiStorePartner",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStorePartnerV6")}}}]),angular.module("ovh-api-services").service("OvhApiStorePartnerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiStorePartnerV6"),d=b("OvhApiStorePartnerV6Query"),e=a("/store/partner/:partnerId",{partnerId:"@partnerId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},queryProduct:{url:"/store/partner/:partnerId/product",method:"GET",isArray:!0,cache:d},getProduct:{url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},cache:c},createProduct:{method:"POST",url:"/store/partner/:partnerId/product",interceptor:f},deleteProduct:{method:"DELETE",url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},interceptor:f},updateProduct:{method:"PUT",url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},interceptor:f},queryLinkedDocuments:{url:"/store/partner/:partnerId/document",method:"GET",isArray:!0,cache:d},linkDocument:{method:"POST",url:"/store/partner/:partnerId/document",isArray:!0,interceptor:f},unlinkDocument:{method:"DELETE",url:"/store/partner/:partnerId/document/:documentId",params:{documentId:"@documentId"},interceptor:f,isArray:!0},queryProductLinkedDocuments:{url:"/store/partner/:partnerId/product/:productId/document",method:"GET",params:{productId:"@productId"},isArray:!0,cache:d},linkDocumentToProduct:{method:"POST",url:"/store/partner/:partnerId/product/:productId/document",isArray:!0,interceptor:f,params:{productId:"@productId"}},unlinkDocumentFromProduct:{method:"DELETE",url:"/store/partner/:partnerId/product/:productId/document/:documentId",isArray:!0,interceptor:f,params:{productId:"@productId",documentId:"@documentId"}}}),f={response:function(a){return e.resetCache(),a.data}};return e.resetCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiStore",["$injector",function(a){"use strict";return{Contact:function(){return a.get("OvhApiStoreContact")},Document:function(){return a.get("OvhApiStoreDocument")},Partner:function(){return a.get("OvhApiStorePartner")}}}]),angular.module("ovh-api-services").service("OvhApiSupplyMondialRelay",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSupplyMondialRelayV6")},Aapi:function(){return angular.noop()}}}]),angular.module("ovh-api-services").service("OvhApiSupplyMondialRelayV6",["Poller","$q",function(a,b){"use strict";var c=function(){};return c.search=function(c,d,e){return b(function(b,f,g){var h=0,i="mondial-relay-"+d.$id,j=angular.extend({maxIteration:5},e);a.kill({scope:i}),d.$on("$destroy",function(){a.kill({scope:i})}),a.poll("/supply/mondialRelay",{},{postData:{country:c.country,city:c.city,address:c.address,zipcode:c.zipcode},successRule:{status:"ok"},interval:function(a){return h=a,100*Math.pow(2,a)},errorRule:{status:"error"},scope:i,retryMaxAttempts:0,method:"post"}).then(function(a){return h>j.maxIteration?f({message:"Too many iterations"}):("ok"===a.status&&b(a.result),b(null))},function(a){f(a)},g)})},c}]),angular.module("ovh-api-services").service("OvhApiSupport",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSupportV6")}}}]),angular.module("ovh-api-services").service("OvhApiSupportV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiSupportV6"),d=b("OvhApiSupportV6Query"),e=a("/support/tickets/:id",{id:"@id"},{schema:{method:"GET",url:"/support.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getMessages:{method:"GET",url:"/support/tickets/:id/messages",isArray:!0},create:{method:"POST",url:"/support/tickets/:id/create"},close:{method:"POST",url:"/support/tickets/:id/close"},reopen:{method:"POST",url:"/support/tickets/:id/reopen"},reply:{method:"POST",url:"/support/tickets/:id/reply"}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelecomHomeDashboardAapi",["$resource","OvhApiTelecomHomeDashboard",function(a,b){"use strict";return a("/telecom/homeDashboard",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache},incidents:{url:"/telecom/homeDashboard/incidents",serviceType:"aapi",method:"GET",isArray:!1,cache:b.cache},services:{url:"/telecom/homeDashboard/services",serviceType:"aapi",method:"GET",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelecomHomeDashboard",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomHomeDashboard");return{Aapi:function(){return a.get("OvhApiTelecomHomeDashboardAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecomPreferencesAapi",["$resource","OvhApiTelecomPreferences",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}};return a("/telecom/preferences",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache},write:{method:"POST",serviceType:"aapi",isArray:!1,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelecomPreferences",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomPreferences");return{Aapi:function(){return a.get("OvhApiTelecomPreferencesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecomSidebarAapi",["$resource","OvhApiTelecomSidebar",function(a,b){"use strict";var c=a("/telecom/sidebar",{},{get:{method:"GET",url:"/telecom/sidebar",serviceType:"aapi",cache:b.cache},count:{method:"GET",url:"/telecom/sidebar/count",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiTelecomSidebar",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomSidebar");return{Aapi:function(){return a.get("OvhApiTelecomSidebarAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecom",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecom");return{resetCache:c.removeAll,cache:c,HomeDashboard:function(){return a.get("OvhApiTelecomHomeDashboard")},Preferences:function(){return a.get("OvhApiTelecomPreferences")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumberAapi",["$resource","OvhApiTelephonyAbbreviatedNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/abbreviatedNumber",{billingAccount:"@billingAccount"},{query:{method:"GET",url:"/telephony/:billingAccount/abbreviatedNumber",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAbbreviatedNumber");return{v6:function(){return a.get("OvhApiTelephonyAbbreviatedNumberV6")},Aapi:function(){return a.get("OvhApiTelephonyAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumberV6",["$resource","OvhApiTelephonyAbbreviatedNumber",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/abbreviatedNumber",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,url:"/telephony/:billingAccount/abbreviatedNumber",cache:b.cache},detail:{method:"GET",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",cache:b.cache},remove:{method:"DELETE",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c},update:{method:"PUT",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c},insert:{method:"POST",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAliases",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyAliasesV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAliasesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAliasesV6"),d=b("OvhApiTelephonyAliasesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/aliases/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},changeContact:{method:"POST",url:"/telephony/aliases/:serviceName/changeContact",interceptor:e,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/aliases/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/aliases/:serviceName/serviceInfos",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipantsAapi",["$resource",function(a){return a("/telephony/:billingAccount/conference/:serviceName/participants",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipants",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceParticipantsV6")},Aapi:function(){return a.get("OvhApiTelephonyConferenceParticipantsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipantsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName/participants/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{mute:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/mute",isArray:!1},unmute:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/unmute",isArray:!1},kick:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/kick",isArray:!1},deaf:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/deaf",isArray:!1},undeaf:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/undeaf",isArray:!1},energy:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/energy",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConference",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceV6")},Participants:function(){return a.get("OvhApiTelephonyConferenceParticipants")},WebAccess:function(){return a.get("OvhApiTelephonyConferenceWebAccess")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{informations:{method:"GET",url:"/telephony/:billingAccount/conference/:serviceName/informations",isArray:!1},settings:{method:"GET",url:"/telephony/:billingAccount/conference/:serviceName/settings",isArray:!1},updateSettings:{method:"PUT",url:"/telephony/:billingAccount/conference/:serviceName/settings",isArray:!1},lock:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/lock", -isArray:!1},unlock:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/unlock",isArray:!1},announceUpload:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/announceUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceWebAccess",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceWebAccessV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceWebAccessV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName/webAccess/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentV6")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentV6"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6")},v7:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatus:{url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgentV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{getLiveStatus:{method:"GET",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV6")},v7:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV6",["$resource",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},eavesdrop:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/eavesdrop"},hangup:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/hangup"},hold:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/hold"},intercept:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/intercept"},transfer:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/transfer"},whisper:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/whisper"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueV6")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueV6"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},change:{method:"PUT",interceptor:e},getLiveStatistics:{method:"GET",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveStatistics"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingV6")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyEasyHuntingRecordsV6"),d=a("OvhApiTelephonyEasyHuntingRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/easyHunting/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6"),d=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{query:{method:"GET",isArray:!0},get:{method:"GET"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingV6")},Sound:function(){return a.get("OvhApiTelephonyEasyHuntingSound")},Hunting:function(){return a.get("OvhApiTelephonyEasyHuntingHunting")},ScreenListConditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditions")},TimeConditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditions")},Records:function(){return a.get("OvhApiTelephonyEasyHuntingRecords")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingV6"),d=b("OvhApiTelephonyEasyHuntingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},change:{method:"PUT",interceptor:e},soundUpload:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/soundUpload"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{save:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyPabx");return{v6:function(){return a.get("OvhApiTelephonyEasyPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtoken",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEventtokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtokenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEventtokenV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/telephony/:billingAccount/eventToken",{billingAccount:"@billingAccount"},{query:{method:"GET",cache:c},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaigns",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxCampaignsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaignsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxCampaignsV6"),d=a("OvhApiTelephonyFaxCampaignsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName/campaigns/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns",interceptor:e},getDetail:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/detail",cache:c},start:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/start",interceptor:e},stop:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/stop",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxAapi",["$resource",function(a){"use strict";var b=a("/fax",{},{getServices:{method:"GET",url:"/fax",serviceType:"aapi",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyFax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxV6")},Aapi:function(){return a.get("OvhApiTelephonyFaxAapi")},v7:function(){return a.get("OvhApiTelephonyFaxV7")},Campaigns:function(){return a.get("OvhApiTelephonyFaxCampaigns")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxV6"),d=a("OvhApiTelephonyFaxV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},edit:{method:"PUT",interceptor:e},getSettings:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/settings",cache:c},setSettings:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/settings",interceptor:e},changePassword:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/changePassword",interceptor:e},sendFax:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/sendFax",interceptor:e},getScreenLists:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},createScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},updateScreenLists:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},deleteScreenLists:{method:"DELETE",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},resetScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists/reset"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryConsumptionV6");return a("/telephony/:billingAccount/historyConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getFile:{method:"GET",url:"/telephony/:billingAccount/historyConsumption/:date/file"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryRepaymentConsumptionV6");return a("/telephony/:billingAccount/historyRepaymentConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/historyRepaymentConsumption"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyRepaymentConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryTollfreeConsumptionV6");return a("/telephony/:billingAccount/historyTollfreeConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyTollfreeConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberAapi",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAbbreviatedNumber");return{v6:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberV6",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",cache:b.cache},detail:{method:"GET",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",cache:b.cache},remove:{method:"DELETE",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},update:{method:"PUT",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},insert:{method:"POST",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAllAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAllAapi"),d=a("/telephony/line/all",{},{query:{method:"GET",serviceType:"aapi",isArray:!0,cache:c},detail:{url:"/telephony/line/detail",method:"GET",serviceType:"aapi",isArray:!0,cache:c},byGroup:{url:"/telephony/line/group",method:"GET",serviceType:"aapi",isArray:!1},byGroupDetail:{url:"/telephony/line/groupDetail",method:"GET",serviceType:"aapi",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAll",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyLineAllAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2Call",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineClick2CallV6")},User:function(){return a.get("OvhApiTelephonyLineClick2CallUser")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/line/:serviceName/click2Call",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{post:{method:"POST",params:{calledNumber:"@calledNumber"}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUser",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiTelephonyLineClick2CallUser");return{v6:function(){return b.get("OvhApiTelephonyLineClick2CallUserV6")},Aapi:angular.noop,resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUserV6",["$resource","$cacheFactory","OvhApiTelephonyLineClick2CallUser",function(a,b,c){"use strict";var d={response:function(a){return c.cache.remove(a.config.url),a.data}};return a("/telephony/:billingAccount/line/:serviceName/click2CallUser/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:c.cache},post:{method:"POST",interceptor:d},get:{method:"GET",cache:c.cache,isArray:!1},"delete":{method:"DELETE",interceptor:d},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/changePassword",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d},click2Call:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/click2Call",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineOffersV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffersV6",["$resource",function(a){"use strict";return a("/telephony/line/offers",null,{phones:{url:"/telephony/line/offer/phones",method:"GET",isArray:!0},query:{method:"GET",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptions",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineOptions");return{v6:function(){return a.get("OvhApiTelephonyLineOptionsV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptionsV6",["$resource","OvhApiTelephonyLineOptions",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/options",{billingAccountId:"@billingAccountId",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:b.cache},update:{method:"PUT",isArray:!1,interceptor:c},availableCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/availableCodecs",method:"GET",isArray:!0,cache:b.cache},defaultCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/defaultCodecs",method:"GET",isArray:!1,cache:b.cache,transformResponse:function(a){return{codecs:angular.fromJson(a)}}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineFunctionPhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV7")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneFunctionV6"),d={response:function(a){return c.removeAll(),a.data}};return a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},save:{method:"PUT",interceptor:d},availableFunctions:{url:"/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum/availableFunction",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},method:"GET",isArray:!0,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6"),d=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){ -d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookV6"),d=b("OvhApiTelephonyLinePhonePhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMA",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneRMAV6")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMAV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneRMAv6Cache"),d=b("OvhApiTelephonyLinePhoneRMAV6QueryCache"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/phone/rma/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c,isArray:!1},post:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},cancel:{method:"DELETE",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneV7")},Aapi:angular.noop,FunctionKey:function(){return a.get("OvhApiTelephonyLineFunctionPhone")},Phonebook:function(){return a.get("OvhApiTelephonyLinePhonePhonebook")},RMA:function(){return a.get("OvhApiTelephonyLinePhoneRMA")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneV6"),d={response:function(a){return c.remove(a.config.url.replace("/changePhoneConfiguration","")),a.data}},e=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:d},changePhoneConfiguration:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/changePhoneConfiguration",interceptor:d},getMerchandiseAvailable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/merchandiseAvailable",isArray:!0},reboot:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/reboot"},resetConfig:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/resetConfig"},supportsPhonebook:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/supportsPhonebook",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:null}}});return e.resetAllCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAapi"),d=a("/telephony/line",{},{get:{method:"GET",serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLine",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAapi")},v7:function(){return a.get("OvhApiTelephonyLineV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumber")},Phone:function(){return a.get("OvhApiTelephonyLinePhone")},Options:function(){return a.get("OvhApiTelephonyLineOptions")},Click2Call:function(){return a.get("OvhApiTelephonyLineClick2Call")},Offers:function(){return a.get("OvhApiTelephonyLineOffers")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV6",["$cacheFactory","$resource","$q","$http",function(a,b,c,d){"use strict";var e=a("OvhApiTelephonyLineV6"),f=a("OvhApiTelephonyLineV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=b("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:f},getBatch:{method:"GET",isArray:!0,cache:f,headers:{"X-Ovh-Batch":","}},terminate:{method:"DELETE",url:"/telephony/:billingAccount/service/:serviceName",params:{reason:"@reason",details:"@details"},isArray:!1},cancelTermination:{method:"POST"},edit:{method:"PUT",interceptor:g},getOptions:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/options",cache:e},setOptions:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/options",interceptor:g},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/changePassword",interceptor:g},canChangePassword:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/canChangePassword",isArray:!1,transformResponse:d.defaults.transformResponse.concat(function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d}),interceptor:{responseError:function(a){return 403===a.status?a.data:c.reject(a)}}},convertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/convertToNumber",preventLogout:!0},cancelConvertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/cancelConvertToNumber",preventLogout:!0},offer:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/offer",isArray:!1,cache:e},getTones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/tones"},changeTones:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/tones",interceptor:g},toneUpload:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/tones/toneUpload"},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:e},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:e},lastRegistrations:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/lastRegistrations",isArray:!0,cache:e},phoneCanBeAssociable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phoneCanBeAssociable",isArray:!0},listAssociablePhones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/listAssociablePhones",isArray:!0},associateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/associateDevice"},dissociateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/dissociateDevice"},maximumAvailableSimultaneousLines:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/maximumAvailableSimultaneousLines",isArray:!1,transformResponse:function(a,b,c){return 200===c?{maximum:angular.fromJson(a)}:a}},removeSimultaneousLine:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/removeSimultaneousLines",isArray:!1},simultaneousChannelsDetails:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/simultaneousChannelsDetails",isArray:!1}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLines",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinesV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinesV6",["$resource",function(a){"use strict";return a("/telephony/lines/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},changeContact:{method:"POST",url:"/telephony/lines/:serviceName/changeContact",isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/lines/:serviceName/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/lines/:serviceName/serviceInfos"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyMiniPabx");return{v6:function(){return a.get("OvhApiTelephonyMiniPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/miniPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberAapi",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache,serviceType:"aapi"},all:{method:"GET",url:"/telephony/numbers/all",isArray:!0,cache:b.cache,serviceType:"aapi"},prices:{method:"GET",url:"/telephony/:billingAccount/number/:country/prices",isArray:!0,cache:b.cache,serviceType:"aapi"},orderableByRange:{method:"GET",url:"/telephony/:country/:billingAccount/number/:type/range/:range",isArray:!1,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyNumber");return{Aapi:function(){return a.get("OvhApiTelephonyNumberAapi")},v6:function(){return a.get("OvhApiTelephonyNumberV6")},v7:function(){return a.get("OvhApiTelephonyNumberV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV6",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:b.cache},getZones:{method:"GET",url:"/telephony/number/zones",isArray:!0,cache:b.cache},getDetailedZones:{method:"GET",url:"/telephony/number/detailedZones",isArray:!0,cache:b.cache},getRanges:{method:"GET",url:"/telephony/number/ranges",isArray:!0,cache:b.cache},getSpecificNumbers:{method:"GET",url:"/telephony/number/specificNumbers",isArray:!0,cache:b.cache},edit:{method:"PUT"},changeFeatureType:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/changeFeatureType",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},isArray:!1},convertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/convertToLine"},cancelConvertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/cancelConvertToLine"},convertToLineAvailableOffers:{method:"GET",url:"/telephony/:billingAccount/number/:serviceName/convertToLineAvailableOffers"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/offerTask/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionScreenList/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionTime/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRule",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/rule/:ruleId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",ruleId:"@ruleId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtension",["$injector",function(a){"use strict";return{Rule:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRule")},ConditionScreenList:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList")},ConditionTime:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplan",["$injector",function(a){"use strict";return{Extension:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtension")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueueV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},addToQueue:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgentV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatus:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6",["$resource",function(a){"use strict";var b=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},eavesdrop:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/eavesdrop"},hangup:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hangup"},hold:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hold"},intercept:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/intercept"},transfer:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/transfer"},whisper:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/whisper"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueV6")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:e},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatistics:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveStatistics"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntry",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntryV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntryV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId/entry/:entryId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId",entryId:"@entryId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenu",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuV6")},Entry:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntry")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyOvhPabxRecordsV6"),d=a("OvhApiTelephonyOvhPabxRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/ovhPabx/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabx");return{v6:function(){return a.get("OvhApiTelephonyOvhPabxV6")},Dialplan:function(){return a.get("OvhApiTelephonyOvhPabxDialplan")},Sound:function(){return a.get("OvhApiTelephonyOvhPabxSound")},Menu:function(){return a.get("OvhApiTelephonyOvhPabxMenu")},Hunting:function(){return a.get("OvhApiTelephonyOvhPabxHunting")},Records:function(){return a.get("OvhApiTelephonyOvhPabxRecords")},Tts:function(){return a.get("OvhApiTelephonyOvhPabxTts")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxV6",["$resource","OvhApiTelephonyOvhPabx",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/telephony/:billingAccount/ovhPabx",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache},get:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName",cache:b.cache},getHunting:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting",cache:b.cache},queryAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent",isArray:!0,cache:b.cache},getAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",cache:b.cache},queryQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue",isArray:!0,cache:b.cache},getQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",cache:b.cache},updateQueue:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",interceptor:c},queryTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent",isArray:!0,cache:b.cache},getTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",cache:b.cache},updateTier:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},addTier:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",interceptor:c},deleteTier:{method:"DELETE",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},soundUpload:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/soundUpload"}});return d}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxTtsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTtsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/tts/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookPhonebookContactV6"),d=b("OvhApiTelephonyPhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyPhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0, -headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookV6"),d=b("OvhApiTelephonyPhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/phonebook/:bookKey",{billingAccount:"@billingAccount",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortability",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPortabilityV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortabilityV6",["$resource","$http",function(a,b){"use strict";var c=function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d};return a("/telephony/:billingAccount/portability/:id",{billingAccount:"@billingAccount",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getStatus:{method:"GET",url:"/telephony/:billingAccount/portability/:id/status",isArray:!0},canBeCancelled:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeCancelled",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},cancel:{method:"POST",url:"/telephony/:billingAccount/portability/:id/cancel",isArray:!1},canBeExecuted:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeExecuted",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},execute:{method:"POST",url:"/telephony/:billingAccount/portability/:id/execute",isArray:!1},dateCanBeChanged:{method:"GET",url:"/telephony/:billingAccount/portability/:id/dateCanBeChanged",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},changeDate:{method:"POST",url:"/telephony/:billingAccount/portability/:id/changeDate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRedirectV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirectV6",["$resource",function(a){return a("/telephony/:billingAccount/:featureType/:serviceName",{billingAccount:"@billingAccount",featureType:"@featureType",serviceName:"@serviceName"},{change:{method:"POST",url:"/telephony/:billingAccount/:featureType/:serviceName/changeDestination ",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsva",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRsvaV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsvaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyRsvaV6"),d=function(a){return c.removeAll(),a.data},e=a("/telephony/:billingAccount/rsva/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},edit:{method:"PUT",interceptor:d},getAllowedRateCodes:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/allowedRateCodes",cache:c,isArray:!0},getCurrentRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/currentRateCode",cache:c},getScheduledRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/scheduledRateCode",cache:c},scheduleRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/scheduleRateCode",interceptor:d},cancelScheduledRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/cancelScheduledRateCode",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEvents",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerEventsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEventsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerEventsV6"),d=b("OvhApiTelephonySchedulerEventsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName/events/:uid",{billingAccount:"@billingAccount",serviceName:"@serviceName",uid:"@uid"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{url:"/telephony/:billingAccount/scheduler/:serviceName/events",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},method:"POST",interceptor:e},save:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScheduler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerV6")},Events:function(){return a.get("OvhApiTelephonySchedulerEvents")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerV6"),d=b("OvhApiTelephonySchedulerV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},save:{method:"PUT",interceptor:e},importIcsCalendar:{method:"POST",url:"/telephony/:billingAccount/scheduler/:serviceName/importIcsCalendar",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenLists",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenListsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenListsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenListsV6"),d=b("OvhApiTelephonyScreenListsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName/screenLists/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreen",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenV6")},ScreenLists:function(){return a.get("OvhApiTelephonyScreenLists")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenV6"),d=b("OvhApiTelephonyScreenV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},change:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceFaxConsumptionV6"),d=b("OvhApiTelephonyServiceFaxConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/offerTask/:taskId",{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionAapi",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{repayment:{method:"GET",url:"/telephony/:billingAccount/repayment",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumption",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionAapi")},v6:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceRepaymentConsumptionV6"),d=b("OvhApiTelephonyServiceRepaymentConsumptionV6Query"),e=b("OvhApiTelephonyServiceRepaymentConsumptionv6Batch"),f=a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",headers:{"X-Ovh-Batch":","},cache:e,isArray:!0}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetBatchCache=function(){e.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/telephony/:billingAccount/service/:serviceName/task/:taskId",d=a(c,{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{get:{url:c,method:"GET",isArray:!1},query:{url:"/telephony/:billingAccount/service/:serviceName/task",method:"GET",isArray:!0}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:1e3})},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyService",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceV6")},v7:function(){return a.get("OvhApiTelephonyServiceV7")},VoiceConsumption:function(){return a.get("OvhApiTelephonyServiceVoiceConsumption")},FaxConsumption:function(){return a.get("OvhApiTelephonyServiceFaxConsumption")},Task:function(){return a.get("OvhApiTelephonyServiceTask")},OfferTask:function(){return a.get("OvhApiTelephonyServiceOfferTask")},RepaymentConsumption:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumption")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceV6"),d=b("OvhApiTelephonyServiceV6Query"),e=b("OvhApiTelephonyServiceOfferV6Query"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},g=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/cancelTermination",interceptor:f},changeOfBillingAccount:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/changeOfBillingAccount",interceptor:f,preventLogout:!0},offerChanges:{url:"/telephony/:billingAccount/service/:serviceName/offerChanges",method:"GET",isArray:!0,cache:e},offerChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"GET",isArray:!1},cancelOfferChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"DELETE"},changeOffer:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"POST",isArray:!1},diagnosticReports:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/diagnosticReports",isArray:!0},directory:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory"},changeDirectory:{method:"PUT",url:"/telephony/:billingAccount/service/:serviceName/directory"},getDirectoryServiceCode:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getDirectoryServiceCode",isArray:!0},getDirectoryWayTypes:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getWayTypes",isArray:!0},fetchDirectoryEntrepriseInformations:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/directory/fetchEntrepriseInformations"}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll(),e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionAapi");return a("/telephony/:billingAccount/consumption",{billingAccount:"@billingAccount"},{get:{serviceType:"aapi",isArray:!1,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV7")},Aapi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionV6"),d=b("OvhApiTelephonyServiceVoiceConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0},callDiagnostics:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId/callDiagnostics",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/task/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAapi",["$resource",function(a){"use strict";return a("/telephony",{},{query:{method:"GET",serviceType:"aapi",isArray:!0},count:{method:"GET",url:"/telephony/count",serviceType:"aapi",isArray:!1},infra:{method:"GET",url:"/telephony/infra/:billingAccount",serviceType:"aapi",isArray:!1},aliasAll:{method:"GET",url:"/telephony/alias/all",serviceType:"aapi",isArray:!0},billingAccounts:{method:"GET",url:"/telephony/all",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephony",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyV6")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},v7:function(){return a.get("OvhApiTelephonyV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyAbbreviatedNumber")},Eventtoken:function(){return a.get("OvhApiTelephonyEventtoken")},Fax:function(){return a.get("OvhApiTelephonyFax")},OfferTask:function(){return a.get("OvhApiTelephonyOfferTask")},Line:function(){return a.get("OvhApiTelephonyLine")},Lines:function(){return a.get("OvhApiTelephonyLines")},Number:function(){return a.get("OvhApiTelephonyNumber")},Redirect:function(){return a.get("OvhApiTelephonyRedirect")},Voicemail:function(){return a.get("OvhApiTelephonyVoicemail")},Service:function(){return a.get("OvhApiTelephonyService")},TimeCondition:function(){return a.get("OvhApiTelephonyTimeCondition")},HistoryConsumption:function(){return a.get("OvhApiTelephonyHistoryConsumption")},HistoryRepaymentConsumption:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumption")},HistoryTollfreeConsumption:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumption")},Screen:function(){return a.get("OvhApiTelephonyScreen")},Portability:function(){return a.get("OvhApiTelephonyPortability")},Scheduler:function(){return a.get("OvhApiTelephonyScheduler")},Aliases:function(){return a.get("OvhApiTelephonyAliases")},Phonebook:function(){return a.get("OvhApiTelephonyPhonebook")},EasyHunting:function(){return a.get("OvhApiTelephonyEasyHunting")},Rsva:function(){return a.get("OvhApiTelephonyRsva")},Conference:function(){return a.get("OvhApiTelephonyConference")},Vxml:function(){return a.get("OvhApiTelephonyVxml")},Trunks:function(){return a.get("OvhApiTelephonyTrunks")},Trunk:function(){return a.get("OvhApiTelephonyTrunk")},OvhPabx:function(){return a.get("OvhApiTelephonyOvhPabx")},Task:function(){return a.get("OvhApiTelephonyTask")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyV6",["$resource","$cacheFactory","OvhApiTelephonyLineAllAapi",function(a,b,c){var d=b("OvhApiTelephonyV6"),e=b("OvhApiTelephonyv6Schema"),f=b("OvhApiTelephonyV6Query"),g={response:function(a){return d.remove(a.config.url),f.removeAll(),c.resetCache(),a.resource}},h=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",cache:d},query:{method:"GET",cache:f,isArray:!0},edit:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g},schema:{method:"GET",url:"/telephony.json",cache:e},billingAccounts:{method:"GET",url:"/telephony",isArray:!0},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:d},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:d},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/cancelTermination"},allowedCreditThreshold:{method:"GET",url:"/telephony/:billingAccount/allowedCreditThreshold",isArray:!0,cache:d},accessories:{method:"GET",isArray:!0,url:"/telephony/accessories",params:{country:"@country"},cache:d},transferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/transferSecurityDeposit"},getServiceInfos:{method:"GET",url:"/telephony/:billingAccount/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/:billingAccount/serviceInfos"},changeContact:{method:"POST",url:"/telephony/:billingAccount/changeContact",isArray:!0},availableDefaultSipDomains:{method:"GET",url:"/telephony/availableDefaultSipDomains",isArray:!0},setDefaultSipDomain:{method:"POST",url:"/telephony/setDefaultSipDomain"},getAmountSecurityDeposit:{method:"GET",url:"/telephony/:billingAccount/amountSecurityDeposit",isArray:!0},getCurrentOrderIds:{method:"GET",url:"/telephony/currentOrderIds",isArray:!0},canTransferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/canTransferSecurityDeposit",isArray:!1,transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:"true"===d.toLowerCase()}),d}},getLineOfferPhones:{method:"GET",url:"/telephony/line/offer/phones",isArray:!0},searchService:{method:"GET",url:"/telephony/searchServices",isArray:!0}});return h.resetCache=function(){d.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTimeConditionConditionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionConditionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionAapi",["$resource","OvhApiTelephonyTimeCondition",function(a,b){"use strict";return a("/telephony/:billingAccount/timeCondition",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getConditions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition",method:"GET",serviceType:"aapi",cache:b.cache,isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{v6:function(){return a.get("OvhApiTelephonyTimeConditionV6")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionV6",["$resource","OvhApiTelephonyTimeCondition",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/timeCondition/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"GET",cache:b.cache,isArray:!1},setOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"PUT",interceptor:c,isArray:!1},addCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"POST",interceptor:c,isArray:!1},updateCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"PUT",interceptor:c,isArray:!1},deleteCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"DELETE",interceptor:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number",{billingAccount:"@billingAccount",serviceName:"@serviceName",number:"@number"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber",isArray:!1},validate:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number/validate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkV6")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getChannelsPacksRepartition:{method:"GET",url:"/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunksV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksV6"),d=b("OvhApiTelephonyTrunksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/trunks/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/trunks/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/trunks/:serviceName/serviceInfos",interceptor:e},changeContact:{method:"POST",url:"/telephony/trunks/:serviceName/changeContact",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV6")},v7:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesV6"),d=b("OvhApiTelephonyVoicemailDirectoriesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailGreetingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsV6"),d=b("OvhApiTelephonyVoicemailGreetingsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/greetings/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailV6")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailV6",["$resource","$cacheFactory","$http",function(a,b,c){"use strict";var d=b("OvhApiTelephonyVoicemailV6"),e=b("OvhApiTelephonyVoicemailV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),a.resource}},g=a("/telephony/:billingAccount/voicemail/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:e,isArray:!0},getSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",cache:d},setSettings:{method:"PUT",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",interceptor:f},changePassword:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword",interceptor:f -},getNumbersSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"},routing:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/routing",transformResponse:c.defaults.transformResponse.concat(function(a,b,c){return 200===c?{data:a}:null})},changeRouting:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVxmlV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlV6",["$resource",function(a){return a("/telephony/:billingAccount/vxml/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{settings:{method:"GET",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1},save:{method:"PUT",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiUniversesAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiUniversesAapi"),d=a("/universes",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiUniverses",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiUniversesAapi")}}}]),angular.module("ovh-api-services").service("OvhApiValidateAapi",["$resource",function(a){"use strict";return a("/validate",{},{phone:{url:"/validate/phone/:regionCode/:phoneNumber",method:"GET",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiVeeam",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamV6"),d=b("OvhApiVeeamV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeamCloudConnect/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},getDetails:{method:"GET",cache:c},getServiceInfos:{url:"/veeamCloudConnect/:serviceName/serviceInfos",method:"GET",cache:c},getInventories:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"GET",isArray:!0,cache:c},addInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"POST",interceptor:e},getOrderableOffers:{url:"/veeamCloudConnect/:serviceName/orderableUpgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurations:{url:"/order/veeamCloudConnect/:serviceName/upgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurationsPrices:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"GET",cache:c,params:{duration:"@duration"}},createUpgradeOrder:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"POST",interceptor:e,params:{duration:"@duration"}},getInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName",method:"GET",cache:c,params:{inventoryName:"@inventoryName"}},upgradeQuota:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName/upgradeQuota",method:"POST",interceptor:e,params:{inventoryName:"@inventoryName"}},capabilities:{url:"/veeamCloudConnect/:serviceName/capabilities",method:"GET",cache:c},tasks:{url:"/veeamCloudConnect/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeamCloudConnect/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterprise",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamEnterpriseV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterpriseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamEnterpriseV6"),d=b("OvhApiVeeamEnterpriseV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeam/veeamEnterprise/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getServiceInfos:{url:"/veeam/veeamEnterprise/:serviceName/serviceInfos",method:"GET",cache:c},register:{url:"/veeam/veeamEnterprise/:serviceName/register",method:"POST",interceptor:e},update:{url:"/veeam/veeamEnterprise/:serviceName/update",method:"POST",interceptor:e},terminate:{url:"/veeam/veeamEnterprise/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/veeam/veeamEnterprise/:serviceName/confirmTermination",method:"POST",interceptor:e},tasks:{url:"/veeam/veeamEnterprise/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeam/veeamEnterprise/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVpsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsAapi"),d=a("/vps/:serviceName",{serviceName:"@serviceName"},{summary:{url:"/vps/:serviceName/summary",method:"GET",cache:c,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVpsV6")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVpsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsV6"),d=b("OvhApiVpsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vps/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getMonitoring:{url:"/vps/:serviceName/monitoring",method:"GET",period:"@period",type:"@type",cache:c},availableUpgrade:{url:"/vps/:serviceName/availableUpgrade",method:"GET",isArray:!0},version:{url:"/vps/:serviceName/version",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectV6"),d=b("OvhApiVrackCloudProjectV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/cloudProject/:project",{},{query:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},isArray:!0,cache:d},get:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},cache:c},edit:{method:"PUT",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},"delete":{method:"DELETE",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/cloudProject",params:{serviceName:"@serviceName"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudV6"),d=b("OvhApiVrackDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/dedicatedCloud/:dedicatedCloud",{serviceName:"@serviceName",dedicatedCloud:"@dedicatedCloud"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/dedicatedCloud",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedCloudDatacenterV6"),e={response:function(a){return d.remove(a.config.url),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter",{serviceName:"@serviceName",datacenter:"@datacenter"},{allowedVrack:{method:"GET",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/allowedVrack",cache:d,isArray:!0},move:{method:"POST",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/move",interceptor:e}});return f.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedConnectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectV6"),e=b("OvhApiVrackDedicatedConnectV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedConnect/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedConnect",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedServerV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerV6"),e=b("OvhApiVrackDedicatedServerV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedServer/:dedicatedServer",{serviceName:"@serviceName",dedicatedServer:"@dedicatedServer"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedServer",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerInterfaceV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceV6Query"),e={response:function(a){return d.removeAll(),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedServerInterface/:dedicatedServerInterface",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},details:{method:"GET",cache:d,url:"/vrack/:serviceName/dedicatedServerInterfaceDetails",params:{serviceName:"@serviceName"},isArray:!0},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/vrack/:serviceName/dedicatedServerInterface"},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.Aapi().resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpV6"),e=b("OvhApiVrackIpV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/ip/:ip",{serviceName:"@serviceName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/ip",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpLoadBalancingV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackIpLoadBalancingV6"),d=b("OvhApiVrackIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/ipLoadbalancing/:ipLoadbalancing",{serviceName:"@serviceName",ipLoadbalancing:"@ipLoadbalancing"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/ipLoadbalancing",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackLegacyVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackV6"),e=b("OvhApiVrackLegacyVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/legacyVrack/:legacyVrack",{serviceName:"@serviceName",legacyVrack:"@legacyVrack"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/legacyVrack",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackNasha",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackNashaV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaV6"),e=b("OvhApiVrackNashaV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/nasha/:zpool",{serviceName:"@serviceName",zpool:"@zpool"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/nasha",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{v6:function(){return a.get("OvhApiVrackPublicCloudV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","OvhApiVrackPublicCloud","OvhApiCloudProject","OvhApiVrack",function(a,b,c,d){var e={response:function(a){return b.resetCache(),c.resetCache(),d.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName",{serviceName:"@serviceName"},{project:{method:"GET",url:"/vrack/:serviceName/cloudProject/:projectId ",cache:b.cache},projects:{method:"GET",url:"/vrack/:serviceName/cloudProject",isArray:!0,cache:b.cache},addProject:{method:"POST",url:"/vrack/:serviceName/cloudProject",interceptor:e},removeProject:{method:"DELETE",url:"/vrack/:serviceName/cloudProject/:projectId ",interceptor:e}});return f}]),angular.module("ovh-api-services").service("OvhApiVrackAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackAapi"),d=a("/vrack/:serviceName",{serviceName:"@serviceName"},{query:{url:"/vracks",method:"GET",cache:c,serviceType:"aapi",isArray:!0},allowedServices:{url:"/vrack/:serviceName/allowedServices",method:"GET",cache:c,serviceType:"aapi",isArray:!1},services:{url:"/vrack/:serviceName/services",method:"GET",cache:c,serviceType:"aapi",isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},v6:function(){return a.get("OvhApiVrackV6")},CloudProject:function(){return a.get("OvhApiVrackCloudProject")},DedicatedCloud:function(){return a.get("OvhApiVrackDedicatedCloud")},DedicatedServer:function(){return a.get("OvhApiVrackDedicatedServer")},DedicatedServerInterface:function(){return a.get("OvhApiDedicatedServerInterface")},DedicatedConnect:function(){return a.get("OvhApiVrackDedicatedConnect")},Ip:function(){return a.get("OvhApiVrackIp")},LegacyVrack:function(){return a.get("OvhApiVrackLegacyVrack")},Nasha:function(){return a.get("OvhApiVrackNasha")},IpLoadBalancing:function(){return a.get("OvhApiVrackIpLoadBalancing")}}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackV6"),e=b("OvhApiVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.resetCache(),a}},g=a("/vrack/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/vrack.json"},query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},allowedServices:{method:"GET",url:"/vrack/:serviceName/allowedServices",cache:d},tasks:{method:"GET",isArray:!0,url:"/vrack/:serviceName/task"},task:{method:"GET",url:"/vrack/:serviceName/task/:taskId"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiWorkingStatusAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiWorkingStatusAapi"),d=a("/working-status/:product",{product:"@product"},{get:{method:"GET",url:"/working-status/:product",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiWorkingStatus",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiWorkingStatusAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslDeconsolidationV6")},Aapi:function(){return angular.noop}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationV6");return a("/xdsl/:xdslId",{serviceName:"@serviceName"},{terms:{method:"GET",cache:c,url:"/xdsl/:serviceName/totalDeconsolidationTerms"},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:serviceName/requestTotalDeconsolidation"}})}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnosticLines");return{v6:function(){return a.get("OvhApiXdslDiagnosticLinesV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLinesV6",["$resource","Poller","OvhApiXdslDiagnosticLines",function(a,b,c){"use strict";var d={base:"/xdsl/:serviceName/lines/:number/diagnostic",cancel:"/xdsl/:serviceName/lines/:number/diagnostic/cancel",run:"/xdsl/:serviceName/lines/:number/diagnostic/run"},e=function(a){return c.resetCache(),a},f=a(d.base,{serviceName:"@serviceName",number:"@number"},{cancelDiagnostic:{url:d.cancel,method:"POST",isArray:!1,interceptor:e}});return f.runDiagnostic=function(a){var c=d.run.replace(/\/:(\w*)\//g,function(b,c){return"/"+a[c]+"/"});return b.poll(c,{cache:!1},{method:"post",postData:_.omit(a,["serviceName","number"]),interval:3e4,successRule:function(a){return"problem"!==a.status?!0:_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},errorRule:function(a){return _.isEqual(a.status,"problem")&&!_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},namespace:"xdsl_diagnostic_run"})},f.killPollerDiagnostic=function(){return b.kill({namespace:"xdsl_diagnostic_run"})},f}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticAapi",["$resource","Poller",function(a,b){"use strict";var c="/xdsl/:xdslId/diagnostic",d=a(c,{xdslId:"@xdslId"});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)\//g,function(a,b){return"/"+d[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,lastResult:404})},d}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{v6:function(){return a.get("OvhApiXdslDiagnosticV6")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},Lines:function(){return a.get("OvhApiXdslDiagnosticLines")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticV6",["$resource",function(a){"use strict";var b="/xdsl/:xdslId/diagnostic",c=a(b,{xdslId:"@xdslId"},{launchDiagnostic:{method:"POST",isArray:!1}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{v6:function(){return a.get("OvhApiXdslEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityV6",["$resource","OvhApiXdslEligibility",function(a,b){"use strict";return a("/xdsl/eligibility",{},{getCities:{method:"GET",isArray:!0,url:"/xdsl/eligibility/cities",cache:b.cache},getStreets:{method:"GET",isArray:!0,url:"/xdsl/eligibility/streets",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEmailProV6"),d=b("OvhApiXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/xdsl/email/pro/:email",{email:"@email"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changePassword:{method:"POST",interceptor:e,url:"/xdsl/email/pro/:email/changePassword"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiXdslEmail",["$injector",function(a){"use strict";return{Pro:function(){return a.get("OvhApiXdslEmailPro")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIncident",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslIncidentV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIncidentV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiXdslIncidentV6");return b("/xdsl/:serviceName/incident",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiXdslIpsAapi",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c=a("/xdsl/:xdslId/ips",{xdslId:"@xdslId",ipBlock:"@ipBlock"},{ips:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},reverse:{method:"GET",isArray:!0,serviceType:"aapi",url:"/xdsl/reverseDns/:ipBlock",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{v6:function(){return a.get("OvhApiXdslIpsV6")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsV6",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/ipv6",{xdslId:"@xdslId",ipBlock:"@ipBlock",ipReverse:"@ipReverse",ip:"@ip",reverse:"@reverse",ipRange:"@ipRange"},{setIpv6:{method:"POST",interceptor:c},order:{method:"POST",url:"/xdsl/:xdslId/ips",interceptor:c},price:{method:"GET",url:"/price/xdsl/options/ipv4/:ipRange",cache:b.cache},unOrder:{method:"DELETE",url:"/xdsl/:xdslId/ips/:ip",interceptor:c},deleteReverse:{method:"DELETE",url:"/ip/:ipBlock/reverse/:ipReverse",interceptor:c},createReverse:{method:"POST",url:"/ip/:ipBlock/reverse",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortAapi",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c=a("/xdsl/:xdslId/lines/:number/dslamPort",{xdslId:"@xdslId",number:"@number"},{getProfiles:{method:"GET",url:"/xdsl/:xdslId/lines/:number/dslamPort/availableProfiles",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},v6:function(){return a.get("OvhApiXdslLinesDslamPortV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortV6",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c="/:basePath/xdsl/:xdslId/lines/:number/dslamPort",d={response:function(a){return b.resetCache(),a.resource}},e=a(c,{xdslId:"@xdslId",number:"@number"},{changeProfile:{method:"POST",url:c+"/changeProfile",interceptor:d},reset:{method:"POST",url:c+"/reset",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{v6:function(){return a.get("OvhApiXdslLinesV6")},v7:function(){return a.get("OvhApiXdslLinesV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV6",["$resource","OvhApiXdslLines",function(a,b){"use strict";return a("/xdsl/:xdslId/lines/:number",{xdslId:"@xdslId",number:"@number"},{getStatistics:{method:"GET",url:"/xdsl/:xdslId/lines/:number/statistics",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannel",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemAvailableWLANChannel");return{v6:function(){return a.get("OvhApiXdslModemAvailableWLANChannelV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannelV6",["$resource","OvhApiXdslModemAvailableWLANChannel",function(a,b){"use strict";return a("/xdsl/:xdslId/modem/availableWLANChannel",{xdslId:"@xdslId"},{get:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemBlocIp");return{v6:function(){return b.get("OvhApiXdslModemBlocIpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIpV6",["$resource","OvhApiXdslModemBlocIp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/blocIp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaiting",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemCallWaiting");return{v6:function(){return b.get("OvhApiXdslModemCallWaitingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaitingV6",["$resource","OvhApiXdslModemCallWaiting",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/callWaiting",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevicesAapi",["$resource","OvhApiXdslModemDevices",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/connectedDevices",{xdslId:"@xdslId"},{query:{method:"GET",url:"/xdsl/:xdslId/modem/connectedDevices",isArray:!0,serviceType:"aapi",cache:b.cache},refresh:{method:"POST",url:"/xdsl/:xdslId/modem/connectedDevices/refresh",serviceType:"aapi",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevices",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemDevices");return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharing",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemContentSharing");return{v6:function(){return b.get("OvhApiXdslModemContentSharingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharingV6",["$resource","OvhApiXdslModemContentSharing",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/contentSharing",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmware",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemFirmware");return{v6:function(){return a.get("OvhApiXdslModemFirmwareV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmwareV6",["$resource","OvhApiXdslModemFirmware",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/firmware",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c},available:{method:"GET",url:"/xdsl/:xdslId/modem/firmwareAvailable",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemFtp");return{v6:function(){return b.get("OvhApiXdslModemFtpV6"); +}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionIpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionIpV6"),d=a("OvhApiMeAccessRestrictionIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/ip/:ip",{ip:"@ip"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/ip",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestriction",["$injector",function(a){"use strict";return{BackupCode:function(){return a.get("OvhApiMeAccessRestrictionBackupCode")},Ip:function(){return a.get("OvhApiMeAccessRestrictionIp")},v6:function(){return a.get("OvhApiMeAccessRestrictionV6")},Sms:function(){return a.get("OvhApiMeAccessRestrictionSms")},Totp:function(){return a.get("OvhApiMeAccessRestrictionTotp")},U2f:function(){return a.get("OvhApiMeAccessRestrictionU2f")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionV6",["$resource",function(a){"use strict";return a("/me/accessRestriction",{},{developerMode:{url:"/me/accessRestriction/developerMode",method:"GET"},updateDeveloperMode:{url:"/me/accessRestriction/developerMode",method:"PUT"},ipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"GET"},updateipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionSmsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSmsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionSmsV6"),d=a("OvhApiMeAccessRestrictionSmsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/sms/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/sms",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/sms/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/sms/:id/enable",interceptor:e},sendCode:{method:"POST",url:"/me/accessRestriction/sms/:id/sendCode",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/sms/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionTotp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionTotpV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionTotpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionTotpV6"),d=a("OvhApiMeAccessRestrictionTotpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/totp/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/totp",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/totp/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/totp/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/totp/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionU2f",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionU2fV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionU2fV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionU2fV6"),d=a("OvhApiMeAccessRestrictionU2fV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/u2f/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/u2f",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},challenge:{method:"POST",url:"/me/accessRestriction/u2f/:id/challenge",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/u2f/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/u2f/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/u2f/:id/validate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeAgreements",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAgreementsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAgreementsV6",["$resource",function(a){"use strict";return a("/me/agreements/:id",{id:"@id"},{accept:{url:"/me/agreements/:id/accept",method:"POST"},contract:{url:"/me/agreements/:id/contract",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlertsAapi",["$resource",function(a){"use strict";return a("/me/alerts",{},{query:{method:"GET",isArray:!0,url:"/me/alerts",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlerts",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeAlertsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplication",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiApplicationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplicationV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiApplicationV6Query"),d=a("OvhApiMeApiApplicationV6"),e=a("OvhApiMeApiApplicationV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/application/:applicationId",{applicationId:"@applicationId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"POST",interceptor:f}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApiCredential",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiCredentialV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiCredentialV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiCredentialV6Query"),d=a("OvhApiMeApiCredentialV6"),e=a("OvhApiMeApiCredentialV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/credential/:credentialId",{credentialId:"@credentialId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"DELETE",interceptor:f},application:{method:"GET",url:"/me/api/credential/:credentialId/application",cache:d,params:{credentialId:"@credentialId"}}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApi",["$injector",function(a){"use strict";return{Application:function(){return a.get("OvhApiMeApiApplication")},Credential:function(){return a.get("OvhApiMeApiCredential")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeans",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeansV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeansV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeAvailableAutomaticPaymentMeansV6");return a("/me/availableAutomaticPaymentMeans",{},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtV6")},Operation:function(){return a.get("OvhApiMeBillDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt",{billId:"@billId"},{pay:{url:"/me/bill/:billId/debt/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperationV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt/operation/:operationId",{billId:"@billId",operationId:"@operationId"},{associatedObject:{url:"/me/bill/:billId/debt/operation/:operationId/associatedObject",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDetails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDetailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDetailsV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/details/:billDetailId",{billId:"@billId",billDetailId:"@billDetailId"})}]),angular.module("ovh-api-services").service("OvhApiMeBillAapi",["$resource",function(a){"use strict";return a("/me/bill",{},{last:{method:"GET",url:"/me/bill/last",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeBill",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeBillAapi")},v6:function(){return a.get("OvhApiMeBillV6")},v7:function(){return a.get("OvhApiMeBillV7")},Details:function(){return a.get("OvhApiMeBillDetails")},Debt:function(){return a.get("OvhApiMeBillDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeBillV6"),d=a("/me/bill/:billId",{billId:"@billId"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillV7",["apiv7",function(a){"use strict";return a("/me/bill/:billId",{billId:"@billId"},{debt:{url:"/me/bill/:billId/debt",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacities",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingCapacitiesV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacitiesV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeBillingCapacitiesQueryV6"),d=b("/me/billing/capacities",{},{query:{method:"GET",isArray:!1,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingInvoicesByPostalMailV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMailV6",["$resource",function(a){"use strict";return a("/me/billing/invoicesByPostalMail",{},{get:{method:"GET",isArray:!1,transformResponse:function(a){return{data:angular.fromJson(a)}}},post:{method:"POST",params:{enable:"@enable"}}})}]),angular.module("ovh-api-services").service("OvhApiMeBilling",["$injector",function(a){"use strict";return{Capacities:function(){return a.get("OvhApiMeBillingCapacities")},InvoicesByPostalMail:function(){return a.get("OvhApiMeBillingInvoicesByPostalMail")}}}]),angular.module("ovh-api-services").service("OvhApiMeContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeContactV6")},v7:function(){return a.get("OvhApiMeContactV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeContactQueryV6"),d=b("OvhApiMeContactV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}};return a("/me/contact/:contactId",{contactId:"@contactId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},create:{method:"POST",interceptor:e},save:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiMeContactV7",["$resource","$cacheFactory","apiv7",function(a,b,c){"use strict";var d=b("OvhApiMeContactv7Query"),e=b("OvhApiMeContactV7"),f=c("/me/contact/:contactId",{contactId:"@contactId"},{query:{url:"/me/contact",method:"GET",cache:d,isArray:!0,serviceType:"apiV7"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){e.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtV6"),d=b("OvhApiMeDebtAccountDebtQueryV6"),e={response:function(a){return c.remove(a.config.url),a}},f=a("/me/debtAccount/debt/:debtId",{debtId:"@debtId"},{get:{method:"GET",cache:c},pay:{url:"/me/debtAccount/debt/:debtId/pay",method:"POST",interceptor:e},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtV6")},Operation:function(){return a.get("OvhApiMeDebtAccountDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtOperationV6"),d=b("OvhApiMeDebtAccountDebtOperationQueryV6"),e=a("/me/debtAccount/debt/:debtId/operation/:operationId",{debtId:"@debtId",operationId:"@operationId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},associatedObject:{url:"/me/debtAccount/debt/:debtId/operation/:operationId/associatedObject",method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e.resetAllCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountV6",["$resource",function(a){"use strict";return a("/me/debtAccount",{},{pay:{url:"/me/debtAccount/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountV6")},Debt:function(){return a.get("OvhApiMeDebtAccountDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeDeposit",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiMeDepositV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositV7",["apiv7",function(a){"use strict";var b=a("/me/deposit/:depositId",{depositId:"@depositId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequest",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDepositRequestV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequestV6",["$resource",function(a){"use strict";return a("/me/depositRequest/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeDocument",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDocumentV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDocumentV6",["$resource","$cacheFactory","$window","$http",function(a,b,c,d){"use strict";var e=b("OvhApiMeDocumentV6"),f=b("OvhApiMeDocumentV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=a("/me/document/:id",{id:"@id"},{get:{method:"GET",cache:e},query:{method:"GET",cache:f,isArray:!0},create:{method:"POST",interceptor:g},"delete":{method:"DELETE",interceptor:g},cors:{method:"POST",url:"/me/document/cors"}});return h.resetQueryCache=function(){f.removeAll()},h.resetCache=function(){e.removeAll()},h.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},h.upload=function(a,b){return h.create({},{name:a}).$promise.then(function(a){return h.cors({},{origin:c.location.origin}).$promise.then(function(){return d.put(a.putUrl,b,{serviceType:"storage",headers:{"Content-type":"multipart/form-data"}}).then(function(){return h.get({id:a.id}).$promise})})})},h}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomains",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFaxCustomDomainsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomainsV6",["$resource",function(a){"use strict";return a("/me/fax/customDomains/:id",{id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeFax",["$injector",function(a){"use strict";return{CustomDomains:function(){return a.get("OvhApiMeFaxCustomDomains")}}}]),angular.module("ovh-api-services").service("OvhApiMeFeedbackAapi",["$resource",function(a){"use strict";return a("/me",{},{feedback:{method:"POST",url:"/me/feedback",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFidelityAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccountV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeFidelityAccountV6"),d=a("/me/fidelityAccount",{},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityGroupV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroupV6",["$resource",function(a){"use strict";return a("/me/identity/group/:group",{group:"@group"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/group"},update:{method:"PUT"},"delete":{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeIdentity",["$injector",function(a){"use strict";return{Group:function(){return a.get("OvhApiMeIdentityGroup")},User:function(){return a.get("OvhApiMeIdentityUser")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityUserV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUserV6",["$resource",function(a){"use strict";return a("/me/identity/user/:user",{user:"@user"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/user"},update:{method:"PUT"},"delete":{method:"DELETE"},disable:{method:"POST",url:"/me/identity/user/:user/disable"},enable:{method:"POST",url:"/me/identity/user/:user/enable"}})}]),angular.module("ovh-api-services").service("OvhApiMe",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeV6")},Api:function(){return a.get("OvhApiMeApi")},AccessRestriction:function(){return a.get("OvhApiMeAccessRestriction")},Agreements:function(){return a.get("OvhApiMeAgreements")},SshKey:function(){return a.get("OvhApiMeSshKey")},Bill:function(){return a.get("OvhApiMeBill")},Billing:function(){return a.get("OvhApiMeBilling")},Order:function(){return a.get("OvhApiMeOrder")},OvhAccount:function(){return a.get("OvhApiMeOvhAccount")},FidelityAccount:function(){return a.get("OvhApiMeFidelityAccount")},PaymentMean:function(){return a.get("OvhApiMePaymentMean")},PaymentMethod:function(){return a.get("OvhApiMePaymentMethod")},AvailableAutomaticPaymentMeans:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeans")},Document:function(){return a.get("OvhApiMeDocument")},Contact:function(){return a.get("OvhApiMeContact")},Task:function(){return a.get("OvhApiMeTask")},Telephony:function(){return a.get("OvhApiMeTelephony")},Fax:function(){return a.get("OvhApiMeFax")},DepositRequest:function(){return a.get("OvhApiMeDepositRequest")},DebtAccount:function(){return a.get("OvhApiMeDebtAccount")},Identity:function(){return a.get("OvhApiMeIdentity")},Notification:function(){return a.get("OvhApiMeNotification")},Deposit:function(){return a.get("OvhApiMeDeposit")},Payment:function(){return a.get("OvhApiMePayment")},VoucherAccount:function(){return a.get("OvhApiMeVoucherAccount")}}}]),angular.module("ovh-api-services").service("OvhApiMeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/me",{},{get:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},schema:{method:"GET",url:"/me.json"},consumption:{method:"GET",url:"/me/consumption/usage/current",isArray:!0},consumptionHistory:{method:"GET",url:"/me/consumption/usage/history",isArray:!0}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeNotificationEmailHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistoryV6",["$resource",function(a){"use strict";return a("/me/notification/email/history/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmail",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiMeNotificationEmailHistory")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotification",["$injector",function(a){"use strict";return{Email:function(){return a.get("OvhApiMeNotificationEmail")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrder",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeOrderV6")},v7:function(){return a.get("OvhApiMeOrderV7")},PayRegisteredPaymentMean:function(){return a.get("OvhApiMeOrderPayRegisteredPaymentMean")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeOrderV6"),d=b("OvhApiMeOrderV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/me/order/:orderId",{orderId:"@orderId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getStatus:{url:"/me/order/:orderId/status",method:"GET",transformResponse:function(a,b,c){return 200===c?{status:angular.fromJson(a)}:a}},getDetails:{method:"GET",url:"/me/order/:orderId/details",cache:d,isArray:!0},getDetail:{method:"GET",url:"/me/order/:orderId/details/:detailId",params:{orderId:"@orderId",detailId:"@detailId"},cache:d},payRegisteredPaymentMean:{method:"POST",url:"/me/order/:orderId/payWithRegisteredPaymentMean",interceptor:e},associatedObject:{method:"GET",url:"/me/order/:orderId/associatedObject"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeOrderV7",["apiv7",function(a){"use strict";var b=a("/me/order/:orderId",{orderId:"@orderId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountAapi",["$resource",function(a){"use strict";return a("/me/ovhAccount/all",{},{info:{method:"GET",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccount",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeOvhAccountAapi")},v6:function(){return a.get("OvhApiMeOvhAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountV6",["$resource","$cacheFactory","OvhApiMev6",function(a,b,c){"use strict";var d=b("OvhApiMeOvhAccountV6"),e=b("OvhApiMeOvhAccountV6Query"),f=a("/me/ovhAccount/:ovhAccountId",{ovhAccountId:"@ovhAccountId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:e,isArray:!0}});return f.getBalance=function(){return c.get().$promise.then(function(a){return f.get({ovhAccountId:a.ovhSubsidiary}).$promise}).then(function(a){return a.balance})},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){e.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMePayment",["$injector",function(a){"use strict";return{Method:function(){return a.get("OvhApiMePayMethod")},Transaction:function(){return a.get("OvhApiMePaymentTransaction")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePayMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethodV6",["$resource",function(a){"use strict";return a("/me/payment/method/:paymentMethodId",{paymentMethodId:"@paymentMethodId"},{availableMethods:{method:"GET",url:"/me/payment/availableMethods",isArray:!0},finalize:{method:"POST",url:"/me/payment/method/:paymentMethodId/finalize"},edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransaction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentTransactionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransactionV6",["$resource",function(a){"use strict";return a("/me/payment/transaction/:transactionId",{transactionId:"@transactionId"})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanBankAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccountV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/bankAccount/:id",{id:"@id",state:"@state"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/bankAccount/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query({state:"valid"}).$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanCreditCardV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCardV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/creditCard/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/creditCard/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c.getCreditCards=function(){return c.query().$promise.then(function(a){var d=[];return angular.forEach(a,function(a){d.push(c.get({id:a}).$promise)}),b.all(d)})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccountV6",["$resource",function(a){"use strict";return a("/me/paymentMean/deferredPaymentAccount/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/deferredPaymentAccount/:id/chooseAsDefaultPaymentMean"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMean",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanV6")},BankAccount:function(){return a.get("OvhApiMePaymentMeanBankAccount")},CreditCard:function(){return a.get("OvhApiMePaymentMeanCreditCard")},DeferredPaymentAccount:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccount")},Paypal:function(){return a.get("OvhApiMePaymentMeanPaypal")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanV6",["OvhApiMePaymentMeanBankAccount","OvhApiMePaymentMeanCreditCard","OvhApiMePaymentMeanPaypal",function(a,b,c){"use strict";return{getDefaultPaymentMean:function(){return b.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="creditCard",b):c.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="paypal",b):a.v6().getDefaultPaymentMean().then(function(a){return a?(a.paymentType="bankAccount",a):null})})})}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypal",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanPaypalV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypalV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/paypal/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/paypal/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethodV6",["$resource",function(a){"use strict";return a("/me/paymentMethod/:id",{id:"@id"},{edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeSshKeyV6"),d=b("OvhApiMeSshKeyV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/sshKey/:keyName",{keyName:"@keyName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeTaskContactChange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTaskContactChangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTaskContactChangeV6",["$resource",function(a){ +"use strict";return a("/me/task/contactChange/:id",{id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},accept:{method:"POST",url:"/me/task/contactChange/:id/accept"},refuse:{method:"POST",url:"/me/task/contactChange/:id/refuse"},resendEmail:{method:"POST",url:"/me/task/contactChange/:id/resendEmail"}})}]),angular.module("ovh-api-services").service("OvhApiMeTask",["$injector",function(a){"use strict";return{ContactChange:function(){return a.get("OvhApiMeTaskContactChange")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestriction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonyDefaultIpRestrictionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestrictionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeTelephonyDefaultIpRestrictionV6"),d=b("OvhApiMeTelephonyDefaultIpRestrictionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/telephony/defaultIpRestriction/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMeTelephony",["$injector",function(a){"use strict";return{DefaultIpRestriction:function(){return a.get("OvhApiMeTelephonyDefaultIpRestriction")},Settings:function(){return a.get("OvhApiMeTelephonySettings")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonySettingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettingsV6",["$resource",function(a){"use strict";return a("/me/telephony/settings",{},{get:{method:"GET"},change:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeVipStatus",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVipStatusV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeVipStatusV6",["$injector","$resource",function(a,b){"use strict";var c=b("/me/vipStatus");return c}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVoucherAccountV6")},Movements:function(){return a.get("OvhApiMeVoucherAccountMovements")}}}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountV6",["$resource",function(a){"use strict";return a("/me/voucherAccount/:voucherAccountId",{voucherAccountId:"@voucherAccountId"})}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovements",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVoucherAccountMovementsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovementsV6",["$resource",function(a){"use strict";return a("/me/voucherAccount/:voucherAccountId/movements/:movementId",{voucherAccountId:"@voucherAccountId",movementId:"@movementId"})}]),angular.module("ovh-api-services").service("OvhApiMetrics",["$injector",function(a){return{Token:function(){return a.get("OvhApiMetricsToken")},v6:function(){return a.get("OvhApiMetricsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMetricsV6"),d=b("OvhApiMetricsV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/metrics/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getServiceInfos:{url:"/metrics/:serviceName/serviceInfos",method:"GET",cache:c},getConsumption:{url:"/metrics/:serviceName/consumption",method:"GET"},setQuota:{url:"/metrics/:serviceName/quota",method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMetricsToken",["$injector",function(a){return{v6:function(){return a.get("OvhApiMetricsTokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsTokenV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMetricsTokenV6"),d=b("OvhApiMetricsTokenV6Query"),e={response:function(a){return c.removeAll(),a.data}},f=a("/metrics/:serviceName/token/:tokenID",{serviceName:"@serviceName",tokenID:"@tokenID"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},edit:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMsServicesAccount",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesAccountV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesAccountV6"),d=a("/msServices/:serviceName/account/:userPrincipalName",{serviceName:"@serviceName",userPrincipalName:"@userPrincipalName"},{getExchange:{method:"GET",cache:c,isArray:!1,url:"/msServices/:serviceName/account/:userPrincipalName/exchange"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchange",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchangeV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesExchangeV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/exchange",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/exchange/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{serviceUsesAgora:"TRUE"===(""+a).toUpperCase()}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMsServices",["$injector",function(a){return{Account:function(){return a.get("OvhApiMsServicesAccount")},Exchange:function(){return a.get("OvhApiMsServicesExchange")},Sharepoint:function(){return a.get("OvhApiMsServicesSharepoint")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMsServicesV6"),d=b("OvhApiMsServicesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/msServices/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0,url:"/msServices"},get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiMsServicesSharepoint",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesSharepointV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesSharepointV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesSharepointV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/sharepoint",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/sharepoint/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{billingMigrated:angular.fromJson(a)}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMyIpAapi",["$resource",function(a){"use strict";return a("/myIp",{},{get:{serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMyIp",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMyIpAapi")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRules",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountCreationRulesV6");return{v6:function(){return a.get("OvhApiNewAccountCreationRulesV6")},cache:c,resetCache:c.removeAll}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRulesV6",["$resource","OvhApiNewAccountCreationRules",function(a,b){"use strict";return a("/newAccount/creationRules",{country:"@country",legalform:"@legalform",ovhCompany:"@ovhCompany",ovhSubsidiary:"@ovhSubsidiary"},{get:{method:"GET",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalForm",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountLegalFormV6")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalFormV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountLegalFormV6"),d=b("OvhApiNewAccountLegalFormV6Query"),e=a("/newAccount/legalform",{country:"@country"},{get:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiNewAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountV6")},LegalForm:function(){return a.get("OvhApiNewAccountLegalForm")},CreationRules:function(){return a.get("OvhApiNewAccountCreationRules")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountV6",["$resource",function(a){"use strict";return a("/newAccount",{},{rules:{method:"POST",url:"/newAccount/rules",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiNotificationAapi",["$resource",function(a){"use strict";return a("/notification",{},{query:{method:"GET",isArray:!0,url:"/notification",serviceType:"aapi"},post:{method:"POST",isArray:!0,url:"/notification",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiNotification",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhNotificationAapi")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfiguration",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartItemConfigurationV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfigurationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemConfigurationV6Query"),d=b("OvhApiOrderCartItemConfigurationV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId/configuration/:configurationId",{cartId:"@cartId",itemId:"@itemId",configurationId:"@configurationId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartItem",["$injector",function(a){"use strict";return{Configuration:function(){return a.get("OvhApiOrderCartItemConfiguration")},v6:function(){return a.get("OvhApiOrderCartItemV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemV6Query"),d=b("OvhApiOrderCartItemV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId",{cartId:"@cartId",itemId:"@itemId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartMicrosoftV6"),d={response:function(a){return e.resetCache(),a.data}},e=a("/order/cart/:cartId/microsoft",{cartId:"@cartId"},{get:{method:"GET",cache:c,isArray:!0},post:{method:"POST",interceptor:d},getOptions:{url:"/order/cart/:cartId/microsoft/options",method:"GET",cache:c,isArray:!0,queryParams:{planCode:"@planCode"}},postOptions:{url:"/order/cart/:cartId/microsoft/options",method:"POST",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderCart",["$injector",function(a){"use strict";return{Item:function(){return a.get("OvhApiOrderCartItem")},Microsoft:function(){return a.get("OvhApiOrderCartMicrosoft")},Product:function(){return a.get("OvhApiOrderCartProduct")},ServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},v6:function(){return a.get("OvhApiOrderCartV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartV6Query"),d=b("OvhApiOrderCartV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId",{cartId:"@cartId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/order/cart"},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},assign:{method:"POST",url:"/order/cart/:cartId/assign"},checkout:{method:"POST",url:"/order/cart/:cartId/checkout"},getCheckout:{method:"GET",url:"/order/cart/:cartId/checkout"},summary:{method:"GET",url:"/order/cart/:cartId/summary"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartProduct",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartProductV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartProductV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartProductV6Query"),d=b("OvhApiOrderCartProductV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/:productName",{cartId:"@cartId",productName:"@productName"},{get:{method:"GET",cache:d,isArray:!0},getOptions:{url:"/order/cart/:cartId/:productName/options",method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e},postOptions:{url:"/order/cart/:cartId/:productName/options",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoft/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!0,cache:d},getAvailableServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoft"},post:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftExchange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftExchangeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoftExchange/:serviceName",{serviceName:"@serviceName"},{getAvailableOffers:{method:"GET",isArray:!0,cache:d},getServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoftExchange"},orderOptions:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOption",["$injector",function(a){"use strict";return{Microsoft:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoft")},MicrosoftExchange:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchange")},Vps:function(){return a.get("OvhApiOrderCartServiceOptionVps")},v6:function(){return a.get("OvhApiOrderCartServiceOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionV6Query"),d=b("OvhApiOrderCartServiceOptionV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cartServiceOption/:productName/:serviceName",{productName:"@productName",serviceName:"@serviceName"},{get:{method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionVpsV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVpsV6",["$resource",function(a){"use strict";return a("/order/cartServiceOption/vps/:serviceName",{serviceName:"@serviceName"},{get:{isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormatted",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCatalogFormattedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormattedV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCatalogFormattedV6"),d=a("/order/catalog/formatted/:catalogName",{catalogName:"@catalogName"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackend",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCdnDedicatedBackendV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackendV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName/backend/:duration",{serviceName:"@serviceName",duration:"@duration"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicated",["$injector",function(a){"use strict";return{Backend:function(){return a.get("OvhApiOrderCdnDedicatedBackend")},v6:function(){return a.get("OvhApiOrderCdnDedicatedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdn",["$injector",function(a){"use strict";return{Dedicated:function(){return a.get("OvhApiOrderCdnDedicated")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCredit",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectCreditV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCreditV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/credit",{serviceName:"@serviceName",amount:"@amount"},{get:{method:"GET"},query:{method:"GET",isArray:!0},save:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIpV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/ip",{serviceName:"@serviceName",country:"@country",instanceId:"@instanceId",quantity:"@quantity"},{get:{method:"GET"},buy:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderDedicatedNashaNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderDedicatedNashaNewV6Query"),d=b("OvhApiOrderDedicatedNashaNewV6"),e={response:function(a){return c.removeAll(),a.data}},f=a("/order/dedicated/nasha/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c,params:{datacenter:"@datacenter",model:"@model"}},get:{method:"GET",cache:d,isArray:!1,params:{datacenter:"@datacenter",model:"@model"}},create:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNasha",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderDedicatedNashaNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderFreefaxV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefaxV6",["$resource",function(a){"use strict";return a("/order/freefax/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/freefax/:serviceName/new"},orderNew:{method:"POST",url:"/order/freefax/:serviceName/new"},getConvertToVoicefax:{method:"GET",url:"/order/freefax/:serviceName/convertToVoicefax"},orderConvertToVoicefax:{method:"POST",url:"/order/freefax/:serviceName/convertToVoicefax"}})}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderPrivateDatabaseV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabaseV6",["$resource",function(a){"use strict";return a("/order/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new",isArray:!0,params:{datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},getNewDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration",datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},orderNew:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration"}},getRam:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram",isArray:!0,params:{ram:"@ram"}},getRamDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration",ram:"@ram"}},orderRam:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration"}}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderLicenseOfficeNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNewV6",["$resource","$cacheFactory","OvhApiLicense",function(a,b,c){"use strict";var d=b("OvhApiOrderLicenseOfficeNewV6Query"),e=b("OvhApiOrderLicenseOfficeNewV6"),f={response:function(a){return c.Office().v6().resetQueryCache(),a}};return a("/order/license/office/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOffice",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderLicenseOfficeNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiOrderLicenseOffice")},v6:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiOrder",["$injector",function(a){"use strict";return{Cart:function(){return a.get("OvhApiOrderCart")},CartServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},CatalogFormatted:function(){return a.get("OvhApiOrderCatalogFormatted")},DedicatedNasha:function(){return a.get("OvhApiOrderDedicatedNasha")},Freefax:function(){return a.get("OvhApiOrderFreefax")},License:function(){return a.get("OvhApiOrderLicense")},Router:function(){return a.get("OvhApiOrderRouter")},Sms:function(){return a.get("OvhApiOrderSms")},Telephony:function(){return a.get("OvhApiOrderTelephony")},Vrack:function(){return a.get("OvhApiOrderVrack")},Upgrade:function(){return a.get("OvhApiOrderUpgrade")},v6:function(){return a.get("OvhApiOrderV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderv6Schema"),d=a("/order",{},{schema:{method:"GET",cache:c,url:"/order.json"}});return d.resetSchemaCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderOverTheBoxNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderOverTheBoxNewV6Query"),d=b("OvhApiOrderOverTheBoxNewV6"),e=a("/order/overTheBox/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},save:{method:"POST",interceptor:f}}),f={response:function(a){return e.resetQueryCache(),a.data}};return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBox",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderOverTheBoxNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderRouterNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNewV6",["$resource","$cacheFactory","OvhApiRouter",function(a,b,c){"use strict";var d=b("OvhApiOrderRouterNewV6Query"),e=b("OvhApiOrderRouterNewV6"),f={response:function(a){return c.v6().resetQueryCache(),a}};return a("/order/router/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderRouter",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderRouterNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderSms",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderSms");return{v6:function(){return a.get("OvhApiOrderSmsV6")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiOrderSmsV6",["$resource","OvhApiOrderSms",function(a,b){"use strict";return a("/order/sms/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!0,cache:b.cache},getCredits:{method:"GET",url:"/order/sms/:serviceName/credits",cache:b.cache},orderCredits:{method:"POST",url:"/order/sms/:serviceName/credits"},getNewSmsAccount:{method:"GET",url:"/order/sms/new",cache:b.cache},orderNewSmsAccount:{method:"POST",url:"/order/sms/new"}})}]),angular.module("ovh-api-services").service("OvhApiOrderTelephonyAapi",["$resource","OvhApiOrderTelephony",function(a,b){"use strict";return a("/order/telephony",{billingAccount:"@billingAccount"},{billingAccounts:{method:"GET",url:"/order/telephony/all",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiOrderTelephony",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderTelephony");return{v6:function(){return a.get("OvhApiOrderTelephonyV6")},Aapi:function(){return a.get("OvhApiOrderTelephonyAapi")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiOrderTelephonyV6",["$resource","OvhApiOrderTelephony",function(a,b){"use strict";return a("/order/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",isArray:!0,cache:b.cache},billingAccounts:{method:"GET",url:"/order/telephony",isArray:!0,cache:b.cache},getNewBillingAccount:{method:"GET",url:"/order/telephony/new",preventLogout:!0},orderNewBillingAccount:{method:"POST",url:"/order/telephony/new",preventLogout:!0},getNumberGeographical:{method:"GET",url:"/order/telephony/:billingAccount/numberGeographic",isArray:!1,cache:b.cache},getNumberNogeographical:{method:"GET",url:"/order/telephony/:billingAccount/numberNogeographic",isArray:!1,cache:b.cache},getNumberSpecial:{method:"GET",url:"/order/telephony/:billingAccount/numberSpecial",isArray:!1,cache:b.cache},orderNumberGeographical:{method:"POST",url:"/order/telephony/:billingAccount/numberGeographic",isArray:!1},orderNumberNogeographical:{method:"POST",url:"/order/telephony/:billingAccount/numberNogeographic",isArray:!1},orderNumberSpecial:{method:"POST",url:"/order/telephony/:billingAccount/numberSpecial",isArray:!1},getPortability:{method:"GET",url:"/order/telephony/:billingAccount/portability",isArray:!1},orderPortability:{method:"POST",url:"/order/telephony/:billingAccount/portability",isArray:!1},getAccessories:{method:"GET",url:"/order/telephony/:billingAccount/accessories",isArray:!1},orderAccessories:{method:"POST",url:"/order/telephony/:billingAccount/accessories",isArray:!1},getSecurityDeposit:{method:"GET",url:"/order/telephony/:billingAccount/securityDeposit",isArray:!1},orderSecurityDeposit:{method:"POST",url:"/order/telephony/:billingAccount/securityDeposit",isArray:!1},getHardware:{method:"GET",url:"/order/telephony/lines/:serviceName/hardware",isArray:!1},orderHardware:{method:"POST",url:"/order/telephony/lines/:serviceName/hardware",isArray:!1},getSimultaneousLines:{method:"GET",url:"/order/telephony/lines/:serviceName/updateSimultaneousChannels",isArray:!1},orderSimultaneousLines:{method:"POST",url:"/order/telephony/lines/:serviceName/updateSimultaneousChannels",isArray:!1},getSimultaneousTrunkLines:{method:"GET",url:"/order/telephony/trunks/:serviceName/updateSimultaneousChannels",isArray:!1},orderSimultaneousTrunkLines:{method:"POST",url:"/order/telephony/trunks/:serviceName/updateSimultaneousChannels",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradeMicrosoftExchange",["$injector",function(a){"use strict";return{ +v6:function(){return a.get("OvhApiOrderUpgradeMicrosoftExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradeMicrosoftExchangeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderUpgradeMicrosoftExchangeV6Query"),d=b("OvhApiOrderUpgradeMicrosoftExchangeV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/upgrade/microsoftExchange/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{getAvailableServices:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/microsoftExchange"},getAvailableOffers:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/microsoftExchange/:serviceName"},getOrder:{method:"GET",cache:d,isArray:!1},order:{method:"POST",cache:d,isArray:!1,interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderUpgrade",["$injector",function(a){"use strict";return{MicrosoftExchange:function(){return a.get("OvhApiOrderUpgradeMicrosoftExchange")},Vps:function(){return a.get("OvhApiOrderVps")},PrivateCloud:function(){return a.get("OvhApiOrderUpgradePrivateCloud")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradePrivateCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderUpgradePrivateCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderUpgradePrivateCloudV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderUpgradePrivateCloudV6Query"),d=b("OvhApiOrderUpgradePrivateCloudV6"),e={response:function(a){return f.resetCache(),f.resetQueryCache(),a.data}},f=a("/order/upgrade/privateCloud/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{get:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/privateCloud/:serviceName"},getPlan:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e},query:{method:"GET",cache:c,isArray:!0,url:"/order/upgrade/privateCloud"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderVpsV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderVpsV6",["$resource",function(a){"use strict";return a("/order/upgrade/vps/:serviceName/:planCode",{serviceName:"@serviceName",planCode:"@planCode"},{getAvailableOffers:{method:"GET",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiOrderVrackNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderVrackNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderVrackNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderVrackNewV6Query"),d=b("OvhApiOrderVrackNewV6"),e=a("/order/vrack/new",{quantity:"@quantity"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},create:{method:"POST",interceptor:f}}),f={response:function(a){return e.resetQueryCache(),a.data}};return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderVrack",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderVrackNew")}}}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxAapi",["$resource","Poller","OvhApiOverTheBox",function(a,b,c){"use strict";var d="/overTheBox/:serviceName/remoteAccesses",e={response:function(a){return c.resetCache(),a.resource}},f=a("/overTheBox/:serviceName",{serviceName:"@serviceName"},{remoteAccesses:{method:"GET",url:d,serviceType:"aapi",isArray:!0,cache:c.cache},createAndAuthorize:{method:"POST",url:"/overTheBox/:serviceName/remoteAccess/create",serviceType:"aapi",isArray:!1,interceptor:e},getServices:{method:"GET",url:"/overTheBox/devices",serviceType:"aapi",isArray:!0}});return f.poll=function(a,c){var e=d.replace(/\/:(\w*)\//g,function(a,b){return"/"+c[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi",cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},f}]),angular.module("ovh-api-services").service("OvhApiOverTheBox",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOverTheBox");return{v6:function(){return a.get("OvhApiOverTheBoxV6")},Aapi:function(){return a.get("OvhApiOverTheBoxAapi")},v7:function(){return a.get("OvhApiOverTheBoxV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxV6",["$resource","OvhApiOverTheBox",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/overTheBox/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/overTheBox.json"},query:{method:"GET",isArray:!0,cache:b.cache},get:{method:"GET",cache:b.cache},checkDevices:{method:"POST",url:"/overTheBox/devices",isArray:!0},getDevice:{method:"GET",url:"/overTheBox/:serviceName/device",cache:b.cache},getServiceInfos:{method:"GET",url:"/overTheBox/:serviceName/serviceInfos",cache:b.cache},putService:{method:"PUT",url:"/overTheBox/:serviceName",interceptor:c},deleteAtExpiration:{method:"DELETE",interceptor:c},keepAtExpiration:{method:"POST",url:"/overTheBox/:serviceName/cancelResiliation",interceptor:c},putServiceInfos:{method:"PUT",url:"/overTheBox/:serviceName/serviceInfos",interceptor:c},linkDevice:{method:"POST",url:"/overTheBox/:serviceName/linkDevice",interceptor:c},getTasks:{method:"GET",url:"/overTheBox/:serviceName/tasks",isArray:!0,cache:b.cache},getTask:{method:"GET",url:"/overTheBox/:serviceName/tasks/:taskId",cache:b.cache},loadRemote:{method:"GET",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId",cache:b.cache},createRemote:{method:"POST",url:"/overTheBox/:serviceName/remoteAccesses",interceptor:c},deleteRemote:{method:"DELETE",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId",interceptor:c},authorizeRemote:{method:"POST",url:"/overTheBox/:serviceName/remoteAccesses/:remoteAccessId/authorize",interceptor:c},availableOffers:{method:"GET",url:"/overTheBox/availableOffers",isArray:!0,cache:b.cache},getServices:{method:"GET",url:"/overTheBox",isArray:!0,cache:b.cache},getAvailableActions:{method:"GET",url:"/overTheBox/:serviceName/device/availableActions",isArray:!0},launchAction:{method:"POST",url:"/overTheBox/:serviceName/device/actions",isArray:!1},getLogs:{method:"POST",url:"/overTheBox/:serviceName/device/logs ",isArray:!1}});return d}]),angular.module("ovh-api-services").service("OvhApiOverTheBoxV7",["apiv7",function(a){"use strict";var b=a("/overtTheBox/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccessAapi",["$resource","OvhApiPackXdslAccess",function(a,b){"use strict";return a("/pack/xdsl/:packId/access/services",{packId:"@packId"},{query:{serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccess",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslAccess");return{Aapi:function(){return a.get("OvhApiPackXdslAccessAapi")},v6:function(){return a.get("OvhApiPackXdslAccessV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslAccessV6",["$resource","OvhApiPackXdslAccess",function(a,b){"use strict";return a("/pack/xdsl/:packId/xdslAccess",{packId:"@packId"},{getServices:{url:"/pack/xdsl/:packId/xdslAccess/services",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivationAapi",["$resource","OvhApiPackXdslDomainActivation",function(a,b){"use strict";return a("/pack/xdsl/:packId/domain/disponibility/:language/:domain",{packId:"@packId",language:"@language",domain:"@domain"},{checkDisponibility:{method:"POST",serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslDomainActivation");return{v6:function(){return a.get("OvhApiPackXdslDomainActivationV6")},Aapi:function(){return a.get("OvhApiPackXdslDomainActivationAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslDomainActivationV6",["$resource","OvhApiPackXdslDomainActivation",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/domain/services",{packId:"@id"},{postServices:{method:"POST",isArray:!1,interceptor:c},getServices:{method:"GET",isArray:!0,cache:b.cache},getTlds:{method:"GET",url:"/pack/xdsl/:packId/domain/options/tlds",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPackXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiPackXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslEmailProV6"),d=b("OvhApiPackXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/pack/xdsl/:packName/emailPro/services",{packName:"@packName"},{query:{method:"GET",isArray:!0,cache:d},save:{method:"POST",interceptor:e},getDomains:{method:"GET",url:"/pack/xdsl/:packName/emailPro/options/domains",isArray:!0,cache:c},isEmailAvailable:{method:"GET",url:"/pack/xdsl/:packName/emailPro/options/isEmailAvailable",transformResponse:function(a,b,c){return 200!==c?a:{available:"TRUE"===_.trim(a).toUpperCase()}}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountAapi",["$resource","OvhApiPackXdslExchangeAccount",function(a,b){"use strict";return a("/pack/xdsl/:packName/exchangeAccount/email",{packName:"@packName"},{query:{isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccount",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeAccount");return{Aapi:function(){return a.get("OvhApiPackXdslExchangeAccountAapi")},Services:function(){return a.get("OvhApiPackXdslExchangeAccountServices")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountServices",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPackXdslExchangeAccountServicesV6")}}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeAccountServicesV6",["$resource",function(a){"use strict";return a("/pack/xdsl/:packName/exchangeAccount/services/:domain",{packName:"@packName",domain:"@domain"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeIndividual",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeIndividual");return{v6:function(){return a.get("OvhApiPackXdslExchangeIndividualV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeIndividualV6",["$resource","$http","OvhApiPackXdslExchangeIndividual",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/pack/xdsl/:packId/exchangeIndividual/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:c.cache},save:{method:"POST",interceptor:d},getDomains:{method:"GET",url:"/pack/xdsl/:packId/exchangeIndividual/options/domains",isArray:!0,cache:c.cache}});return e.isEmailAvailable=function(a){return b({url:"/pack/xdsl/"+a.packId+"/exchangeIndividual/options/isEmailAvailable",method:"GET",params:{email:a.email}})},e}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeLite",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslExchangeLite");return{v6:function(){return a.get("OvhApiPackXdslExchangeLiteV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslExchangeLiteV6",["$resource","$http","OvhApiPackXdslExchangeLite",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/pack/xdsl/:packId/exchangeLite/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:c.cache},save:{method:"POST",interceptor:d}});return e.isEmailAvailable=function(a){return b({url:"/pack/xdsl/"+a.packId+"/exchangeLite/options/isEmailAvailable",method:"GET",params:{email:a.email}})},e}]),angular.module("ovh-api-services").service("OvhApiPackXdslHostedEmail",["$injector","$cacheFactory",function(a,b){var c=b("OvhApiPackXdslHostedEmail");return{v6:function(){return a.get("OvhApiPackXdslHostedEmailV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslHostedEmailV6",["$resource","OvhApiPackXdslHostedEmail",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/hostedEmail/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c},getDomains:{method:"GET",url:"/pack/xdsl/:packId/hostedEmail/options/domains",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName/hubic/services",{packName:"@packName"});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicAapi",["$resource","OvhApiPackXdslHubic",function(a,b){"use strict";return a("/pack/xdsl/:packId/hubic",{packId:"@packId"},{query:{serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslHubic");return{Aapi:function(){return a.get("OvhApiPackXdslHubicAapi")},v6:function(){return a.get("OvhApiPackXdslHubicV6")},v7:function(){return a.get("OvhApiPackXdslHubicV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslHubicV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiPackXdslHubicV6");return b("/pack/xdsl/:packName/hubic/services",{packName:"@packName"},{getDomainDetails:{method:"GET",url:"/pack/xdsl/:packName/hubic/services/:domain/details",cache:c,params:{domain:"@domain"}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslMove",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslMove");return{Aapi:angular.noop,v6:function(){return a.get("OvhApiPackXdslMoveV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslMoveV6",["$resource","Poller",function(a,b){"use strict";var c=a("/pack/xdsl/:packName/addressMove/eligibility",{packName:"@packName"},{move:{method:"POST",url:"/pack/xdsl/:packName/addressMove/move",isArray:!1}});return c.pollElligibility=function(a,c){var d=["/pack/xdsl/",c.packName,"/addressMove/eligibility"].join("");return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,null,{postData:{lineNumber:c.lineNumber,address:c.address},successRule:{status:function(a){return"error"===a.status||"ok"===a.status}},scope:a.$id,method:"post",retryMaxAttempts:3})},c}]),angular.module("ovh-api-services").service("OvhApiPackXdslAapi",["$resource","OvhApiPackXdsl",function(a,b){"use strict";var c=a("/pack/xdsl/:packId",{packId:"@packId"},{get:{serviceType:"aapi",isArray:!1,cache:b.cache},getLines:{url:"/pack/xdsl/:packId/lines",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiPackXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdsl");return{v6:function(){return a.get("OvhApiPackXdslV6")},Aapi:function(){return a.get("OvhApiPackXdslAapi")},v7:function(){return a.get("OvhApiPackXdslV7")},Task:function(){return a.get("OvhApiPackXdslTask")},Access:function(){return a.get("OvhApiPackXdslAccess")},DomainActivation:function(){return a.get("OvhApiPackXdslDomainActivation")},EmailPro:function(){return a.get("OvhApiPackXdslEmailPro")},ExchangeAccount:function(){return a.get("OvhApiPackXdslExchangeAccount")},ExchangeIndividual:function(){return a.get("OvhApiPackXdslExchangeIndividual")},ExchangeLite:function(){return a.get("OvhApiPackXdslExchangeLite")},HostedEmail:function(){return a.get("OvhApiPackXdslHostedEmail")},Hubic:function(){return a.get("OvhApiPackXdslHubic")},Move:function(){return a.get("OvhApiPackXdslMove")},PromotionCode:function(){return a.get("OvhApiPackXdslPromotionCode")},Resiliation:function(){return a.get("OvhApiPackXdslResiliation")},ServiceInfo:function(){return a.get("OvhApiPackXdslServiceInfo")},SiteBuilderStart:function(){return a.get("OvhApiPackXdslSiteBuilderStart")},Tasks:function(){return a.get("OvhApiPackXdslTask")},VoipBillingAccount:function(){return a.get("OvhApiPackXdslVoipBillingAccount")},VoipEcofax:function(){return a.get("OvhApiVoipEcofax")},VoipLine:function(){return a.get("OvhApiPackXdslVoipLine")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslV6",["$resource","OvhApiTelecomSidebar","OvhApiPackXdsl",function(a,b,c){"use strict";var d={response:function(a){return b.resetCache(),c.resetCache(),a.resource}};return a("/pack/xdsl/:packId",{packId:"@id"},{put:{method:"PUT",interceptor:d},getServiceInfos:{method:"GET",url:"/pack/xdsl/:packId/serviceInfos",cache:c.cache},getServices:{method:"GET",isArray:!0,url:"/pack/xdsl/:packId/services",cache:c.cache,transformResponse:function(a,b,c){if(200===c){var d=angular.fromJson(a);return d.forEach(function(a){a.available=a.total-(a.used+a.inCreation)}),d}return a}},migrationOffers:{method:"POST",isArray:!1,url:"/pack/xdsl/:packName/migration/offers",params:{packName:"@packName"}},migrate:{method:"POST",isArray:!1,url:"/pack/xdsl/:packName/migration/migrate",params:{packName:"@packName"}},shippingAddresses:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/shippingAddresses",params:{packName:"@packName",context:"@context"}},resiliationFollowUp:{method:"GET",url:"/pack/xdsl/:packName/resiliationFollowUp"},servicesToDelete:{method:"POST",isArray:!0,url:"/pack/xdsl/:packName/migration/servicesToDelete",params:{packName:"@packName"}}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName",{packName:"@packName"},{access:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/xdslAccess/services"}});return b}]),angular.module("ovh-api-services").service("OvhApiPackXdslPromotionCode",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslPromotionCode");return{Aapi:angular.noop,v6:function(){return a.get("OvhApiPackXdslPromotionCodeV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslPromotionCodeV6",["$resource","OvhApiPackXdslPromotionCode",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/promotionCode",{packId:"@packId"},{capabilities:{url:"/pack/xdsl/:packId/promotionCode/capabilities",method:"GET",isArray:!1,cache:b.cache},generate:{url:"/pack/xdsl/:packId/promotionCode/generate",method:"POST",isArray:!1,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliationAapi",["$resource","OvhApiPackXdslResiliation",function(a,b){"use strict";return a("/pack/xdsl/canCancelResiliation/all",{packId:"@packId"},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/pack/xdsl/:packId/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache},subServicesTerms:{url:"/pack/:packId/resiliate/subServicesInfos",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslResiliation");return{Aapi:function(){return a.get("OvhApiPackXdslResiliationAapi")},v6:function(){return a.get("OvhApiPackXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslResiliationV6",["$resource","OvhApiPackXdslResiliation",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packName/canCancelResiliation",{packName:"@packName"},{canCancelResiliation:{url:"/pack/xdsl/:packName/canCancelResiliation",method:"GET",isArray:!1,cache:b.cache,transformResponse:function(a){return{value:"true"===a}}},cancelResiliation:{url:"/pack/xdsl/:packName/cancelResiliation",method:"POST",isArray:!1,interceptor:c},resiliate:{url:"/pack/xdsl/:packName/resiliate",method:"POST",isArray:!1,interceptor:c},resiliationTerms:{url:"/pack/xdsl/:packName/resiliationTerms",method:"GET",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslServiceInfoAapi",["$resource","OvhApiPackXdslServiceInfo",function(a,b){"use strict";return a("/pack/xdsl/:packName/serviceInfos/all",{packName:"@packName"},{infoAll:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslServiceInfo",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslServiceInfo");return{Aapi:function(){return a.get("OvhApiPackXdslServiceInfoAapi")},v6:angular.noop,resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslSiteBuilderStart",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslSiteBuilderStart");return{v6:function(){return a.get("OvhApiPackXdslSiteBuilderStartV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslSiteBuilderStartV6",["$resource","OvhApiPackXdslSiteBuilderStart",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/siteBuilderStart/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslTaskAapi",["$resource","OvhApiPackXdslTask",function(a,b){"use strict";var c=a("/pack/xdsl/:packName/tasks",{packName:"@packName"},{details:{method:"GET",url:"/pack/xdsl/:packName/tasks/detail",serviceType:"aapi",isArray:!0,cache:b.cache},detailsAll:{method:"GET",url:"/pack/xdsl/:packName/tasks/detail/all",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiPackXdslTask",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslTask");return{Aapi:function(){return a.get("OvhApiPackXdslTaskAapi")},v6:function(){return a.get("OvhApiPackXdslTaskV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslTaskV6",["$resource",function(a){"use strict";return a("/pack/xdsl/:packName/tasks",{packName:"@packName"},{query:{method:"GET",isArray:!0},get:{method:"GET"},save:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipBillingAccount",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipBillingAccount");return{v6:function(){return a.get("OvhApiPackXdslVoipBillingAccountV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipBillingAccountV6",["$resource","OvhApiPackXdslVoipBillingAccount",function(a,b){"use strict";return a("/pack/xdsl/:packId/voipBillingAccount/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipEcofax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipEcofax");return{v6:function(){return a.get("OvhApiPackXdslVoipEcofaxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipEcofaxV6",["$resource","OvhApiPackXdslVoipEcofax",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/voipEcofax/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineAapi",["$resource","OvhApiPackXdslVoipLine",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/pack/xdsl/:packId/voipLines",{packId:"@packId"},{query:{url:"/pack/xdsl/:packId/voipLine/services",serviceType:"aapi",isArray:!0,cache:b.cache},activate:{url:"/pack/xdsl/:packId/voipLines/activate",serviceType:"aapi",isArray:!1,method:"POST",interceptor:c}});return d}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLine",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPackXdslVoipLine");return{Aapi:function(){return a.get("OvhApiPackXdslVoipLineAapi")},v6:function(){return a.get("OvhApiPackXdslVoipLineV6")},v7:function(){return a.get("OvhApiPackXdslVoipLineV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineV6",["$resource","OvhApiPackXdslVoipLine",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/pack/xdsl/:packId/voipLine/services",{packId:"@packId"},{query:{method:"GET",isArray:!0,cache:b.cache},save:{method:"POST",interceptor:c},getHardwares:{method:"GET",url:"/pack/xdsl/:packId/voipLine/options/hardwares",isArray:!0,cache:b.cache},getShippingAddresses:{method:"GET",url:"/pack/xdsl/:packId/voipLine/options/shippingAddresses",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPackXdslVoipLineV7",["apiv7",function(a){"use strict";var b=a("/pack/xdsl/:packName/voipLine",{packName:"@packName"},{services:{method:"GET",isArray:!0,url:"/pack/xdsl/:packName/voipLine/services"}});return b}]),angular.module("ovh-api-services").service("OvhApiPortalRadarServerAapi",["$resource","OvhApiPortalRadarServer",function(a,b){"use strict";return a("/dedicated/server/radar/aggregate",{},{aggregate:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiPortalRadarServer",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiPortalRadarServer");return{Aapi:function(){return a.get("OvhApiPortalRadarServerAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiPriceOverTheBoxOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiPriceOverTheBoxOfferV6")}}}]),angular.module("ovh-api-services").service("OvhApiPriceOverTheBoxOfferV6",["$resource",function(a){"use strict";return a("/price/overTheBox/offer/:offerName",{offerName:"@offerName"},{schema:{method:"GET",url:"/price.json"}})}]),angular.module("ovh-api-services").service("OvhApiProductsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiProductsAapi"),d=a("/products",{},{get:{method:"GET",isArray:!1,universe:"@universe",serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiProducts",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiProductsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiScreenshotAapi",["$resource","OvhApiScreenshot",function(a,b){"use strict";var c={response:function(a){return a.data}};return a("/sws/screenshot",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiScreenshot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiScreenshot");return{Aapi:function(){return a.get("OvhApiScreenshotAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiServicesAapi",["$resource",function(a){"use strict";return a("/services",{},{get:{isArray:!0,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiServices",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiServicesAapi")},v6:function(){return a.get("OvhApiServicesV6")}}}]),angular.module("ovh-api-services").service("OvhApiServicesV6",["$resource",function(a){"use strict";return a("/services/:serviceId",{serviceId:"@serviceId"})}]),angular.module("ovh-api-services").service("OvhApiSiteBuildersAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiSiteBuildersAapi"),d=a("/sitebuilders",{},{get:{method:"GET",isArray:!0,universe:"@universe",serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiSiteBuilders",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiSiteBuildersAapi")}}}]),angular.module("ovh-api-services").service("OvhApiSmsBlacklists",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsBlacklistsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsBlacklistsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsBlacklistsV6"),d=a("OvhApiSmsBlacklistsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/blacklists/:number",{serviceName:"@serviceName",number:"@number"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetQueryCache=function(){d.removeAll()},f.resetCache=function(){c.removeAll()},f.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsHlr",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsHlrV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsHlrV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsHlrV6"),d=a("OvhApiSmsHlrV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/hlr/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},send:{method:"POST",interceptor:e},getOperator:{method:"GET",url:"/sms/:serviceName/hlr/:id/operator",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsIncomingV6"),d=a("OvhApiSmsIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/incoming/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsJobsV6"),d=a("OvhApiSmsJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource} +},f=b("/sms/:serviceName/jobs/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e},getPtts:{method:"GET",url:"/sms/ptts",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsOutgoingV6"),d=a("OvhApiSmsOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/outgoing/:id",{serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/outgoing/:id/hlr",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsPhonebooksPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksPhonebookContactV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsPhonebooksPhonebookContactV6"),d=a("OvhApiSmsPhonebooksPhonebookContactV6Query"),e=a("OvhApiSmsPhonebooksPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=b("/sms/:serviceName/phonebooks/:bookKey/phonebookContact/:id",{serviceName:"@serviceName",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/sms/:serviceName/phonebooks/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsPhonebooksV6")},PhonebookContact:function(){return a.get("OvhApiSmsPhonebooksPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiSmsPhonebooksV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsPhonebooksV6"),d=a("OvhApiSmsPhonebooksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/phonebooks/:bookKey",{serviceName:"@serviceName",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/sms/:serviceName/phonebooks",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/sms/:serviceName/phonebooks/:bookKey/export"},"import":{method:"POST",url:"/sms/:serviceName/phonebooks/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsReceivers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsReceiversV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsReceiversV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsReceiversV6"),d=a("OvhApiSmsReceiversV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/receivers/:slotId",{serviceName:"@serviceName",slotId:"@slotId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/receivers",interceptor:e},getCsv:{method:"GET",url:"/sms/:serviceName/receivers/:slotId/csv",cache:c,transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},clean:{method:"POST",url:"/sms/:serviceName/receivers/:slotId/clean",interceptor:e},edit:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsSenders",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsSendersV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsSendersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsSendersV6"),d=a("OvhApiSmsSendersV6Query"),e=a("OvhApiSmsSendersv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=b("/sms/:serviceName/senders/:sender",{serviceName:"@serviceName",sender:"@sender"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":"|"},cache:e},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/sms/:serviceName/senders",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiSmsAapi",["$resource","OvhApiSms",function(a,b){"use strict";var c=a("/sms",{},{detail:{method:"GET",url:"/sms/details",serviceType:"aapi",cache:b.cache,isArray:!0}});return c.resetCache=b.resetCache,c}]),angular.module("ovh-api-services").service("OvhApiSms",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiSms");return{Aapi:function(){return a.get("OvhApiSmsAapi")},v6:function(){return a.get("OvhApiSmsV6")},v7:function(){return a.get("OvhApiSmsV7")},Jobs:function(){return a.get("OvhApiSmsJobs")},Senders:function(){return a.get("OvhApiSmsSenders")},Blacklists:function(){return a.get("OvhApiSmsBlacklists")},Receivers:function(){return a.get("OvhApiSmsReceivers")},Incoming:function(){return a.get("OvhApiSmsIncoming")},Outgoing:function(){return a.get("OvhApiSmsOutgoing")},Users:function(){return a.get("OvhApiSmsUsers")},Hlr:function(){return a.get("OvhApiSmsHlr")},Templates:function(){return a.get("OvhApiSmsTemplates")},Task:function(){return a.get("OvhApiSmsTask")},VirtualNumbers:function(){return a.get("OvhApiSmsVirtualNumbers")},Phonebooks:function(){return a.get("OvhApiSmsPhonebooks")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiSmsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsV6"),d=a("OvhApiSmsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",url:"/sms/:serviceName",isArray:!1,interceptor:e},edit:{method:"PUT",interceptor:e},schema:{method:"GET",url:"/sms.json"},seeOffers:{method:"GET",url:"/sms/:serviceName/seeOffers",isArray:!0,cache:c},getDocument:{method:"GET",url:"/sms/:serviceName/document",params:{wayType:"@wayType"},transformResponse:function(a,b,c){return 200===c?{docId:angular.fromJson(a)}:a}},getServiceInfos:{method:"GET",url:"/sms/:serviceName/serviceInfos",cache:c},getSendersAvailableForValidation:{method:"GET",url:"/sms/:serviceName/sendersAvailableForValidation",isArray:!0,cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsV7",["apiv7",function(a){"use strict";var b=a("/sms/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiSmsTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/sms/:serviceName/task/:taskId",d=a(c,{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:7e3})},d}]),angular.module("ovh-api-services").service("OvhApiSmsTemplates",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsTemplatesV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsTemplatesV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsTemplatesV6"),d=a("OvhApiSmsTemplatesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/templatesControl/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/sms/:serviceName/templatesControl",isArray:!1,interceptor:e},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},relaunchValidation:{method:"POST",url:"/sms/:serviceName/templatesControl/:name/relaunchValidation",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersIncomingV6"),d=a("OvhApiSmsUsersIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/incoming/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUserJobsV6"),d=a("OvhApiSmsUserJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/jobs/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersOutgoingV6"),d=a("OvhApiSmsUsersOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/outgoing/:id",{serviceName:"@serviceName",login:"@login",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/users/:login/outgoing/:id/hlr",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsersReceivers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersReceiversV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersReceiversV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersReceiversV6"),d=a("OvhApiSmsUsersReceiversV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login/receivers/:slotId",{serviceName:"@serviceName",login:"@login",slotId:"@slotId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/receivers",interceptor:e},getCsv:{method:"GET",url:"/sms/:serviceName/users/:login/receivers/:slotId/csv",cache:c,transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},clean:{method:"POST",url:"/sms/:serviceName/users/:login/receivers/:slotId/clean",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiSmsUsers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsUsersV6")},Incoming:function(){return a.get("OvhApiSmsUsersIncoming")},Jobs:function(){return a.get("OvhApiSmsUsersJobs")},Outgoing:function(){return a.get("OvhApiSmsUsersOutgoing")},Receivers:function(){return a.get("OvhApiSmsUsersReceivers")}}}]),angular.module("ovh-api-services").service("OvhApiSmsUsersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsUsersV6"),d=a("OvhApiSmsUsersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/users/:login",{serviceName:"@serviceName",login:"@login"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/sms/:serviceName/users",interceptor:e},getDocument:{method:"GET",url:"/sms/:serviceName/users/:login/document",cache:c}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersIncoming",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersIncomingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersIncomingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersIncomingV6"),d=a("OvhApiSmsVirtualNumbersIncomingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/incoming/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersJobs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersJobsV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersJobsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersJobsV6"),d=a("OvhApiSmsVirtualNumbersJobsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/jobs/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},send:{method:"POST",isArray:!1,interceptor:e},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersOutgoing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersOutgoingV6")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersOutgoingV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersOutgoingV6"),d=a("OvhApiSmsVirtualNumbersOutgoingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return b("/sms/:serviceName/virtualNumbers/:number/outgoing/:id",{serviceName:"@serviceName",number:"@number",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},"delete":{method:"DELETE",interceptor:e},getHlr:{method:"GET",url:"/sms/:serviceName/virtualNumbers/:number/outgoing/:id/hlr",cache:c},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSmsVirtualNumbersV6")},Incoming:function(){return a.get("OvhApiSmsVirtualNumbersIncoming")},Jobs:function(){return a.get("OvhApiSmsVirtualNumbersJobs")},Outgoing:function(){return a.get("OvhApiSmsVirtualNumbersOutgoing")}}}]),angular.module("ovh-api-services").service("OvhApiSmsVirtualNumbersV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiSmsVirtualNumbersV6"),d=a("OvhApiSmsVirtualNumbersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/sms/:serviceName/virtualNumbers/:number",{serviceName:"@serviceName",number:"@number"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},queryVirtualNumbers:{method:"GET",url:"/sms/virtualNumbers",isArray:!0,cache:c},getVirtualNumbers:{method:"GET",url:"/sms/virtualNumbers/:number",params:{number:"@number"},cache:c},getVirtualNumbersServiceInfos:{method:"GET",url:"/sms/virtualNumbers/:number/serviceInfos",params:{number:"@number"},cache:c},updateVirtualNumbersServiceInfos:{method:"PUT",url:"/sms/virtualNumbers/:number/serviceInfos",params:{number:"@number"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiStatus",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStatusV6")},Task:function(){return a.get("OvhApiStatusTask")}}}]),angular.module("ovh-api-services").service("OvhApiStatusV6",["$cacheFactory","$resource",function(a,b){"use strict";return b("/status")}]),angular.module("ovh-api-services").service("OvhApiStatusTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStatusTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiStatusTaskV6",["$cacheFactory","$resource",function(a,b){"use strict";return b("/status/task")}]),angular.module("ovh-api-services").service("OvhApiStoreContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStoreContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiStoreContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiStoreContactV6"),d=b("OvhApiStoreContactV6Query"),e=a("/store/contact/:contactId",{contactId:"@contactId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f}}),f={response:function(a){return e.resetCache(),a.data}};return e.resetCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiStoreDocument",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStoreDocumentV6")}}}]),angular.module("ovh-api-services").service("OvhApiStoreDocumentV6",["$resource","$cacheFactory","$http","$q",function(a,b,c,d){"use strict";var e=b("OvhApiStoreDocumentV6"),f=b("OvhApiStoreDocumentV6Query"),g=a("/store/document/:documentId",{documentId:"@documentId"},{query:{method:"GET",cache:f},get:{method:"GET",cache:e},create:{method:"POST",interceptor:h},update:{method:"PUT",interceptor:h},"delete":{method:"DELETE",interceptor:h},cors:{method:"POST",url:"/store/document/cors"}}),h={response:function(a){return g.resetCache(),a.data}};return g.upload=function(a,b,e){var f,h=_.map(e,function(a,b){return{key:b,value:a}}),i={name:a,tags:h};return g.create({},i).$promise.then(function(a){return f=a,c.put(a.putUrl,b,{serviceType:"storage",headers:{"Content-Type":"multipart/form-data"}})["catch"](function(a){return g["delete"]({documentId:f.id}),d.reject(a)})}).then(function(){return f.id})},g.resetCache=function(){e.removeAll(),f.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiStorePartner",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiStorePartnerV6")}}}]),angular.module("ovh-api-services").service("OvhApiStorePartnerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiStorePartnerV6"),d=b("OvhApiStorePartnerV6Query"),e=a("/store/partner/:partnerId",{partnerId:"@partnerId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:f},update:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},queryProduct:{url:"/store/partner/:partnerId/product",method:"GET",isArray:!0,cache:d},getProduct:{url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},cache:c},createProduct:{method:"POST",url:"/store/partner/:partnerId/product",interceptor:f},deleteProduct:{method:"DELETE",url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},interceptor:f},updateProduct:{method:"PUT",url:"/store/partner/:partnerId/product/:productId",params:{productId:"@productId"},interceptor:f},queryLinkedDocuments:{url:"/store/partner/:partnerId/document",method:"GET",isArray:!0,cache:d},linkDocument:{method:"POST",url:"/store/partner/:partnerId/document",isArray:!0,interceptor:f},unlinkDocument:{method:"DELETE",url:"/store/partner/:partnerId/document/:documentId",params:{documentId:"@documentId"},interceptor:f,isArray:!0},queryProductLinkedDocuments:{url:"/store/partner/:partnerId/product/:productId/document",method:"GET",params:{productId:"@productId"},isArray:!0,cache:d},linkDocumentToProduct:{method:"POST",url:"/store/partner/:partnerId/product/:productId/document",isArray:!0,interceptor:f,params:{productId:"@productId"}},unlinkDocumentFromProduct:{method:"DELETE",url:"/store/partner/:partnerId/product/:productId/document/:documentId",isArray:!0,interceptor:f,params:{productId:"@productId",documentId:"@documentId"}}}),f={response:function(a){return e.resetCache(),a.data}};return e.resetCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiStore",["$injector",function(a){"use strict";return{Contact:function(){return a.get("OvhApiStoreContact")},Document:function(){return a.get("OvhApiStoreDocument")},Partner:function(){return a.get("OvhApiStorePartner")}}}]),angular.module("ovh-api-services").service("OvhApiSupplyMondialRelay",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSupplyMondialRelayV6")},Aapi:function(){return angular.noop()}}}]),angular.module("ovh-api-services").service("OvhApiSupplyMondialRelayV6",["Poller","$q",function(a,b){"use strict";var c=function(){};return c.search=function(c,d,e){return b(function(b,f,g){var h=0,i="mondial-relay-"+d.$id,j=angular.extend({maxIteration:5},e);a.kill({scope:i}),d.$on("$destroy",function(){a.kill({scope:i})}),a.poll("/supply/mondialRelay",{},{postData:{country:c.country,city:c.city,address:c.address,zipcode:c.zipcode},successRule:{status:"ok"},interval:function(a){return h=a,100*Math.pow(2,a)},errorRule:{status:"error"},scope:i,retryMaxAttempts:0,method:"post"}).then(function(a){return h>j.maxIteration?f({message:"Too many iterations"}):("ok"===a.status&&b(a.result),b(null))},function(a){f(a)},g)})},c}]),angular.module("ovh-api-services").service("OvhApiSupport",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiSupportV6")}}}]),angular.module("ovh-api-services").service("OvhApiSupportV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiSupportV6"),d=b("OvhApiSupportV6Query"),e=a("/support/tickets/:id",{id:"@id"},{schema:{method:"GET",url:"/support.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getMessages:{method:"GET",url:"/support/tickets/:id/messages",isArray:!0},create:{method:"POST",url:"/support/tickets/:id/create"},close:{method:"POST",url:"/support/tickets/:id/close"},reopen:{method:"POST",url:"/support/tickets/:id/reopen"},reply:{method:"POST",url:"/support/tickets/:id/reply"}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelecomHomeDashboardAapi",["$resource","OvhApiTelecomHomeDashboard",function(a,b){"use strict";return a("/telecom/homeDashboard",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache},incidents:{url:"/telecom/homeDashboard/incidents",serviceType:"aapi",method:"GET",isArray:!1,cache:b.cache},services:{url:"/telecom/homeDashboard/services",serviceType:"aapi",method:"GET",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelecomHomeDashboard",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomHomeDashboard");return{Aapi:function(){return a.get("OvhApiTelecomHomeDashboardAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecomPreferencesAapi",["$resource","OvhApiTelecomPreferences",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}};return a("/telecom/preferences",{},{get:{method:"GET",serviceType:"aapi",isArray:!1,cache:b.cache},write:{method:"POST",serviceType:"aapi",isArray:!1,interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelecomPreferences",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomPreferences");return{Aapi:function(){return a.get("OvhApiTelecomPreferencesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecomSidebarAapi",["$resource","OvhApiTelecomSidebar",function(a,b){"use strict";var c=a("/telecom/sidebar",{},{get:{method:"GET",url:"/telecom/sidebar",serviceType:"aapi",cache:b.cache},count:{method:"GET",url:"/telecom/sidebar/count",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiTelecomSidebar",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecomSidebar");return{Aapi:function(){return a.get("OvhApiTelecomSidebarAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelecom",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelecom");return{resetCache:c.removeAll,cache:c,HomeDashboard:function(){return a.get("OvhApiTelecomHomeDashboard")},Preferences:function(){return a.get("OvhApiTelecomPreferences")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumberAapi",["$resource","OvhApiTelephonyAbbreviatedNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/abbreviatedNumber",{billingAccount:"@billingAccount"},{query:{method:"GET",url:"/telephony/:billingAccount/abbreviatedNumber",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAbbreviatedNumber");return{v6:function(){return a.get("OvhApiTelephonyAbbreviatedNumberV6")},Aapi:function(){return a.get("OvhApiTelephonyAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAbbreviatedNumberV6",["$resource","OvhApiTelephonyAbbreviatedNumber",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/abbreviatedNumber",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,url:"/telephony/:billingAccount/abbreviatedNumber",cache:b.cache},detail:{method:"GET",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",cache:b.cache},remove:{method:"DELETE",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c},update:{method:"PUT",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c},insert:{method:"POST",isArray:!1,url:"/telephony/:billingAccount/abbreviatedNumber/:abbreviatedNumber",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAliases",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyAliasesV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAliasesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAliasesV6"),d=b("OvhApiTelephonyAliasesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/aliases/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},changeContact:{method:"POST",url:"/telephony/aliases/:serviceName/changeContact",interceptor:e,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/aliases/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/aliases/:serviceName/serviceInfos",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipantsAapi",["$resource",function(a){return a("/telephony/:billingAccount/conference/:serviceName/participants",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipants",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceParticipantsV6")},Aapi:function(){return a.get("OvhApiTelephonyConferenceParticipantsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceParticipantsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName/participants/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{mute:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/mute",isArray:!1},unmute:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/unmute",isArray:!1},kick:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/kick",isArray:!1},deaf:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/deaf",isArray:!1},undeaf:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/undeaf",isArray:!1},energy:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/participants/:id/energy", +isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConference",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceV6")},Participants:function(){return a.get("OvhApiTelephonyConferenceParticipants")},WebAccess:function(){return a.get("OvhApiTelephonyConferenceWebAccess")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{informations:{method:"GET",url:"/telephony/:billingAccount/conference/:serviceName/informations",isArray:!1},settings:{method:"GET",url:"/telephony/:billingAccount/conference/:serviceName/settings",isArray:!1},updateSettings:{method:"PUT",url:"/telephony/:billingAccount/conference/:serviceName/settings",isArray:!1},lock:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/lock",isArray:!1},unlock:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/unlock",isArray:!1},announceUpload:{method:"POST",url:"/telephony/:billingAccount/conference/:serviceName/announceUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceWebAccess",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyConferenceWebAccessV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceWebAccessV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/conference/:serviceName/webAccess/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentV6")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentV6"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6")},v7:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatus:{url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgentV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{getLiveStatus:{method:"GET",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV6")},v7:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV6",["$resource",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},eavesdrop:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/eavesdrop"},hangup:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/hangup"},hold:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/hold"},intercept:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/intercept"},transfer:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/transfer"},whisper:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id/whisper"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueV6")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueV6"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},change:{method:"PUT",interceptor:e},getLiveStatistics:{method:"GET",url:"/telephony/:billingAccount/easyHunting/:serviceName/hunting/queue/:queueId/liveStatistics"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingV6")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyEasyHuntingRecordsV6"),d=a("OvhApiTelephonyEasyHuntingRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/easyHunting/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6"),d=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{query:{method:"GET",isArray:!0},get:{method:"GET"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingV6")},Sound:function(){return a.get("OvhApiTelephonyEasyHuntingSound")},Hunting:function(){return a.get("OvhApiTelephonyEasyHuntingHunting")},ScreenListConditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditions")},TimeConditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditions")},Records:function(){return a.get("OvhApiTelephonyEasyHuntingRecords")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingV6"),d=b("OvhApiTelephonyEasyHuntingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},change:{method:"PUT",interceptor:e},soundUpload:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/soundUpload"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{save:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyPabx");return{v6:function(){return a.get("OvhApiTelephonyEasyPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtoken",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEventtokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtokenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEventtokenV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/telephony/:billingAccount/eventToken",{billingAccount:"@billingAccount"},{query:{method:"GET",cache:c},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaigns",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxCampaignsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaignsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxCampaignsV6"),d=a("OvhApiTelephonyFaxCampaignsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName/campaigns/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns",interceptor:e},getDetail:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/detail",cache:c},start:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/start",interceptor:e},stop:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/stop",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxAapi",["$resource",function(a){"use strict";var b=a("/fax",{},{getServices:{method:"GET",url:"/fax",serviceType:"aapi",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyFax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxV6")},Aapi:function(){return a.get("OvhApiTelephonyFaxAapi")},v7:function(){return a.get("OvhApiTelephonyFaxV7")},Campaigns:function(){return a.get("OvhApiTelephonyFaxCampaigns")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxV6"),d=a("OvhApiTelephonyFaxV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},edit:{method:"PUT",interceptor:e},getSettings:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/settings",cache:c},setSettings:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/settings",interceptor:e},changePassword:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/changePassword",interceptor:e},sendFax:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/sendFax",interceptor:e},getScreenLists:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},createScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},updateScreenLists:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},deleteScreenLists:{method:"DELETE",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},resetScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists/reset"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryConsumptionV6");return a("/telephony/:billingAccount/historyConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getFile:{method:"GET",url:"/telephony/:billingAccount/historyConsumption/:date/file"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryRepaymentConsumptionV6");return a("/telephony/:billingAccount/historyRepaymentConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/historyRepaymentConsumption"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyRepaymentConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryTollfreeConsumptionV6");return a("/telephony/:billingAccount/historyTollfreeConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyTollfreeConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberAapi",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAbbreviatedNumber");return{v6:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberV6",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",cache:b.cache},detail:{method:"GET",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",cache:b.cache},remove:{method:"DELETE",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},update:{method:"PUT",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},insert:{method:"POST",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAllAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAllAapi"),d=a("/telephony/line/all",{},{query:{method:"GET",serviceType:"aapi",isArray:!0,cache:c},detail:{url:"/telephony/line/detail",method:"GET",serviceType:"aapi",isArray:!0,cache:c},byGroup:{url:"/telephony/line/group",method:"GET",serviceType:"aapi",isArray:!1},byGroupDetail:{url:"/telephony/line/groupDetail",method:"GET",serviceType:"aapi",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAll",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyLineAllAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2Call",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineClick2CallV6")},User:function(){return a.get("OvhApiTelephonyLineClick2CallUser")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/line/:serviceName/click2Call",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{post:{method:"POST",params:{calledNumber:"@calledNumber"}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUser",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiTelephonyLineClick2CallUser");return{v6:function(){return b.get("OvhApiTelephonyLineClick2CallUserV6")},Aapi:angular.noop,resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUserV6",["$resource","$cacheFactory","OvhApiTelephonyLineClick2CallUser",function(a,b,c){"use strict";var d={response:function(a){return c.cache.remove(a.config.url),a.data}};return a("/telephony/:billingAccount/line/:serviceName/click2CallUser/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:c.cache},post:{method:"POST",interceptor:d},get:{method:"GET",cache:c.cache,isArray:!1},"delete":{method:"DELETE",interceptor:d},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/changePassword",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d},click2Call:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/click2Call",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineOffersV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffersV6",["$resource",function(a){"use strict";return a("/telephony/line/offers",null,{phones:{url:"/telephony/line/offer/phones",method:"GET",isArray:!0},query:{method:"GET",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptions",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineOptions");return{v6:function(){return a.get("OvhApiTelephonyLineOptionsV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptionsV6",["$resource","OvhApiTelephonyLineOptions",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/options",{billingAccountId:"@billingAccountId",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:b.cache},update:{method:"PUT",isArray:!1,interceptor:c},availableCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/availableCodecs",method:"GET",isArray:!0,cache:b.cache},defaultCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/defaultCodecs",method:"GET",isArray:!1,cache:b.cache,transformResponse:function(a){return{codecs:angular.fromJson(a)}}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineFunctionPhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV7")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneFunctionV6"),d={response:function(a){return c.removeAll(),a.data}};return a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},save:{method:"PUT",interceptor:d},availableFunctions:{url:"/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum/availableFunction",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},method:"GET",isArray:!0,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){ +"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6"),d=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookV6"),d=b("OvhApiTelephonyLinePhonePhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMA",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneRMAV6")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMAV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneRMAv6Cache"),d=b("OvhApiTelephonyLinePhoneRMAV6QueryCache"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/phone/rma/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c,isArray:!1},post:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},cancel:{method:"DELETE",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneV7")},Aapi:angular.noop,FunctionKey:function(){return a.get("OvhApiTelephonyLineFunctionPhone")},Phonebook:function(){return a.get("OvhApiTelephonyLinePhonePhonebook")},RMA:function(){return a.get("OvhApiTelephonyLinePhoneRMA")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneV6"),d={response:function(a){return c.remove(a.config.url.replace("/changePhoneConfiguration","")),a.data}},e=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:d},changePhoneConfiguration:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/changePhoneConfiguration",interceptor:d},getMerchandiseAvailable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/merchandiseAvailable",isArray:!0},reboot:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/reboot"},resetConfig:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/resetConfig"},supportsPhonebook:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/supportsPhonebook",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:null}}});return e.resetAllCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAapi"),d=a("/telephony/line",{},{get:{method:"GET",serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLine",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAapi")},v7:function(){return a.get("OvhApiTelephonyLineV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumber")},Phone:function(){return a.get("OvhApiTelephonyLinePhone")},Options:function(){return a.get("OvhApiTelephonyLineOptions")},Click2Call:function(){return a.get("OvhApiTelephonyLineClick2Call")},Offers:function(){return a.get("OvhApiTelephonyLineOffers")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV6",["$cacheFactory","$resource","$q","$http",function(a,b,c,d){"use strict";var e=a("OvhApiTelephonyLineV6"),f=a("OvhApiTelephonyLineV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=b("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:f},getBatch:{method:"GET",isArray:!0,cache:f,headers:{"X-Ovh-Batch":","}},terminate:{method:"DELETE",url:"/telephony/:billingAccount/service/:serviceName",params:{reason:"@reason",details:"@details"},isArray:!1},cancelTermination:{method:"POST"},edit:{method:"PUT",interceptor:g},getOptions:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/options",cache:e},setOptions:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/options",interceptor:g},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/changePassword",interceptor:g},canChangePassword:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/canChangePassword",isArray:!1,transformResponse:d.defaults.transformResponse.concat(function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d}),interceptor:{responseError:function(a){return 403===a.status?a.data:c.reject(a)}}},convertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/convertToNumber",preventLogout:!0},cancelConvertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/cancelConvertToNumber",preventLogout:!0},offer:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/offer",isArray:!1,cache:e},getTones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/tones"},changeTones:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/tones",interceptor:g},toneUpload:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/tones/toneUpload"},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:e},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:e},lastRegistrations:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/lastRegistrations",isArray:!0,cache:e},phoneCanBeAssociable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phoneCanBeAssociable",isArray:!0},listAssociablePhones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/listAssociablePhones",isArray:!0},associateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/associateDevice"},dissociateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/dissociateDevice"},maximumAvailableSimultaneousLines:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/maximumAvailableSimultaneousLines",isArray:!1,transformResponse:function(a,b,c){return 200===c?{maximum:angular.fromJson(a)}:a}},removeSimultaneousLine:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/removeSimultaneousLines",isArray:!1},simultaneousChannelsDetails:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/simultaneousChannelsDetails",isArray:!1}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLines",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinesV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinesV6",["$resource",function(a){"use strict";return a("/telephony/lines/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},changeContact:{method:"POST",url:"/telephony/lines/:serviceName/changeContact",isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/lines/:serviceName/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/lines/:serviceName/serviceInfos"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyMiniPabx");return{v6:function(){return a.get("OvhApiTelephonyMiniPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/miniPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberAapi",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache,serviceType:"aapi"},all:{method:"GET",url:"/telephony/numbers/all",isArray:!0,cache:b.cache,serviceType:"aapi"},prices:{method:"GET",url:"/telephony/:billingAccount/number/:country/prices",isArray:!0,cache:b.cache,serviceType:"aapi"},orderableByRange:{method:"GET",url:"/telephony/:country/:billingAccount/number/:type/range/:range",isArray:!1,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyNumber");return{Aapi:function(){return a.get("OvhApiTelephonyNumberAapi")},v6:function(){return a.get("OvhApiTelephonyNumberV6")},v7:function(){return a.get("OvhApiTelephonyNumberV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV6",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:b.cache},getZones:{method:"GET",url:"/telephony/number/zones",isArray:!0,cache:b.cache},getDetailedZones:{method:"GET",url:"/telephony/number/detailedZones",isArray:!0,cache:b.cache},getRanges:{method:"GET",url:"/telephony/number/ranges",isArray:!0,cache:b.cache},getSpecificNumbers:{method:"GET",url:"/telephony/number/specificNumbers",isArray:!0,cache:b.cache},edit:{method:"PUT"},changeFeatureType:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/changeFeatureType",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},isArray:!1},convertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/convertToLine"},cancelConvertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/cancelConvertToLine"},convertToLineAvailableOffers:{method:"GET",url:"/telephony/:billingAccount/number/:serviceName/convertToLineAvailableOffers"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/offerTask/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionScreenList/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionTime/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRule",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/rule/:ruleId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",ruleId:"@ruleId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtension",["$injector",function(a){"use strict";return{Rule:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRule")},ConditionScreenList:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList")},ConditionTime:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplan",["$injector",function(a){"use strict";return{Extension:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtension")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueueV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},addToQueue:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgentV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatus:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6",["$resource",function(a){"use strict";var b=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},eavesdrop:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/eavesdrop"},hangup:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hangup"},hold:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hold"},intercept:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/intercept"},transfer:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/transfer"},whisper:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/whisper"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueV6")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:e},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatistics:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveStatistics"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntry",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntryV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntryV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId/entry/:entryId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId",entryId:"@entryId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenu",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuV6")},Entry:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntry")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyOvhPabxRecordsV6"),d=a("OvhApiTelephonyOvhPabxRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/ovhPabx/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabx");return{v6:function(){return a.get("OvhApiTelephonyOvhPabxV6")},Dialplan:function(){return a.get("OvhApiTelephonyOvhPabxDialplan")},Sound:function(){return a.get("OvhApiTelephonyOvhPabxSound")},Menu:function(){return a.get("OvhApiTelephonyOvhPabxMenu")},Hunting:function(){return a.get("OvhApiTelephonyOvhPabxHunting")},Records:function(){return a.get("OvhApiTelephonyOvhPabxRecords")},Tts:function(){return a.get("OvhApiTelephonyOvhPabxTts")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxV6",["$resource","OvhApiTelephonyOvhPabx",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/telephony/:billingAccount/ovhPabx",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache},get:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName",cache:b.cache},getHunting:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting",cache:b.cache},queryAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent",isArray:!0,cache:b.cache},getAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",cache:b.cache},queryQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue",isArray:!0,cache:b.cache},getQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",cache:b.cache},updateQueue:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",interceptor:c},queryTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent",isArray:!0,cache:b.cache},getTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",cache:b.cache},updateTier:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},addTier:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",interceptor:c},deleteTier:{method:"DELETE",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},soundUpload:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/soundUpload"}});return d}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxTtsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTtsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/tts/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{ +method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookPhonebookContactV6"),d=b("OvhApiTelephonyPhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyPhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookV6"),d=b("OvhApiTelephonyPhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/phonebook/:bookKey",{billingAccount:"@billingAccount",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortability",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPortabilityV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortabilityV6",["$resource","$http",function(a,b){"use strict";var c=function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d};return a("/telephony/:billingAccount/portability/:id",{billingAccount:"@billingAccount",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getStatus:{method:"GET",url:"/telephony/:billingAccount/portability/:id/status",isArray:!0},canBeCancelled:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeCancelled",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},cancel:{method:"POST",url:"/telephony/:billingAccount/portability/:id/cancel",isArray:!1},canBeExecuted:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeExecuted",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},execute:{method:"POST",url:"/telephony/:billingAccount/portability/:id/execute",isArray:!1},dateCanBeChanged:{method:"GET",url:"/telephony/:billingAccount/portability/:id/dateCanBeChanged",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},changeDate:{method:"POST",url:"/telephony/:billingAccount/portability/:id/changeDate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRedirectV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirectV6",["$resource",function(a){return a("/telephony/:billingAccount/:featureType/:serviceName",{billingAccount:"@billingAccount",featureType:"@featureType",serviceName:"@serviceName"},{change:{method:"POST",url:"/telephony/:billingAccount/:featureType/:serviceName/changeDestination ",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsva",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRsvaV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsvaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyRsvaV6"),d=function(a){return c.removeAll(),a.data},e=a("/telephony/:billingAccount/rsva/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},edit:{method:"PUT",interceptor:d},getAllowedRateCodes:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/allowedRateCodes",cache:c,isArray:!0},getCurrentRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/currentRateCode",cache:c},getScheduledRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/scheduledRateCode",cache:c},scheduleRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/scheduleRateCode",interceptor:d},cancelScheduledRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/cancelScheduledRateCode",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEvents",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerEventsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEventsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerEventsV6"),d=b("OvhApiTelephonySchedulerEventsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName/events/:uid",{billingAccount:"@billingAccount",serviceName:"@serviceName",uid:"@uid"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{url:"/telephony/:billingAccount/scheduler/:serviceName/events",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},method:"POST",interceptor:e},save:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScheduler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerV6")},Events:function(){return a.get("OvhApiTelephonySchedulerEvents")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerV6"),d=b("OvhApiTelephonySchedulerV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},save:{method:"PUT",interceptor:e},importIcsCalendar:{method:"POST",url:"/telephony/:billingAccount/scheduler/:serviceName/importIcsCalendar",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenLists",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenListsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenListsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenListsV6"),d=b("OvhApiTelephonyScreenListsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName/screenLists/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreen",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenV6")},ScreenLists:function(){return a.get("OvhApiTelephonyScreenLists")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenV6"),d=b("OvhApiTelephonyScreenV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},change:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceFaxConsumptionV6"),d=b("OvhApiTelephonyServiceFaxConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/offerTask/:taskId",{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionAapi",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{repayment:{method:"GET",url:"/telephony/:billingAccount/repayment",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumption",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionAapi")},v6:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceRepaymentConsumptionV6"),d=b("OvhApiTelephonyServiceRepaymentConsumptionV6Query"),e=b("OvhApiTelephonyServiceRepaymentConsumptionv6Batch"),f=a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",headers:{"X-Ovh-Batch":","},cache:e,isArray:!0}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetBatchCache=function(){e.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/telephony/:billingAccount/service/:serviceName/task/:taskId",d=a(c,{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{get:{url:c,method:"GET",isArray:!1},query:{url:"/telephony/:billingAccount/service/:serviceName/task",method:"GET",isArray:!0}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:1e3})},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyService",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceV6")},v7:function(){return a.get("OvhApiTelephonyServiceV7")},VoiceConsumption:function(){return a.get("OvhApiTelephonyServiceVoiceConsumption")},FaxConsumption:function(){return a.get("OvhApiTelephonyServiceFaxConsumption")},Task:function(){return a.get("OvhApiTelephonyServiceTask")},OfferTask:function(){return a.get("OvhApiTelephonyServiceOfferTask")},RepaymentConsumption:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumption")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceV6"),d=b("OvhApiTelephonyServiceV6Query"),e=b("OvhApiTelephonyServiceOfferV6Query"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},g=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/cancelTermination",interceptor:f},changeOfBillingAccount:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/changeOfBillingAccount",interceptor:f,preventLogout:!0},offerChanges:{url:"/telephony/:billingAccount/service/:serviceName/offerChanges",method:"GET",isArray:!0,cache:e},offerChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"GET",isArray:!1},cancelOfferChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"DELETE"},changeOffer:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"POST",isArray:!1},diagnosticReports:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/diagnosticReports",isArray:!0},directory:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory"},changeDirectory:{method:"PUT",url:"/telephony/:billingAccount/service/:serviceName/directory"},getDirectoryServiceCode:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getDirectoryServiceCode",isArray:!0},getDirectoryWayTypes:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getWayTypes",isArray:!0},fetchDirectoryEntrepriseInformations:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/directory/fetchEntrepriseInformations"}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll(),e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionAapi");return a("/telephony/:billingAccount/consumption",{billingAccount:"@billingAccount"},{get:{serviceType:"aapi",isArray:!1,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV7")},Aapi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionV6"),d=b("OvhApiTelephonyServiceVoiceConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0},callDiagnostics:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId/callDiagnostics",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/task/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAapi",["$resource",function(a){"use strict";return a("/telephony",{},{query:{method:"GET",serviceType:"aapi",isArray:!0},count:{method:"GET",url:"/telephony/count",serviceType:"aapi",isArray:!1},infra:{method:"GET",url:"/telephony/infra/:billingAccount",serviceType:"aapi",isArray:!1},aliasAll:{method:"GET",url:"/telephony/alias/all",serviceType:"aapi",isArray:!0},billingAccounts:{method:"GET",url:"/telephony/all",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephony",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyV6")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},v7:function(){return a.get("OvhApiTelephonyV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyAbbreviatedNumber")},Eventtoken:function(){return a.get("OvhApiTelephonyEventtoken")},Fax:function(){return a.get("OvhApiTelephonyFax")},OfferTask:function(){return a.get("OvhApiTelephonyOfferTask")},Line:function(){return a.get("OvhApiTelephonyLine")},Lines:function(){return a.get("OvhApiTelephonyLines")},Number:function(){return a.get("OvhApiTelephonyNumber")},Redirect:function(){return a.get("OvhApiTelephonyRedirect")},Voicemail:function(){return a.get("OvhApiTelephonyVoicemail")},Service:function(){return a.get("OvhApiTelephonyService")},TimeCondition:function(){return a.get("OvhApiTelephonyTimeCondition")},HistoryConsumption:function(){return a.get("OvhApiTelephonyHistoryConsumption")},HistoryRepaymentConsumption:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumption")},HistoryTollfreeConsumption:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumption")},Screen:function(){return a.get("OvhApiTelephonyScreen")},Portability:function(){return a.get("OvhApiTelephonyPortability")},Scheduler:function(){return a.get("OvhApiTelephonyScheduler")},Aliases:function(){return a.get("OvhApiTelephonyAliases")},Phonebook:function(){return a.get("OvhApiTelephonyPhonebook")},EasyHunting:function(){return a.get("OvhApiTelephonyEasyHunting")},Rsva:function(){return a.get("OvhApiTelephonyRsva")},Conference:function(){return a.get("OvhApiTelephonyConference")},Vxml:function(){return a.get("OvhApiTelephonyVxml")},Trunks:function(){return a.get("OvhApiTelephonyTrunks")},Trunk:function(){return a.get("OvhApiTelephonyTrunk")},OvhPabx:function(){return a.get("OvhApiTelephonyOvhPabx")},Task:function(){return a.get("OvhApiTelephonyTask")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyV6",["$resource","$cacheFactory","OvhApiTelephonyLineAllAapi",function(a,b,c){var d=b("OvhApiTelephonyV6"),e=b("OvhApiTelephonyv6Schema"),f=b("OvhApiTelephonyV6Query"),g={response:function(a){return d.remove(a.config.url),f.removeAll(),c.resetCache(),a.resource}},h=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",cache:d},query:{method:"GET",cache:f,isArray:!0},edit:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g},schema:{method:"GET",url:"/telephony.json",cache:e},billingAccounts:{method:"GET",url:"/telephony",isArray:!0},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:d},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:d},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/cancelTermination"},allowedCreditThreshold:{method:"GET",url:"/telephony/:billingAccount/allowedCreditThreshold",isArray:!0,cache:d},accessories:{method:"GET",isArray:!0,url:"/telephony/accessories",params:{country:"@country"},cache:d},transferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/transferSecurityDeposit"},getServiceInfos:{method:"GET",url:"/telephony/:billingAccount/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/:billingAccount/serviceInfos"},changeContact:{method:"POST",url:"/telephony/:billingAccount/changeContact",isArray:!0},availableDefaultSipDomains:{method:"GET",url:"/telephony/availableDefaultSipDomains",isArray:!0},setDefaultSipDomain:{method:"POST",url:"/telephony/setDefaultSipDomain"},getAmountSecurityDeposit:{method:"GET",url:"/telephony/:billingAccount/amountSecurityDeposit",isArray:!0},getCurrentOrderIds:{method:"GET",url:"/telephony/currentOrderIds",isArray:!0},canTransferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/canTransferSecurityDeposit",isArray:!1,transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:"true"===d.toLowerCase()}),d}},getLineOfferPhones:{method:"GET",url:"/telephony/line/offer/phones",isArray:!0},searchService:{method:"GET",url:"/telephony/searchServices",isArray:!0}});return h.resetCache=function(){d.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTimeConditionConditionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionConditionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionAapi",["$resource","OvhApiTelephonyTimeCondition",function(a,b){"use strict";return a("/telephony/:billingAccount/timeCondition",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getConditions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition",method:"GET",serviceType:"aapi",cache:b.cache,isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{v6:function(){return a.get("OvhApiTelephonyTimeConditionV6")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionV6",["$resource","OvhApiTelephonyTimeCondition",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/timeCondition/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"GET",cache:b.cache,isArray:!1},setOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"PUT",interceptor:c,isArray:!1},addCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"POST",interceptor:c,isArray:!1},updateCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"PUT",interceptor:c,isArray:!1},deleteCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"DELETE",interceptor:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number",{billingAccount:"@billingAccount",serviceName:"@serviceName",number:"@number"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber",isArray:!1},validate:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number/validate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkV6")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getChannelsPacksRepartition:{method:"GET",url:"/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunksV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksV6"),d=b("OvhApiTelephonyTrunksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/trunks/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/trunks/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/trunks/:serviceName/serviceInfos",interceptor:e},changeContact:{method:"POST",url:"/telephony/trunks/:serviceName/changeContact",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV6")},v7:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesV6"),d=b("OvhApiTelephonyVoicemailDirectoriesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailGreetingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsV6"),d=b("OvhApiTelephonyVoicemailGreetingsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/greetings/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailV6")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories"); -},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtpV6",["$resource","OvhApiXdslModemFtp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ftp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemIpsecAlg");return{v6:function(){return b.get("OvhApiXdslModemIpsecAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlgV6",["$resource","OvhApiXdslModemIpsecAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ipsecAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses/:MACAddress",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName",MACAddress:"@MACAddress"},{update:{method:"PUT"},post:{method:"POST",url:"/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLanDhcpAapi"),d=a("/xdsl/:xdslId/modem/lan/dhcp",{xdslId:"@xdslId"},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpV6")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpV6",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpV6"),e={response:function(a){return c.resetCache(),d.removeAll(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanAapi",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/lan/details",{xdslId:"@xdslId"},{getLanDetails:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{v6:function(){return a.get("OvhApiXdslModemLanV6")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanV6",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName",{xdslId:"@xdslId",lanName:"@lanName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPortAapi"),d=a("/xdsl/:xdslId/modem/portMappings",{xdslId:"@xdslId"},{query:{serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{v6:function(){return a.get("OvhApiXdslModemPortV6")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortV6",["$resource","OvhApiXdslModemPort",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/portMappings/:name",{xdslId:"@xdslId",name:"@name"},{get:{method:"GET",cache:b.cache},query:{method:"GET",isArray:!0,cache:b.cache},update:{method:"PUT",interceptor:c},post:{method:"POST",url:"/xdsl/:xdslId/modem/portMappings",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{v6:function(){return a.get("OvhApiXdslModemRebootV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{v6:function(){return a.get("OvhApiXdslModemResetV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"},{reset:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemSipAlg");return{v6:function(){return b.get("OvhApiXdslModemSipAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlgV6",["$resource","OvhApiXdslModemSipAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/sipAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemUpnp");return{v6:function(){return b.get("OvhApiXdslModemUpnpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnpV6",["$resource","OvhApiXdslModemUpnp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/upnp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiAapi",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/wifi/details",{xdslId:"@xdslId"},{getWifiDetails:{method:"GET",url:"/xdsl/:xdslId/modem/wifi/details",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{v6:function(){return a.get("OvhApiXdslModemWifiV6")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiV6",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/wifi/:wifiName",{xdslId:"@xdslId",wifiName:"@wifiName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemAapi",["$resource","Poller","OvhApiXdslModem",function(a,b,c){"use strict";var d=a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:c.cache},query:{method:"GET",cache:c.cache,isArray:!0}});return d.poll=function(a,c){var d=["/xdsl/",c.xdslId,"/modem/tasks"].join("");return a&&a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},namespace:c.namespace})},d}]),angular.module("ovh-api-services").service("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{v6:function(){return a.get("OvhApiXdslModemV6")},Aapi:function(){return a.get("OvhApiXdslModemAapi")},resetCache:function(){c.removeAll()},ConnectedDevices:function(){return a.get("OvhApiXdslModemDevices")},Lan:function(){return a.get("OvhApiXdslModemLan")},Port:function(){return a.get("OvhApiXdslModemPort")},Reboot:function(){return a.get("OvhApiXdslModemReboot")},Reset:function(){return a.get("OvhApiXdslModemReset")},Wifi:function(){return a.get("OvhApiXdslModemWifi")},AvailableWLANChannel:function(){return a.get("OvhApiXdslModemAvailableWLANChannel")},Firmware:function(){return a.get("OvhApiXdslModemFirmware")},BlocIp:function(){return a.get("OvhApiXdslModemBlocIp")},CallWaiting:function(){return a.get("OvhApiXdslModemCallWaiting")},ContentSharing:function(){return a.get("OvhApiXdslModemContentSharing")},Ftp:function(){return a.get("OvhApiXdslModemFtp")},IpsecAlg:function(){return a.get("OvhApiXdslModemIpsecAlg")},SipAlg:function(){return a.get("OvhApiXdslModemSipAlg")},Upnp:function(){return a.get("OvhApiXdslModemUpnp")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemV6",["$resource","OvhApiXdslModem",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsAapi",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c=a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId"},{list:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{v6:function(){return a.get("OvhApiXdslNotificationsV6")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsV6",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId",id:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},add:{method:"POST",interceptor:c},remove:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"DELETE",interceptor:c},update:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowupAapi",["$resource","OvhApiXdslOrderFollowup",function(a,b){"use strict";return a("/xdsl/orderFollowup",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowup",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslOrderFollowup");return{Aapi:function(){return a.get("OvhApiXdslOrderFollowupAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationAapi",["$resource","OvhApiXdslResiliation",function(a,b){"use strict";return a("/xdsl/canCancelResiliation/all",{},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},v6:function(){return a.get("OvhApiXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationV6",["$resource",function(a){"use strict";return a("/xdsl/:serviceName/canCancelResiliation",{serviceName:"@serviceName"},{canCancelResiliation:{url:"/xdsl/:serviceName/canCancelResiliation",method:"GET",transformResponse:function(a){return{value:"true"===a}}},followUp:{url:"/xdsl/:serviceName/resiliationFollowup",method:"GET",isArray:!1},cancelResiliation:{url:"/xdsl/:serviceName/cancelResiliation",method:"POST"},resiliate:{url:"/xdsl/:serviceName/resiliate",method:"POST"},resiliationTerms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrentAapi",["$resource","Poller","OvhApiXdslTasksCurrent",function(a,b,c){"use strict";var d="/xdsl/:xdslId/tasks/current",e=a(d,{xdslId:"@xdslId"},{query:{method:"GET",cache:c.cache,isArray:!0}});return e.poll=function(a,c){return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d.replace(":xdslId",c.xdslId),{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},e}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrent",["$injector",function(a){"use strict";return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslTasksCurrentAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslAapi",["$resource","OvhApiXdsl",function(a,b){"use strict";var c=a("/xdsl/:serviceName/statistics/:type/period/:period",{xdslId:"@xdslId",type:"@type",period:"@period"},{statistics:{method:"GET",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{v6:function(){return a.get("OvhApiXdslV6")},Aapi:function(){return a.get("OvhApiXdslAapi")},v7:function(){return a.get("OvhApiXdslV7")},Email:function(){return a.get("OvhApiXdslEmail")},Incident:function(){return a.get("OvhApiXdslIncident")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslV6",["$resource","OvhApiXdsl","OvhApiTelecomSidebar",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),b.resetCache(),a.resource}};return a("/xdsl/:xdslId",{xdslId:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},put:{method:"PUT",url:"/xdsl/:xdslId",interceptor:d},getOrder:{method:"GET",url:"/xdsl/:xdslId/orderFollowup",isArray:!0,cache:b.cache},incidents:{method:"GET",cache:b.cache},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:xdslId/requestTotalDeconsolidation",interceptor:d},statistics:{method:"GET",url:"/xdsl/:xdslId/statistics",cache:b.cache},lines:{method:"GET",url:"/xdsl/:xdslId/lines",isArray:!0,cache:b.cache},eligibilityCities:{method:"GET",url:"/xdsl/eligibility/cities",isArray:!0,cancellable:!0},eligibilityStreets:{method:"GET",url:"/xdsl/eligibility/streets",isArray:!0,cancellable:!0},requestPPPLoginMail:{method:"POST",url:"/xdsl/:xdslId/requestPPPLoginMail",interceptor:d},updateInvalidOrMissingRio:{method:"POST",url:"/xdsl/:xdslId/updateInvalidOrMissingRio",interceptor:d},getTasks:{method:"GET",url:"/xdsl/:xdslId/tasks",isArray:!0},getTask:{method:"GET",url:"/xdsl/:xdslId/tasks/:taskId"}})}]),angular.module("ovh-api-services").service("OvhApiXdslV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]); \ No newline at end of file +}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailV6",["$resource","$cacheFactory","$http",function(a,b,c){"use strict";var d=b("OvhApiTelephonyVoicemailV6"),e=b("OvhApiTelephonyVoicemailV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),a.resource}},g=a("/telephony/:billingAccount/voicemail/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:e,isArray:!0},getSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",cache:d},setSettings:{method:"PUT",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",interceptor:f},changePassword:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword",interceptor:f},getNumbersSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"},routing:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/routing",transformResponse:c.defaults.transformResponse.concat(function(a,b,c){return 200===c?{data:a}:null})},changeRouting:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVxmlV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlV6",["$resource",function(a){return a("/telephony/:billingAccount/vxml/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{settings:{method:"GET",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1},save:{method:"PUT",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiUniversesAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiUniversesAapi"),d=a("/universes",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiUniverses",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiUniversesAapi")}}}]),angular.module("ovh-api-services").service("OvhApiValidateAapi",["$resource",function(a){"use strict";return a("/validate",{},{phone:{url:"/validate/phone/:regionCode/:phoneNumber",method:"GET",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiVeeam",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamV6"),d=b("OvhApiVeeamV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeamCloudConnect/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},getDetails:{method:"GET",cache:c},getServiceInfos:{url:"/veeamCloudConnect/:serviceName/serviceInfos",method:"GET",cache:c},getInventories:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"GET",isArray:!0,cache:c},addInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"POST",interceptor:e},getOrderableOffers:{url:"/veeamCloudConnect/:serviceName/orderableUpgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurations:{url:"/order/veeamCloudConnect/:serviceName/upgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurationsPrices:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"GET",cache:c,params:{duration:"@duration"}},createUpgradeOrder:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"POST",interceptor:e,params:{duration:"@duration"}},getInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName",method:"GET",cache:c,params:{inventoryName:"@inventoryName"}},upgradeQuota:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName/upgradeQuota",method:"POST",interceptor:e,params:{inventoryName:"@inventoryName"}},capabilities:{url:"/veeamCloudConnect/:serviceName/capabilities",method:"GET",cache:c},tasks:{url:"/veeamCloudConnect/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeamCloudConnect/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterprise",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamEnterpriseV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterpriseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamEnterpriseV6"),d=b("OvhApiVeeamEnterpriseV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeam/veeamEnterprise/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getServiceInfos:{url:"/veeam/veeamEnterprise/:serviceName/serviceInfos",method:"GET",cache:c},register:{url:"/veeam/veeamEnterprise/:serviceName/register",method:"POST",interceptor:e},update:{url:"/veeam/veeamEnterprise/:serviceName/update",method:"POST",interceptor:e},terminate:{url:"/veeam/veeamEnterprise/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/veeam/veeamEnterprise/:serviceName/confirmTermination",method:"POST",interceptor:e},tasks:{url:"/veeam/veeamEnterprise/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeam/veeamEnterprise/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVpsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsAapi"),d=a("/vps/:serviceName",{serviceName:"@serviceName"},{summary:{url:"/vps/:serviceName/summary",method:"GET",cache:c,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVpsV6")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVpsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsV6"),d=b("OvhApiVpsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vps/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getMonitoring:{url:"/vps/:serviceName/monitoring",method:"GET",period:"@period",type:"@type",cache:c},availableUpgrade:{url:"/vps/:serviceName/availableUpgrade",method:"GET",isArray:!0},version:{url:"/vps/:serviceName/version",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectV6"),d=b("OvhApiVrackCloudProjectV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/cloudProject/:project",{},{query:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},isArray:!0,cache:d},get:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},cache:c},edit:{method:"PUT",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},"delete":{method:"DELETE",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/cloudProject",params:{serviceName:"@serviceName"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudV6"),d=b("OvhApiVrackDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/dedicatedCloud/:dedicatedCloud",{serviceName:"@serviceName",dedicatedCloud:"@dedicatedCloud"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/dedicatedCloud",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedCloudDatacenterV6"),e={response:function(a){return d.remove(a.config.url),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter",{serviceName:"@serviceName",datacenter:"@datacenter"},{allowedVrack:{method:"GET",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/allowedVrack",cache:d,isArray:!0},move:{method:"POST",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/move",interceptor:e}});return f.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedConnectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectV6"),e=b("OvhApiVrackDedicatedConnectV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedConnect/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedConnect",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedServerV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerV6"),e=b("OvhApiVrackDedicatedServerV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedServer/:dedicatedServer",{serviceName:"@serviceName",dedicatedServer:"@dedicatedServer"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedServer",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerInterfaceV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceV6Query"),e={response:function(a){return d.removeAll(),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedServerInterface/:dedicatedServerInterface",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},details:{method:"GET",cache:d,url:"/vrack/:serviceName/dedicatedServerInterfaceDetails",params:{serviceName:"@serviceName"},isArray:!0},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/vrack/:serviceName/dedicatedServerInterface"},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.Aapi().resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpV6"),e=b("OvhApiVrackIpV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/ip/:ip",{serviceName:"@serviceName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/ip",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpLoadBalancingV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackIpLoadBalancingV6"),d=b("OvhApiVrackIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/ipLoadbalancing/:ipLoadbalancing",{serviceName:"@serviceName",ipLoadbalancing:"@ipLoadbalancing"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/ipLoadbalancing",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackLegacyVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackV6"),e=b("OvhApiVrackLegacyVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/legacyVrack/:legacyVrack",{serviceName:"@serviceName",legacyVrack:"@legacyVrack"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/legacyVrack",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackNasha",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackNashaV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaV6"),e=b("OvhApiVrackNashaV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/nasha/:zpool",{serviceName:"@serviceName",zpool:"@zpool"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/nasha",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{v6:function(){return a.get("OvhApiVrackPublicCloudV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","OvhApiVrackPublicCloud","OvhApiCloudProject","OvhApiVrack",function(a,b,c,d){var e={response:function(a){return b.resetCache(),c.resetCache(),d.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName",{serviceName:"@serviceName"},{project:{method:"GET",url:"/vrack/:serviceName/cloudProject/:projectId ",cache:b.cache},projects:{method:"GET",url:"/vrack/:serviceName/cloudProject",isArray:!0,cache:b.cache},addProject:{method:"POST",url:"/vrack/:serviceName/cloudProject",interceptor:e},removeProject:{method:"DELETE",url:"/vrack/:serviceName/cloudProject/:projectId ",interceptor:e}});return f}]),angular.module("ovh-api-services").service("OvhApiVrackAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackAapi"),d=a("/vrack/:serviceName",{serviceName:"@serviceName"},{query:{url:"/vracks",method:"GET",cache:c,serviceType:"aapi",isArray:!0},allowedServices:{url:"/vrack/:serviceName/allowedServices",method:"GET",cache:c,serviceType:"aapi",isArray:!1},services:{url:"/vrack/:serviceName/services",method:"GET",cache:c,serviceType:"aapi",isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},v6:function(){return a.get("OvhApiVrackV6")},CloudProject:function(){return a.get("OvhApiVrackCloudProject")},DedicatedCloud:function(){return a.get("OvhApiVrackDedicatedCloud")},DedicatedServer:function(){return a.get("OvhApiVrackDedicatedServer")},DedicatedServerInterface:function(){return a.get("OvhApiDedicatedServerInterface")},DedicatedConnect:function(){return a.get("OvhApiVrackDedicatedConnect")},Ip:function(){return a.get("OvhApiVrackIp")},LegacyVrack:function(){return a.get("OvhApiVrackLegacyVrack")},Nasha:function(){return a.get("OvhApiVrackNasha")},IpLoadBalancing:function(){return a.get("OvhApiVrackIpLoadBalancing")}}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackV6"),e=b("OvhApiVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.resetCache(),a}},g=a("/vrack/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/vrack.json"},query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},allowedServices:{method:"GET",url:"/vrack/:serviceName/allowedServices",cache:d},tasks:{method:"GET",isArray:!0,url:"/vrack/:serviceName/task"},task:{method:"GET",url:"/vrack/:serviceName/task/:taskId"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiWorkingStatusAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiWorkingStatusAapi"),d=a("/working-status/:product",{product:"@product"},{get:{method:"GET",url:"/working-status/:product",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiWorkingStatus",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiWorkingStatusAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslDeconsolidationV6")},Aapi:function(){return angular.noop}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationV6");return a("/xdsl/:xdslId",{serviceName:"@serviceName"},{terms:{method:"GET",cache:c,url:"/xdsl/:serviceName/totalDeconsolidationTerms"},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:serviceName/requestTotalDeconsolidation"}})}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnosticLines");return{v6:function(){return a.get("OvhApiXdslDiagnosticLinesV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLinesV6",["$resource","Poller","OvhApiXdslDiagnosticLines",function(a,b,c){"use strict";var d={base:"/xdsl/:serviceName/lines/:number/diagnostic",cancel:"/xdsl/:serviceName/lines/:number/diagnostic/cancel",run:"/xdsl/:serviceName/lines/:number/diagnostic/run"},e=function(a){return c.resetCache(),a},f=a(d.base,{serviceName:"@serviceName",number:"@number"},{cancelDiagnostic:{url:d.cancel,method:"POST",isArray:!1,interceptor:e}});return f.runDiagnostic=function(a){var c=d.run.replace(/\/:(\w*)\//g,function(b,c){return"/"+a[c]+"/"});return b.poll(c,{cache:!1},{method:"post",postData:_.omit(a,["serviceName","number"]),interval:3e4,successRule:function(a){return"problem"!==a.status?!0:_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},errorRule:function(a){return _.isEqual(a.status,"problem")&&!_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},namespace:"xdsl_diagnostic_run"})},f.killPollerDiagnostic=function(){return b.kill({namespace:"xdsl_diagnostic_run"})},f}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticAapi",["$resource","Poller",function(a,b){"use strict";var c="/xdsl/:xdslId/diagnostic",d=a(c,{xdslId:"@xdslId"});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)\//g,function(a,b){return"/"+d[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,lastResult:404})},d}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{v6:function(){return a.get("OvhApiXdslDiagnosticV6")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},Lines:function(){return a.get("OvhApiXdslDiagnosticLines")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticV6",["$resource",function(a){"use strict";var b="/xdsl/:xdslId/diagnostic",c=a(b,{xdslId:"@xdslId"},{launchDiagnostic:{method:"POST",isArray:!1}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{v6:function(){return a.get("OvhApiXdslEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityV6",["$resource","OvhApiXdslEligibility",function(a,b){"use strict";return a("/xdsl/eligibility",{},{getCities:{method:"GET",isArray:!0,url:"/xdsl/eligibility/cities",cache:b.cache},getStreets:{method:"GET",isArray:!0,url:"/xdsl/eligibility/streets",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEmailProV6"),d=b("OvhApiXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/xdsl/email/pro/:email",{email:"@email"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changePassword:{method:"POST",interceptor:e,url:"/xdsl/email/pro/:email/changePassword"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiXdslEmail",["$injector",function(a){"use strict";return{Pro:function(){return a.get("OvhApiXdslEmailPro")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIncident",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslIncidentV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIncidentV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiXdslIncidentV6");return b("/xdsl/:serviceName/incident",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiXdslIpsAapi",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c=a("/xdsl/:xdslId/ips",{xdslId:"@xdslId",ipBlock:"@ipBlock"},{ips:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},reverse:{method:"GET",isArray:!0,serviceType:"aapi",url:"/xdsl/reverseDns/:ipBlock",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{v6:function(){return a.get("OvhApiXdslIpsV6")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsV6",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/ipv6",{xdslId:"@xdslId",ipBlock:"@ipBlock",ipReverse:"@ipReverse",ip:"@ip",reverse:"@reverse",ipRange:"@ipRange"},{setIpv6:{method:"POST",interceptor:c},order:{method:"POST",url:"/xdsl/:xdslId/ips",interceptor:c},price:{method:"GET",url:"/price/xdsl/options/ipv4/:ipRange",cache:b.cache},unOrder:{method:"DELETE",url:"/xdsl/:xdslId/ips/:ip",interceptor:c},deleteReverse:{method:"DELETE",url:"/ip/:ipBlock/reverse/:ipReverse",interceptor:c},createReverse:{method:"POST",url:"/ip/:ipBlock/reverse",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortAapi",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c=a("/xdsl/:xdslId/lines/:number/dslamPort",{xdslId:"@xdslId",number:"@number"},{getProfiles:{method:"GET",url:"/xdsl/:xdslId/lines/:number/dslamPort/availableProfiles",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},v6:function(){return a.get("OvhApiXdslLinesDslamPortV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortV6",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c="/:basePath/xdsl/:xdslId/lines/:number/dslamPort",d={response:function(a){return b.resetCache(),a.resource}},e=a(c,{xdslId:"@xdslId",number:"@number"},{changeProfile:{method:"POST",url:c+"/changeProfile",interceptor:d},reset:{method:"POST",url:c+"/reset",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{v6:function(){return a.get("OvhApiXdslLinesV6")},v7:function(){return a.get("OvhApiXdslLinesV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV6",["$resource","OvhApiXdslLines",function(a,b){"use strict";return a("/xdsl/:xdslId/lines/:number",{xdslId:"@xdslId",number:"@number"},{getStatistics:{method:"GET",url:"/xdsl/:xdslId/lines/:number/statistics",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannel",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemAvailableWLANChannel");return{v6:function(){return a.get("OvhApiXdslModemAvailableWLANChannelV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannelV6",["$resource","OvhApiXdslModemAvailableWLANChannel",function(a,b){"use strict";return a("/xdsl/:xdslId/modem/availableWLANChannel",{xdslId:"@xdslId"},{get:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemBlocIp");return{v6:function(){return b.get("OvhApiXdslModemBlocIpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIpV6",["$resource","OvhApiXdslModemBlocIp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/blocIp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaiting",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemCallWaiting");return{v6:function(){return b.get("OvhApiXdslModemCallWaitingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaitingV6",["$resource","OvhApiXdslModemCallWaiting",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/callWaiting",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevicesAapi",["$resource","OvhApiXdslModemDevices",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/connectedDevices",{xdslId:"@xdslId"},{query:{method:"GET",url:"/xdsl/:xdslId/modem/connectedDevices",isArray:!0,serviceType:"aapi",cache:b.cache},refresh:{method:"POST",url:"/xdsl/:xdslId/modem/connectedDevices/refresh",serviceType:"aapi",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevices",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemDevices");return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharing",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemContentSharing");return{v6:function(){return b.get("OvhApiXdslModemContentSharingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharingV6",["$resource","OvhApiXdslModemContentSharing",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/contentSharing",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmware",["$injector","$cacheFactory",function(a,b){ +"use strict";var c=b("OvhApiXdslModemFirmware");return{v6:function(){return a.get("OvhApiXdslModemFirmwareV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmwareV6",["$resource","OvhApiXdslModemFirmware",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/firmware",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c},available:{method:"GET",url:"/xdsl/:xdslId/modem/firmwareAvailable",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemFtp");return{v6:function(){return b.get("OvhApiXdslModemFtpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtpV6",["$resource","OvhApiXdslModemFtp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ftp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemIpsecAlg");return{v6:function(){return b.get("OvhApiXdslModemIpsecAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlgV6",["$resource","OvhApiXdslModemIpsecAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ipsecAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses/:MACAddress",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName",MACAddress:"@MACAddress"},{update:{method:"PUT"},post:{method:"POST",url:"/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLanDhcpAapi"),d=a("/xdsl/:xdslId/modem/lan/dhcp",{xdslId:"@xdslId"},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpV6")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpV6",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpV6"),e={response:function(a){return c.resetCache(),d.removeAll(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanAapi",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/lan/details",{xdslId:"@xdslId"},{getLanDetails:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{v6:function(){return a.get("OvhApiXdslModemLanV6")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanV6",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName",{xdslId:"@xdslId",lanName:"@lanName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPortAapi"),d=a("/xdsl/:xdslId/modem/portMappings",{xdslId:"@xdslId"},{query:{serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{v6:function(){return a.get("OvhApiXdslModemPortV6")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortV6",["$resource","OvhApiXdslModemPort",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/portMappings/:name",{xdslId:"@xdslId",name:"@name"},{get:{method:"GET",cache:b.cache},query:{method:"GET",isArray:!0,cache:b.cache},update:{method:"PUT",interceptor:c},post:{method:"POST",url:"/xdsl/:xdslId/modem/portMappings",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{v6:function(){return a.get("OvhApiXdslModemRebootV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{v6:function(){return a.get("OvhApiXdslModemResetV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"},{reset:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemSipAlg");return{v6:function(){return b.get("OvhApiXdslModemSipAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlgV6",["$resource","OvhApiXdslModemSipAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/sipAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemUpnp");return{v6:function(){return b.get("OvhApiXdslModemUpnpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnpV6",["$resource","OvhApiXdslModemUpnp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/upnp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiAapi",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/wifi/details",{xdslId:"@xdslId"},{getWifiDetails:{method:"GET",url:"/xdsl/:xdslId/modem/wifi/details",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{v6:function(){return a.get("OvhApiXdslModemWifiV6")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiV6",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/wifi/:wifiName",{xdslId:"@xdslId",wifiName:"@wifiName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemAapi",["$resource","Poller","OvhApiXdslModem",function(a,b,c){"use strict";var d=a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:c.cache},query:{method:"GET",cache:c.cache,isArray:!0}});return d.poll=function(a,c){var d=["/xdsl/",c.xdslId,"/modem/tasks"].join("");return a&&a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},namespace:c.namespace})},d}]),angular.module("ovh-api-services").service("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{v6:function(){return a.get("OvhApiXdslModemV6")},Aapi:function(){return a.get("OvhApiXdslModemAapi")},resetCache:function(){c.removeAll()},ConnectedDevices:function(){return a.get("OvhApiXdslModemDevices")},Lan:function(){return a.get("OvhApiXdslModemLan")},Port:function(){return a.get("OvhApiXdslModemPort")},Reboot:function(){return a.get("OvhApiXdslModemReboot")},Reset:function(){return a.get("OvhApiXdslModemReset")},Wifi:function(){return a.get("OvhApiXdslModemWifi")},AvailableWLANChannel:function(){return a.get("OvhApiXdslModemAvailableWLANChannel")},Firmware:function(){return a.get("OvhApiXdslModemFirmware")},BlocIp:function(){return a.get("OvhApiXdslModemBlocIp")},CallWaiting:function(){return a.get("OvhApiXdslModemCallWaiting")},ContentSharing:function(){return a.get("OvhApiXdslModemContentSharing")},Ftp:function(){return a.get("OvhApiXdslModemFtp")},IpsecAlg:function(){return a.get("OvhApiXdslModemIpsecAlg")},SipAlg:function(){return a.get("OvhApiXdslModemSipAlg")},Upnp:function(){return a.get("OvhApiXdslModemUpnp")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemV6",["$resource","OvhApiXdslModem",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsAapi",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c=a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId"},{list:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{v6:function(){return a.get("OvhApiXdslNotificationsV6")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsV6",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId",id:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},add:{method:"POST",interceptor:c},remove:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"DELETE",interceptor:c},update:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowupAapi",["$resource","OvhApiXdslOrderFollowup",function(a,b){"use strict";return a("/xdsl/orderFollowup",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowup",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslOrderFollowup");return{Aapi:function(){return a.get("OvhApiXdslOrderFollowupAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationAapi",["$resource","OvhApiXdslResiliation",function(a,b){"use strict";return a("/xdsl/canCancelResiliation/all",{},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},v6:function(){return a.get("OvhApiXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationV6",["$resource",function(a){"use strict";return a("/xdsl/:serviceName/canCancelResiliation",{serviceName:"@serviceName"},{canCancelResiliation:{url:"/xdsl/:serviceName/canCancelResiliation",method:"GET",transformResponse:function(a){return{value:"true"===a}}},followUp:{url:"/xdsl/:serviceName/resiliationFollowup",method:"GET",isArray:!1},cancelResiliation:{url:"/xdsl/:serviceName/cancelResiliation",method:"POST"},resiliate:{url:"/xdsl/:serviceName/resiliate",method:"POST"},resiliationTerms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrentAapi",["$resource","Poller","OvhApiXdslTasksCurrent",function(a,b,c){"use strict";var d="/xdsl/:xdslId/tasks/current",e=a(d,{xdslId:"@xdslId"},{query:{method:"GET",cache:c.cache,isArray:!0}});return e.poll=function(a,c){return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d.replace(":xdslId",c.xdslId),{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},e}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrent",["$injector",function(a){"use strict";return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslTasksCurrentAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslAapi",["$resource","OvhApiXdsl",function(a,b){"use strict";var c=a("/xdsl/:serviceName/statistics/:type/period/:period",{xdslId:"@xdslId",type:"@type",period:"@period"},{statistics:{method:"GET",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{v6:function(){return a.get("OvhApiXdslV6")},Aapi:function(){return a.get("OvhApiXdslAapi")},v7:function(){return a.get("OvhApiXdslV7")},Email:function(){return a.get("OvhApiXdslEmail")},Incident:function(){return a.get("OvhApiXdslIncident")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslV6",["$resource","OvhApiXdsl","OvhApiTelecomSidebar",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),b.resetCache(),a.resource}};return a("/xdsl/:xdslId",{xdslId:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},put:{method:"PUT",url:"/xdsl/:xdslId",interceptor:d},getOrder:{method:"GET",url:"/xdsl/:xdslId/orderFollowup",isArray:!0,cache:b.cache},incidents:{method:"GET",cache:b.cache},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:xdslId/requestTotalDeconsolidation",interceptor:d},statistics:{method:"GET",url:"/xdsl/:xdslId/statistics",cache:b.cache},lines:{method:"GET",url:"/xdsl/:xdslId/lines",isArray:!0,cache:b.cache},eligibilityCities:{method:"GET",url:"/xdsl/eligibility/cities",isArray:!0,cancellable:!0},eligibilityStreets:{method:"GET",url:"/xdsl/eligibility/streets",isArray:!0,cancellable:!0},requestPPPLoginMail:{method:"POST",url:"/xdsl/:xdslId/requestPPPLoginMail",interceptor:d},updateInvalidOrMissingRio:{method:"POST",url:"/xdsl/:xdslId/updateInvalidOrMissingRio",interceptor:d},getTasks:{method:"GET",url:"/xdsl/:xdslId/tasks",isArray:!0},getTask:{method:"GET",url:"/xdsl/:xdslId/tasks/:taskId"}})}]),angular.module("ovh-api-services").service("OvhApiXdslV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]); \ No newline at end of file diff --git a/src/me/me.service.js b/src/me/me.service.js index 83ee16b5..79032a6c 100644 --- a/src/me/me.service.js +++ b/src/me/me.service.js @@ -72,6 +72,9 @@ angular.module("ovh-api-services").service("OvhApiMe", function ($injector) { }, Payment: function () { return $injector.get("OvhApiMePayment"); + }, + VoucherAccount: function () { + return $injector.get("OvhApiMeVoucherAccount"); } }; }); diff --git a/src/me/voucherAccount/me-voucherAccount.service.js b/src/me/voucherAccount/me-voucherAccount.service.js new file mode 100644 index 00000000..63f60d9b --- /dev/null +++ b/src/me/voucherAccount/me-voucherAccount.service.js @@ -0,0 +1,11 @@ +angular.module("ovh-api-services").service("OvhApiMeVoucherAccount", function ($injector) { + "use strict"; + return { + v6: function () { + return $injector.get("OvhApiMeVoucherAccountV6"); + }, + Movements: function () { + return $injector.get("OvhApiMeVoucherAccountMovements"); + } + }; +}); diff --git a/src/me/voucherAccount/me-voucherAccount.v6.service.js b/src/me/voucherAccount/me-voucherAccount.v6.service.js new file mode 100644 index 00000000..ba810ced --- /dev/null +++ b/src/me/voucherAccount/me-voucherAccount.v6.service.js @@ -0,0 +1,8 @@ +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountV6", function ($resource) { + "use strict"; + + return $resource("/me/voucherAccount/:voucherAccountId", { + voucherAccountId: "@voucherAccountId" + }); + +}); diff --git a/src/me/voucherAccount/movements/me-voucherAccount-movements.service.js b/src/me/voucherAccount/movements/me-voucherAccount-movements.service.js new file mode 100644 index 00000000..1aa0f434 --- /dev/null +++ b/src/me/voucherAccount/movements/me-voucherAccount-movements.service.js @@ -0,0 +1,8 @@ +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovements", function ($injector) { + "use strict"; + return { + v6: function () { + return $injector.get("OvhApiMeVoucherAccountMovementsV6"); + } + }; +}); diff --git a/src/me/voucherAccount/movements/me-voucherAccount-movements.v6.service.js b/src/me/voucherAccount/movements/me-voucherAccount-movements.v6.service.js new file mode 100644 index 00000000..73b5ef43 --- /dev/null +++ b/src/me/voucherAccount/movements/me-voucherAccount-movements.v6.service.js @@ -0,0 +1,9 @@ +angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovementsV6", function ($resource) { + "use strict"; + + return $resource("/me/voucherAccount/:voucherAccountId/movements/:movementId", { + voucherAccountId: "@voucherAccountId", + movementId: "@movementId" + }); + +});