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

Commit

Permalink
Release v3.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffy29 authored and CDS Agent committed Nov 7, 2018
1 parent 401edb9 commit 0fd228c
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ovh-api-services",
"description": "Contains all angular $resource for OVH API.",
"version": "3.20.0",
"version": "3.21.0",
"main": "./dist/ovh-api-services.min.js",
"repository": {
"type": "git",
Expand Down
47 changes: 47 additions & 0 deletions dist/ovh-api-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -22621,6 +22621,50 @@ angular.module("ovh-api-services").service("OvhApiXdslModemDevices", ["$injector
};
}]);

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

var cache = $cacheFactory("OvhApiXdslModemFirmware");

return {
v6: function () {
return $injector.get("OvhApiXdslModemFirmwareV6");
},
resetCache: cache.removeAll,
cache: cache
};
}]);

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

var interceptor = {
response: function (response) {
OvhApiXdslModemFirmware.resetCache();
return response.resource;
}
};

return $resource("/xdsl/:xdslId/modem/firmware", {
xdslId: "@xdslId"
}, {
get: {
method: "GET",
reponseType: "text"
},
post: {
method: "POST",
interceptor: interceptor
},
available: {
method: "GET",
url: "/xdsl/:xdslId/modem/firmwareAvailable",
isArray: true,
cache: OvhApiXdslModemFirmware.cache
}
});
}]);

angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddresses", ["$injector", function ($injector) {
"use strict";

Expand Down Expand Up @@ -23048,6 +23092,9 @@ angular.module("ovh-api-services").service("OvhApiXdslModem", ["$injector", "$ca
AvailableWLANChannel: function () {
return $injector.get("OvhApiXdslModemAvailableWLANChannel");
},
Firmware: function () {
return $injector.get("OvhApiXdslModemFirmware");
},
cache: cache
};
}]);
Expand Down
7 changes: 3 additions & 4 deletions dist/ovh-api-services.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ovh-api-services",
"version": "3.20.0",
"version": "3.21.0",
"description": "Contains all angular $resource for OVH API.",
"main": "./dist/ovh-api-services.min.js",
"repository": "ovh-ux/ovh-api-services",
Expand Down

0 comments on commit 0fd228c

Please sign in to comment.