dt-common-device 9.1.10 → 9.1.11

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.
@@ -72,7 +72,8 @@ export declare enum IssueType {
72
72
  LOCK_JAMMED = "LOCK_JAMMED",
73
73
  DEVICE_MALFUNCTION = "DEVICE_MALFUNCTION",
74
74
  NO_GUEST_CODES = "NO_GUEST_CODES",
75
- JUST_ENOUGH_GUEST_CODES = "JUST_ENOUGH_GUEST_CODES"
75
+ JUST_ENOUGH_GUEST_CODES = "JUST_ENOUGH_GUEST_CODES",
76
+ PMS_CODE_NOT_DELIVERED = "PMS_CODE_NOT_DELIVERED"
76
77
  }
77
78
  export interface IssueDocument {
78
79
  id: string;
@@ -78,4 +78,5 @@ var IssueType;
78
78
  IssueType["DEVICE_MALFUNCTION"] = "DEVICE_MALFUNCTION";
79
79
  IssueType["NO_GUEST_CODES"] = "NO_GUEST_CODES";
80
80
  IssueType["JUST_ENOUGH_GUEST_CODES"] = "JUST_ENOUGH_GUEST_CODES";
81
+ IssueType["PMS_CODE_NOT_DELIVERED"] = "PMS_CODE_NOT_DELIVERED";
81
82
  })(IssueType || (exports.IssueType = IssueType = {}));
@@ -155,7 +155,7 @@ class QueueUtils {
155
155
  }
156
156
  };
157
157
  checkJob();
158
- const waitTime = queueKey.includes("cloudbeds") ? 180000 : 60000;
158
+ const waitTime = queueKey.toLowerCase().includes("cloudbeds") ? 180000 : 60000;
159
159
  // Backup timeout
160
160
  setTimeout(() => {
161
161
  clearTimeout(timeoutId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "9.1.10",
3
+ "version": "9.1.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [