Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat(telephony): add voicemail settings routing api bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisay committed Nov 14, 2017
1 parent 67a54ec commit 16533f8
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 9 deletions.
21 changes: 18 additions & 3 deletions dist/ovh-api-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -16021,9 +16021,8 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings",
};
}]);

"use strict";

angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$resource", "$cacheFactory", function ($resource, $cacheFactory) {
angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$resource", "$cacheFactory", "$http", function ($resource, $cacheFactory, $http) {
"use strict";

var cache = $cacheFactory("OvhApiTelephonyVoicemailLexi");
var queryCache = $cacheFactory("OvhApiTelephonyVoicemailLexiQuery");
Expand Down Expand Up @@ -16075,6 +16074,22 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailLexi", ["$re
getNumbersSettings: {
method: "GET",
url: "/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"
},
routing: {
method: "GET",
url: "/telephony/:billingAccount/voicemail/:serviceName/settings/routing",
transformResponse: $http.defaults.transformResponse.concat(function (data, headers, status) {
if (status === 200) {
return {
data: data
};
}
return null;
})
},
changeRouting: {
method: "POST",
url: "/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting"
}
});

Expand Down
Loading

0 comments on commit 16533f8

Please sign in to comment.