@kohost/api-client 3.0.0-beta.35 → 3.0.0-beta.36
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/Models.js +13 -14
- package/dist/cjs/utils.js +1 -2
- package/dist/esm/Models.js +13 -14
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +1 -2
- package/dist/esm/utils.js.map +2 -2
- package/package.json +1 -1
package/dist/cjs/Models.js
CHANGED
|
@@ -196,8 +196,7 @@ var require_device = __commonJS({
|
|
|
196
196
|
},
|
|
197
197
|
watts: {
|
|
198
198
|
type: "number",
|
|
199
|
-
minimum: 0
|
|
200
|
-
default: 0
|
|
199
|
+
minimum: 0
|
|
201
200
|
}
|
|
202
201
|
}
|
|
203
202
|
};
|
|
@@ -272,7 +271,7 @@ var require_switch = __commonJS({
|
|
|
272
271
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
273
272
|
},
|
|
274
273
|
watts: {
|
|
275
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
274
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
276
275
|
}
|
|
277
276
|
},
|
|
278
277
|
additionalProperties: false,
|
|
@@ -663,7 +662,7 @@ var require_alarm = __commonJS({
|
|
|
663
662
|
}
|
|
664
663
|
},
|
|
665
664
|
watts: {
|
|
666
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
665
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
667
666
|
}
|
|
668
667
|
},
|
|
669
668
|
additionalProperties: false,
|
|
@@ -750,7 +749,7 @@ var require_dimmer = __commonJS({
|
|
|
750
749
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
751
750
|
},
|
|
752
751
|
watts: {
|
|
753
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
752
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
754
753
|
}
|
|
755
754
|
},
|
|
756
755
|
additionalProperties: false,
|
|
@@ -845,7 +844,7 @@ var require_lock = __commonJS({
|
|
|
845
844
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
846
845
|
},
|
|
847
846
|
watts: {
|
|
848
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
847
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
849
848
|
}
|
|
850
849
|
},
|
|
851
850
|
additionalProperties: false,
|
|
@@ -995,7 +994,7 @@ var require_thermostat = __commonJS({
|
|
|
995
994
|
default: {}
|
|
996
995
|
},
|
|
997
996
|
watts: {
|
|
998
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
997
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
999
998
|
}
|
|
1000
999
|
},
|
|
1001
1000
|
additionalProperties: false,
|
|
@@ -1157,7 +1156,7 @@ var require_windowCovering = __commonJS({
|
|
|
1157
1156
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
1158
1157
|
},
|
|
1159
1158
|
watts: {
|
|
1160
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
1159
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
1161
1160
|
}
|
|
1162
1161
|
},
|
|
1163
1162
|
additionalProperties: false,
|
|
@@ -1741,7 +1740,7 @@ var require_courtesy = __commonJS({
|
|
|
1741
1740
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
1742
1741
|
},
|
|
1743
1742
|
watts: {
|
|
1744
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
1743
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
1745
1744
|
}
|
|
1746
1745
|
},
|
|
1747
1746
|
additionalProperties: false,
|
|
@@ -1829,7 +1828,7 @@ var require_camera = __commonJS({
|
|
|
1829
1828
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
1830
1829
|
},
|
|
1831
1830
|
watts: {
|
|
1832
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
1831
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
1833
1832
|
}
|
|
1834
1833
|
},
|
|
1835
1834
|
additionalProperties: false,
|
|
@@ -1896,7 +1895,7 @@ var require_motionSensor = __commonJS({
|
|
|
1896
1895
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
|
|
1897
1896
|
},
|
|
1898
1897
|
watts: {
|
|
1899
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
1898
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
1900
1899
|
}
|
|
1901
1900
|
},
|
|
1902
1901
|
additionalProperties: false,
|
|
@@ -2113,7 +2112,7 @@ var require_mediaSource = __commonJS({
|
|
|
2113
2112
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
2114
2113
|
},
|
|
2115
2114
|
watts: {
|
|
2116
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
2115
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
2117
2116
|
}
|
|
2118
2117
|
},
|
|
2119
2118
|
additionalProperties: false
|
|
@@ -3303,7 +3302,7 @@ var require_gateway = __commonJS({
|
|
|
3303
3302
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
|
|
3304
3303
|
},
|
|
3305
3304
|
watts: {
|
|
3306
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
3305
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
3307
3306
|
}
|
|
3308
3307
|
},
|
|
3309
3308
|
additionalProperties: false,
|
|
@@ -3663,7 +3662,7 @@ var require_energyReportShard = __commonJS({
|
|
|
3663
3662
|
format: "date-time"
|
|
3664
3663
|
},
|
|
3665
3664
|
watts: {
|
|
3666
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
3665
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
3667
3666
|
},
|
|
3668
3667
|
id: {
|
|
3669
3668
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
|
package/dist/cjs/utils.js
CHANGED
package/dist/esm/Models.js
CHANGED
|
@@ -7573,8 +7573,7 @@ var require_device = __commonJS({
|
|
|
7573
7573
|
},
|
|
7574
7574
|
watts: {
|
|
7575
7575
|
type: "number",
|
|
7576
|
-
minimum: 0
|
|
7577
|
-
default: 0
|
|
7576
|
+
minimum: 0
|
|
7578
7577
|
}
|
|
7579
7578
|
}
|
|
7580
7579
|
};
|
|
@@ -7649,7 +7648,7 @@ var require_switch = __commonJS({
|
|
|
7649
7648
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
7650
7649
|
},
|
|
7651
7650
|
watts: {
|
|
7652
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
7651
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
7653
7652
|
}
|
|
7654
7653
|
},
|
|
7655
7654
|
additionalProperties: false,
|
|
@@ -8095,7 +8094,7 @@ var require_alarm = __commonJS({
|
|
|
8095
8094
|
}
|
|
8096
8095
|
},
|
|
8097
8096
|
watts: {
|
|
8098
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
8097
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
8099
8098
|
}
|
|
8100
8099
|
},
|
|
8101
8100
|
additionalProperties: false,
|
|
@@ -8182,7 +8181,7 @@ var require_dimmer = __commonJS({
|
|
|
8182
8181
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
8183
8182
|
},
|
|
8184
8183
|
watts: {
|
|
8185
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
8184
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
8186
8185
|
}
|
|
8187
8186
|
},
|
|
8188
8187
|
additionalProperties: false,
|
|
@@ -8277,7 +8276,7 @@ var require_lock = __commonJS({
|
|
|
8277
8276
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
8278
8277
|
},
|
|
8279
8278
|
watts: {
|
|
8280
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
8279
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
8281
8280
|
}
|
|
8282
8281
|
},
|
|
8283
8282
|
additionalProperties: false,
|
|
@@ -8427,7 +8426,7 @@ var require_thermostat = __commonJS({
|
|
|
8427
8426
|
default: {}
|
|
8428
8427
|
},
|
|
8429
8428
|
watts: {
|
|
8430
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
8429
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
8431
8430
|
}
|
|
8432
8431
|
},
|
|
8433
8432
|
additionalProperties: false,
|
|
@@ -8589,7 +8588,7 @@ var require_windowCovering = __commonJS({
|
|
|
8589
8588
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
8590
8589
|
},
|
|
8591
8590
|
watts: {
|
|
8592
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
8591
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
8593
8592
|
}
|
|
8594
8593
|
},
|
|
8595
8594
|
additionalProperties: false,
|
|
@@ -9220,7 +9219,7 @@ var require_courtesy = __commonJS({
|
|
|
9220
9219
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
9221
9220
|
},
|
|
9222
9221
|
watts: {
|
|
9223
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
9222
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
9224
9223
|
}
|
|
9225
9224
|
},
|
|
9226
9225
|
additionalProperties: false,
|
|
@@ -9308,7 +9307,7 @@ var require_camera = __commonJS({
|
|
|
9308
9307
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
9309
9308
|
},
|
|
9310
9309
|
watts: {
|
|
9311
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
9310
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
9312
9311
|
}
|
|
9313
9312
|
},
|
|
9314
9313
|
additionalProperties: false,
|
|
@@ -9375,7 +9374,7 @@ var require_motionSensor = __commonJS({
|
|
|
9375
9374
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
|
|
9376
9375
|
},
|
|
9377
9376
|
watts: {
|
|
9378
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
9377
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
9379
9378
|
}
|
|
9380
9379
|
},
|
|
9381
9380
|
additionalProperties: false,
|
|
@@ -9592,7 +9591,7 @@ var require_mediaSource = __commonJS({
|
|
|
9592
9591
|
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
|
|
9593
9592
|
},
|
|
9594
9593
|
watts: {
|
|
9595
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
9594
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
9596
9595
|
}
|
|
9597
9596
|
},
|
|
9598
9597
|
additionalProperties: false
|
|
@@ -13547,7 +13546,7 @@ var require_gateway = __commonJS({
|
|
|
13547
13546
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
|
|
13548
13547
|
},
|
|
13549
13548
|
watts: {
|
|
13550
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
13549
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
13551
13550
|
}
|
|
13552
13551
|
},
|
|
13553
13552
|
additionalProperties: false,
|
|
@@ -13907,7 +13906,7 @@ var require_energyReportShard = __commonJS({
|
|
|
13907
13906
|
format: "date-time"
|
|
13908
13907
|
},
|
|
13909
13908
|
watts: {
|
|
13910
|
-
$ref: "https://api.kohost.io/schemas/v3/definitions/
|
|
13909
|
+
$ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/watts"
|
|
13911
13910
|
},
|
|
13912
13911
|
id: {
|
|
13913
13912
|
$ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
|