hap-nodejs 0.9.5 → 0.9.8

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.
Files changed (107) hide show
  1. package/README.md +1 -1
  2. package/dist/BridgedCore.js +3 -3
  3. package/dist/BridgedCore.js.map +1 -1
  4. package/dist/Core.js +3 -3
  5. package/dist/Core.js.map +1 -1
  6. package/dist/accessories/AppleTVRemote_accessory.js +8 -8
  7. package/dist/accessories/AppleTVRemote_accessory.js.map +1 -1
  8. package/dist/accessories/Camera_accessory.js +2 -2
  9. package/dist/accessories/Camera_accessory.js.map +1 -1
  10. package/dist/accessories/Fan_accessory.js +4 -4
  11. package/dist/accessories/gstreamer-audioProducer.js +7 -7
  12. package/dist/accessories/gstreamer-audioProducer.js.map +1 -1
  13. package/dist/index.d.ts +5 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +34 -24
  16. package/dist/index.js.map +1 -1
  17. package/dist/lib/Accessory.d.ts +20 -3
  18. package/dist/lib/Accessory.d.ts.map +1 -1
  19. package/dist/lib/Accessory.js +114 -81
  20. package/dist/lib/Accessory.js.map +1 -1
  21. package/dist/lib/AccessoryLoader.js +5 -5
  22. package/dist/lib/AccessoryLoader.js.map +1 -1
  23. package/dist/lib/Advertiser.d.ts +2 -2
  24. package/dist/lib/Advertiser.d.ts.map +1 -1
  25. package/dist/lib/Advertiser.js +32 -24
  26. package/dist/lib/Advertiser.js.map +1 -1
  27. package/dist/lib/Bridge.js +1 -1
  28. package/dist/lib/Bridge.js.map +1 -1
  29. package/dist/lib/Characteristic.js +48 -48
  30. package/dist/lib/Characteristic.js.map +1 -1
  31. package/dist/lib/HAPServer.js +26 -26
  32. package/dist/lib/HAPServer.js.map +1 -1
  33. package/dist/lib/Service.d.ts.map +1 -1
  34. package/dist/lib/Service.js +29 -25
  35. package/dist/lib/Service.js.map +1 -1
  36. package/dist/lib/camera/RTPProxy.js +1 -1
  37. package/dist/lib/camera/RTPProxy.js.map +1 -1
  38. package/dist/lib/camera/RTPStreamManagement.d.ts +2 -2
  39. package/dist/lib/camera/RTPStreamManagement.d.ts.map +1 -1
  40. package/dist/lib/camera/RTPStreamManagement.js +16 -15
  41. package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
  42. package/dist/lib/camera/index.js +3 -3
  43. package/dist/lib/camera/index.js.map +1 -1
  44. package/dist/lib/controller/AdaptiveLightingController.js +12 -12
  45. package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
  46. package/dist/lib/controller/CameraController.js +5 -5
  47. package/dist/lib/controller/CameraController.js.map +1 -1
  48. package/dist/lib/controller/DoorbellController.js +1 -1
  49. package/dist/lib/controller/DoorbellController.js.map +1 -1
  50. package/dist/lib/controller/RemoteController.js +20 -20
  51. package/dist/lib/controller/RemoteController.js.map +1 -1
  52. package/dist/lib/controller/index.js +5 -5
  53. package/dist/lib/controller/index.js.map +1 -1
  54. package/dist/lib/datastream/DataStreamManagement.js +3 -3
  55. package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
  56. package/dist/lib/datastream/DataStreamParser.js +15 -15
  57. package/dist/lib/datastream/DataStreamParser.js.map +1 -1
  58. package/dist/lib/datastream/DataStreamServer.js +10 -10
  59. package/dist/lib/datastream/DataStreamServer.js.map +1 -1
  60. package/dist/lib/datastream/index.js +3 -3
  61. package/dist/lib/datastream/index.js.map +1 -1
  62. package/dist/lib/definitions/CharacteristicDefinitions.js +249 -249
  63. package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
  64. package/dist/lib/definitions/ServiceDefinitions.js +75 -75
  65. package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
  66. package/dist/lib/definitions/generate-definitions.js +59 -59
  67. package/dist/lib/definitions/generate-definitions.js.map +1 -1
  68. package/dist/lib/definitions/generator-configuration.js +2 -2
  69. package/dist/lib/definitions/generator-configuration.js.map +1 -1
  70. package/dist/lib/definitions/index.js +2 -2
  71. package/dist/lib/definitions/index.js.map +1 -1
  72. package/dist/lib/model/AccessoryInfo.js +9 -9
  73. package/dist/lib/model/AccessoryInfo.js.map +1 -1
  74. package/dist/lib/model/ControllerStorage.js +6 -6
  75. package/dist/lib/model/ControllerStorage.js.map +1 -1
  76. package/dist/lib/model/HAPStorage.js +1 -1
  77. package/dist/lib/model/HAPStorage.js.map +1 -1
  78. package/dist/lib/model/IdentifierCache.js +2 -2
  79. package/dist/lib/model/IdentifierCache.js.map +1 -1
  80. package/dist/lib/tv/AccessControlManagement.js +2 -2
  81. package/dist/lib/tv/AccessControlManagement.js.map +1 -1
  82. package/dist/lib/util/clone.js +4 -4
  83. package/dist/lib/util/clone.js.map +1 -1
  84. package/dist/lib/util/color-utils.js +2 -2
  85. package/dist/lib/util/color-utils.js.map +1 -1
  86. package/dist/lib/util/eventedhttp.js +32 -32
  87. package/dist/lib/util/eventedhttp.js.map +1 -1
  88. package/dist/lib/util/hapCrypto.d.ts.map +1 -1
  89. package/dist/lib/util/hapCrypto.js +20 -7
  90. package/dist/lib/util/hapCrypto.js.map +1 -1
  91. package/dist/lib/util/hapStatusError.js +2 -2
  92. package/dist/lib/util/hapStatusError.js.map +1 -1
  93. package/dist/lib/util/net-utils.js +6 -6
  94. package/dist/lib/util/net-utils.js.map +1 -1
  95. package/dist/lib/util/once.js +1 -1
  96. package/dist/lib/util/once.js.map +1 -1
  97. package/dist/lib/util/promise-utils.d.ts +2 -0
  98. package/dist/lib/util/promise-utils.d.ts.map +1 -0
  99. package/dist/lib/util/promise-utils.js +10 -0
  100. package/dist/lib/util/promise-utils.js.map +1 -0
  101. package/dist/lib/util/time.js +3 -3
  102. package/dist/lib/util/time.js.map +1 -1
  103. package/dist/lib/util/tlv.js +6 -6
  104. package/dist/lib/util/tlv.js.map +1 -1
  105. package/dist/lib/util/uuid.js +1 -1
  106. package/dist/lib/util/uuid.js.map +1 -1
  107. package/package.json +16 -16
