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

Commit

Permalink
feat(email-pro): add email-pro v7 service
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Bourgois committed Nov 14, 2018
1 parent c66e31a commit d157607
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 11 deletions.
19 changes: 19 additions & 0 deletions dist/ovh-api-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -6610,6 +6610,25 @@ angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV7", ["api
return exchangeEndpoint;
}]);

angular.module("ovh-api-services").service("OvhApiEmailProV7", ["apiv7", function (apiv7) {
"use strict";

var emailproEndpoint = apiv7("/email/pro/:serviceName/", {
serviceName: "@serviceName"
});

return emailproEndpoint;
}]);

angular.module("ovh-api-services").service("OvhApiEmailPro", ["$injector", function ($injector) {
"use strict";
return {
v7: function () {
return $injector.get("OvhApiEmailProV7");
}
};
}]);

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

Expand Down
21 changes: 10 additions & 11 deletions dist/ovh-api-services.min.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/email/pro/email-pro-copy.v7.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
angular.module("ovh-api-services").service("OvhApiEmailProV7", function (apiv7) {
"use strict";

var emailproEndpoint = apiv7("/email/pro/:serviceName/", {
serviceName: "@serviceName"
});

return emailproEndpoint;
});
8 changes: 8 additions & 0 deletions src/email/pro/email-pro.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
angular.module("ovh-api-services").service("OvhApiEmailPro", function ($injector) {
"use strict";
return {
v7: function () {
return $injector.get("OvhApiEmailProV7");
}
};
});

0 comments on commit d157607

Please sign in to comment.