@edgeiq/edgeiq-api-js 1.11.11 → 1.11.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -688,7 +688,7 @@ export const Devices = class extends BaseModelClass {
688
688
  try {
689
689
  this.logAction('Getting device uptime');
690
690
  const axios = EdgeIQAPI.getAxios();
691
- const result = yield axios.get(`${Endpoints.device}/${id}/uptime?start=${start}&end=${end}`);
691
+ const result = yield axios.get(`${Endpoints.device}/${id}/uptime?created_at_gte=${start}&created_at_lte=${end}`);
692
692
  return result === null || result === void 0 ? void 0 : result.data;
693
693
  }
694
694
  catch (error) {
@@ -704,7 +704,7 @@ export const Devices = class extends BaseModelClass {
704
704
  try {
705
705
  this.logAction('Getting device uptime');
706
706
  const axios = EdgeIQAPI.getAxios();
707
- const result = yield axios.get(`${Endpoints.device}/${id}/uptime_history?start=${start}&end=${end}`);
707
+ const result = yield axios.get(`${Endpoints.device}/${id}/uptime_history?created_at_gte=${start}&created_at_lte=${end}`);
708
708
  return result === null || result === void 0 ? void 0 : result.data;
709
709
  }
710
710
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.11.11",
3
+ "version": "1.11.12",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",