@@ -12,7 +12,7 @@ var Service_1 = require("../Service");
12
12
  * @since iOS 15
13
13
  */
14
14
  var AccessCode = /** @class */ (function (_super) {
15
- tslib_1.__extends(AccessCode, _super);
15
+ (0, tslib_1.__extends)(AccessCode, _super);
16
16
  function AccessCode(displayName, subtype) {
17
17
  var _this = _super.call(this, displayName, AccessCode.UUID, subtype) || this;
18
18
  // Required Characteristics
@@ -30,7 +30,7 @@ Service_1.Service.AccessCode = AccessCode;
30
30
  * Service "Access Control"
31
31
  */
32
32
  var AccessControl = /** @class */ (function (_super) {
33
- tslib_1.__extends(AccessControl, _super);
33
+ (0, tslib_1.__extends)(AccessControl, _super);
34
34
  function AccessControl(displayName, subtype) {
35
35
  var _this = _super.call(this, displayName, AccessControl.UUID, subtype) || this;
36
36
  // Required Characteristics
@@ -48,7 +48,7 @@ Service_1.Service.AccessControl = AccessControl;
48
48
  * Service "Accessory Information"
49
49
  */
50
50
  var AccessoryInformation = /** @class */ (function (_super) {
51
- tslib_1.__extends(AccessoryInformation, _super);
51
+ (0, tslib_1.__extends)(AccessoryInformation, _super);
52
52
  function AccessoryInformation(displayName, subtype) {
53
53
  var _this = _super.call(this, displayName, AccessoryInformation.UUID, subtype) || this;
54
54
  // Required Characteristics
@@ -79,7 +79,7 @@ Service_1.Service.AccessoryInformation = AccessoryInformation;
79
79
  * Service "Accessory Metrics"
80
80
  */
81
81
  var AccessoryMetrics = /** @class */ (function (_super) {
82
- tslib_1.__extends(AccessoryMetrics, _super);
82
+ (0, tslib_1.__extends)(AccessoryMetrics, _super);
83
83
  function AccessoryMetrics(displayName, subtype) {
84
84
  var _this = _super.call(this, displayName, AccessoryMetrics.UUID, subtype) || this;
85
85
  // Required Characteristics
@@ -95,7 +95,7 @@ Service_1.Service.AccessoryMetrics = AccessoryMetrics;
95
95
  * Service "Accessory Runtime Information"
96
96
  */
97
97
  var AccessoryRuntimeInformation = /** @class */ (function (_super) {
98
- tslib_1.__extends(AccessoryRuntimeInformation, _super);
98
+ (0, tslib_1.__extends)(AccessoryRuntimeInformation, _super);
99
99
  function AccessoryRuntimeInformation(displayName, subtype) {
100
100
  var _this = _super.call(this, displayName, AccessoryRuntimeInformation.UUID, subtype) || this;
101
101
  // Required Characteristics
@@ -115,7 +115,7 @@ Service_1.Service.AccessoryRuntimeInformation = AccessoryRuntimeInformation;
115
115
  * Service "Air Purifier"
116
116
  */
117
117
  var AirPurifier = /** @class */ (function (_super) {
118
- tslib_1.__extends(AirPurifier, _super);
118
+ (0, tslib_1.__extends)(AirPurifier, _super);
119
119
  function AirPurifier(displayName, subtype) {
120
120
  var _this = _super.call(this, displayName, AirPurifier.UUID, subtype) || this;
121
121
  // Required Characteristics
@@ -138,7 +138,7 @@ Service_1.Service.AirPurifier = AirPurifier;
138
138
  * Service "Air Quality Sensor"
139
139
  */
140
140
  var AirQualitySensor = /** @class */ (function (_super) {
141
- tslib_1.__extends(AirQualitySensor, _super);
141
+ (0, tslib_1.__extends)(AirQualitySensor, _super);
142
142
  function AirQualitySensor(displayName, subtype) {
143
143
  var _this = _super.call(this, displayName, AirQualitySensor.UUID, subtype) || this;
144
144
  // Required Characteristics
@@ -166,7 +166,7 @@ Service_1.Service.AirQualitySensor = AirQualitySensor;
166
166
  * Service "Asset Update"
167
167
  */
168
168
  var AssetUpdate = /** @class */ (function (_super) {
169
- tslib_1.__extends(AssetUpdate, _super);
169
+ (0, tslib_1.__extends)(AssetUpdate, _super);
170
170
  function AssetUpdate(displayName, subtype) {
171
171
  var _this = _super.call(this, displayName, AssetUpdate.UUID, subtype) || this;
172
172
  // Required Characteristics
@@ -183,7 +183,7 @@ Service_1.Service.AssetUpdate = AssetUpdate;
183
183
  * Service "Assistant"
184
184
  */
185
185
  var Assistant = /** @class */ (function (_super) {
186
- tslib_1.__extends(Assistant, _super);
186
+ (0, tslib_1.__extends)(Assistant, _super);
187
187
  function Assistant(displayName, subtype) {
188
188
  var _this = _super.call(this, displayName, Assistant.UUID, subtype) || this;
189
189
  // Required Characteristics
@@ -203,7 +203,7 @@ Service_1.Service.Assistant = Assistant;
203
203
  * Service "Audio Stream Management"
204
204
  */
205
205
  var AudioStreamManagement = /** @class */ (function (_super) {
206
- tslib_1.__extends(AudioStreamManagement, _super);
206
+ (0, tslib_1.__extends)(AudioStreamManagement, _super);
207
207
  function AudioStreamManagement(displayName, subtype) {
208
208
  var _this = _super.call(this, displayName, AudioStreamManagement.UUID, subtype) || this;
209
209
  // Required Characteristics
@@ -220,7 +220,7 @@ Service_1.Service.AudioStreamManagement = AudioStreamManagement;
220
220
  * Service "Battery"
221
221
  */
222
222
  var Battery = /** @class */ (function (_super) {
223
- tslib_1.__extends(Battery, _super);
223
+ (0, tslib_1.__extends)(Battery, _super);
224
224
  function Battery(displayName, subtype) {
225
225
  var _this = _super.call(this, displayName, Battery.UUID, subtype) || this;
226
226
  // Required Characteristics
@@ -243,7 +243,7 @@ Service_1.Service.Battery = Battery;
243
243
  * @deprecated Removed and not used anymore
244
244
  */
245
245
  var BridgeConfiguration = /** @class */ (function (_super) {
246
- tslib_1.__extends(BridgeConfiguration, _super);
246
+ (0, tslib_1.__extends)(BridgeConfiguration, _super);
247
247
  function BridgeConfiguration(displayName, subtype) {
248
248
  var _this = _super.call(this, displayName, BridgeConfiguration.UUID, subtype) || this;
249
249
  // Required Characteristics
@@ -266,7 +266,7 @@ Service_1.Service.BridgeConfiguration = BridgeConfiguration;
266
266
  * @deprecated Removed and not used anymore
267
267
  */
268
268
  var BridgingState = /** @class */ (function (_super) {
269
- tslib_1.__extends(BridgingState, _super);
269
+ (0, tslib_1.__extends)(BridgingState, _super);
270
270
  function BridgingState(displayName, subtype) {
271
271
  var _this = _super.call(this, displayName, BridgingState.UUID, subtype) || this;
272
272
  // Required Characteristics
@@ -289,7 +289,7 @@ Service_1.Service.BridgingState = BridgingState;
289
289
  * @deprecated This service has no usage anymore and will be ignored by iOS
290
290
  */
291
291
  var CameraControl = /** @class */ (function (_super) {
292
- tslib_1.__extends(CameraControl, _super);
292
+ (0, tslib_1.__extends)(CameraControl, _super);
293
293
  function CameraControl(displayName, subtype) {
294
294
  var _this = _super.call(this, displayName, CameraControl.UUID, subtype) || this;
295
295
  // Required Characteristics
@@ -317,7 +317,7 @@ Service_1.Service.CameraControl = CameraControl;
317
317
  * Service "Camera Operating Mode"
318
318
  */
319
319
  var CameraOperatingMode = /** @class */ (function (_super) {
320
- tslib_1.__extends(CameraOperatingMode, _super);
320
+ (0, tslib_1.__extends)(CameraOperatingMode, _super);
321
321
  function CameraOperatingMode(displayName, subtype) {
322
322
  var _this = _super.call(this, displayName, CameraOperatingMode.UUID, subtype) || this;
323
323
  // Required Characteristics
@@ -341,7 +341,7 @@ Service_1.Service.CameraOperatingMode = CameraOperatingMode;
341
341
  * Service "Camera Recording Management"
342
342
  */
343
343
  var CameraRecordingManagement = /** @class */ (function (_super) {
344
- tslib_1.__extends(CameraRecordingManagement, _super);
344
+ (0, tslib_1.__extends)(CameraRecordingManagement, _super);
345
345
  function CameraRecordingManagement(displayName, subtype) {
346
346
  var _this = _super.call(this, displayName, CameraRecordingManagement.UUID, subtype) || this;
347
347
  // Required Characteristics
@@ -365,7 +365,7 @@ Service_1.Service.CameraRecordingManagement = CameraRecordingManagement;
365
365
  * Service "Camera RTP Stream Management"
366
366
  */
367
367
  var CameraRTPStreamManagement = /** @class */ (function (_super) {
368
- tslib_1.__extends(CameraRTPStreamManagement, _super);
368
+ (0, tslib_1.__extends)(CameraRTPStreamManagement, _super);
369
369
  function CameraRTPStreamManagement(displayName, subtype) {
370
370
  var _this = _super.call(this, displayName, CameraRTPStreamManagement.UUID, subtype) || this;
371
371
  // Required Characteristics
@@ -388,7 +388,7 @@ Service_1.Service.CameraRTPStreamManagement = CameraRTPStreamManagement;
388
388
  * Service "Carbon Dioxide Sensor"
389
389
  */
390
390
  var CarbonDioxideSensor = /** @class */ (function (_super) {
391
- tslib_1.__extends(CarbonDioxideSensor, _super);
391
+ (0, tslib_1.__extends)(CarbonDioxideSensor, _super);
392
392
  function CarbonDioxideSensor(displayName, subtype) {
393
393
  var _this = _super.call(this, displayName, CarbonDioxideSensor.UUID, subtype) || this;
394
394
  // Required Characteristics
@@ -412,7 +412,7 @@ Service_1.Service.CarbonDioxideSensor = CarbonDioxideSensor;
412
412
  * Service "Carbon Monoxide Sensor"
413
413
  */
414
414
  var CarbonMonoxideSensor = /** @class */ (function (_super) {
415
- tslib_1.__extends(CarbonMonoxideSensor, _super);
415
+ (0, tslib_1.__extends)(CarbonMonoxideSensor, _super);
416
416
  function CarbonMonoxideSensor(displayName, subtype) {
417
417
  var _this = _super.call(this, displayName, CarbonMonoxideSensor.UUID, subtype) || this;
418
418
  // Required Characteristics
@@ -436,7 +436,7 @@ Service_1.Service.CarbonMonoxideSensor = CarbonMonoxideSensor;
436
436
  * Service "Cloud Relay"
437
437
  */
438
438
  var CloudRelay = /** @class */ (function (_super) {
439
- tslib_1.__extends(CloudRelay, _super);
439
+ (0, tslib_1.__extends)(CloudRelay, _super);
440
440
  function CloudRelay(displayName, subtype) {
441
441
  var _this = _super.call(this, displayName, CloudRelay.UUID, subtype) || this;
442
442
  // Required Characteristics
@@ -456,7 +456,7 @@ Service_1.Service.CloudRelay = CloudRelay;
456
456
  * Service "Contact Sensor"
457
457
  */
458
458
  var ContactSensor = /** @class */ (function (_super) {
459
- tslib_1.__extends(ContactSensor, _super);
459
+ (0, tslib_1.__extends)(ContactSensor, _super);
460
460
  function ContactSensor(displayName, subtype) {
461
461
  var _this = _super.call(this, displayName, ContactSensor.UUID, subtype) || this;
462
462
  // Required Characteristics
@@ -478,7 +478,7 @@ Service_1.Service.ContactSensor = ContactSensor;
478
478
  * Service "Data Stream Transport Management"
479
479
  */
480
480
  var DataStreamTransportManagement = /** @class */ (function (_super) {
481
- tslib_1.__extends(DataStreamTransportManagement, _super);
481
+ (0, tslib_1.__extends)(DataStreamTransportManagement, _super);
482
482
  function DataStreamTransportManagement(displayName, subtype) {
483
483
  var _this = _super.call(this, displayName, DataStreamTransportManagement.UUID, subtype) || this;
484
484
  // Required Characteristics
@@ -496,7 +496,7 @@ Service_1.Service.DataStreamTransportManagement = DataStreamTransportManagement;
496
496
  * Service "Diagnostics"
497
497
  */
498
498
  var Diagnostics = /** @class */ (function (_super) {
499
- tslib_1.__extends(Diagnostics, _super);
499
+ (0, tslib_1.__extends)(Diagnostics, _super);
500
500
  function Diagnostics(displayName, subtype) {
501
501
  var _this = _super.call(this, displayName, Diagnostics.UUID, subtype) || this;
502
502
  // Required Characteristics
@@ -515,7 +515,7 @@ Service_1.Service.Diagnostics = Diagnostics;
515
515
  * Service "Door"
516
516
  */
517
517
  var Door = /** @class */ (function (_super) {
518
- tslib_1.__extends(Door, _super);
518
+ (0, tslib_1.__extends)(Door, _super);
519
519
  function Door(displayName, subtype) {
520
520
  var _this = _super.call(this, displayName, Door.UUID, subtype) || this;
521
521
  // Required Characteristics
@@ -537,7 +537,7 @@ Service_1.Service.Door = Door;
537
537
  * Service "Doorbell"
538
538
  */
539
539
  var Doorbell = /** @class */ (function (_super) {
540
- tslib_1.__extends(Doorbell, _super);
540
+ (0, tslib_1.__extends)(Doorbell, _super);
541
541
  function Doorbell(displayName, subtype) {
542
542
  var _this = _super.call(this, displayName, Doorbell.UUID, subtype) || this;
543
543
  // Required Characteristics
@@ -559,7 +559,7 @@ Service_1.Service.Doorbell = Doorbell;
559
559
  * Service "Fan"
560
560
  */
561
561
  var Fan = /** @class */ (function (_super) {
562
- tslib_1.__extends(Fan, _super);
562
+ (0, tslib_1.__extends)(Fan, _super);
563
563
  function Fan(displayName, subtype) {
564
564
  var _this = _super.call(this, displayName, Fan.UUID, subtype) || this;
565
565
  // Required Characteristics
@@ -579,7 +579,7 @@ Service_1.Service.Fan = Fan;
579
579
  * Service "Fanv2"
580
580
  */
581
581
  var Fanv2 = /** @class */ (function (_super) {
582
- tslib_1.__extends(Fanv2, _super);
582
+ (0, tslib_1.__extends)(Fanv2, _super);
583
583
  function Fanv2(displayName, subtype) {
584
584
  var _this = _super.call(this, displayName, Fanv2.UUID, subtype) || this;
585
585
  // Required Characteristics
@@ -603,7 +603,7 @@ Service_1.Service.Fanv2 = Fanv2;
603
603
  * Service "Faucet"
604
604
  */
605
605
  var Faucet = /** @class */ (function (_super) {
606
- tslib_1.__extends(Faucet, _super);
606
+ (0, tslib_1.__extends)(Faucet, _super);
607
607
  function Faucet(displayName, subtype) {
608
608
  var _this = _super.call(this, displayName, Faucet.UUID, subtype) || this;
609
609
  // Required Characteristics
@@ -622,7 +622,7 @@ Service_1.Service.Faucet = Faucet;
622
622
  * Service "Filter Maintenance"
623
623
  */
624
624
  var FilterMaintenance = /** @class */ (function (_super) {
625
- tslib_1.__extends(FilterMaintenance, _super);
625
+ (0, tslib_1.__extends)(FilterMaintenance, _super);
626
626
  function FilterMaintenance(displayName, subtype) {
627
627
  var _this = _super.call(this, displayName, FilterMaintenance.UUID, subtype) || this;
628
628
  // Required Characteristics
@@ -642,7 +642,7 @@ Service_1.Service.FilterMaintenance = FilterMaintenance;
642
642
  * Service "Garage Door Opener"
643
643
  */
644
644
  var GarageDoorOpener = /** @class */ (function (_super) {
645
- tslib_1.__extends(GarageDoorOpener, _super);
645
+ (0, tslib_1.__extends)(GarageDoorOpener, _super);
646
646
  function GarageDoorOpener(displayName, subtype) {
647
647
  var _this = _super.call(this, displayName, GarageDoorOpener.UUID, subtype) || this;
648
648
  // Required Characteristics
@@ -664,7 +664,7 @@ Service_1.Service.GarageDoorOpener = GarageDoorOpener;
664
664
  * Service "Heater-Cooler"
665
665
  */
666
666
  var HeaterCooler = /** @class */ (function (_super) {
667
- tslib_1.__extends(HeaterCooler, _super);
667
+ (0, tslib_1.__extends)(HeaterCooler, _super);
668
668
  function HeaterCooler(displayName, subtype) {
669
669
  var _this = _super.call(this, displayName, HeaterCooler.UUID, subtype) || this;
670
670
  // Required Characteristics
@@ -691,7 +691,7 @@ Service_1.Service.HeaterCooler = HeaterCooler;
691
691
  * Service "Humidifier-Dehumidifier"
692
692
  */
693
693
  var HumidifierDehumidifier = /** @class */ (function (_super) {
694
- tslib_1.__extends(HumidifierDehumidifier, _super);
694
+ (0, tslib_1.__extends)(HumidifierDehumidifier, _super);
695
695
  function HumidifierDehumidifier(displayName, subtype) {
696
696
  var _this = _super.call(this, displayName, HumidifierDehumidifier.UUID, subtype) || this;
697
697
  // Required Characteristics
@@ -718,7 +718,7 @@ Service_1.Service.HumidifierDehumidifier = HumidifierDehumidifier;
718
718
  * Service "Humidity Sensor"
719
719
  */
720
720
  var HumiditySensor = /** @class */ (function (_super) {
721
- tslib_1.__extends(HumiditySensor, _super);
721
+ (0, tslib_1.__extends)(HumiditySensor, _super);
722
722
  function HumiditySensor(displayName, subtype) {
723
723
  var _this = _super.call(this, displayName, HumiditySensor.UUID, subtype) || this;
724
724
  // Required Characteristics
@@ -740,7 +740,7 @@ Service_1.Service.HumiditySensor = HumiditySensor;
740
740
  * Service "Input Source"
741
741
  */
742
742
  var InputSource = /** @class */ (function (_super) {
743
- tslib_1.__extends(InputSource, _super);
743
+ (0, tslib_1.__extends)(InputSource, _super);
744
744
  function InputSource(displayName, subtype) {
745
745
  var _this = _super.call(this, displayName, InputSource.UUID, subtype) || this;
746
746
  // Required Characteristics
@@ -766,7 +766,7 @@ Service_1.Service.InputSource = InputSource;
766
766
  * Service "Irrigation-System"
767
767
  */
768
768
  var IrrigationSystem = /** @class */ (function (_super) {
769
- tslib_1.__extends(IrrigationSystem, _super);
769
+ (0, tslib_1.__extends)(IrrigationSystem, _super);
770
770
  function IrrigationSystem(displayName, subtype) {
771
771
  var _this = _super.call(this, displayName, IrrigationSystem.UUID, subtype) || this;
772
772
  // Required Characteristics
@@ -788,7 +788,7 @@ Service_1.Service.IrrigationSystem = IrrigationSystem;
788
788
  * Service "Leak Sensor"
789
789
  */
790
790
  var LeakSensor = /** @class */ (function (_super) {
791
- tslib_1.__extends(LeakSensor, _super);
791
+ (0, tslib_1.__extends)(LeakSensor, _super);
792
792
  function LeakSensor(displayName, subtype) {
793
793
  var _this = _super.call(this, displayName, LeakSensor.UUID, subtype) || this;
794
794
  // Required Characteristics
@@ -810,7 +810,7 @@ Service_1.Service.LeakSensor = LeakSensor;
810
810
  * Service "Lightbulb"
811
811
  */
812
812
  var Lightbulb = /** @class */ (function (_super) {
813
- tslib_1.__extends(Lightbulb, _super);
813
+ (0, tslib_1.__extends)(Lightbulb, _super);
814
814
  function Lightbulb(displayName, subtype) {
815
815
  var _this = _super.call(this, displayName, Lightbulb.UUID, subtype) || this;
816
816
  // Required Characteristics
@@ -835,7 +835,7 @@ Service_1.Service.Lightbulb = Lightbulb;
835
835
  * Service "Light Sensor"
836
836
  */
837
837
  var LightSensor = /** @class */ (function (_super) {
838
- tslib_1.__extends(LightSensor, _super);
838
+ (0, tslib_1.__extends)(LightSensor, _super);
839
839
  function LightSensor(displayName, subtype) {
840
840
  var _this = _super.call(this, displayName, LightSensor.UUID, subtype) || this;
841
841
  // Required Characteristics
@@ -857,7 +857,7 @@ Service_1.Service.LightSensor = LightSensor;
857
857
  * Service "Lock Management"
858
858
  */
859
859
  var LockManagement = /** @class */ (function (_super) {
860
- tslib_1.__extends(LockManagement, _super);
860
+ (0, tslib_1.__extends)(LockManagement, _super);
861
861
  function LockManagement(displayName, subtype) {
862
862
  var _this = _super.call(this, displayName, LockManagement.UUID, subtype) || this;
863
863
  // Required Characteristics
@@ -882,7 +882,7 @@ Service_1.Service.LockManagement = LockManagement;
882
882
  * Service "Lock Mechanism"
883
883
  */
884
884
  var LockMechanism = /** @class */ (function (_super) {
885
- tslib_1.__extends(LockMechanism, _super);
885
+ (0, tslib_1.__extends)(LockMechanism, _super);
886
886
  function LockMechanism(displayName, subtype) {
887
887
  var _this = _super.call(this, displayName, LockMechanism.UUID, subtype) || this;
888
888
  // Required Characteristics
@@ -901,7 +901,7 @@ Service_1.Service.LockMechanism = LockMechanism;
901
901
  * Service "Microphone"
902
902
  */
903
903
  var Microphone = /** @class */ (function (_super) {
904
- tslib_1.__extends(Microphone, _super);
904
+ (0, tslib_1.__extends)(Microphone, _super);
905
905
  function Microphone(displayName, subtype) {
906
906
  var _this = _super.call(this, displayName, Microphone.UUID, subtype) || this;
907
907
  // Required Characteristics
@@ -919,7 +919,7 @@ Service_1.Service.Microphone = Microphone;
919
919
  * Service "Motion Sensor"
920
920
  */
921
921
  var MotionSensor = /** @class */ (function (_super) {
922
- tslib_1.__extends(MotionSensor, _super);
922
+ (0, tslib_1.__extends)(MotionSensor, _super);
923
923
  function MotionSensor(displayName, subtype) {
924
924
  var _this = _super.call(this, displayName, MotionSensor.UUID, subtype) || this;
925
925
  // Required Characteristics
@@ -942,7 +942,7 @@ Service_1.Service.MotionSensor = MotionSensor;
942
942
  * @since iOS 15
943
943
  */
944
944
  var NFCAccess = /** @class */ (function (_super) {
945
- tslib_1.__extends(NFCAccess, _super);
945
+ (0, tslib_1.__extends)(NFCAccess, _super);
946
946
  function NFCAccess(displayName, subtype) {
947
947
  var _this = _super.call(this, displayName, NFCAccess.UUID, subtype) || this;
948
948
  // Required Characteristics
@@ -960,7 +960,7 @@ Service_1.Service.NFCAccess = NFCAccess;
960
960
  * Service "Occupancy Sensor"
961
961
  */
962
962
  var OccupancySensor = /** @class */ (function (_super) {
963
- tslib_1.__extends(OccupancySensor, _super);
963
+ (0, tslib_1.__extends)(OccupancySensor, _super);
964
964
  function OccupancySensor(displayName, subtype) {
965
965
  var _this = _super.call(this, displayName, OccupancySensor.UUID, subtype) || this;
966
966
  // Required Characteristics
@@ -983,7 +983,7 @@ Service_1.Service.OccupancySensor = OccupancySensor;
983
983
  * @since iOS 13
984
984
  */
985
985
  var Outlet = /** @class */ (function (_super) {
986
- tslib_1.__extends(Outlet, _super);
986
+ (0, tslib_1.__extends)(Outlet, _super);
987
987
  function Outlet(displayName, subtype) {
988
988
  var _this = _super.call(this, displayName, Outlet.UUID, subtype) || this;
989
989
  // Required Characteristics
@@ -1002,7 +1002,7 @@ Service_1.Service.Outlet = Outlet;
1002
1002
  * Service "Pairing"
1003
1003
  */
1004
1004
  var Pairing = /** @class */ (function (_super) {
1005
- tslib_1.__extends(Pairing, _super);
1005
+ (0, tslib_1.__extends)(Pairing, _super);
1006
1006
  function Pairing(displayName, subtype) {
1007
1007
  var _this = _super.call(this, displayName, Pairing.UUID, subtype) || this;
1008
1008
  // Required Characteristics
@@ -1021,7 +1021,7 @@ Service_1.Service.Pairing = Pairing;
1021
1021
  * Service "Power Management"
1022
1022
  */
1023
1023
  var PowerManagement = /** @class */ (function (_super) {
1024
- tslib_1.__extends(PowerManagement, _super);
1024
+ (0, tslib_1.__extends)(PowerManagement, _super);
1025
1025
  function PowerManagement(displayName, subtype) {
1026
1026
  var _this = _super.call(this, displayName, PowerManagement.UUID, subtype) || this;
1027
1027
  // Required Characteristics
@@ -1037,7 +1037,7 @@ Service_1.Service.PowerManagement = PowerManagement;
1037
1037
  * Service "Protocol Information"
1038
1038
  */
1039
1039
  var ProtocolInformation = /** @class */ (function (_super) {
1040
- tslib_1.__extends(ProtocolInformation, _super);
1040
+ (0, tslib_1.__extends)(ProtocolInformation, _super);
1041
1041
  function ProtocolInformation(displayName, subtype) {
1042
1042
  var _this = _super.call(this, displayName, ProtocolInformation.UUID, subtype) || this;
1043
1043
  // Required Characteristics
@@ -1053,7 +1053,7 @@ Service_1.Service.ProtocolInformation = ProtocolInformation;
1053
1053
  * Service "Security System"
1054
1054
  */
1055
1055
  var SecuritySystem = /** @class */ (function (_super) {
1056
- tslib_1.__extends(SecuritySystem, _super);
1056
+ (0, tslib_1.__extends)(SecuritySystem, _super);
1057
1057
  function SecuritySystem(displayName, subtype) {
1058
1058
  var _this = _super.call(this, displayName, SecuritySystem.UUID, subtype) || this;
1059
1059
  // Required Characteristics
@@ -1075,7 +1075,7 @@ Service_1.Service.SecuritySystem = SecuritySystem;
1075
1075
  * Service "Service Label"
1076
1076
  */
1077
1077
  var ServiceLabel = /** @class */ (function (_super) {
1078
- tslib_1.__extends(ServiceLabel, _super);
1078
+ (0, tslib_1.__extends)(ServiceLabel, _super);
1079
1079
  function ServiceLabel(displayName, subtype) {
1080
1080
  var _this = _super.call(this, displayName, ServiceLabel.UUID, subtype) || this;
1081
1081
  // Required Characteristics
@@ -1091,7 +1091,7 @@ Service_1.Service.ServiceLabel = ServiceLabel;
1091
1091
  * Service "Siri"
1092
1092
  */
1093
1093
  var Siri = /** @class */ (function (_super) {
1094
- tslib_1.__extends(Siri, _super);
1094
+ (0, tslib_1.__extends)(Siri, _super);
1095
1095
  function Siri(displayName, subtype) {
1096
1096
  var _this = _super.call(this, displayName, Siri.UUID, subtype) || this;
1097
1097
  // Required Characteristics
@@ -1114,7 +1114,7 @@ Service_1.Service.Siri = Siri;
1114
1114
  * Service "Siri Endpoint"
1115
1115
  */
1116
1116
  var SiriEndpoint = /** @class */ (function (_super) {
1117
- tslib_1.__extends(SiriEndpoint, _super);
1117
+ (0, tslib_1.__extends)(SiriEndpoint, _super);
1118
1118
  function SiriEndpoint(displayName, subtype) {
1119
1119
  var _this = _super.call(this, displayName, SiriEndpoint.UUID, subtype) || this;
1120
1120
  // Required Characteristics
@@ -1134,7 +1134,7 @@ Service_1.Service.SiriEndpoint = SiriEndpoint;
1134
1134
  * Service "Slats"
1135
1135
  */
1136
1136
  var Slats = /** @class */ (function (_super) {
1137
- tslib_1.__extends(Slats, _super);
1137
+ (0, tslib_1.__extends)(Slats, _super);
1138
1138
  function Slats(displayName, subtype) {
1139
1139
  var _this = _super.call(this, displayName, Slats.UUID, subtype) || this;
1140
1140
  // Required Characteristics
@@ -1158,7 +1158,7 @@ Service_1.Service.Slats = Slats;
1158
1158
  * Service "Smart Speaker"
1159
1159
  */
1160
1160
  var SmartSpeaker = /** @class */ (function (_super) {
1161
- tslib_1.__extends(SmartSpeaker, _super);
1161
+ (0, tslib_1.__extends)(SmartSpeaker, _super);
1162
1162
  function SmartSpeaker(displayName, subtype) {
1163
1163
  var _this = _super.call(this, displayName, SmartSpeaker.UUID, subtype) || this;
1164
1164
  // Required Characteristics
@@ -1181,7 +1181,7 @@ Service_1.Service.SmartSpeaker = SmartSpeaker;
1181
1181
  * Service "Smoke Sensor"
1182
1182
  */
1183
1183
  var SmokeSensor = /** @class */ (function (_super) {
1184
- tslib_1.__extends(SmokeSensor, _super);
1184
+ (0, tslib_1.__extends)(SmokeSensor, _super);
1185
1185
  function SmokeSensor(displayName, subtype) {
1186
1186
  var _this = _super.call(this, displayName, SmokeSensor.UUID, subtype) || this;
1187
1187
  // Required Characteristics
@@ -1204,7 +1204,7 @@ Service_1.Service.SmokeSensor = SmokeSensor;
1204
1204
  * @since iOS 10
1205
1205
  */
1206
1206
  var Speaker = /** @class */ (function (_super) {
1207
- tslib_1.__extends(Speaker, _super);
1207
+ (0, tslib_1.__extends)(Speaker, _super);
1208
1208
  function Speaker(displayName, subtype) {
1209
1209
  var _this = _super.call(this, displayName, Speaker.UUID, subtype) || this;
1210
1210
  // Required Characteristics
@@ -1223,7 +1223,7 @@ Service_1.Service.Speaker = Speaker;
1223
1223
  * Service "Stateful Programmable Switch"
1224
1224
  */
1225
1225
  var StatefulProgrammableSwitch = /** @class */ (function (_super) {
1226
- tslib_1.__extends(StatefulProgrammableSwitch, _super);
1226
+ (0, tslib_1.__extends)(StatefulProgrammableSwitch, _super);
1227
1227
  function StatefulProgrammableSwitch(displayName, subtype) {
1228
1228
  var _this = _super.call(this, displayName, StatefulProgrammableSwitch.UUID, subtype) || this;
1229
1229
  // Required Characteristics
@@ -1242,7 +1242,7 @@ Service_1.Service.StatefulProgrammableSwitch = StatefulProgrammableSwitch;
1242
1242
  * Service "Stateless Programmable Switch"
1243
1243
  */
1244
1244
  var StatelessProgrammableSwitch = /** @class */ (function (_super) {
1245
- tslib_1.__extends(StatelessProgrammableSwitch, _super);
1245
+ (0, tslib_1.__extends)(StatelessProgrammableSwitch, _super);
1246
1246
  function StatelessProgrammableSwitch(displayName, subtype) {
1247
1247
  var _this = _super.call(this, displayName, StatelessProgrammableSwitch.UUID, subtype) || this;
1248
1248
  // Required Characteristics
@@ -1261,7 +1261,7 @@ Service_1.Service.StatelessProgrammableSwitch = StatelessProgrammableSwitch;
1261
1261
  * Service "Switch"
1262
1262
  */
1263
1263
  var Switch = /** @class */ (function (_super) {
1264
- tslib_1.__extends(Switch, _super);
1264
+ (0, tslib_1.__extends)(Switch, _super);
1265
1265
  function Switch(displayName, subtype) {
1266
1266
  var _this = _super.call(this, displayName, Switch.UUID, subtype) || this;
1267
1267
  // Required Characteristics
@@ -1279,7 +1279,7 @@ Service_1.Service.Switch = Switch;
1279
1279
  * Service "Target Control"
1280
1280
  */
1281
1281
  var TargetControl = /** @class */ (function (_super) {
1282
- tslib_1.__extends(TargetControl, _super);
1282
+ (0, tslib_1.__extends)(TargetControl, _super);
1283
1283
  function TargetControl(displayName, subtype) {
1284
1284
  var _this = _super.call(this, displayName, TargetControl.UUID, subtype) || this;
1285
1285
  // Required Characteristics
@@ -1299,7 +1299,7 @@ Service_1.Service.TargetControl = TargetControl;
1299
1299
  * Service "Target Control Management"
1300
1300
  */
1301
1301
  var TargetControlManagement = /** @class */ (function (_super) {
1302
- tslib_1.__extends(TargetControlManagement, _super);
1302
+ (0, tslib_1.__extends)(TargetControlManagement, _super);
1303
1303
  function TargetControlManagement(displayName, subtype) {
1304
1304
  var _this = _super.call(this, displayName, TargetControlManagement.UUID, subtype) || this;
1305
1305
  // Required Characteristics
@@ -1316,7 +1316,7 @@ Service_1.Service.TargetControlManagement = TargetControlManagement;
1316
1316
  * Service "Television"
1317
1317
  */
1318
1318
  var Television = /** @class */ (function (_super) {
1319
- tslib_1.__extends(Television, _super);
1319
+ (0, tslib_1.__extends)(Television, _super);
1320
1320
  function Television(displayName, subtype) {
1321
1321
  var _this = _super.call(this, displayName, Television.UUID, subtype) || this;
1322
1322
  // Required Characteristics
@@ -1345,7 +1345,7 @@ Service_1.Service.Television = Television;
1345
1345
  * Service "Television Speaker"
1346
1346
  */
1347
1347
  var TelevisionSpeaker = /** @class */ (function (_super) {
1348
- tslib_1.__extends(TelevisionSpeaker, _super);
1348
+ (0, tslib_1.__extends)(TelevisionSpeaker, _super);
1349
1349
  function TelevisionSpeaker(displayName, subtype) {
1350
1350
  var _this = _super.call(this, displayName, TelevisionSpeaker.UUID, subtype) || this;
1351
1351
  // Required Characteristics
@@ -1366,7 +1366,7 @@ Service_1.Service.TelevisionSpeaker = TelevisionSpeaker;
1366
1366
  * Service "Temperature Sensor"
1367
1367
  */
1368
1368
  var TemperatureSensor = /** @class */ (function (_super) {
1369
- tslib_1.__extends(TemperatureSensor, _super);
1369
+ (0, tslib_1.__extends)(TemperatureSensor, _super);
1370
1370
  function TemperatureSensor(displayName, subtype) {
1371
1371
  var _this = _super.call(this, displayName, TemperatureSensor.UUID, subtype) || this;
1372
1372
  // Required Characteristics
@@ -1388,7 +1388,7 @@ Service_1.Service.TemperatureSensor = TemperatureSensor;
1388
1388
  * Service "Thermostat"
1389
1389
  */
1390
1390
  var Thermostat = /** @class */ (function (_super) {
1391
- tslib_1.__extends(Thermostat, _super);
1391
+ (0, tslib_1.__extends)(Thermostat, _super);
1392
1392
  function Thermostat(displayName, subtype) {
1393
1393
  var _this = _super.call(this, displayName, Thermostat.UUID, subtype) || this;
1394
1394
  // Required Characteristics
@@ -1414,7 +1414,7 @@ Service_1.Service.Thermostat = Thermostat;
1414
1414
  * Service "Thread Transport"
1415
1415
  */
1416
1416
  var ThreadTransport = /** @class */ (function (_super) {
1417
- tslib_1.__extends(ThreadTransport, _super);
1417
+ (0, tslib_1.__extends)(ThreadTransport, _super);
1418
1418
  function ThreadTransport(displayName, subtype) {
1419
1419
  var _this = _super.call(this, displayName, ThreadTransport.UUID, subtype) || this;
1420
1420
  // Required Characteristics
@@ -1447,7 +1447,7 @@ Service_1.Service.ThreadTransport = ThreadTransport;
1447
1447
  * @deprecated Removed and not used anymore
1448
1448
  */
1449
1449
  var TimeInformation = /** @class */ (function (_super) {
1450
- tslib_1.__extends(TimeInformation, _super);
1450
+ (0, tslib_1.__extends)(TimeInformation, _super);
1451
1451
  function TimeInformation(displayName, subtype) {
1452
1452
  var _this = _super.call(this, displayName, TimeInformation.UUID, subtype) || this;
1453
1453
  // Required Characteristics
@@ -1468,7 +1468,7 @@ Service_1.Service.TimeInformation = TimeInformation;
1468
1468
  * Service "Transfer Transport Management"
1469
1469
  */
1470
1470
  var TransferTransportManagement = /** @class */ (function (_super) {
1471
- tslib_1.__extends(TransferTransportManagement, _super);
1471
+ (0, tslib_1.__extends)(TransferTransportManagement, _super);
1472
1472
  function TransferTransportManagement(displayName, subtype) {
1473
1473
  var _this = _super.call(this, displayName, TransferTransportManagement.UUID, subtype) || this;
1474
1474
  // Required Characteristics
@@ -1485,7 +1485,7 @@ Service_1.Service.TransferTransportManagement = TransferTransportManagement;
1485
1485
  * Service "Tunnel"
1486
1486
  */
1487
1487
  var Tunnel = /** @class */ (function (_super) {
1488
- tslib_1.__extends(Tunnel, _super);
1488
+ (0, tslib_1.__extends)(Tunnel, _super);
1489
1489
  function Tunnel(displayName, subtype) {
1490
1490
  var _this = _super.call(this, displayName, Tunnel.UUID, subtype) || this;
1491
1491
  // Required Characteristics
@@ -1507,7 +1507,7 @@ Service_1.Service.Tunnel = Tunnel;
1507
1507
  * Service "Valve"
1508
1508
  */
1509
1509
  var Valve = /** @class */ (function (_super) {
1510
- tslib_1.__extends(Valve, _super);
1510
+ (0, tslib_1.__extends)(Valve, _super);
1511
1511
  function Valve(displayName, subtype) {
1512
1512
  var _this = _super.call(this, displayName, Valve.UUID, subtype) || this;
1513
1513
  // Required Characteristics
@@ -1532,7 +1532,7 @@ Service_1.Service.Valve = Valve;
1532
1532
  * Service "Wi-Fi Router"
1533
1533
  */
1534
1534
  var WiFiRouter = /** @class */ (function (_super) {
1535
- tslib_1.__extends(WiFiRouter, _super);
1535
+ (0, tslib_1.__extends)(WiFiRouter, _super);
1536
1536
  function WiFiRouter(displayName, subtype) {
1537
1537
  var _this = _super.call(this, displayName, WiFiRouter.UUID, subtype) || this;
1538
1538
  // Required Characteristics
@@ -1556,7 +1556,7 @@ Service_1.Service.WiFiRouter = WiFiRouter;
1556
1556
  * Service "Wi-Fi Satellite"
1557
1557
  */
1558
1558
  var WiFiSatellite = /** @class */ (function (_super) {
1559
- tslib_1.__extends(WiFiSatellite, _super);
1559
+ (0, tslib_1.__extends)(WiFiSatellite, _super);
1560
1560
  function WiFiSatellite(displayName, subtype) {
1561
1561
  var _this = _super.call(this, displayName, WiFiSatellite.UUID, subtype) || this;
1562
1562
  // Required Characteristics
@@ -1572,7 +1572,7 @@ Service_1.Service.WiFiSatellite = WiFiSatellite;
1572
1572
  * Service "Wi-Fi Transport"
1573
1573
  */
1574
1574
  var WiFiTransport = /** @class */ (function (_super) {
1575
- tslib_1.__extends(WiFiTransport, _super);
1575
+ (0, tslib_1.__extends)(WiFiTransport, _super);
1576
1576
  function WiFiTransport(displayName, subtype) {
1577
1577
  var _this = _super.call(this, displayName, WiFiTransport.UUID, subtype) || this;
1578
1578
  // Required Characteristics
@@ -1591,7 +1591,7 @@ Service_1.Service.WiFiTransport = WiFiTransport;
1591
1591
  * Service "Window"
1592
1592
  */
1593
1593
  var Window = /** @class */ (function (_super) {
1594
- tslib_1.__extends(Window, _super);
1594
+ (0, tslib_1.__extends)(Window, _super);
1595
1595
  function Window(displayName, subtype) {
1596
1596
  var _this = _super.call(this, displayName, Window.UUID, subtype) || this;
1597
1597
  // Required Characteristics
@@ -1613,7 +1613,7 @@ Service_1.Service.Window = Window;
1613
1613
  * Service "Window Covering"
1614
1614
  */
1615
1615
  var WindowCovering = /** @class */ (function (_super) {
1616
- tslib_1.__extends(WindowCovering, _super);
1616
+ (0, tslib_1.__extends)(WindowCovering, _super);
1617
1617
  function WindowCovering(displayName, subtype) {
1618
1618
  var _this = _super.call(this, displayName, WindowCovering.UUID, subtype) || this;
1619
1619
  // Required Characteristics