@kohost/api-client 3.1.3 → 3.1.5
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/LockSchema.d.ts +1 -1
- package/dist/cjs/schemas/PropertySchema.d.ts +4 -0
- package/dist/cjs/schemas/RoomSchema.d.ts +2 -2
- package/dist/cjs/schemas/ThermostatSchema.d.ts +1 -1
- package/dist/cjs/schemas/definitions.json +2 -2
- package/dist/cjs/schemas/property.json +7 -0
- package/dist/esm/Models.js +8 -1
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +1 -1
- package/dist/esm/utils.js.map +2 -2
- package/package.json +1 -1
|
@@ -147,7 +147,7 @@ export interface Lock {
|
|
|
147
147
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
148
148
|
*/
|
|
149
149
|
mode?: "normal" | "autoLock" | null;
|
|
150
|
-
batteryLevel?: number;
|
|
150
|
+
batteryLevel?: number | null;
|
|
151
151
|
systemId?: string;
|
|
152
152
|
watts?: number;
|
|
153
153
|
[k: string]: unknown;
|
|
@@ -19,6 +19,10 @@ export interface Property {
|
|
|
19
19
|
organization: string | null;
|
|
20
20
|
testModeEnabled?: boolean;
|
|
21
21
|
testMode?: {
|
|
22
|
+
/**
|
|
23
|
+
* Only users with these email addresses will receive notifications in test mode, including sms, email, or push.
|
|
24
|
+
*/
|
|
25
|
+
notificationEmails?: string[];
|
|
22
26
|
/**
|
|
23
27
|
* Only users with email addreses ending in these domains will receive notifications in test mode, including sms, email, or push.
|
|
24
28
|
*/
|
|
@@ -376,7 +376,7 @@ export interface Thermostat {
|
|
|
376
376
|
};
|
|
377
377
|
minAutoDelta?: number;
|
|
378
378
|
cycleRate?: number;
|
|
379
|
-
batteryLevel?: number;
|
|
379
|
+
batteryLevel?: number | null;
|
|
380
380
|
systemId?: string;
|
|
381
381
|
watts?: number;
|
|
382
382
|
[k: string]: unknown;
|
|
@@ -475,7 +475,7 @@ export interface Lock {
|
|
|
475
475
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
476
476
|
*/
|
|
477
477
|
mode?: "normal" | "autoLock" | null;
|
|
478
|
-
batteryLevel?: number;
|
|
478
|
+
batteryLevel?: number | null;
|
|
479
479
|
systemId?: string;
|
|
480
480
|
watts?: number;
|
|
481
481
|
[k: string]: unknown;
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
"batteryLevel": {
|
|
192
|
-
"type": "number",
|
|
192
|
+
"type": ["number", "null"],
|
|
193
193
|
"minimum": 0,
|
|
194
194
|
"maximum": 100
|
|
195
195
|
},
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"type": "number"
|
|
217
217
|
},
|
|
218
218
|
"tax": {
|
|
219
|
-
"type": ["number", "null"]
|
|
219
|
+
"type": ["number", "null"]
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"testMode": {
|
|
31
31
|
"type": "object",
|
|
32
32
|
"properties": {
|
|
33
|
+
"notificationEmails": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"description": "Only users with these email addresses will receive notifications in test mode, including sms, email, or push."
|
|
39
|
+
},
|
|
33
40
|
"notificationEmailDomains": {
|
|
34
41
|
"type": "array",
|
|
35
42
|
"items": {
|
package/dist/esm/Models.js
CHANGED
|
@@ -7648,7 +7648,7 @@ var require_definitions = __commonJS({
|
|
|
7648
7648
|
}
|
|
7649
7649
|
},
|
|
7650
7650
|
batteryLevel: {
|
|
7651
|
-
type: "number",
|
|
7651
|
+
type: ["number", "null"],
|
|
7652
7652
|
minimum: 0,
|
|
7653
7653
|
maximum: 100
|
|
7654
7654
|
},
|
|
@@ -12986,6 +12986,13 @@ var require_property = __commonJS({
|
|
|
12986
12986
|
testMode: {
|
|
12987
12987
|
type: "object",
|
|
12988
12988
|
properties: {
|
|
12989
|
+
notificationEmails: {
|
|
12990
|
+
type: "array",
|
|
12991
|
+
items: {
|
|
12992
|
+
type: "string"
|
|
12993
|
+
},
|
|
12994
|
+
description: "Only users with these email addresses will receive notifications in test mode, including sms, email, or push."
|
|
12995
|
+
},
|
|
12989
12996
|
notificationEmailDomains: {
|
|
12990
12997
|
type: "array",
|
|
12991
12998
|
items: {
|