@kohost/api-client 3.1.2 → 3.1.4
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/Client/index.js +141 -21
- package/dist/cjs/schemas/AlarmSchema.d.ts +1 -0
- package/dist/cjs/schemas/CameraSchema.d.ts +1 -0
- package/dist/cjs/schemas/CategorySchema.d.ts +1 -0
- package/dist/cjs/schemas/CourtesySchema.d.ts +1 -0
- package/dist/cjs/schemas/CredentialSchema.d.ts +1 -0
- package/dist/cjs/schemas/DimmerSchema.d.ts +1 -0
- package/dist/cjs/schemas/GatewaySchema.d.ts +1 -0
- package/dist/cjs/schemas/LockSchema.d.ts +2 -1
- package/dist/cjs/schemas/MediaSourceSchema.d.ts +2 -0
- package/dist/cjs/schemas/MotionSensorSchema.d.ts +1 -0
- package/dist/cjs/schemas/ProductSchema.d.ts +1 -0
- package/dist/cjs/schemas/ReservationSchema.d.ts +1 -0
- package/dist/cjs/schemas/RoomSchema.d.ts +13 -2
- package/dist/cjs/schemas/SpaceSchema.d.ts +1 -0
- package/dist/cjs/schemas/SwitchSchema.d.ts +1 -0
- package/dist/cjs/schemas/SystemUserSchema.d.ts +1 -0
- package/dist/cjs/schemas/ThermostatSchema.d.ts +2 -1
- package/dist/cjs/schemas/UserSchema.d.ts +1 -0
- package/dist/cjs/schemas/WindowCoveringSchema.d.ts +1 -0
- package/dist/cjs/schemas/definitions.json +3 -2
- package/dist/cjs/schemas/mediaSource.json +2 -1
- package/dist/esm/Client.js +141 -21
- package/dist/esm/Client.js.map +3 -3
- package/dist/esm/Models.js +4 -2
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +2 -1
- package/dist/esm/utils.js.map +2 -2
- package/dist/useCases/CreateUserMobileKey.js +32 -0
- package/dist/useCases/DescribeMyAuth.js +32 -0
- package/dist/useCases/{DescribeMyAccessCredentials.js → DescribeMyMobileKeyApp.js} +1 -1
- package/dist/useCases/ListUserMobileKeys.js +32 -0
- package/package.json +1 -1
package/dist/cjs/Client/index.js
CHANGED
|
@@ -271,6 +271,44 @@ var require_FinishRegisterPasskey = __commonJS({
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
+
// dist/useCases/DescribeMyAuth.js
|
|
275
|
+
var require_DescribeMyAuth = __commonJS({
|
|
276
|
+
"dist/useCases/DescribeMyAuth.js"(exports2, module2) {
|
|
277
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeMyAuth2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
278
|
+
if (!requestData)
|
|
279
|
+
requestData = {};
|
|
280
|
+
const pathParams = null;
|
|
281
|
+
const { data, query, headers } = requestData;
|
|
282
|
+
let url = "/auth/me";
|
|
283
|
+
if (pathParams && data) {
|
|
284
|
+
for (const param of pathParams) {
|
|
285
|
+
const paramName = param.replace(":", "");
|
|
286
|
+
url = url.replace(param, data[paramName]);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
290
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
291
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
292
|
+
return Promise.reject(
|
|
293
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
294
|
+
);
|
|
295
|
+
}
|
|
296
|
+
const config = {
|
|
297
|
+
method: "get",
|
|
298
|
+
url,
|
|
299
|
+
...httpConfigOptions
|
|
300
|
+
};
|
|
301
|
+
if (data)
|
|
302
|
+
config.data = data;
|
|
303
|
+
if (query)
|
|
304
|
+
config.params = query;
|
|
305
|
+
if (headers)
|
|
306
|
+
config.headers = headers;
|
|
307
|
+
return this._http.request(config);
|
|
308
|
+
}, "DescribeMyAuth");
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
|
|
274
312
|
// dist/useCases/DescribeSelf.js
|
|
275
313
|
var require_DescribeSelf = __commonJS({
|
|
276
314
|
"dist/useCases/DescribeSelf.js"(exports2, module2) {
|
|
@@ -803,15 +841,15 @@ var require_ListTeam = __commonJS({
|
|
|
803
841
|
}
|
|
804
842
|
});
|
|
805
843
|
|
|
806
|
-
// dist/useCases/
|
|
807
|
-
var
|
|
808
|
-
"dist/useCases/
|
|
809
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
844
|
+
// dist/useCases/DescribeMyPasskeyRegistrations.js
|
|
845
|
+
var require_DescribeMyPasskeyRegistrations = __commonJS({
|
|
846
|
+
"dist/useCases/DescribeMyPasskeyRegistrations.js"(exports2, module2) {
|
|
847
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeMyPasskeyRegistrations2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
810
848
|
if (!requestData)
|
|
811
849
|
requestData = {};
|
|
812
850
|
const pathParams = null;
|
|
813
851
|
const { data, query, headers } = requestData;
|
|
814
|
-
let url = "/users/me/
|
|
852
|
+
let url = "/users/me/passkeyRegistrations";
|
|
815
853
|
if (pathParams && data) {
|
|
816
854
|
for (const param of pathParams) {
|
|
817
855
|
const paramName = param.replace(":", "");
|
|
@@ -837,19 +875,95 @@ var require_DescribeMyAccessCredentials = __commonJS({
|
|
|
837
875
|
if (headers)
|
|
838
876
|
config.headers = headers;
|
|
839
877
|
return this._http.request(config);
|
|
840
|
-
}, "
|
|
878
|
+
}, "DescribeMyPasskeyRegistrations");
|
|
841
879
|
}
|
|
842
880
|
});
|
|
843
881
|
|
|
844
|
-
// dist/useCases/
|
|
845
|
-
var
|
|
846
|
-
"dist/useCases/
|
|
847
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
882
|
+
// dist/useCases/TipUser.js
|
|
883
|
+
var require_TipUser = __commonJS({
|
|
884
|
+
"dist/useCases/TipUser.js"(exports2, module2) {
|
|
885
|
+
module2.exports = /* @__PURE__ */ __name(function TipUser2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
886
|
+
if (!requestData)
|
|
887
|
+
requestData = {};
|
|
888
|
+
const pathParams = [":id"];
|
|
889
|
+
const { data, query, headers } = requestData;
|
|
890
|
+
let url = "/users/:id/tip";
|
|
891
|
+
if (pathParams && data) {
|
|
892
|
+
for (const param of pathParams) {
|
|
893
|
+
const paramName = param.replace(":", "");
|
|
894
|
+
url = url.replace(param, data[paramName]);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
898
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
899
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
900
|
+
return Promise.reject(
|
|
901
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
902
|
+
);
|
|
903
|
+
}
|
|
904
|
+
const config = {
|
|
905
|
+
method: "post",
|
|
906
|
+
url,
|
|
907
|
+
...httpConfigOptions
|
|
908
|
+
};
|
|
909
|
+
if (data)
|
|
910
|
+
config.data = data;
|
|
911
|
+
if (query)
|
|
912
|
+
config.params = query;
|
|
913
|
+
if (headers)
|
|
914
|
+
config.headers = headers;
|
|
915
|
+
return this._http.request(config);
|
|
916
|
+
}, "TipUser");
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
|
|
920
|
+
// dist/useCases/CreateUserMobileKey.js
|
|
921
|
+
var require_CreateUserMobileKey = __commonJS({
|
|
922
|
+
"dist/useCases/CreateUserMobileKey.js"(exports2, module2) {
|
|
923
|
+
module2.exports = /* @__PURE__ */ __name(function CreateUserMobileKey2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
924
|
+
if (!requestData)
|
|
925
|
+
requestData = {};
|
|
926
|
+
const pathParams = [":id"];
|
|
927
|
+
const { data, query, headers } = requestData;
|
|
928
|
+
let url = "/users/:id/mobileKeys";
|
|
929
|
+
if (pathParams && data) {
|
|
930
|
+
for (const param of pathParams) {
|
|
931
|
+
const paramName = param.replace(":", "");
|
|
932
|
+
url = url.replace(param, data[paramName]);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
936
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
937
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
938
|
+
return Promise.reject(
|
|
939
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
940
|
+
);
|
|
941
|
+
}
|
|
942
|
+
const config = {
|
|
943
|
+
method: "post",
|
|
944
|
+
url,
|
|
945
|
+
...httpConfigOptions
|
|
946
|
+
};
|
|
947
|
+
if (data)
|
|
948
|
+
config.data = data;
|
|
949
|
+
if (query)
|
|
950
|
+
config.params = query;
|
|
951
|
+
if (headers)
|
|
952
|
+
config.headers = headers;
|
|
953
|
+
return this._http.request(config);
|
|
954
|
+
}, "CreateUserMobileKey");
|
|
955
|
+
}
|
|
956
|
+
});
|
|
957
|
+
|
|
958
|
+
// dist/useCases/DescribeMyMobileKeyApp.js
|
|
959
|
+
var require_DescribeMyMobileKeyApp = __commonJS({
|
|
960
|
+
"dist/useCases/DescribeMyMobileKeyApp.js"(exports2, module2) {
|
|
961
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeMyMobileKeyApp2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
848
962
|
if (!requestData)
|
|
849
963
|
requestData = {};
|
|
850
964
|
const pathParams = null;
|
|
851
965
|
const { data, query, headers } = requestData;
|
|
852
|
-
let url = "/users/me/
|
|
966
|
+
let url = "/users/me/accessCredentials";
|
|
853
967
|
if (pathParams && data) {
|
|
854
968
|
for (const param of pathParams) {
|
|
855
969
|
const paramName = param.replace(":", "");
|
|
@@ -875,19 +989,19 @@ var require_DescribeMyPasskeyRegistrations = __commonJS({
|
|
|
875
989
|
if (headers)
|
|
876
990
|
config.headers = headers;
|
|
877
991
|
return this._http.request(config);
|
|
878
|
-
}, "
|
|
992
|
+
}, "DescribeMyMobileKeyApp");
|
|
879
993
|
}
|
|
880
994
|
});
|
|
881
995
|
|
|
882
|
-
// dist/useCases/
|
|
883
|
-
var
|
|
884
|
-
"dist/useCases/
|
|
885
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
996
|
+
// dist/useCases/ListUserMobileKeys.js
|
|
997
|
+
var require_ListUserMobileKeys = __commonJS({
|
|
998
|
+
"dist/useCases/ListUserMobileKeys.js"(exports2, module2) {
|
|
999
|
+
module2.exports = /* @__PURE__ */ __name(function ListUserMobileKeys2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
886
1000
|
if (!requestData)
|
|
887
1001
|
requestData = {};
|
|
888
1002
|
const pathParams = [":id"];
|
|
889
1003
|
const { data, query, headers } = requestData;
|
|
890
|
-
let url = "/users/:id/
|
|
1004
|
+
let url = "/users/:id/mobileKeys";
|
|
891
1005
|
if (pathParams && data) {
|
|
892
1006
|
for (const param of pathParams) {
|
|
893
1007
|
const paramName = param.replace(":", "");
|
|
@@ -902,7 +1016,7 @@ var require_TipUser = __commonJS({
|
|
|
902
1016
|
);
|
|
903
1017
|
}
|
|
904
1018
|
const config = {
|
|
905
|
-
method: "
|
|
1019
|
+
method: "get",
|
|
906
1020
|
url,
|
|
907
1021
|
...httpConfigOptions
|
|
908
1022
|
};
|
|
@@ -913,7 +1027,7 @@ var require_TipUser = __commonJS({
|
|
|
913
1027
|
if (headers)
|
|
914
1028
|
config.headers = headers;
|
|
915
1029
|
return this._http.request(config);
|
|
916
|
-
}, "
|
|
1030
|
+
}, "ListUserMobileKeys");
|
|
917
1031
|
}
|
|
918
1032
|
});
|
|
919
1033
|
|
|
@@ -6929,6 +7043,7 @@ var RequestLoginToken = require_RequestLoginToken();
|
|
|
6929
7043
|
var LogoutUser = require_LogoutUser();
|
|
6930
7044
|
var StartRegisterPasskey = require_StartRegisterPasskey();
|
|
6931
7045
|
var FinishRegisterPasskey = require_FinishRegisterPasskey();
|
|
7046
|
+
var DescribeMyAuth = require_DescribeMyAuth();
|
|
6932
7047
|
var DescribeSelf = require_DescribeSelf();
|
|
6933
7048
|
var DescribeUser = require_DescribeUser();
|
|
6934
7049
|
var CreateUser = require_CreateUser();
|
|
@@ -6943,9 +7058,11 @@ var ListUserReservations = require_ListUserReservations();
|
|
|
6943
7058
|
var ListUserSpaces = require_ListUserSpaces();
|
|
6944
7059
|
var ListUserOrders = require_ListUserOrders();
|
|
6945
7060
|
var ListTeam = require_ListTeam();
|
|
6946
|
-
var DescribeMyAccessCredentials = require_DescribeMyAccessCredentials();
|
|
6947
7061
|
var DescribeMyPasskeyRegistrations = require_DescribeMyPasskeyRegistrations();
|
|
6948
7062
|
var TipUser = require_TipUser();
|
|
7063
|
+
var CreateUserMobileKey = require_CreateUserMobileKey();
|
|
7064
|
+
var DescribeMyMobileKeyApp = require_DescribeMyMobileKeyApp();
|
|
7065
|
+
var ListUserMobileKeys = require_ListUserMobileKeys();
|
|
6949
7066
|
var ListSpaces = require_ListSpaces();
|
|
6950
7067
|
var ListMySpaces = require_ListMySpaces();
|
|
6951
7068
|
var ListRoomsInSpace = require_ListRoomsInSpace();
|
|
@@ -7250,6 +7367,7 @@ KohostApiClient.prototype.RequestLoginToken = RequestLoginToken;
|
|
|
7250
7367
|
KohostApiClient.prototype.LogoutUser = LogoutUser;
|
|
7251
7368
|
KohostApiClient.prototype.StartRegisterPasskey = StartRegisterPasskey;
|
|
7252
7369
|
KohostApiClient.prototype.FinishRegisterPasskey = FinishRegisterPasskey;
|
|
7370
|
+
KohostApiClient.prototype.DescribeMyAuth = DescribeMyAuth;
|
|
7253
7371
|
KohostApiClient.prototype.DescribeSelf = DescribeSelf;
|
|
7254
7372
|
KohostApiClient.prototype.DescribeUser = DescribeUser;
|
|
7255
7373
|
KohostApiClient.prototype.CreateUser = CreateUser;
|
|
@@ -7264,9 +7382,11 @@ KohostApiClient.prototype.ListUserReservations = ListUserReservations;
|
|
|
7264
7382
|
KohostApiClient.prototype.ListUserSpaces = ListUserSpaces;
|
|
7265
7383
|
KohostApiClient.prototype.ListUserOrders = ListUserOrders;
|
|
7266
7384
|
KohostApiClient.prototype.ListTeam = ListTeam;
|
|
7267
|
-
KohostApiClient.prototype.DescribeMyAccessCredentials = DescribeMyAccessCredentials;
|
|
7268
7385
|
KohostApiClient.prototype.DescribeMyPasskeyRegistrations = DescribeMyPasskeyRegistrations;
|
|
7269
7386
|
KohostApiClient.prototype.TipUser = TipUser;
|
|
7387
|
+
KohostApiClient.prototype.CreateUserMobileKey = CreateUserMobileKey;
|
|
7388
|
+
KohostApiClient.prototype.DescribeMyMobileKeyApp = DescribeMyMobileKeyApp;
|
|
7389
|
+
KohostApiClient.prototype.ListUserMobileKeys = ListUserMobileKeys;
|
|
7270
7390
|
KohostApiClient.prototype.ListSpaces = ListSpaces;
|
|
7271
7391
|
KohostApiClient.prototype.ListMySpaces = ListMySpaces;
|
|
7272
7392
|
KohostApiClient.prototype.ListRoomsInSpace = ListRoomsInSpace;
|
|
@@ -136,6 +136,7 @@ export interface Lock {
|
|
|
136
136
|
| "salto-irn"
|
|
137
137
|
| "se"
|
|
138
138
|
| "sendgrid"
|
|
139
|
+
| "sonifi"
|
|
139
140
|
| "stay-n-touch"
|
|
140
141
|
| "twilio"
|
|
141
142
|
| "cloudflare-images"
|
|
@@ -146,7 +147,7 @@ export interface Lock {
|
|
|
146
147
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
147
148
|
*/
|
|
148
149
|
mode?: "normal" | "autoLock" | null;
|
|
149
|
-
batteryLevel?: number;
|
|
150
|
+
batteryLevel?: number | null;
|
|
150
151
|
systemId?: string;
|
|
151
152
|
watts?: number;
|
|
152
153
|
[k: string]: unknown;
|
|
@@ -118,6 +118,7 @@ export interface MediaSource {
|
|
|
118
118
|
| "salto-irn"
|
|
119
119
|
| "se"
|
|
120
120
|
| "sendgrid"
|
|
121
|
+
| "sonifi"
|
|
121
122
|
| "stay-n-touch"
|
|
122
123
|
| "twilio"
|
|
123
124
|
| "cloudflare-images"
|
|
@@ -238,6 +239,7 @@ export interface MediaSource {
|
|
|
238
239
|
| "yellow"
|
|
239
240
|
| "blue"
|
|
240
241
|
| "alert"
|
|
242
|
+
| "order"
|
|
241
243
|
)
|
|
242
244
|
| null;
|
|
243
245
|
supportedNotifications?: SupportedNotifications;
|
|
@@ -166,6 +166,7 @@ export interface Dimmer {
|
|
|
166
166
|
| "salto-irn"
|
|
167
167
|
| "se"
|
|
168
168
|
| "sendgrid"
|
|
169
|
+
| "sonifi"
|
|
169
170
|
| "stay-n-touch"
|
|
170
171
|
| "twilio"
|
|
171
172
|
| "cloudflare-images"
|
|
@@ -255,6 +256,7 @@ export interface Switch {
|
|
|
255
256
|
| "salto-irn"
|
|
256
257
|
| "se"
|
|
257
258
|
| "sendgrid"
|
|
259
|
+
| "sonifi"
|
|
258
260
|
| "stay-n-touch"
|
|
259
261
|
| "twilio"
|
|
260
262
|
| "cloudflare-images"
|
|
@@ -314,6 +316,7 @@ export interface Thermostat {
|
|
|
314
316
|
| "salto-irn"
|
|
315
317
|
| "se"
|
|
316
318
|
| "sendgrid"
|
|
319
|
+
| "sonifi"
|
|
317
320
|
| "stay-n-touch"
|
|
318
321
|
| "twilio"
|
|
319
322
|
| "cloudflare-images"
|
|
@@ -373,7 +376,7 @@ export interface Thermostat {
|
|
|
373
376
|
};
|
|
374
377
|
minAutoDelta?: number;
|
|
375
378
|
cycleRate?: number;
|
|
376
|
-
batteryLevel?: number;
|
|
379
|
+
batteryLevel?: number | null;
|
|
377
380
|
systemId?: string;
|
|
378
381
|
watts?: number;
|
|
379
382
|
[k: string]: unknown;
|
|
@@ -461,6 +464,7 @@ export interface Lock {
|
|
|
461
464
|
| "salto-irn"
|
|
462
465
|
| "se"
|
|
463
466
|
| "sendgrid"
|
|
467
|
+
| "sonifi"
|
|
464
468
|
| "stay-n-touch"
|
|
465
469
|
| "twilio"
|
|
466
470
|
| "cloudflare-images"
|
|
@@ -471,7 +475,7 @@ export interface Lock {
|
|
|
471
475
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
472
476
|
*/
|
|
473
477
|
mode?: "normal" | "autoLock" | null;
|
|
474
|
-
batteryLevel?: number;
|
|
478
|
+
batteryLevel?: number | null;
|
|
475
479
|
systemId?: string;
|
|
476
480
|
watts?: number;
|
|
477
481
|
[k: string]: unknown;
|
|
@@ -554,6 +558,7 @@ export interface WindowCovering {
|
|
|
554
558
|
| "salto-irn"
|
|
555
559
|
| "se"
|
|
556
560
|
| "sendgrid"
|
|
561
|
+
| "sonifi"
|
|
557
562
|
| "stay-n-touch"
|
|
558
563
|
| "twilio"
|
|
559
564
|
| "cloudflare-images"
|
|
@@ -642,6 +647,7 @@ export interface Courtesy {
|
|
|
642
647
|
| "salto-irn"
|
|
643
648
|
| "se"
|
|
644
649
|
| "sendgrid"
|
|
650
|
+
| "sonifi"
|
|
645
651
|
| "stay-n-touch"
|
|
646
652
|
| "twilio"
|
|
647
653
|
| "cloudflare-images"
|
|
@@ -731,6 +737,7 @@ export interface Camera {
|
|
|
731
737
|
| "salto-irn"
|
|
732
738
|
| "se"
|
|
733
739
|
| "sendgrid"
|
|
740
|
+
| "sonifi"
|
|
734
741
|
| "stay-n-touch"
|
|
735
742
|
| "twilio"
|
|
736
743
|
| "cloudflare-images"
|
|
@@ -777,6 +784,7 @@ export interface MediaSource {
|
|
|
777
784
|
| "salto-irn"
|
|
778
785
|
| "se"
|
|
779
786
|
| "sendgrid"
|
|
787
|
+
| "sonifi"
|
|
780
788
|
| "stay-n-touch"
|
|
781
789
|
| "twilio"
|
|
782
790
|
| "cloudflare-images"
|
|
@@ -897,6 +905,7 @@ export interface MediaSource {
|
|
|
897
905
|
| "yellow"
|
|
898
906
|
| "blue"
|
|
899
907
|
| "alert"
|
|
908
|
+
| "order"
|
|
900
909
|
)
|
|
901
910
|
| null;
|
|
902
911
|
supportedNotifications?: SupportedNotifications;
|
|
@@ -978,6 +987,7 @@ export interface MotionSensor {
|
|
|
978
987
|
| "salto-irn"
|
|
979
988
|
| "se"
|
|
980
989
|
| "sendgrid"
|
|
990
|
+
| "sonifi"
|
|
981
991
|
| "stay-n-touch"
|
|
982
992
|
| "twilio"
|
|
983
993
|
| "cloudflare-images"
|
|
@@ -1094,6 +1104,7 @@ export interface Alarm {
|
|
|
1094
1104
|
| "salto-irn"
|
|
1095
1105
|
| "se"
|
|
1096
1106
|
| "sendgrid"
|
|
1107
|
+
| "sonifi"
|
|
1097
1108
|
| "stay-n-touch"
|
|
1098
1109
|
| "twilio"
|
|
1099
1110
|
| "cloudflare-images"
|
|
@@ -135,6 +135,7 @@ export interface Thermostat {
|
|
|
135
135
|
| "salto-irn"
|
|
136
136
|
| "se"
|
|
137
137
|
| "sendgrid"
|
|
138
|
+
| "sonifi"
|
|
138
139
|
| "stay-n-touch"
|
|
139
140
|
| "twilio"
|
|
140
141
|
| "cloudflare-images"
|
|
@@ -167,7 +168,7 @@ export interface Thermostat {
|
|
|
167
168
|
};
|
|
168
169
|
minAutoDelta?: number;
|
|
169
170
|
cycleRate?: number;
|
|
170
|
-
batteryLevel?: number;
|
|
171
|
+
batteryLevel?: number | null;
|
|
171
172
|
systemId?: string;
|
|
172
173
|
watts?: number;
|
|
173
174
|
[k: string]: unknown;
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"salto-irn",
|
|
107
107
|
"se",
|
|
108
108
|
"sendgrid",
|
|
109
|
+
"sonifi",
|
|
109
110
|
"stay-n-touch",
|
|
110
111
|
"twilio",
|
|
111
112
|
"cloudflare-images",
|
|
@@ -188,7 +189,7 @@
|
|
|
188
189
|
}
|
|
189
190
|
},
|
|
190
191
|
"batteryLevel": {
|
|
191
|
-
"type": "number",
|
|
192
|
+
"type": ["number", "null"],
|
|
192
193
|
"minimum": 0,
|
|
193
194
|
"maximum": 100
|
|
194
195
|
},
|
|
@@ -215,7 +216,7 @@
|
|
|
215
216
|
"type": "number"
|
|
216
217
|
},
|
|
217
218
|
"tax": {
|
|
218
|
-
"type": ["number", "null"]
|
|
219
|
+
"type": ["number", "null"]
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
222
|
}
|