dt-common-device 7.1.5 → 7.1.6

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.
@@ -257,10 +257,10 @@ let IssueService = (() => {
257
257
  propertyId: device.propertyId,
258
258
  zoneId: device.zoneId,
259
259
  title: "Device Offline - Requires Attention",
260
- description: `Device ${device.name} (${device.deviceId}) has been offline for longer than the baseline time. ${reason ? `Reason: ${reason}` : ""} This requires immediate attention to restore device functionality.`,
260
+ description: `${device.name} has been offline for longer than the threshold time. ${reason ? `Reason: ${reason}` : ""} This requires immediate attention to restore device functionality.`,
261
261
  createdBy: source,
262
262
  category: issue_types_1.IssuesCategory.OPERATIONS,
263
- priority: issue_types_1.IssuePriority.HIGH,
263
+ priority: issue_types_1.IssuePriority.CRITICAL,
264
264
  type: issue_types_1.IssueType.DEVICE_OFFLINE,
265
265
  });
266
266
  }
@@ -273,7 +273,7 @@ let IssueService = (() => {
273
273
  propertyId: device.propertyId,
274
274
  zoneId: device.zoneId,
275
275
  title: "Door Left Open - Requires Attention",
276
- description: `Zone ${zone?.name} has a door left open, for more than 10 minutes. ${reason ? `Reason: ${reason}` : ""}. Please check the zone and close the door.`,
276
+ description: `${zone?.name} has a door left open, for more than 10 minutes. ${reason ? `Reason: ${reason}` : ""}. Please check the zone and close the door.`,
277
277
  createdBy: source,
278
278
  category: issue_types_1.IssuesCategory.SECURITY,
279
279
  priority: issue_types_1.IssuePriority.HIGH,
@@ -291,7 +291,7 @@ let IssueService = (() => {
291
291
  propertyId: device.propertyId,
292
292
  zoneId: device.zoneId,
293
293
  title: "Device Battery Low - Requires Attention",
294
- description: `Device ${device.name} (${device.deviceId}) battery level is ${batteryLevel}%, which is below the property threshold of ${threshold}%. Please replace or charge the device battery.`,
294
+ description: `${device.name} battery level is ${batteryLevel}%, which is below the property threshold of ${threshold}%. Please replace or charge the device battery.`,
295
295
  createdBy: source,
296
296
  category: issue_types_1.IssuesCategory.ENERGY,
297
297
  priority: issue_types_1.IssuePriority.CRITICAL,
@@ -309,7 +309,7 @@ let IssueService = (() => {
309
309
  propertyId: device.propertyId,
310
310
  zoneId: device.zoneId,
311
311
  title: `Device Malfunction - Requires Attention`,
312
- description: `Device ${device.name} (${device.deviceId}) has a malfunction. ${reason ? `Reason: ${reason}` : ""} This requires immediate attention to resolve the device malfunction.`,
312
+ description: `${device.name} has a malfunction. ${reason ? `Reason: ${reason}` : ""} This requires immediate attention to resolve the device malfunction.`,
313
313
  createdBy: source,
314
314
  category: issue_types_1.IssuesCategory.OPERATIONS,
315
315
  priority: issue_types_1.IssuePriority.HIGH,
@@ -23,7 +23,9 @@ export declare enum EntitySubType {
23
23
  HUB = "HUB",
24
24
  TV = "TV",
25
25
  THERMOSTAT = "THERMOSTAT",
26
- ON_PREM_SERVER = "ON_PREM_SERVER"
26
+ ON_PREM_SERVER = "ON_PREM_SERVER",
27
+ PMS_ACCOUNT = "PMS_ACCOUNT",
28
+ DEVICE_ACCOUNT = "DEVICE_ACCOUNT"
27
29
  }
28
30
  export declare enum IssueStatus {
29
31
  PENDING = "PENDING",
@@ -30,6 +30,8 @@ var EntitySubType;
30
30
  EntitySubType["TV"] = "TV";
31
31
  EntitySubType["THERMOSTAT"] = "THERMOSTAT";
32
32
  EntitySubType["ON_PREM_SERVER"] = "ON_PREM_SERVER";
33
+ EntitySubType["PMS_ACCOUNT"] = "PMS_ACCOUNT";
34
+ EntitySubType["DEVICE_ACCOUNT"] = "DEVICE_ACCOUNT";
33
35
  })(EntitySubType || (exports.EntitySubType = EntitySubType = {}));
34
36
  var IssueStatus;
35
37
  (function (IssueStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "7.1.5",
3
+ "version": "7.1.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [