@kohost/api-client 3.3.18 → 3.3.20
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.
- package/dist/cjs/schemas/space.json +21 -1
- package/dist/cjs/schemas/thermostat.json +1 -2
- package/dist/esm/Models.js +22 -3
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +22 -3
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/SpaceSchema.d.ts +22 -0
- package/package.json +1 -1
package/dist/esm/utils.js
CHANGED
|
@@ -9007,8 +9007,7 @@ var require_thermostat = __commonJS({
|
|
|
9007
9007
|
},
|
|
9008
9008
|
currentHumidity: {
|
|
9009
9009
|
type: "number",
|
|
9010
|
-
minimum: 0
|
|
9011
|
-
maximum: 99
|
|
9010
|
+
minimum: 0
|
|
9012
9011
|
},
|
|
9013
9012
|
hvacMode: {
|
|
9014
9013
|
type: "string",
|
|
@@ -11381,7 +11380,8 @@ var require_space = __commonJS({
|
|
|
11381
11380
|
additionalProperties: false,
|
|
11382
11381
|
default: {
|
|
11383
11382
|
active: false,
|
|
11384
|
-
allowed: false
|
|
11383
|
+
allowed: false,
|
|
11384
|
+
previousState: null
|
|
11385
11385
|
},
|
|
11386
11386
|
properties: {
|
|
11387
11387
|
active: {
|
|
@@ -11395,6 +11395,25 @@ var require_space = __commonJS({
|
|
|
11395
11395
|
allowed: {
|
|
11396
11396
|
type: "boolean",
|
|
11397
11397
|
default: false
|
|
11398
|
+
},
|
|
11399
|
+
previousState: {
|
|
11400
|
+
type: ["object", "null"],
|
|
11401
|
+
properties: {
|
|
11402
|
+
thermostats: {
|
|
11403
|
+
type: "object",
|
|
11404
|
+
patternProperties: {
|
|
11405
|
+
".*": {
|
|
11406
|
+
type: "object",
|
|
11407
|
+
properties: {
|
|
11408
|
+
setpoints: {
|
|
11409
|
+
$ref: "thermostat.json#/properties/setpoints"
|
|
11410
|
+
}
|
|
11411
|
+
}
|
|
11412
|
+
}
|
|
11413
|
+
}
|
|
11414
|
+
}
|
|
11415
|
+
},
|
|
11416
|
+
additionalProperties: false
|
|
11398
11417
|
}
|
|
11399
11418
|
}
|
|
11400
11419
|
},
|