dt-common-device 8.0.6 → 8.0.7

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.
@@ -21,6 +21,9 @@ export interface ISchedule {
21
21
  timezone: string;
22
22
  scheduleInheritedFrom?: "zone" | "device";
23
23
  zoneId: string;
24
+ reservationId?: string;
25
+ accessGroupId?: string;
26
+ type: "ON" | "OFF";
24
27
  userId?: string;
25
28
  status: "SET" | "UNSET";
26
29
  }
@@ -764,7 +764,7 @@ let IssueService = (() => {
764
764
  const updatedIssue = await this.updateIssue(issue.id, updateData);
765
765
  if (updatedIssue) {
766
766
  // Log the action for audit purposes
767
- console.log(`Issue ${issue.id} has been ${action}ed by ${updatedBy}`);
767
+ //console.log(`Issue ${issue.id} has been ${action}ed by ${updatedBy}`);
768
768
  await dt_pub_sub_1.eventDispatcher.publishEvent(auditType, updatedIssue, "dt-common-device");
769
769
  await (0, audit_1.pushAudit)({
770
770
  auditType: auditType,
@@ -837,8 +837,8 @@ let IssueService = (() => {
837
837
  const responseTime = this.calculateAverageResponseTime(stats);
838
838
  const resolutionRate = this.calculateResolutionRate(stats);
839
839
  // Log resolution rate for monitoring
840
- console.log(`Resolution rate: ${resolutionRate.toFixed(2)}%`);
841
- console.log(`Response time: ${responseTime.toFixed(2)} days`);
840
+ // console.log(`Resolution rate: ${resolutionRate.toFixed(2)}%`);
841
+ // console.log(`Response time: ${responseTime.toFixed(2)} days`);
842
842
  // Business logic: Add alerts for critical metrics
843
843
  if (stats.overdue > 0) {
844
844
  console.warn(`Alert: ${stats.overdue} overdue issues detected`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "8.0.6",
3
+ "version": "8.0.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [