@kohost/api-client 3.0.0-beta.83 → 3.0.0-beta.85

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.
@@ -35,7 +35,7 @@
35
35
  "type": "string"
36
36
  },
37
37
  "expires": {
38
- "type": ["string", "object"]
38
+ "type": ["string", "object", "null"]
39
39
  },
40
40
  "systemId": {
41
41
  "$ref": "definitions.json#/definitions/systemId"
@@ -162,9 +162,11 @@
162
162
  "softwareFailureWithCode",
163
163
  "motionDetection",
164
164
  "airFilterNeedsCleaned",
165
+ "airFilterNeedsReplaced",
165
166
  "smokeDetected",
166
167
  "outsideSafeTemperatureRange",
167
- "outsideSafeHumidityRange"
168
+ "outsideSafeHumidityRange",
169
+ "scheduleMaintenance"
168
170
  ]
169
171
  }
170
172
  },
@@ -14,9 +14,6 @@
14
14
  "type": {
15
15
  "$ref": "definitions.json#/definitions/type"
16
16
  },
17
- "subType": {
18
- "$ref": "definitions.json#/definitions/subType"
19
- },
20
17
  "supportedNotifications": {
21
18
  "$ref": "definitions.json#/definitions/supportedNotifications"
22
19
  },
@@ -30,7 +27,7 @@
30
27
  "type": "boolean"
31
28
  },
32
29
  "level": {
33
- "type": "number",
30
+ "type": ["number", "null"],
34
31
  "minimum": 0,
35
32
  "maximum": 100
36
33
  },
@@ -30,6 +30,12 @@
30
30
  "type": ["string", "null"],
31
31
  "enum": ["locked", "unlocked", null]
32
32
  },
33
+ "mode": {
34
+ "type": ["string", "null"],
35
+ "enum": ["normal", "autoLock", null],
36
+ "description": "AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.",
37
+ "default": "normal"
38
+ },
33
39
  "batteryLevel": {
34
40
  "$ref": "definitions.json#/definitions/batteryLevel"
35
41
  },
@@ -24,6 +24,12 @@
24
24
  "userName": {
25
25
  "type": "string"
26
26
  },
27
+ "systemId": {
28
+ "type": "string"
29
+ },
30
+ "systemName": {
31
+ "type": "string"
32
+ },
27
33
  "timestamp": {
28
34
  "$ref": "definitions.json#/definitions/createdAt"
29
35
  },
@@ -41,7 +47,14 @@
41
47
  "anyOf": [{ "$ref": "mediaFile.json" }, { "type": "null" }]
42
48
  }
43
49
  },
44
- "required": ["userId", "id", "timestamp", "body"]
50
+ "anyOf": [
51
+ {
52
+ "required": ["id", "userId", "timestamp", "body"]
53
+ },
54
+ {
55
+ "required": ["id", "systemId", "timestamp", "body"]
56
+ }
57
+ ]
45
58
  }
46
59
  },
47
60
  "requester": {
@@ -50,6 +63,16 @@
50
63
  "systemId": {
51
64
  "type": "string"
52
65
  },
66
+ "systemName": {
67
+ "type": "string"
68
+ },
69
+ "systemPhoto": {
70
+ "anyOf": [
71
+ { "$ref": "mediaFile.json" },
72
+ { "type": "null" },
73
+ { "type": "string" }
74
+ ]
75
+ },
53
76
  "userId": {
54
77
  "type": "string"
55
78
  },
@@ -7621,9 +7621,11 @@ var require_definitions = __commonJS({
7621
7621
  "softwareFailureWithCode",
7622
7622
  "motionDetection",
7623
7623
  "airFilterNeedsCleaned",
7624
+ "airFilterNeedsReplaced",
7624
7625
  "smokeDetected",
7625
7626
  "outsideSafeTemperatureRange",
7626
- "outsideSafeHumidityRange"
7627
+ "outsideSafeHumidityRange",
7628
+ "scheduleMaintenance"
7627
7629
  ]
7628
7630
  }
7629
7631
  },
@@ -8667,9 +8669,6 @@ var require_dimmer = __commonJS({
8667
8669
  type: {
8668
8670
  $ref: "definitions.json#/definitions/type"
8669
8671
  },
8670
- subType: {
8671
- $ref: "definitions.json#/definitions/subType"
8672
- },
8673
8672
  supportedNotifications: {
8674
8673
  $ref: "definitions.json#/definitions/supportedNotifications"
8675
8674
  },
@@ -8683,7 +8682,7 @@ var require_dimmer = __commonJS({
8683
8682
  type: "boolean"
8684
8683
  },
8685
8684
  level: {
8686
- type: "number",
8685
+ type: ["number", "null"],
8687
8686
  minimum: 0,
8688
8687
  maximum: 100
8689
8688
  },
@@ -8789,6 +8788,12 @@ var require_lock = __commonJS({
8789
8788
  type: ["string", "null"],
8790
8789
  enum: ["locked", "unlocked", null]
8791
8790
  },
8791
+ mode: {
8792
+ type: ["string", "null"],
8793
+ enum: ["normal", "autoLock", null],
8794
+ description: "AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.",
8795
+ default: "normal"
8796
+ },
8792
8797
  batteryLevel: {
8793
8798
  $ref: "definitions.json#/definitions/batteryLevel"
8794
8799
  },
@@ -11945,6 +11950,12 @@ var require_ticket = __commonJS({
11945
11950
  userName: {
11946
11951
  type: "string"
11947
11952
  },
11953
+ systemId: {
11954
+ type: "string"
11955
+ },
11956
+ systemName: {
11957
+ type: "string"
11958
+ },
11948
11959
  timestamp: {
11949
11960
  $ref: "definitions.json#/definitions/createdAt"
11950
11961
  },
@@ -11962,7 +11973,14 @@ var require_ticket = __commonJS({
11962
11973
  anyOf: [{ $ref: "mediaFile.json" }, { type: "null" }]
11963
11974
  }
11964
11975
  },
11965
- required: ["userId", "id", "timestamp", "body"]
11976
+ anyOf: [
11977
+ {
11978
+ required: ["id", "userId", "timestamp", "body"]
11979
+ },
11980
+ {
11981
+ required: ["id", "systemId", "timestamp", "body"]
11982
+ }
11983
+ ]
11966
11984
  }
11967
11985
  },
11968
11986
  requester: {
@@ -11971,6 +11989,16 @@ var require_ticket = __commonJS({
11971
11989
  systemId: {
11972
11990
  type: "string"
11973
11991
  },
11992
+ systemName: {
11993
+ type: "string"
11994
+ },
11995
+ systemPhoto: {
11996
+ anyOf: [
11997
+ { $ref: "mediaFile.json" },
11998
+ { type: "null" },
11999
+ { type: "string" }
12000
+ ]
12001
+ },
11974
12002
  userId: {
11975
12003
  type: "string"
11976
12004
  },
@@ -14791,7 +14819,7 @@ var require_credential = __commonJS({
14791
14819
  type: "string"
14792
14820
  },
14793
14821
  expires: {
14794
- type: ["string", "object"]
14822
+ type: ["string", "object", "null"]
14795
14823
  },
14796
14824
  systemId: {
14797
14825
  $ref: "definitions.json#/definitions/systemId"