From 16533f8a0043117283e56456de00fcbd22f9b79c Mon Sep 17 00:00:00 2001 From: "jean-christophe.alleman" Date: Tue, 14 Nov 2017 12:14:37 +0100 Subject: [PATCH] feat(telephony): add voicemail settings routing api bindings --- dist/ovh-api-services.js | 21 ++++++++++++++++--- dist/ovh-api-services.min.js | 6 +++--- .../telephony-voicemail.lexi.service.js | 21 ++++++++++++++++--- 3 files changed, 39 insertions(+), 9 deletions(-) diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index 08dfd707..1f1e17d4 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -16021,9 +16021,8 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings", }; }]); -"use strict"; - -angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$resource", "$cacheFactory", function ($resource, $cacheFactory) { +angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$resource", "$cacheFactory", "$http", function ($resource, $cacheFactory, $http) { + "use strict"; var cache = $cacheFactory("OvhApiTelephonyVoicemailLexi"); var queryCache = $cacheFactory("OvhApiTelephonyVoicemailLexiQuery"); @@ -16075,6 +16074,22 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$re getNumbersSettings: { method: "GET", url: "/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers" + }, + routing: { + method: "GET", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/routing", + transformResponse: $http.defaults.transformResponse.concat(function (data, headers, status) { + if (status === 200) { + return { + data: data + }; + } + return null; + }) + }, + changeRouting: { + method: "POST", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting" } }); diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 105be77f..dff91296 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -1,4 +1,4 @@ -/*! ovh-api-services - 2.1.6 - 2017-10-19 */ +/*! ovh-api-services - 2.1.6 - 2017-11-14 */ angular.module("ovh-api-services",[]),angular.module("ovh-api-services").service("OvhApiAuthLexi",["$resource",function(a){"use strict";return a("/auth",{},{logout:{url:"/auth/logout",method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiAuth",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiAuthLexi")}}}]),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("OvhApiCdnDedicatedLexi",["$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}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicated",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnDedicated");return{Lexi:function(){return a.get("OvhApiCdnDedicatedLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebsiteLexi",["$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("OvhApiCdnWebsite",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebsite");return{Lexi:function(){return a.get("OvhApiCdnWebsiteLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebstorageLexi",["$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("OvhApiCdnWebstorage",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebstorage");return{Lexi:function(){return a.get("OvhApiCdnWebstorageLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiCloudLexi",["$resource","OvhApiCloudProjectLexi","OvhApiVrack",function(a,b,c){var d={response:function(a){return b.resetAllCache(),c.Lexi().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"}})}]),angular.module("ovh-api-services").service("OvhApiCloud",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudLexi")},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("OvhApiCloudPCALexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPCALexiQuery"),d=b("OvhApiCloudPCALexi"),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("OvhApiCloudPCA",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudPCALexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudPriceLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPriceLexi");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("OvhApiCloudPrice",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudPriceLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAclLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAclLexiQuery"),d=b("OvhApiCloudProjectAclLexi"),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("OvhApiCloudProjectAcl",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectAclLexi")}}}]),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("OvhApiCloudProjectAlertingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAlertingLexiQuery"),d=b("OvhApiCloudProjectAlertingLexi"),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("OvhApiCloudProjectAlerting",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectAlertingLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBillLexi",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/bill",{serviceName:"@serviceName",from:"@from",to:"@to"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBill",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectBillLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectLexi",["$resource","$q","OvhApiCloudProject",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.data}},e=a("/cloud/project/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},unleash:{url:"/cloud/project/:serviceName/unleash",method:"POST",interceptor:d},put:{url:"/cloud/project/:serviceName",method:"PUT",interceptor:d},"delete":{url:"/cloud/project/:serviceName/terminate",method:"POST",interceptor:d},cancelCreation:{url:"/cloud/project/:serviceName/cancel",method:"POST",interceptor:d},vrack:{url:"/cloud/project/:serviceName/vrack",method:"GET"}});return e.queryDetails=function(){return e.query().$promise.then(function(a){var c=[];return angular.forEach(a,function(a){c.push(e.get({serviceName:a}).$promise)}),b.all(c)})},e.resetAllCache=function(){c.resetCache()},e.resetCache=function(){c.resetCache()},e.resetQueryCache=function(){c.resetCache()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProject",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("CloudProject");return{Lexi:function(){return a.get("OvhApiCloudProjectLexi")},resetCache:c.removeAll,cache:c,Acl:function(){return a.get("OvhApiCloudProjectAcl")},Flavor:function(){return a.get("OvhApiCloudProjectFlavor")},Image:function(){return a.get("OvhApiCloudProjectImage")},Instance:function(){return a.get("OvhApiCloudProjectInstance")},Ip:function(){return a.get("OvhApiCloudProjectIp")},Region:function(){return a.get("OvhApiCloudProjectRegion")},Snapshot:function(){return a.get("OvhApiCloudProjectSnapshot")},SshKey:function(){return a.get("OvhApiCloudProjectSshKey")},Credit:function(){return a.get("OvhApiCloudProjectCredit")},User:function(){return a.get("OvhApiCloudProjectUser")},ServiceInfos:function(){return a.get("OvhApiCloudProjectServiceInfos")},Alerting:function(){return a.get("OvhApiCloudProjectAlerting")},Bill:function(){return a.get("OvhApiCloudProjectBill")},Migration:function(){return a.get("OvhApiCloudProjectMigration")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectConsumptionLexi",["$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("OvhApiCloudProjectConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectConsumptionLexi")}}}]),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("OvhApiCloudProjectCreditLexi",["$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.lexi.get},query:{method:"GET",cache:b.cache.lexi.query,isArray:!0},save:{method:"POST",interceptor:c}});return d.resetCache=function(){b.cache.lexi.get.removeAll()},d.resetQueryCache=function(){b.cache.lexi.query.removeAll(),b.cache.aapi.query.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCredit",["$injector","$cacheFactory",function(a,b){"use strict";var c={lexi:{query:b("OvhApiCloudProjectCreditLexiQuery"),get:b("OvhApiCloudProjectCreditLexi")},aapi:{query:b("OvhApiCloudProjectCreditAapiQuery")}};return{Lexi:function(){return a.get("OvhApiCloudProjectCreditLexi")},Aapi:function(){return a.get("OvhApiCloudProjectCreditAapi")},resetCache:function(){c.lexi.query.removeAll(),c.lexi.get.removeAll(),c.aapi.query.removeAll()},cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavorLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectFlavorLexi");return a("/cloud/project/:serviceName/flavor/:flavorId",{serviceName:"@serviceName",flavorId:"@flavorId"},{get:{method:"GET",cache:c,transformResponse:function(a,b,c){var d=a;return 200===c&&(d=angular.fromJson(d),d.typeGeneric=_.snakeCase(d.type),d.groupName=d.name.replace(/^win\-/,"")),d}},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),angular.forEach(d,function(a){a.typeGeneric=_.snakeCase(a.type),a.groupName=a.name.replace(/^win\-/,"")}),_.sortBy(d,function(a){return/(\d+)/.test(a.name)?parseInt(a.name.match(/(\d+)/)[0],10):a.name})):d}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavor",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectFlavorLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecastLexi",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/forecast",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecast",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectForecastLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImageLexi",["$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("OvhApiCloudProjectImageLexi"),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/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("OvhApiCloudProjectImage",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectImageLexi")}}}]),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("OvhApiCloudProjectInstanceLexi",["$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("OvhApiCloudProjectInstance",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstance");return{Lexi:function(){return a.get("OvhApiCloudProjectInstanceLexi")},Aapi:function(){return a.get("OvhApiCloudProjectInstanceAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpLexiQuery"),d=b("OvhApiCloudProjectIpLexi"),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("OvhApiCloudProjectIp",["OvhApiCloudProjectIpFailover",function(a){"use strict";return{failover:a}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailoverLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpFailoverLexiQuery"),d=b("OvhApiCloudProjectIpFailoverLexi"),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("OvhApiCloudProjectIpFailover",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectIpFailoverLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectMigrationLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectMigrationLexiQuery"),d=b("OvhApiCloudProjectMigrationLexi"),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("OvhApiCloudProjectMigration",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectMigrationLexi")}}}]),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("OvhApiCloudProjectNetworkPrivateLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateLexiQuery"),d=b("OvhApiCloudProjectNetworkPrivateLexi"),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("OvhApiCloudProjectNetworkPrivate",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectNetworkPrivateLexi")},Subnet:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnet")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateSubnetLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateSubnetLexiQuery"),d=b("OvhApiCloudProjectNetworkPrivateSubnetLexi"),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("OvhApiCloudProjectNetworkPrivateSubnet",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnetLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPublicLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPublicLexiQuery"),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("OvhApiCloudProjectNetworkPublic",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectNetworkPublicLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectQuotaLexi",["$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("OvhApiCloudProjectQuota",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectQuotaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionLexiQuery"),d=b("OvhApiCloudProjectRegionLexi"),e=a("/cloud/project/:serviceName/region/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),d.sort()):d}}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegion",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectRegionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfosLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectServiceInfosLexiQuery"),d=b("OvhApiCloudProjectServiceInfosLexi"),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("OvhApiCloudProjectServiceInfos",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectServiceInfosLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshotLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSnapshotLexiQuery"),d=b("OvhApiCloudProjectSnapshotLexi"),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("OvhApiCloudProjectSnapshot",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectSnapshotLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKeyLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSshKeyLexiQuery"),d=b("OvhApiCloudProjectSshKeyLexi"),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("OvhApiCloudProjectSshKey",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectSshKeyLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorageLexi",["$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("OvhApiCloudProjectStorage",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectStorageLexi")}}}]),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("OvhApiCloudProjectUsageCurrentLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageCurrentLexi"),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("OvhApiCloudProjectUsageCurrent",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectUsageCurrentLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecastLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageForecastLexi"),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("OvhApiCloudProjectUsageForecast",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectUsageForecastLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistoryLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageHistoryLexiQuery"),d=b("OvhApiCloudProjectUsageHistoryLexi"),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("OvhApiCloudProjectUsageHistory",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectUsageHistoryLexi")}}}]),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("OvhApiCloudProjectUserLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUserLexiQuery"),d=b("OvhApiCloudProjectUserLexi"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=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"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUser",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectUserLexi")},Aapi:function(){return a.get("OvhApiCloudProjectUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeLexiQuery"),d=b("OvhApiCloudProjectVolumeLexi"),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("OvhApiCloudProjectVolume",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiCloudProjectVolumeLexi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshotLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeSnapshotLexiQuery"),d=b("OvhApiCloudProjectVolumeSnapshotLexi"),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("OvhApiCloudProjectVolumeSnapshot",["$injector",function(a){"use strict";return{Tera:angular.noop,Lexi:function(){return a.get("OvhApiCloudProjectVolumeSnapshotLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaas",["$injector",function(a){"use strict";return{Queue:function(){return a.get("OvhApiDbaasQueue")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueKeyLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueKeyLexi"),d=b("OvhApiDbaasQueueKeyLexiQuery"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/queue/:appId/key/:keyId",{appId:"@appId",keyId:"@keyId"},{create:{method:"POST",interceptor:e},get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e},changeSecret:{method:"POST",url:"/dbaas/queue/:appId/key/:keyId/changeSecret"},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueKey",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDbaasQueueKeyLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueLexi"),d=b("OvhApiDbaasQueueLexiQuery"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/queue/:appId",{appId:"@appId"},{configure:{method:"POST",url:"/dbaas/queue/:appId/configure",interceptor:e},get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasQueue",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDbaasQueueLexi")},Key:function(){return a.get("OvhApiDbaasQueueKey")},Region:function(){return a.get("OvhApiDbaasQueueRegion")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueRegionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueRegionLexi"),d=b("OvhApiDbaasQueueRegionLexiQuery"),e=a("/dbaas/queue/region",{regionId:"@regionId"},{get:{method:"GET",cache:c,url:"/dbaas/queue/region/:regionId"},query:{method:"GET",cache:d,isArray:!0}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueRegion",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDbaasQueueRegionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsLexi",["$resource",function(a){"use strict";return a("/dbaasts",{},{schema:{method:"GET",url:"/dbaasts.json"},createProject:{url:"/dbaas/timeseries/project",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiDBaasTs",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsLexi")},Region:function(){return a.get("OvhApiDBaasTsRegion")},Project:function(){return a.get("OvhApiDBaasTsProject")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectBillingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsProjectBillingLexi"),d=a("/dbaas/timeseries/:serviceName/consumption",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectBilling",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsProjectBillingLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectLexi",["$resource","$q","$cacheFactory",function(a,b,c){"use strict";var d=c("OvhApiDBaasTsProjectLexiQuery"),e=c("OvhApiDBaasTsProjectLexi"),f={response:function(a){return e.remove(a.config.url),d.removeAll(),a.data}},g=a("/dbaas/timeseries/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:e},update:{method:"PUT",interceptor:f},setup:{method:"POST",url:"/dbaas/timeseries/:serviceName/setup",interceptor:f}});return g.queryDetails=function(){var a=[];return g.query().$promise.then(function(c){return angular.forEach(c,function(b){a.push(g.get({serviceName:b}).$promise)}),b.allSettled(a).then(function(a){return a},function(a){for(var b=[],c=a.length-1;c>=0;c--){var d=a[c];d.serviceName&&b.push(d)}return b})})},g.resetAllCache=function(){g.resetCache(),g.resetQueryCache()},g.resetCache=function(){e.removeAll()},g.resetQueryCache=function(){d.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProject",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsProjectLexi")},Key:function(){return a.get("OvhApiDBaasTsProjectKey")},Quota:function(){return a.get("OvhApiDBaasTsProjectQuota")},Billing:function(){return a.get("OvhApiDBaasTsProjectBilling")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectKeyLexi",["$resource","$q","$cacheFactory",function(a,b,c){"use strict";var d=c("OvhApiDBaasTsProjectKeyLexiQuery"),e=c("OvhApiDBaasTsProjectKeyLexi"),f={response:function(a){return e.remove(a.config.url),d.removeAll(),a.data}},g=a("/dbaas/timeseries/:serviceName/key/:keyId",{serviceName:"@serviceName",keyId:"@keyId"},{get:{method:"GET",cache:e},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:f},"delete":{method:"DELETE",interceptor:f},update:{method:"PUT",interceptor:f}});return g.queryDetails=function(a){var c=[];return g.query({serviceName:a}).$promise.then(function(d){return angular.forEach(d,function(b){c.push(g.get({serviceName:a,keyId:b}).$promise)}),b.all(c)})},g.resetAllCache=function(){g.resetCache(),g.resetQueryCache()},g.resetCache=function(){e.removeAll()},g.resetQueryCache=function(){d.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectKey",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsProjectKeyLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectQuotaLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsProjectQuotaLexiQuery"),d=b("OvhApiDBaasTsProjectQuotaLexi"),e=a("/dbaas/timeseries/:serviceName/quota",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},enlarge:{method:"POST",url:"/dbaas/timeseries/:serviceName/quota/enlarge"}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectQuota",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsProjectQuotaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsRegionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsRegionLexiQuery"),d=a("/dbaas/timeseries/region",{},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDBaasTsRegion",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDBaasTsRegionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephAclLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephAclLexi"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/acl/:aclId",{serviceName:"@serviceName",aclId:"@aclId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:d,url:"/dedicated/ceph/:serviceName/acl",params:{aclList:"@aclList"}},"delete":{method:"DELETE"}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephAcl",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephAclLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephLexiSchema"),d=b("OvhApiDedicatedCephLexiQuery"),e={response:function(a){return d.removeAll(),a}},f=a("/dedicated/ceph/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",cache:c,url:"/dedicated/ceph.json"},query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},put:{method:"PUT",interceptor:e},health:{url:"/dedicated/ceph/:serviceName/health",method:"GET"}});return f.resetAllCache=function(){f.resetSchemaCache(),f.resetQueryCache(),f.resetOtherCache()},f.resetSchemaCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCeph",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephLexi")},User:function(){return a.get("OvhApiDedicatedCephUser")},Acl:function(){return a.get("OvhApiDedicatedCephAcl")},Pool:function(){return a.get("OvhApiDedicatedCephPool")},Task:function(){return a.get("OvhApiDedicatedCephTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephPoolLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephPoolLexi"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/pool/:poolName",{serviceName:"@serviceName",poolName:"@poolName"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:d,url:"/dedicated/ceph/:serviceName/pool",params:{poolName:"@poolName"}},"delete":{method:"DELETE",interceptor:d}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephPool",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephPoolLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephTaskLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephTaskLexi"),d=a("/dedicated/ceph/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c}});return d.resetAllCache=function(){d.resetQueryCache()},d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephTaskLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephUserAapi"),d=a("/dedicated/ceph/:serviceName/user",{serviceName:"@serviceName"},{users:{url:"/dedicated/ceph/:serviceName/user",method:"GET",cache:c,serviceType:"aapi",isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserLexi",["$resource","$cacheFactory","OvhApiDedicatedCephUserAapi",function(a,b,c){"use strict";var d=b("OvhApiDedicatedCephUserLexi"),e={response:function(a){return d.removeAll(),a}},f=a("/dedicated/ceph/:serviceName/user/:userName",{serviceName:"@serviceName",userName:"@userName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},post:{method:"POST",interceptor:e,url:"/dedicated/ceph/:serviceName/user",params:{userName:"@userName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUser",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephUserLexi")},Pool:function(){return a.get("OvhApiDedicatedCephUserPool")},Aapi:function(){return a.get("OvhApiDedicatedCephUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserPoolLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephUserPoolLexi"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/user/:userName/pool",{serviceName:"@serviceName",userName:"@userName"},{query:{method:"GET",cache:c,isArray:!0},post:{method:"POST",interceptor:d},put:{method:"PUT",interceptor:d}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserPool",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCephUserPoolLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedHousingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedHousingLexi"),d=b("OvhApiDedicatedHousingLexiQuery"),e=a("/dedicated/housing/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{url:"/dedicated/housing/:serviceName/serviceInfos",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedHousing",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedHousingLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNasLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNasLexi"),d=b("OvhApiDedicatedNasLexiQuery"),e=a("/dedicated/nas/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{url:"/dedicated/nas/:serviceName/serviceInfos",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNas",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNasLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaAapi"),d=a("/dedicated/nasha/:serviceName",{serviceName:"@serviceName"},{get:{url:"/dedicated/nasha/:serviceName",method:"GET",cache:c,serviceType:"aapi",isArray:!1},partitions:{url:"/dedicated/nasha/:serviceName/partitions",method:"GET",cache:c,serviceType:"aapi",isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaLexi"),d=b("OvhApiDedicatedNashaLexiSchema"),e=b("OvhApiDedicatedNashaLexiQuery"),f=a("/dedicated/nasha/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",cache:d,url:"/dedicated/nasha.json"},query:{method:"GET",cache:e,isArray:!0},get:{method:"GET",cache:e},getServiceInfos:{url:"/dedicated/nasha/:serviceName/serviceInfos",method:"GET",cache:c},use:{method:"GET",url:"/dedicated/nasha/:serviceName/use",cache:c,params:{type:"@type"}},updateDetail:{method:"PUT",url:"/dedicated/nasha/:serviceName",params:{customName:"@customName",monitored:"@monitored"}}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetSchemaCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetSchemaCache=function(){d.removeAll()},f.resetQueryCache=function(){e.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedNasha",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDedicatedNashaAapi")},Lexi:function(){return a.get("OvhApiDedicatedNashaLexi")},Partition:function(){return a.get("OvhApiDedicatedNashaPartition")},Task:function(){return a.get("OvhApiDedicatedNashaTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccessAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionAccessAapi"),d=a("/dedicated/nasha/:serviceName/partition/:partitionName",{serviceName:"@serviceName",partitionName:"@partitionName"},{authorizableIps:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableIps",isArray:!0,cache:c,method:"GET",serviceType:"aapi"}});return d}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccessLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionAccessLexi"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/access/:ip",{serviceName:"@serviceName",partitionName:"@partitionName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},add:{method:"POST",interceptor:d,url:"/dedicated/nasha/:serviceName/partition/:partitionName/access",params:{type:"@type"}},remove:{method:"DELETE",interceptor:d},getAuthorizableIps:{method:"GET",isArray:!0,url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableIps"},getAuthorizableIpBlocks:{method:"GET",isArray:!0,url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableBlocks"}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccess",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaPartitionAccessLexi")},Aapi:function(){return a.get("OvhApiDedicatedNashaPartitionAccessAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionCustomSnapshotLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionCustomSnapshotLexiQuery"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/customSnapshot/:name",{serviceName:"@serviceName",partitionName:"@partitionName",name:"@name"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},add:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/customSnapshot",method:"POST",interceptor:d,params:{name:"@name",expiration:"@expiration"}},remove:{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionCustomSnapshot",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaPartitionCustomSnapshotLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionLexiQuery"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName",{serviceName:"@serviceName",partitionName:"@partitionName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},use:{method:"GET",url:"/dedicated/nasha/:serviceName/partition/:partitionName/use",cache:c,params:{type:"@type"}},create:{method:"POST",interceptor:d,url:"/dedicated/nasha/:serviceName/partition",params:{partitionName:"@partitionName",protocol:"@protocol",size:"@size"}},update:{method:"PUT",interceptor:d,params:{partitionName:"@partitionName",size:"@size"}},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartition",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaPartitionLexi")},CustomSnapshot:function(){return a.get("OvhApiDedicatedNashaPartitionCustomSnapshot")},Snapshot:function(){return a.get("OvhApiDedicatedNashaPartitionSnapshot")},Access:function(){return a.get("OvhApiDedicatedNashaPartitionAccess")},Options:function(){return a.get("OvhApiDedicatedNashaPartitionOptions")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionOptionsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionOptionsLexi"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/options",{serviceName:"@serviceName",partitionName:"@partitionName"},{get:{method:"GET",cache:c},save:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/options",method:"POST",interceptor:d,params:{name:"@name",expiration:"@expiration"}}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionOptions",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaPartitionOptionsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionSnapshotLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionSnapshotLexiQuery"),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("OvhApiDedicatedNashaPartitionSnapshot",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaPartitionSnapshotLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaTaskLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaTaskLexiQuery"),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("OvhApiDedicatedNashaTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedNashaTaskLexi")}}}]),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("OvhApiDedicatedServerLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedServerLexi"),d=b("OvhApiDedicatedServerLexiQuery"),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},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("OvhApiDedicatedServer",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedServerLexi")},Aapi:function(){return a.get("OvhApiDedicatedServerAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterLexi"),d=b("OvhApiDedicatedCloudDatacenterLexiQuery"),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("OvhApiDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudDatacenterLexi")},Filer:function(){return a.get("OvhApiDedicatedCloudDatacenterFiler")},Host:function(){return a.get("OvhApiDedicatedCloudDatacenterHost")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterFilerLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterFilerLexiQuery"),d=b("OvhApiDedicatedCloudDatacenterFilerLexi"),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("OvhApiDedicatedCloudDatacenterFiler",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudDatacenterFilerLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterHostLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterHostLexiQuery"),d=b("OvhApiDedicatedCloudDatacenterHostLexi"),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("OvhApiDedicatedCloudDatacenterHost",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudDatacenterHostLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLexi"),d=b("OvhApiDedicatedCloudLexiQuery"),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}});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("OvhApiDedicatedCloud",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudLexi")},User:function(){return a.get("OvhApiDedicatedCloudUser")},Filer:function(){return a.get("OvhApiDedicatedCloudFiler")},Datacenter:function(){return a.get("OvhApiDedicatedCloudDatacenter")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFilerLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFilerLexiQuery"),d=b("OvhApiDedicatedCloudFilerLexi"),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("OvhApiDedicatedCloudFiler",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudFilerLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserLexiQuery"),d=b("OvhApiDedicatedCloudUserLexi"),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},save:{method:"POST",interceptor:e},put:{method:"PUT",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("OvhApiDedicatedCloudUser",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedCloudUserLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDeskaasLexi",["$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("OvhApiDeskaasService",["$injector","$cacheFactory","Poller",function(a,b,c){var d=b("deskaas");return{Lexi:function(){return a.get("OvhApiDeskaasLexi")},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("OvhApiDomainErika",["apiv7",function(a){"use strict";var b=a("/domain/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDomainLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainLexi"),d=b("OvhApiDomainLexiQuery"),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("OvhApiDomain",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDomainLexi")},Erika:function(){return a.get("OvhApiDomainErika")}}}]),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("OvhApiFreeFaxErika",["apiv7",function(a){"use strict";var b=a("/freefax/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiFreeFaxLexi",["$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("OvhApiFreeFax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiFreeFax");return{Lexi:function(){return a.get("OvhApiFreeFaxLexi")},Aapi:function(){return a.get("OvhApiFreeFaxAapi")},Erika:function(){return a.get("OvhApiFreeFaxErika")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiIpLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpLexi"),d=b("OvhApiIpLexiQuery"),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("OvhApiIp",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpLexi")},Reverse:function(){return a.get("OvhApiIpReverse")}}}]),angular.module("ovh-api-services").service("OvhApiIpReverseLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpReverseLexi"),d=b("OvhApiIpReverseLexiQuery"),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}]),angular.module("ovh-api-services").service("OvhApiIpReverse",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpReverseLexi")}}}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"ServerLexi",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"ServerLexi"),f=d("OvhApiIpLoadBalancingFarm"+b+"ServerLexiQuery"),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}])}),_.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{Lexi:function(){return a.get("OvhApiIpLoadBalancingFarm"+b+"ServerLexi")}}}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarmLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingFarmLexiQuery"),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+"Lexi",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"Lexi"),f=d("OvhApiIpLoadBalancingFarm"+b+"LexiQuery"),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("OvhApiIpLoadBalancingFarm",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){var d=_.capitalize(c);return b[d]=function(){return{Lexi:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"Lexi")},Server:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"Server")}}},b},{});return b.Lexi=function(){return a.get("OvhApiIpLoadBalancingFarmLexi")},b}]),function(){"use strict";angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontendLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpLoadBalancingFrontendLexiQuery"),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+"Lexi",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFrontend"+b+"Lexi"),f=d("OvhApiIpLoadBalancingFrontend"+b+"LexiQuery"),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("OvhApiIpLoadBalancingFrontend",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){return b[_.capitalize(c)]=function(){return{Lexi:function(){return a.get("OvhApiIpLoadBalancingFrontend"+_.capitalize(c)+"Lexi")}}},b},{});return b.Lexi=function(){return a.get("OvhApiIpLoadBalancingFrontendLexi")},b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingLexi"),d=b("OvhApiIpLoadBalancingLexiQuery"),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}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancing",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpLoadBalancingLexi")},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")},Zone:function(){return a.get("OvhApiIpLoadBalancingZone")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuotaLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingQuotaLexi"),d=b("OvhApiIpLoadBalancingQuotaLexiQuery"),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("OvhApiIpLoadBalancingQuota",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpLoadBalancingQuotaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSslLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingSslLexi"),d=b("OvhApiIpLoadBalancingSslLexiQuery"),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("OvhApiIpLoadBalancingSsl",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpLoadBalancingSslLexi")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTaskLexi",["$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("OvhApiIpLoadBalancingTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiIpLoadBalancingTaskLexi")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZoneLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingZoneLexi"),d=b("OvhApiIpLoadBalancingZoneLexiQuery"),e={response:function(a){return c.remove(a.config.url),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},"delete":{method:"DELETE",interceptor:e}});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{Lexi:function(){return a.get("OvhApiIpLoadBalancingZoneLexi")}}}]),angular.module("ovh-api-services").service("OvhApiLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiLicenseOffice")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomainLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeDomainLexi"),d=b("OvhApiLicenseOfficeDomainLexiQuery"),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("OvhApiLicenseOfficeDomain",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiLicenseOfficeDomainLexi")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiLicenseOfficeLexi"),d=b("OvhApiLicenseOfficeLexiQuery"),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("OvhApiLicenseOffice",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiLicenseOfficeLexi")},Domain:function(){return a.get("OvhApiLicenseOfficeDomain")},Users:function(){return a.get("OvhApiLicenseOfficeUsers")},UsageStatistics:function(){return a.get("OvhApiLicenseOfficeUsageStatistics")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsageStatisticsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsageStatisticsLexiQuery");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("OvhApiLicenseOfficeUsageStatistics",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiLicenseOfficeUsageStatisticsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsersLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsersLexi"),d=b("OvhApiLicenseOfficeUsersLexiQuery"),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("OvhApiLicenseOfficeUsers",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiLicenseOfficeUsersLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMeAgreementsLexi",["$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("OvhApiMeAgreements",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeAgreementsLexi")}}}]),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("OvhApiMeAvailableAutomaticPaymentMeansLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeAvailableAutomaticPaymentMeansLexi");return a("/me/availableAutomaticPaymentMeans",{},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeans",["$injector",function(a){"use strict";return{Tera:angular.noop,Lexi:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeansLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDetailsLexi",["$resource",function(a){"use strict";return a("/me/bill/:billId/details/:billDetailId",{billId:"@billId",billDetailId:"@billDetailId"})}]),angular.module("ovh-api-services").service("OvhApiMeBillDetails",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeBillDetailsLexi")}}}]),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("OvhApiMeBillLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeBillLexi"),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("OvhApiMeBill",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeBillAapi")},Lexi:function(){return a.get("OvhApiMeBillLexi")},Details:function(){return a.get("OvhApiMeBillDetails")}}}]),angular.module("ovh-api-services").service("OvhApiMeContactErika",["$resource","$cacheFactory","Apiv7Endpoint",function(a,b,c){"use strict";var d=b("OvhApiMeContactErikaQuery"),e=b("OvhApiMeContactErika"),f=new 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("OvhApiMeContactLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeContactQueryLexi"),d=b("OvhApiMeContactLexi"),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("OvhApiMeContact",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeContactLexi")},Erika:function(){return a.get("OvhApiMeContactErika")}}}]),angular.module("ovh-api-services").service("OvhApiMeDocumentLexi",["$resource","$cacheFactory","$window","$http",function(a,b,c,d){"use strict";var e=b("OvhApiMeDocumentLexi"),f=b("OvhApiMeDocumentLexiQuery"),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("OvhApiMeDocument",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeDocumentLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomainsLexi",["$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("OvhApiMeFaxCustomDomains",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeFaxCustomDomainsLexi")}}}]),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("OvhApiMeFidelityAccountLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeFidelityAccountLexi"),d=a("/me/fidelityAccount",{},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccount",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeFidelityAccountLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMeLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeLexi"),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"}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMe",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMeLexi")},Agreements:function(){return a.get("OvhApiMeAgreements")},SshKey:function(){return a.get("OvhApiMeSshKey")},Bill:function(){return a.get("OvhApiMeBill")},Order:function(){return a.get("OvhApiMeOrder")},OvhAccount:function(){return a.get("OvhApiMeOvhAccount")},FidelityAccount:function(){return a.get("OvhApiMeFidelityAccount")},PaymentMean:function(){return a.get("OvhApiMePaymentMean")},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")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrderErika",["apiv7",function(a){"use strict";var b=a("/me/order/:orderId",{orderId:"@orderId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeOrderLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeOrderLexi"),d=b("OvhApiMeOrderLexiQuery"),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}});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("OvhApiMeOrder",["$injector",function(a){"use strict";return{Tera:angular.noop,Lexi:function(){return a.get("OvhApiMeOrderLexi")},Erika:function(){return a.get("OvhApiMeOrderErika")},PayRegisteredPaymentMean:function(){return a.get("OvhApiMeOrderPayRegisteredPaymentMean")}}}]),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("OvhApiMeOvhAccountLexi",["$resource","$cacheFactory","OvhApiMeLexi",function(a,b,c){"use strict";var d=b("OvhApiMeOvhAccountLexi"),e=b("OvhApiMeOvhAccountLexiQuery"),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("OvhApiMeOvhAccount",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeOvhAccountAapi")},Lexi:function(){return a.get("OvhApiMeOvhAccountLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccountLexi",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/bankAccount/:id",{id:"@id",state:"@state"});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("OvhApiMePaymentMeanBankAccount",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMePaymentMeanBankAccountLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCardLexi",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/creditCard/:id",{id:"@id"});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("OvhApiMePaymentMeanCreditCard",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMePaymentMeanCreditCardLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanLexi",["OvhApiMePaymentMeanBankAccount","OvhApiMePaymentMeanCreditCard","OvhApiMePaymentMeanPaypal",function(a,b,c){"use strict";return{getDefaultPaymentMean:function(){return b.Lexi().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="creditCard",b):c.Lexi().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="paypal",b):a.Lexi().getDefaultPaymentMean().then(function(a){return a?(a.paymentType="bankAccount",a):null})})})}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMean",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiMePaymentMeanLexi")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypalLexi",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/paypal/:id",{id:"@id"});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){ @@ -7,5 +7,5 @@ Lexi:function(){return a.get("OvhApiPackXdslPromotionCodeLexi")},resetCache:c.re },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("OvhApiStoreContact",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiStoreContactLexi")}}}]),angular.module("ovh-api-services").service("OvhApiStoreDocumentLexi",["$resource","$cacheFactory","$http","$q",function(a,b,c,d){"use strict";var e=b("OvhApiStoreDocumentLexi"),f=b("OvhApiStoreDocumentLexiQuery"),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("OvhApiStoreDocument",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiStoreDocumentLexi")}}}]),angular.module("ovh-api-services").service("OvhApiStorePartnerLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiStorePartnerLexi"),d=b("OvhApiStorePartnerLexiQuery"),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("OvhApiStorePartner",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiStorePartnerLexi")}}}]),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("OvhApiSupplyMondialRelayLexi",["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("OvhApiSupplyMondialRelay",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiSupplyMondialRelayLexi")},Aapi:function(){return angular.noop()}}}]),angular.module("ovh-api-services").service("OvhApiSupportLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiSupportLexi"),d=b("OvhApiSupportLexiQuery"),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("OvhApiSupport",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiSupportLexi")}}}]),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("OvhApiTelephonyAbbreviatedNumberLexi",["$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("OvhApiTelephonyAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAbbreviatedNumber");return{Lexi:function(){return a.get("OvhApiTelephonyAbbreviatedNumberLexi")},Aapi:function(){return a.get("OvhApiTelephonyAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyAliasesLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyAliasesLexi"),d=b("OvhApiTelephonyAliasesLexiQuery"),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("OvhApiTelephonyAliases",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyAliasesLexi")}}}]),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("OvhApiTelephonyConferenceParticipantsLexi",["$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("OvhApiTelephonyConferenceParticipants",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyConferenceParticipantsLexi")},Aapi:function(){return a.get("OvhApiTelephonyConferenceParticipantsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceLexi",["$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("OvhApiTelephonyConference",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyConferenceLexi")},Participants:function(){return a.get("OvhApiTelephonyConferenceParticipants")},WebAccess:function(){return a.get("OvhApiTelephonyConferenceWebAccess")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyConferenceWebAccessLexi",["$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("OvhApiTelephonyConferenceWebAccess",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyConferenceWebAccessLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentQueueLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueLexi"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentQueueLexiQuery"),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("OvhApiTelephonyEasyHuntingHuntingAgentQueue",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueueLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingAgentLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingAgentLexi"),d=b("OvhApiTelephonyEasyHuntingHuntingAgentLexiQuery"),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("OvhApiTelephonyEasyHuntingHuntingAgent",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentLexi")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueAgentErika",["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("OvhApiTelephonyEasyHuntingHuntingQueueAgentLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentLexi"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueAgentLexiQuery"),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("OvhApiTelephonyEasyHuntingHuntingQueueAgent",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentLexi")},Erika:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgentErika")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsErika",["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("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsLexi",["$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("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsLexi")},Erika:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCallsErika")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingQueueLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingQueueLexi"),d=b("OvhApiTelephonyEasyHuntingHuntingQueueLexiQuery"),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("OvhApiTelephonyEasyHuntingHuntingQueue",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLexi")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingHuntingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingLexi"),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("OvhApiTelephonyEasyHuntingHunting",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingLexi")},Queue:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyEasyHuntingHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecordsLexi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyEasyHuntingRecordsLexi"),d=a("OvhApiTelephonyEasyHuntingRecordsLexiQuery"),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("OvhApiTelephonyEasyHuntingRecords",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingRecordsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsLexi"),d=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsLexiQuery"),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("OvhApiTelephonyEasyHuntingScreenListConditionsConditions",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsLexi"),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("OvhApiTelephonyEasyHuntingScreenListConditions",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsLexi")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSoundLexi",["$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("OvhApiTelephonyEasyHuntingSound",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingSoundLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingLexi"),d=b("OvhApiTelephonyEasyHuntingLexiQuery"),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("OvhApiTelephonyEasyHunting",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingLexi")},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("OvhApiTelephonyEasyHuntingTimeConditionsConditionsLexi",["$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("OvhApiTelephonyEasyHuntingTimeConditionsConditions",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditionsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsLexi",["$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("OvhApiTelephonyEasyHuntingTimeConditions",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsLexi")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabxLexi",["$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("OvhApiTelephonyEasyPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyPabx");return{Lexi:function(){return a.get("OvhApiTelephonyEasyPabxLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtokenLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEventtokenLexiQuery"),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("OvhApiTelephonyEventtoken",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyEventtokenLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaignsLexi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxCampaignsLexi"),d=a("OvhApiTelephonyFaxCampaignsLexiQuery"),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("OvhApiTelephonyFaxCampaigns",["$injector",function(a){ "use strict";return{Lexi:function(){return a.get("OvhApiTelephonyFaxCampaignsLexi")}}}]),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("OvhApiTelephonyFaxErika",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxLexi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxLexi"),d=a("OvhApiTelephonyFaxLexiQuery"),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("OvhApiTelephonyFax",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyFaxLexi")},Aapi:function(){return a.get("OvhApiTelephonyFaxAapi")},Erika:function(){return a.get("OvhApiTelephonyFaxErika")},Campaigns:function(){return a.get("OvhApiTelephonyFaxCampaigns")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryConsumptionLexi");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("OvhApiTelephonyHistoryConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyHistoryConsumptionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryRepaymentConsumptionLexi");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("OvhApiTelephonyHistoryRepaymentConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumptionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryTollfreeConsumptionLexi");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("OvhApiTelephonyHistoryTollfreeConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumptionLexi")}}}]),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("OvhApiTelephonyLineAbbreviatedNumberLexi",["$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("OvhApiTelephonyLineAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAbbreviatedNumber");return{Lexi:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberLexi")},Aapi:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberAapi")},resetCache:c.removeAll,cache: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("OvhApiTelephonyLineClick2CallLexi",["$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("OvhApiTelephonyLineClick2Call",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLineClick2CallLexi")},User:function(){return a.get("OvhApiTelephonyLineClick2CallUser")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUserLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineClick2CallUserLexi"),d={response:function(a){return c.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},post:{method:"POST",interceptor:d},get:{method:"GET",cache:c,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("OvhApiTelephonyLineClick2CallUser",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLineClick2CallUserLexi")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffersLexi",["$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("OvhApiTelephonyLineOffers",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLineOffersLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptionsLexi",["$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("OvhApiTelephonyLineOptions",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineOptions");return{Lexi:function(){return a.get("OvhApiTelephonyLineOptionsLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneFunctionLexi"),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("OvhApiTelephonyLineFunctionPhone",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinePhoneFunctionLexi")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContactLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactLexi"),d=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactLexiQuery"),e=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactLexiBatch"),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("OvhApiTelephonyLinePhonePhonebookPhonebookContact",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContactLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookLexi"),d=b("OvhApiTelephonyLinePhonePhonebookLexiQuery"),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("OvhApiTelephonyLinePhonePhonebook",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinePhonePhonebookLexi")},PhonebookContact:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMALexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneRMALexiCache"),d=b("OvhApiTelephonyLinePhoneRMALexiQueryCache"),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("OvhApiTelephonyLinePhoneRMA",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinePhoneRMALexi")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneLexi"),d={response:function(a){return c.remove(a.config.url.replace("/changePhoneConfiguration","")),a.data}};return 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}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhone",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinePhoneLexi")},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("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("OvhApiTelephonyLineErika",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineLexi",["$cacheFactory","$resource","$q","$http",function(a,b,c,d){"use strict";var e=a("OvhApiTelephonyLineLexi"),f=a("OvhApiTelephonyLineLexiQuery"),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"},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}});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("OvhApiTelephonyLine",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLineLexi")},Aapi:function(){return a.get("OvhApiTelephonyLineAapi")},Erika:function(){return a.get("OvhApiTelephonyLineErika")},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("OvhApiTelephonyLinesLexi",["$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("OvhApiTelephonyLines",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLinesLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabxLexi",["$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("OvhApiTelephonyMiniPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyMiniPabx");return{Lexi:function(){return a.get("OvhApiTelephonyMiniPabxLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiTelephonyNumberErika",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberLexi",["$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},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("OvhApiTelephonyNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyNumber");return{Aapi:function(){return a.get("OvhApiTelephonyNumberAapi")},Lexi:function(){return a.get("OvhApiTelephonyNumberLexi")},Erika:function(){return a.get("OvhApiTelephonyNumberErika")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTaskLexi",["$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("OvhApiTelephonyOfferTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOfferTaskLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListLexi",["$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("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeLexi",["$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("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRuleLexi",["$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("OvhApiTelephonyOvhPabxDialplanExtensionRule",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRuleLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionLexi",["$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("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")},Lexi:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanLexi",["$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("OvhApiTelephonyOvhPabxDialplan",["$injector",function(a){"use strict";return{Extension:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtension")},Lexi:function(){return a.get("OvhApiTelephonyOvhPabxDialplanLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueueLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentQueueLexi"),d=b("OvhApiTelephonyOvhPabxHuntingAgentQueueLexiQuery"),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("OvhApiTelephonyOvhPabxHuntingAgentQueue",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueueLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentLexi"),d=b("OvhApiTelephonyOvhPabxHuntingAgentLexiQuery"),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("OvhApiTelephonyOvhPabxHuntingAgent",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentLexi")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgentLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueAgentLexi"),d=b("OvhApiTelephonyOvhPabxHuntingQueueAgentLexiQuery"),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("OvhApiTelephonyOvhPabxHuntingQueueAgent",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgentLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsLexi",["$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("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueLexi"),d=b("OvhApiTelephonyOvhPabxHuntingQueueLexiQuery"),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("OvhApiTelephonyOvhPabxHuntingQueue",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLexi")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingLexi"),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("OvhApiTelephonyOvhPabxHunting",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxHuntingLexi")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntryLexi",["$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("OvhApiTelephonyOvhPabxMenuEntry",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntryLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuLexi",["$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("OvhApiTelephonyOvhPabxMenu",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxMenuLexi")},Entry:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntry")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecordsLexi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyOvhPabxRecordsLexi"),d=a("OvhApiTelephonyOvhPabxRecordsLexiQuery"),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("OvhApiTelephonyOvhPabxRecords",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxRecordsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSoundLexi",["$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("OvhApiTelephonyOvhPabxSound",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxSoundLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxLexi",["$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("OvhApiTelephonyOvhPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabx");return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxLexi")},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("OvhApiTelephonyOvhPabxTtsLexi",["$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("OvhApiTelephonyOvhPabxTts",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyOvhPabxTtsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContactLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookPhonebookContactLexi"),d=b("OvhApiTelephonyPhonebookPhonebookContactLexiQuery"),e=b("OvhApiTelephonyPhonebookPhonebookContactLexiBatch"),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("OvhApiTelephonyPhonebookPhonebookContact",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContactLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookLexi"),d=b("OvhApiTelephonyPhonebookLexiQuery"),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("OvhApiTelephonyPhonebook",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyPhonebookLexi")},PhonebookContact:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortabilityLexi",["$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("OvhApiTelephonyPortability",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyPortabilityLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirectLexi",["$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("OvhApiTelephonyRedirect",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyRedirectLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsvaLexi",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/rsva/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},getAllowedRateCodes:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/allowedRateCodes",isArray:!0},getCurrentRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/currentRateCode"},getScheduledRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/scheduledRateCode"},scheduleRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/scheduleRateCode"},cancelScheduledRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/cancelScheduledRateCode"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsva",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyRsvaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEventsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerEventsLexi"),d=b("OvhApiTelephonySchedulerEventsLexiQuery"),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("OvhApiTelephonySchedulerEvents",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonySchedulerEventsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerLexi"),d=b("OvhApiTelephonySchedulerLexiQuery"),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("OvhApiTelephonyScheduler",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonySchedulerLexi")},Events:function(){return a.get("OvhApiTelephonySchedulerEvents")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenListsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenListsLexi"),d=b("OvhApiTelephonyScreenListsLexiQuery"),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("OvhApiTelephonyScreenLists",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyScreenListsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenLexi"),d=b("OvhApiTelephonyScreenLexiQuery"),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("OvhApiTelephonyScreen",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyScreenLexi")},ScreenLists:function(){return a.get("OvhApiTelephonyScreenLists")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionErika",["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("OvhApiTelephonyServiceFaxConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceFaxConsumptionLexi"),d=b("OvhApiTelephonyServiceFaxConsumptionLexiQuery"),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("OvhApiTelephonyServiceFaxConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionLexi")},Erika:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionErika")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTaskLexi",["$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("OvhApiTelephonyServiceOfferTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyServiceOfferTaskLexi")}}}]),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("OvhApiTelephonyServiceRepaymentConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceRepaymentConsumptionLexi"),d=b("OvhApiTelephonyServiceRepaymentConsumptionLexiQuery"),e=b("OvhApiTelephonyServiceRepaymentConsumptionLexiBatch"),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("OvhApiTelephonyServiceRepaymentConsumption",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionAapi")},Lexi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTaskLexi",["$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("OvhApiTelephonyServiceTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyServiceTaskLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceLexi"),d=b("OvhApiTelephonyServiceLexiQuery"),e=b("OvhApiTelephonyServiceOfferLexiQuery"),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("OvhApiTelephonyServiceErika",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyService",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyServiceLexi")},Erika:function(){return a.get("OvhApiTelephonyServiceErika")},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("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("OvhApiTelephonyServiceVoiceConsumptionErika",["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("OvhApiTelephonyServiceVoiceConsumptionLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionLexi"),d=b("OvhApiTelephonyServiceVoiceConsumptionLexiQuery"),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("OvhApiTelephonyServiceVoiceConsumption",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionLexi")},Erika:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionErika")},Aapi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTaskLexi",["$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("OvhApiTelephonyTask",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTaskLexi")}}}]),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("OvhApiTelephonyErika",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLexi",["$resource","$cacheFactory","OvhApiTelephonyLineAllAapi",function(a,b,c){var d=b("OvhApiTelephonyLexi"),e=b("OvhApiTelephonyLexiSchema"),f=b("OvhApiTelephonyLexiQuery"),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("OvhApiTelephony",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLexi")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},Erika:function(){return a.get("OvhApiTelephonyErika")},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("OvhApiTelephonyTimeConditionConditionLexi",["$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("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTimeConditionConditionLexi")}}}]),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("OvhApiTelephonyTimeConditionLexi",["$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("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{Lexi:function(){return a.get("OvhApiTelephonyTimeConditionLexi")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberLexi",["$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("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkLexi",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunkLexi")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksLexi"),d=b("OvhApiTelephonyTrunksLexiQuery"),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("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunksLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesErika",["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("OvhApiTelephonyVoicemailDirectoriesLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesLexi"),d=b("OvhApiTelephonyVoicemailDirectoriesLexiQuery"),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("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesLexi")},Erika:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesErika")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsLexi"),d=b("OvhApiTelephonyVoicemailGreetingsLexiQuery"),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("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVoicemailGreetingsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailLexi"),d=b("OvhApiTelephonyVoicemailLexiQuery"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0},getSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",cache:c},setSettings:{method:"PUT",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",interceptor:e},changePassword:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword",interceptor:e},getNumbersSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"}});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{Lexi:function(){return a.get("OvhApiTelephonyVoicemailLexi")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlLexi",["$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("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVxmlLexi")}}}]),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("OvhApiVeeamLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamLexi"),d=b("OvhApiVeeamLexiQuery"),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("OvhApiVeeam",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVeeamLexi")}}}]),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("OvhApiVpsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsLexi"),d=b("OvhApiVpsLexiQuery"),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}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVpsLexi")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectLexi"),d=b("OvhApiVrackCloudProjectLexiQuery"),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("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackCloudProjectLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudLexi"),d=b("OvhApiVrackDedicatedCloudLexiQuery"),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("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedCloudLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedCloudDatacenterLexi"),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("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectLexi"),e=b("OvhApiVrackDedicatedConnectLexiQuery"),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("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedConnectLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerLexi"),e=b("OvhApiVrackDedicatedServerLexiQuery"),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("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedServerLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceLexiQuery"),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("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedServerInterfaceLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpLexi"),e=b("OvhApiVrackIpLexiQuery"),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("OvhApiVrackIp",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackIpLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackLexi"),e=b("OvhApiVrackLegacyVrackLexiQuery"),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("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackLegacyVrackLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaLexi"),e=b("OvhApiVrackNashaLexiQuery"),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("OvhApiVrackNasha",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackNashaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLexi",["$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("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{Lexi:function(){return a.get("OvhApiVrackPublicCloudLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiVrackLexi",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackLexi"),e=b("OvhApiVrackLexiQuery"),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("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},Lexi:function(){return a.get("OvhApiVrackLexi")},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")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationLexi");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("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslDeconsolidationLexi")},Aapi:function(){return angular.noop}}}]),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("OvhApiXdslDiagnosticLexi",["$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("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{Lexi:function(){return a.get("OvhApiXdslDiagnosticLexi")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityLexi",["$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("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{Lexi:function(){return a.get("OvhApiXdslEligibilityLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiXdslIpsLexi",["$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("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{Lexi:function(){return a.get("OvhApiXdslIpsLexi")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslLinesDslamPortLexi",["$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("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},Lexi:function(){return a.get("OvhApiXdslLinesDslamPortLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesErika",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslLinesLexi",["$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("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{Lexi:function(){return a.get("OvhApiXdslLinesLexi")},Erika:function(){return a.get("OvhApiXdslLinesErika")},resetCache:c.removeAll,cache: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{Lexi:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesLexi",["$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("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesLexi")}}}]),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("OvhApiXdslModemLanDhcpLexi",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpLexi"),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("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslModemLanDhcpLexi")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),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("OvhApiXdslModemLanLexi",["$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("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{Lexi:function(){return a.get("OvhApiXdslModemLanLexi")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache: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("OvhApiXdslModemPortLexi",["$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("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{Lexi:function(){return a.get("OvhApiXdslModemPortLexi")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootLexi",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{Lexi:function(){return a.get("OvhApiXdslModemRebootLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetLexi",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{Lexi:function(){return a.get("OvhApiXdslModemResetLexi")},resetCache:c.removeAll,cache: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("OvhApiXdslModemWifiLexi",["$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("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{Lexi:function(){return a.get("OvhApiXdslModemWifiLexi")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslModemLexi",["$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("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{Lexi:function(){return a.get("OvhApiXdslModemLexi")},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")},cache: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("OvhApiXdslNotificationsLexi",["$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("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{Lexi:function(){return a.get("OvhApiXdslNotificationsLexi")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslResiliationLexi",["$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("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},Lexi:function(){return a.get("OvhApiXdslResiliationLexi")},resetCache:c.removeAll,cache:c}}]),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{Lexi: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("OvhApiXdslErika",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslLexi",["$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}})}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{Lexi:function(){return a.get("OvhApiXdslLexi")},Aapi:function(){return a.get("OvhApiXdslAapi")},Erika:function(){return a.get("OvhApiXdslErika")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]); \ No newline at end of file +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("OvhApiTelephony",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyLexi")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},Erika:function(){return a.get("OvhApiTelephonyErika")},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("OvhApiTelephonyTimeConditionConditionLexi",["$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("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTimeConditionConditionLexi")}}}]),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("OvhApiTelephonyTimeConditionLexi",["$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("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{Lexi:function(){return a.get("OvhApiTelephonyTimeConditionLexi")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberLexi",["$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("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkLexi",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunkLexi")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksLexi"),d=b("OvhApiTelephonyTrunksLexiQuery"),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("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyTrunksLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesErika",["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("OvhApiTelephonyVoicemailDirectoriesLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesLexi"),d=b("OvhApiTelephonyVoicemailDirectoriesLexiQuery"),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("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesLexi")},Erika:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesErika")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsLexi"),d=b("OvhApiTelephonyVoicemailGreetingsLexiQuery"),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("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVoicemailGreetingsLexi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi",["$resource","$cacheFactory","$http",function(a,b,c){"use strict";var d=b("OvhApiTelephonyVoicemailLexi"),e=b("OvhApiTelephonyVoicemailLexiQuery"),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("OvhApiTelephonyVoicemail",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVoicemailLexi")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlLexi",["$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("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiTelephonyVxmlLexi")}}}]),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("OvhApiVeeamLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamLexi"),d=b("OvhApiVeeamLexiQuery"),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("OvhApiVeeam",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVeeamLexi")}}}]),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("OvhApiVpsLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsLexi"),d=b("OvhApiVpsLexiQuery"),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}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVpsLexi")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectLexi"),d=b("OvhApiVrackCloudProjectLexiQuery"),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("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackCloudProjectLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudLexi",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudLexi"),d=b("OvhApiVrackDedicatedCloudLexiQuery"),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("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedCloudLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedCloudDatacenterLexi"),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("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectLexi"),e=b("OvhApiVrackDedicatedConnectLexiQuery"),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("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedConnectLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerLexi"),e=b("OvhApiVrackDedicatedServerLexiQuery"),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("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackDedicatedServerLexi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceLexiQuery"),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("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiDedicatedServerInterfaceLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpLexi"),e=b("OvhApiVrackIpLexiQuery"),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("OvhApiVrackIp",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackIpLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackLexi"),e=b("OvhApiVrackLegacyVrackLexiQuery"),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("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackLegacyVrackLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaLexi",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaLexi"),e=b("OvhApiVrackNashaLexiQuery"),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("OvhApiVrackNasha",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiVrackNashaLexi")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLexi",["$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("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{Lexi:function(){return a.get("OvhApiVrackPublicCloudLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiVrackLexi",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackLexi"),e=b("OvhApiVrackLexiQuery"),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("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},Lexi:function(){return a.get("OvhApiVrackLexi")},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")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationLexi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationLexi");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("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslDeconsolidationLexi")},Aapi:function(){return angular.noop}}}]),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("OvhApiXdslDiagnosticLexi",["$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("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{Lexi:function(){return a.get("OvhApiXdslDiagnosticLexi")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityLexi",["$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("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{Lexi:function(){return a.get("OvhApiXdslEligibilityLexi")},resetCache:c.removeAll,cache:c}}]),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("OvhApiXdslIpsLexi",["$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("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{Lexi:function(){return a.get("OvhApiXdslIpsLexi")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslLinesDslamPortLexi",["$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("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},Lexi:function(){return a.get("OvhApiXdslLinesDslamPortLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesErika",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslLinesLexi",["$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("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{Lexi:function(){return a.get("OvhApiXdslLinesLexi")},Erika:function(){return a.get("OvhApiXdslLinesErika")},resetCache:c.removeAll,cache: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{Lexi:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesLexi",["$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("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesLexi")}}}]),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("OvhApiXdslModemLanDhcpLexi",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpLexi"),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("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{Lexi:function(){return a.get("OvhApiXdslModemLanDhcpLexi")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),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("OvhApiXdslModemLanLexi",["$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("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{Lexi:function(){return a.get("OvhApiXdslModemLanLexi")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache: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("OvhApiXdslModemPortLexi",["$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("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{Lexi:function(){return a.get("OvhApiXdslModemPortLexi")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootLexi",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{Lexi:function(){return a.get("OvhApiXdslModemRebootLexi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetLexi",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{Lexi:function(){return a.get("OvhApiXdslModemResetLexi")},resetCache:c.removeAll,cache: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("OvhApiXdslModemWifiLexi",["$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("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{Lexi:function(){return a.get("OvhApiXdslModemWifiLexi")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslModemLexi",["$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("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{Lexi:function(){return a.get("OvhApiXdslModemLexi")},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")},cache: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("OvhApiXdslNotificationsLexi",["$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("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{Lexi:function(){return a.get("OvhApiXdslNotificationsLexi")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache: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("OvhApiXdslResiliationLexi",["$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("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},Lexi:function(){return a.get("OvhApiXdslResiliationLexi")},resetCache:c.removeAll,cache:c}}]),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{Lexi: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("OvhApiXdslErika",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslLexi",["$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}})}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{Lexi:function(){return a.get("OvhApiXdslLexi")},Aapi:function(){return a.get("OvhApiXdslAapi")},Erika:function(){return a.get("OvhApiXdslErika")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]); \ No newline at end of file diff --git a/src/telephony/voicemail/telephony-voicemail.lexi.service.js b/src/telephony/voicemail/telephony-voicemail.lexi.service.js index 5445596d..23086554 100644 --- a/src/telephony/voicemail/telephony-voicemail.lexi.service.js +++ b/src/telephony/voicemail/telephony-voicemail.lexi.service.js @@ -1,6 +1,5 @@ -"use strict"; - -angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", function ($resource, $cacheFactory) { +angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", function ($resource, $cacheFactory, $http) { + "use strict"; var cache = $cacheFactory("OvhApiTelephonyVoicemailLexi"); var queryCache = $cacheFactory("OvhApiTelephonyVoicemailLexiQuery"); @@ -52,6 +51,22 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", funct getNumbersSettings: { method: "GET", url: "/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers" + }, + routing: { + method: "GET", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/routing", + transformResponse: $http.defaults.transformResponse.concat(function (data, headers, status) { + if (status === 200) { + return { + data: data + }; + } + return null; + }) + }, + changeRouting: { + method: "POST", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting" } });