From 5b53571e1066ec7356fa92d6ce5ecc1322c0158a Mon Sep 17 00:00:00 2001 From: "jean-christophe.alleman" Date: Tue, 26 Sep 2017 16:59:53 +0200 Subject: [PATCH] feat(voicemail): add voicemailNumbers route --- dist/ovh-api-services.js | 4 ++++ dist/ovh-api-services.min.js | 4 ++-- src/telephony/voicemail/telephony-voicemail.lexi.service.js | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index 61862ebc..993765ab 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -15691,6 +15691,10 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$re method: "POST", url: "/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword", interceptor: interceptor + }, + getNumbersSettings: { + method: "GET", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers" } }); diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 9a86c9fc..bad36cc4 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -9,5 +9,5 @@ country:c.country,city:c.city,address:c.address,zipcode:c.zipcode},successRule:{ "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","OvhApiTelephonyMiniPabx",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:"@"}}})}]),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",function(a){"use strict";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}})}]),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}});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")},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("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},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}});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 +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},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 diff --git a/src/telephony/voicemail/telephony-voicemail.lexi.service.js b/src/telephony/voicemail/telephony-voicemail.lexi.service.js index 5b30f79f..e6bc329a 100644 --- a/src/telephony/voicemail/telephony-voicemail.lexi.service.js +++ b/src/telephony/voicemail/telephony-voicemail.lexi.service.js @@ -40,6 +40,10 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", funct method: "POST", url: "/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword", interceptor: interceptor + }, + getNumbersSettings: { + method: "GET", + url: "/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers" } });