@zwave-js/cc 10.3.1 → 10.5.0

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 (72) hide show
  1. package/build/cc/AssociationGroupInfoCC.d.ts +1 -1
  2. package/build/cc/AssociationGroupInfoCC.d.ts.map +1 -1
  3. package/build/cc/BasicCC.d.ts +1 -1
  4. package/build/cc/BasicCC.d.ts.map +1 -1
  5. package/build/cc/BinarySwitchCC.d.ts +1 -1
  6. package/build/cc/BinarySwitchCC.d.ts.map +1 -1
  7. package/build/cc/ColorSwitchCC.d.ts +2 -2
  8. package/build/cc/ColorSwitchCC.d.ts.map +1 -1
  9. package/build/cc/ConfigurationCC.d.ts +3 -3
  10. package/build/cc/ConfigurationCC.d.ts.map +1 -1
  11. package/build/cc/DoorLockCC.d.ts +1 -1
  12. package/build/cc/DoorLockCC.d.ts.map +1 -1
  13. package/build/cc/FirmwareUpdateMetaDataCC.d.ts +1 -1
  14. package/build/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
  15. package/build/cc/InclusionControllerCC.d.ts +40 -0
  16. package/build/cc/InclusionControllerCC.d.ts.map +1 -0
  17. package/build/cc/InclusionControllerCC.js +123 -0
  18. package/build/cc/InclusionControllerCC.js.map +1 -0
  19. package/build/cc/IndicatorCC.d.ts +1 -1
  20. package/build/cc/IndicatorCC.d.ts.map +1 -1
  21. package/build/cc/IrrigationCC.d.ts +2 -2
  22. package/build/cc/IrrigationCC.d.ts.map +1 -1
  23. package/build/cc/ManufacturerProprietaryCC.d.ts +1 -1
  24. package/build/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
  25. package/build/cc/MeterCC.d.ts +1 -1
  26. package/build/cc/MeterCC.d.ts.map +1 -1
  27. package/build/cc/MultiChannelAssociationCC.d.ts +1 -1
  28. package/build/cc/MultiChannelAssociationCC.d.ts.map +1 -1
  29. package/build/cc/MultiChannelCC.d.ts +1 -1
  30. package/build/cc/MultiChannelCC.d.ts.map +1 -1
  31. package/build/cc/MultilevelSensorCC.d.ts +1 -1
  32. package/build/cc/MultilevelSensorCC.d.ts.map +1 -1
  33. package/build/cc/MultilevelSwitchCC.d.ts +1 -1
  34. package/build/cc/MultilevelSwitchCC.d.ts.map +1 -1
  35. package/build/cc/NotificationCC.d.ts +3 -3
  36. package/build/cc/NotificationCC.d.ts.map +1 -1
  37. package/build/cc/PowerlevelCC.d.ts +1 -1
  38. package/build/cc/PowerlevelCC.d.ts.map +1 -1
  39. package/build/cc/ScheduleEntryLockCC.d.ts +9 -9
  40. package/build/cc/ScheduleEntryLockCC.d.ts.map +1 -1
  41. package/build/cc/Security2CC.d.ts +1 -1
  42. package/build/cc/Security2CC.d.ts.map +1 -1
  43. package/build/cc/SupervisionCC.d.ts +1 -1
  44. package/build/cc/SupervisionCC.d.ts.map +1 -1
  45. package/build/cc/ThermostatFanModeCC.d.ts +1 -1
  46. package/build/cc/ThermostatFanModeCC.d.ts.map +1 -1
  47. package/build/cc/ThermostatModeCC.d.ts +1 -1
  48. package/build/cc/ThermostatModeCC.d.ts.map +1 -1
  49. package/build/cc/UserCodeCC.d.ts +1 -1
  50. package/build/cc/UserCodeCC.d.ts.map +1 -1
  51. package/build/cc/index.d.ts +1 -0
  52. package/build/cc/index.d.ts.map +1 -1
  53. package/build/cc/index.js +12 -8
  54. package/build/cc/index.js.map +1 -1
  55. package/build/cc/manufacturerProprietary/FibaroCC.d.ts +1 -1
  56. package/build/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
  57. package/build/lib/API.d.ts +76 -13
  58. package/build/lib/API.d.ts.map +1 -1
  59. package/build/lib/CommandClass.d.ts +6 -6
  60. package/build/lib/CommandClass.d.ts.map +1 -1
  61. package/build/lib/EncapsulatingCommandClass.d.ts +2 -2
  62. package/build/lib/EncapsulatingCommandClass.d.ts.map +1 -1
  63. package/build/lib/Security2/Extension.d.ts +2 -2
  64. package/build/lib/Security2/Extension.d.ts.map +1 -1
  65. package/build/lib/Values.d.ts +27 -29
  66. package/build/lib/Values.d.ts.map +1 -1
  67. package/build/lib/Values.js.map +1 -1
  68. package/build/lib/_Types.d.ts +42 -157
  69. package/build/lib/_Types.d.ts.map +1 -1
  70. package/build/lib/_Types.js +20 -111
  71. package/build/lib/_Types.js.map +1 -1
  72. package/package.json +11 -11
@@ -1,14 +1,12 @@
1
1
  /// <reference types="node" />
2
2
  import type { Scale } from "@zwave-js/config/safe";
3
3
  import { CommandClasses, DataRate, FLiRS, Maybe, ValueMetadata, ZWaveDataRate } from "@zwave-js/core/safe";
4
- /** @publicAPI */
5
4
  export declare enum AlarmSensorCommand {
6
5
  Get = 1,
7
6
  Report = 2,
8
7
  SupportedGet = 3,
9
8
  SupportedReport = 4
10
9
  }
11
- /** @publicAPI */
12
10
  export declare enum AlarmSensorType {
13
11
  "General Purpose" = 0,
14
12
  Smoke = 1,
@@ -18,13 +16,11 @@ export declare enum AlarmSensorType {
18
16
  "Water Leak" = 5,
19
17
  Any = 255
20
18
  }
21
- /** @publicAPI */
22
- export declare type AlarmSensorValueMetadata = ValueMetadata & {
19
+ export type AlarmSensorValueMetadata = ValueMetadata & {
23
20
  ccSpecific: {
24
21
  sensorType: AlarmSensorType;
25
22
  };
26
23
  };
27
- /** @publicAPI */
28
24
  export declare enum AssociationCommand {
29
25
  Set = 1,
30
26
  Get = 2,
@@ -33,7 +29,6 @@ export declare enum AssociationCommand {
33
29
  SupportedGroupingsGet = 5,
34
30
  SupportedGroupingsReport = 6
35
31
  }
36
- /** @publicAPI */
37
32
  export declare enum AssociationGroupInfoCommand {
38
33
  NameGet = 1,
39
34
  NameReport = 2,
@@ -42,7 +37,6 @@ export declare enum AssociationGroupInfoCommand {
42
37
  CommandListGet = 5,
43
38
  CommandListReport = 6
44
39
  }
45
- /** @publicAPI */
46
40
  export declare enum AssociationGroupInfoProfile {
47
41
  "General: N/A" = 0,
48
42
  "General: Lifeline" = 1,
@@ -218,7 +212,6 @@ export declare enum AssociationGroupInfoProfile {
218
212
  "Irrigation: Channel 31" = 27423,
219
213
  "Irrigation: Channel 32" = 27424
220
214
  }
221
- /** @publicAPI */
222
215
  export interface AssociationGroup {
223
216
  /** How many nodes this association group supports */
224
217
  maxNodes: number;
@@ -233,7 +226,6 @@ export interface AssociationGroup {
233
226
  /** A map of Command Classes and commands issued by this group (if known) */
234
227
  issuedCommands?: ReadonlyMap<CommandClasses, readonly number[]>;
235
228
  }
236
- /** @publicAPI */
237
229
  export declare enum BarrierOperatorCommand {
238
230
  Set = 1,
239
231
  Get = 2,
@@ -244,7 +236,6 @@ export declare enum BarrierOperatorCommand {
244
236
  EventSignalingGet = 7,
245
237
  EventSignalingReport = 8
246
238
  }
247
- /** @publicAPI */
248
239
  export declare enum BarrierState {
249
240
  Closed = 0,
250
241
  Closing = 252,
@@ -252,49 +243,41 @@ export declare enum BarrierState {
252
243
  Opening = 254,
253
244
  Open = 255
254
245
  }
255
- /** @publicAPI */
256
246
  export declare enum SubsystemType {
257
247
  Audible = 1,
258
248
  Visual = 2
259
249
  }
260
- /** @publicAPI */
261
250
  export declare enum SubsystemState {
262
251
  Off = 0,
263
252
  On = 255
264
253
  }
265
- /** @publicAPI */
266
254
  export declare enum BasicCommand {
267
255
  Set = 1,
268
256
  Get = 2,
269
257
  Report = 3
270
258
  }
271
- /** @publicAPI */
272
259
  export declare enum BatteryChargingStatus {
273
260
  Discharging = 0,
274
261
  Charging = 1,
275
262
  Maintaining = 2
276
263
  }
277
- /** @publicAPI */
278
264
  export declare enum BatteryReplacementStatus {
279
265
  No = 0,
280
266
  Soon = 1,
281
267
  Now = 2
282
268
  }
283
- /** @publicAPI */
284
269
  export declare enum BatteryCommand {
285
270
  Get = 2,
286
271
  Report = 3,
287
272
  HealthGet = 4,
288
273
  HealthReport = 5
289
274
  }
290
- /** @publicAPI */
291
275
  export declare enum BinarySensorCommand {
292
276
  Get = 2,
293
277
  Report = 3,
294
278
  SupportedGet = 1,
295
279
  SupportedReport = 4
296
280
  }
297
- /** @publicAPI */
298
281
  export declare enum BinarySensorType {
299
282
  "General Purpose" = 1,
300
283
  Smoke = 2,
@@ -311,19 +294,16 @@ export declare enum BinarySensorType {
311
294
  "Glass Break" = 13,
312
295
  Any = 255
313
296
  }
314
- /** @publicAPI */
315
- export declare type BinarySensorValueMetadata = ValueMetadata & {
297
+ export type BinarySensorValueMetadata = ValueMetadata & {
316
298
  ccSpecific: {
317
299
  sensorType: BinarySensorType;
318
300
  };
319
301
  };
320
- /** @publicAPI */
321
302
  export declare enum BinarySwitchCommand {
322
303
  Set = 1,
323
304
  Get = 2,
324
305
  Report = 3
325
306
  }
326
- /** @publicAPI */
327
307
  export declare enum CentralSceneCommand {
328
308
  SupportedGet = 1,
329
309
  SupportedReport = 2,
@@ -332,7 +312,6 @@ export declare enum CentralSceneCommand {
332
312
  ConfigurationGet = 5,
333
313
  ConfigurationReport = 6
334
314
  }
335
- /** @publicAPI */
336
315
  export declare enum CentralSceneKeys {
337
316
  KeyPressed = 0,
338
317
  KeyReleased = 1,
@@ -342,7 +321,6 @@ export declare enum CentralSceneKeys {
342
321
  KeyPressed4x = 5,
343
322
  KeyPressed5x = 6
344
323
  }
345
- /** @publicAPI */
346
324
  export declare enum ClimateControlScheduleCommand {
347
325
  Set = 1,
348
326
  Get = 2,
@@ -353,19 +331,16 @@ export declare enum ClimateControlScheduleCommand {
353
331
  OverrideGet = 7,
354
332
  OverrideReport = 8
355
333
  }
356
- /** @publicAPI */
357
334
  export declare enum ScheduleOverrideType {
358
335
  None = 0,
359
336
  Temporary = 1,
360
337
  Permanent = 2
361
338
  }
362
- /** @publicAPI */
363
339
  export declare enum ClockCommand {
364
340
  Set = 4,
365
341
  Get = 5,
366
342
  Report = 6
367
343
  }
368
- /** @publicAPI */
369
344
  export declare enum Weekday {
370
345
  Unknown = 0,
371
346
  Monday = 1,
@@ -376,7 +351,6 @@ export declare enum Weekday {
376
351
  Saturday = 6,
377
352
  Sunday = 7
378
353
  }
379
- /** @publicAPI */
380
354
  export declare enum ColorSwitchCommand {
381
355
  SupportedGet = 1,
382
356
  SupportedReport = 2,
@@ -386,7 +360,6 @@ export declare enum ColorSwitchCommand {
386
360
  StartLevelChange = 6,
387
361
  StopLevelChange = 7
388
362
  }
389
- /** @publicAPI */
390
363
  export declare enum ColorComponent {
391
364
  "Warm White" = 0,
392
365
  "Cold White" = 1,
@@ -398,7 +371,6 @@ export declare enum ColorComponent {
398
371
  Purple = 7,
399
372
  Index = 8
400
373
  }
401
- /** @publicAPI */
402
374
  export declare const ColorComponentMap: {
403
375
  warmWhite: ColorComponent;
404
376
  coldWhite: ColorComponent;
@@ -410,13 +382,11 @@ export declare const ColorComponentMap: {
410
382
  purple: ColorComponent;
411
383
  index: ColorComponent;
412
384
  };
413
- export declare type ColorKey = keyof typeof ColorComponentMap;
385
+ export type ColorKey = keyof typeof ColorComponentMap;
414
386
  /**
415
- * @publicAPI
416
387
  * This type is used to accept both the kebabCase names and numeric components as table keys
417
388
  */
418
- export declare type ColorTable = Partial<Record<ColorKey, number>> | Partial<Record<ColorComponent, number>>;
419
- /** @publicAPI */
389
+ export type ColorTable = Partial<Record<ColorKey, number>> | Partial<Record<ColorComponent, number>>;
420
390
  export declare enum ConfigurationCommand {
421
391
  Set = 4,
422
392
  Get = 5,
@@ -432,17 +402,13 @@ export declare enum ConfigurationCommand {
432
402
  PropertiesReport = 15,
433
403
  DefaultReset = 1
434
404
  }
435
- /** @publicAPI */
436
405
  export type { ConfigValue } from "@zwave-js/core/safe";
437
- /** @publicAPI */
438
406
  export declare enum CRC16Command {
439
407
  CommandEncapsulation = 1
440
408
  }
441
- /** @publicAPI */
442
409
  export declare enum DeviceResetLocallyCommand {
443
410
  Notification = 1
444
411
  }
445
- /** @publicAPI */
446
412
  export declare enum DoorLockCommand {
447
413
  OperationSet = 1,
448
414
  OperationGet = 2,
@@ -453,7 +419,6 @@ export declare enum DoorLockCommand {
453
419
  CapabilitiesGet = 7,
454
420
  CapabilitiesReport = 8
455
421
  }
456
- /** @publicAPI */
457
422
  export declare enum DoorLockMode {
458
423
  Unsecured = 0,
459
424
  UnsecuredWithTimeout = 1,
@@ -464,14 +429,11 @@ export declare enum DoorLockMode {
464
429
  Unknown = 254,
465
430
  Secured = 255
466
431
  }
467
- /** @publicAPI */
468
432
  export declare enum DoorLockOperationType {
469
433
  Constant = 1,
470
434
  Timed = 2
471
435
  }
472
- /** @publicAPI */
473
- export declare type DoorHandleStatus = [boolean, boolean, boolean, boolean];
474
- /** @publicAPI */
436
+ export type DoorHandleStatus = [boolean, boolean, boolean, boolean];
475
437
  export declare enum EntryControlEventTypes {
476
438
  Caching = 0,
477
439
  CachedKeys = 1,
@@ -501,14 +463,12 @@ export declare enum EntryControlEventTypes {
501
463
  Cancel = 25
502
464
  }
503
465
  export declare const entryControlEventTypeLabels: Record<EntryControlEventTypes, string>;
504
- /** @publicAPI */
505
466
  export declare enum DoorLockLoggingCommand {
506
467
  RecordsSupportedGet = 1,
507
468
  RecordsSupportedReport = 2,
508
469
  RecordGet = 3,
509
470
  RecordReport = 4
510
471
  }
511
- /** @publicAPI */
512
472
  export declare enum DoorLockLoggingEventType {
513
473
  LockCode = 1,
514
474
  UnlockCode = 2,
@@ -543,7 +503,6 @@ export declare enum DoorLockLoggingEventType {
543
503
  NewBattery = 31,
544
504
  Unknown = 32
545
505
  }
546
- /** @publicAPI */
547
506
  export interface DoorLockLoggingRecord {
548
507
  timestamp: string;
549
508
  eventType: DoorLockLoggingEventType;
@@ -551,12 +510,10 @@ export interface DoorLockLoggingRecord {
551
510
  userId?: number;
552
511
  userCode?: string | Buffer;
553
512
  }
554
- /** @publicAPI */
555
513
  export declare enum DoorLockLoggingRecordStatus {
556
514
  Empty = 0,
557
515
  HoldsLegalData = 1
558
516
  }
559
- /** @publicAPI */
560
517
  export declare enum EntryControlCommand {
561
518
  Notification = 1,
562
519
  KeySupportedGet = 2,
@@ -567,14 +524,12 @@ export declare enum EntryControlCommand {
567
524
  ConfigurationGet = 7,
568
525
  ConfigurationReport = 8
569
526
  }
570
- /** @publicAPI */
571
527
  export declare enum EntryControlDataTypes {
572
528
  None = 0,
573
529
  Raw = 1,
574
530
  ASCII = 2,
575
531
  MD5 = 3
576
532
  }
577
- /** @publicAPI */
578
533
  export declare enum FirmwareUpdateMetaDataCommand {
579
534
  MetaDataGet = 1,
580
535
  MetaDataReport = 2,
@@ -599,7 +554,17 @@ export interface FirmwareUpdateMetaData {
599
554
  continuesToFunction: Maybe<boolean>;
600
555
  supportsActivation: Maybe<boolean>;
601
556
  }
602
- /** @publicAPI */
557
+ export interface FirmwareUpdateMetaData {
558
+ manufacturerId: number;
559
+ firmwareId: number;
560
+ checksum: number;
561
+ firmwareUpgradable: boolean;
562
+ maxFragmentSize?: number;
563
+ additionalFirmwareIDs: readonly number[];
564
+ hardwareVersion?: number;
565
+ continuesToFunction: Maybe<boolean>;
566
+ supportsActivation: Maybe<boolean>;
567
+ }
603
568
  export declare enum FirmwareUpdateRequestStatus {
604
569
  Error_InvalidManufacturerOrFirmwareID = 0,
605
570
  Error_AuthenticationExpected = 1,
@@ -610,7 +575,6 @@ export declare enum FirmwareUpdateRequestStatus {
610
575
  Error_BatteryLow = 6,
611
576
  OK = 255
612
577
  }
613
- /** @publicAPI */
614
578
  export declare enum FirmwareUpdateStatus {
615
579
  Error_Timeout = -1,
616
580
  Error_Checksum = 0,
@@ -627,13 +591,11 @@ export declare enum FirmwareUpdateStatus {
627
591
  OK_NoRestart = 254,
628
592
  OK_RestartPending = 255
629
593
  }
630
- /** @publicAPI */
631
594
  export declare enum FirmwareUpdateActivationStatus {
632
595
  Error_InvalidFirmware = 0,
633
596
  Error_ActivationFailed = 1,
634
597
  OK = 255
635
598
  }
636
- /** @publicAPI */
637
599
  export declare enum FirmwareDownloadStatus {
638
600
  Error_InvalidManufacturerOrFirmwareID = 0,
639
601
  Error_AuthenticationExpected = 1,
@@ -642,8 +604,7 @@ export declare enum FirmwareDownloadStatus {
642
604
  Error_InvalidHardwareVersion = 4,
643
605
  OK = 255
644
606
  }
645
- /** @publicAPI */
646
- export declare type FirmwareUpdateCapabilities = {
607
+ export type FirmwareUpdateCapabilities = {
647
608
  /** Indicates whether the node's firmware can be upgraded */
648
609
  readonly firmwareUpgradable: false;
649
610
  } | {
@@ -678,11 +639,9 @@ export interface FirmwareUpdateResult {
678
639
  /** Whether the device will be re-interviewed. If this is `true`, applications should wait for the `"ready"` event to interact with the device again. */
679
640
  reInterview: boolean;
680
641
  }
681
- /** @publicAPI */
682
642
  export declare enum HailCommand {
683
643
  Hail = 1
684
644
  }
685
- /** @publicAPI */
686
645
  export declare enum HumidityControlModeCommand {
687
646
  Set = 1,
688
647
  Get = 2,
@@ -690,25 +649,21 @@ export declare enum HumidityControlModeCommand {
690
649
  SupportedGet = 4,
691
650
  SupportedReport = 5
692
651
  }
693
- /** @publicAPI */
694
652
  export declare enum HumidityControlMode {
695
653
  "Off" = 0,
696
654
  "Humidify" = 1,
697
655
  "De-humidify" = 2,
698
656
  "Auto" = 3
699
657
  }
700
- /** @publicAPI */
701
658
  export declare enum HumidityControlOperatingStateCommand {
702
659
  Get = 1,
703
660
  Report = 2
704
661
  }
705
- /** @publicAPI */
706
662
  export declare enum HumidityControlOperatingState {
707
663
  "Idle" = 0,
708
664
  "Humidifying" = 1,
709
665
  "De-humidifying" = 2
710
666
  }
711
- /** @publicAPI */
712
667
  export declare enum HumidityControlSetpointCommand {
713
668
  Set = 1,
714
669
  Get = 2,
@@ -720,32 +675,42 @@ export declare enum HumidityControlSetpointCommand {
720
675
  CapabilitiesGet = 8,
721
676
  CapabilitiesReport = 9
722
677
  }
723
- /** @publicAPI */
724
678
  export declare enum HumidityControlSetpointType {
725
679
  "N/A" = 0,
726
680
  "Humidifier" = 1,
727
681
  "De-humidifier" = 2,
728
682
  "Auto" = 3
729
683
  }
730
- /** @publicAPI */
731
684
  export interface HumidityControlSetpointValue {
732
685
  value: number;
733
686
  scale: number;
734
687
  }
735
- /** @publicAPI */
736
688
  export interface HumidityControlSetpointCapabilities {
737
689
  minValue: number;
738
690
  minValueScale: number;
739
691
  maxValue: number;
740
692
  maxValueScale: number;
741
693
  }
742
- /** @publicAPI */
743
- export declare type HumidityControlSetpointMetadata = ValueMetadata & {
694
+ export type HumidityControlSetpointMetadata = ValueMetadata & {
744
695
  ccSpecific: {
745
696
  setpointType: HumidityControlSetpointType;
746
697
  };
747
698
  };
748
- /** @publicAPI */
699
+ export declare enum InclusionControllerCommand {
700
+ Initiate = 1,
701
+ Complete = 2
702
+ }
703
+ export declare enum InclusionControllerStep {
704
+ ProxyInclusion = 1,
705
+ S0Inclusion = 2,
706
+ ProxyInclusionReplace = 3
707
+ }
708
+ export declare enum InclusionControllerStatus {
709
+ OK = 1,
710
+ UserRejected = 2,
711
+ Failed = 3,
712
+ NotSupported = 4
713
+ }
749
714
  export declare enum IndicatorCommand {
750
715
  Set = 1,
751
716
  Get = 2,
@@ -753,14 +718,12 @@ export declare enum IndicatorCommand {
753
718
  SupportedGet = 4,
754
719
  SupportedReport = 5
755
720
  }
756
- /** @publicAPI */
757
- export declare type IndicatorMetadata = ValueMetadata & {
721
+ export type IndicatorMetadata = ValueMetadata & {
758
722
  ccSpecific: {
759
723
  indicatorId: number;
760
724
  propertyId?: number;
761
725
  };
762
726
  };
763
- /** @publicAPI */
764
727
  export declare enum IrrigationCommand {
765
728
  SystemInfoGet = 1,
766
729
  SystemInfoReport = 2,
@@ -781,49 +744,40 @@ export declare enum IrrigationCommand {
781
744
  ValveTableRun = 17,
782
745
  SystemShutoff = 18
783
746
  }
784
- /** @publicAPI */
785
747
  export declare enum IrrigationSensorPolarity {
786
748
  Low = 0,
787
749
  High = 1
788
750
  }
789
- /** @publicAPI */
790
751
  export declare enum ValveType {
791
752
  ZoneValve = 0,
792
753
  MasterValve = 1
793
754
  }
794
- /** @publicAPI */
795
- export declare type ValveId = "master" | number;
796
- /** @publicAPI */
755
+ export type ValveId = "master" | number;
797
756
  export interface ValveTableEntry {
798
757
  valveId: number;
799
758
  duration: number;
800
759
  }
801
- /** @publicAPI */
802
760
  export declare enum LanguageCommand {
803
761
  Set = 1,
804
762
  Get = 2,
805
763
  Report = 3
806
764
  }
807
- /** @publicAPI */
808
765
  export declare enum LockCommand {
809
766
  Set = 1,
810
767
  Get = 2,
811
768
  Report = 3
812
769
  }
813
- /** @publicAPI */
814
770
  export declare enum ManufacturerSpecificCommand {
815
771
  Get = 4,
816
772
  Report = 5,
817
773
  DeviceSpecificGet = 6,
818
774
  DeviceSpecificReport = 7
819
775
  }
820
- /** @publicAPI */
821
776
  export declare enum DeviceIdType {
822
777
  FactoryDefault = 0,
823
778
  SerialNumber = 1,
824
779
  PseudoRandom = 2
825
780
  }
826
- /** @publicAPI */
827
781
  export declare enum MeterCommand {
828
782
  Get = 1,
829
783
  Report = 2,
@@ -831,21 +785,18 @@ export declare enum MeterCommand {
831
785
  SupportedReport = 4,
832
786
  Reset = 5
833
787
  }
834
- /** @publicAPI */
835
788
  export declare enum RateType {
836
789
  Unspecified = 0,
837
790
  Consumed = 1,
838
791
  Produced = 2
839
792
  }
840
- /** @publicAPI */
841
- export declare type MeterMetadata = ValueMetadata & {
793
+ export type MeterMetadata = ValueMetadata & {
842
794
  ccSpecific: {
843
795
  meterType: number;
844
796
  rateType?: RateType;
845
797
  scale?: number;
846
798
  };
847
799
  };
848
- /** @publicAPI */
849
800
  export declare enum MultiChannelAssociationCommand {
850
801
  Set = 1,
851
802
  Get = 2,
@@ -854,17 +805,14 @@ export declare enum MultiChannelAssociationCommand {
854
805
  SupportedGroupingsGet = 5,
855
806
  SupportedGroupingsReport = 6
856
807
  }
857
- /** @publicAPI */
858
808
  export interface AssociationAddress {
859
809
  nodeId: number;
860
810
  endpoint?: number;
861
811
  }
862
- /** @publicAPI */
863
812
  export interface EndpointAddress {
864
813
  nodeId: number;
865
814
  endpoint: number | number[];
866
815
  }
867
- /** @publicAPI */
868
816
  export declare enum MultiChannelCommand {
869
817
  GetV1 = 4,
870
818
  ReportV1 = 5,
@@ -879,11 +827,9 @@ export declare enum MultiChannelCommand {
879
827
  AggregatedMembersGet = 14,
880
828
  AggregatedMembersReport = 15
881
829
  }
882
- /** @publicAPI */
883
830
  export declare enum MultiCommandCommand {
884
831
  CommandEncapsulation = 1
885
832
  }
886
- /** @publicAPI */
887
833
  export declare enum MultilevelSensorCommand {
888
834
  GetSupportedSensor = 1,
889
835
  SupportedSensorReport = 2,
@@ -892,19 +838,16 @@ export declare enum MultilevelSensorCommand {
892
838
  Report = 5,
893
839
  SupportedScaleReport = 6
894
840
  }
895
- /** @publicAPI */
896
841
  export interface MultilevelSensorValue {
897
842
  value: number;
898
843
  scale: Scale;
899
844
  }
900
- /** @publicAPI */
901
- export declare type MultilevelSensorValueMetadata = ValueMetadata & {
845
+ export type MultilevelSensorValueMetadata = ValueMetadata & {
902
846
  ccSpecific: {
903
847
  sensorType: number;
904
848
  scale: number;
905
849
  };
906
850
  };
907
- /** @publicAPI */
908
851
  export declare enum MultilevelSwitchCommand {
909
852
  Set = 1,
910
853
  Get = 2,
@@ -914,12 +857,10 @@ export declare enum MultilevelSwitchCommand {
914
857
  SupportedGet = 6,
915
858
  SupportedReport = 7
916
859
  }
917
- /** @publicAPI */
918
860
  export declare enum LevelChangeDirection {
919
861
  "up" = 0,
920
862
  "down" = 1
921
863
  }
922
- /** @publicAPI */
923
864
  export declare enum SwitchType {
924
865
  "not supported" = 0,
925
866
  "Off/On" = 1,
@@ -930,13 +871,11 @@ export declare enum SwitchType {
930
871
  "Reverse/Forward" = 6,
931
872
  "Pull/Push" = 7
932
873
  }
933
- /** @publicAPI */
934
- export declare type MultilevelSwitchLevelChangeMetadata = ValueMetadata & {
874
+ export type MultilevelSwitchLevelChangeMetadata = ValueMetadata & {
935
875
  ccSpecific: {
936
876
  switchType: SwitchType;
937
877
  };
938
878
  };
939
- /** @publicAPI */
940
879
  export declare enum NodeNamingAndLocationCommand {
941
880
  NameSet = 1,
942
881
  NameGet = 2,
@@ -945,7 +884,6 @@ export declare enum NodeNamingAndLocationCommand {
945
884
  LocationGet = 5,
946
885
  LocationReport = 6
947
886
  }
948
- /** @publicAPI */
949
887
  export declare enum NotificationCommand {
950
888
  EventSupportedGet = 1,
951
889
  EventSupportedReport = 2,
@@ -955,13 +893,11 @@ export declare enum NotificationCommand {
955
893
  SupportedGet = 7,
956
894
  SupportedReport = 8
957
895
  }
958
- /** @publicAPI */
959
- export declare type NotificationMetadata = ValueMetadata & {
896
+ export type NotificationMetadata = ValueMetadata & {
960
897
  ccSpecific: {
961
898
  notificationType: number;
962
899
  };
963
900
  };
964
- /** @publicAPI */
965
901
  export declare enum PowerlevelCommand {
966
902
  Set = 1,
967
903
  Get = 2,
@@ -970,7 +906,6 @@ export declare enum PowerlevelCommand {
970
906
  TestNodeGet = 5,
971
907
  TestNodeReport = 6
972
908
  }
973
- /** @publicAPI */
974
909
  export declare enum Powerlevel {
975
910
  "Normal Power" = 0,
976
911
  "-1 dBm" = 1,
@@ -983,13 +918,11 @@ export declare enum Powerlevel {
983
918
  "-8 dBm" = 8,
984
919
  "-9 dBm" = 9
985
920
  }
986
- /** @publicAPI */
987
921
  export declare enum PowerlevelTestStatus {
988
922
  Failed = 0,
989
923
  Success = 1,
990
924
  "In Progress" = 2
991
925
  }
992
- /** @publicAPI */
993
926
  export declare enum ProtectionCommand {
994
927
  Set = 1,
995
928
  Get = 2,
@@ -1003,35 +936,29 @@ export declare enum ProtectionCommand {
1003
936
  TimeoutGet = 10,
1004
937
  TimeoutReport = 11
1005
938
  }
1006
- /** @publicAPI */
1007
939
  export declare enum LocalProtectionState {
1008
940
  Unprotected = 0,
1009
941
  ProtectedBySequence = 1,
1010
942
  NoOperationPossible = 2
1011
943
  }
1012
- /** @publicAPI */
1013
944
  export declare enum RFProtectionState {
1014
945
  Unprotected = 0,
1015
946
  NoControl = 1,
1016
947
  NoResponse = 2
1017
948
  }
1018
- /** @publicAPI */
1019
949
  export declare enum SceneActivationCommand {
1020
950
  Set = 1
1021
951
  }
1022
- /** @publicAPI */
1023
952
  export declare enum SceneActuatorConfigurationCommand {
1024
953
  Set = 1,
1025
954
  Get = 2,
1026
955
  Report = 3
1027
956
  }
1028
- /** @publicAPI */
1029
957
  export declare enum SceneControllerConfigurationCommand {
1030
958
  Set = 1,
1031
959
  Get = 2,
1032
960
  Report = 3
1033
961
  }
1034
- /** @publicAPI */
1035
962
  export declare enum ScheduleEntryLockCommand {
1036
963
  EnableSet = 1,
1037
964
  EnableAllSet = 2,
@@ -1050,17 +977,14 @@ export declare enum ScheduleEntryLockCommand {
1050
977
  DailyRepeatingScheduleReport = 15,
1051
978
  DailyRepeatingScheduleSet = 16
1052
979
  }
1053
- /** @publicAPI */
1054
980
  export declare enum ScheduleEntryLockSetAction {
1055
981
  Erase = 0,
1056
982
  Set = 1
1057
983
  }
1058
- /** @publicAPI */
1059
984
  export interface ScheduleEntryLockSlotId {
1060
985
  userId: number;
1061
986
  slotId: number;
1062
987
  }
1063
- /** @publicAPI */
1064
988
  export declare enum ScheduleEntryLockWeekday {
1065
989
  Sunday = 0,
1066
990
  Monday = 1,
@@ -1070,7 +994,6 @@ export declare enum ScheduleEntryLockWeekday {
1070
994
  Friday = 5,
1071
995
  Saturday = 6
1072
996
  }
1073
- /** @publicAPI */
1074
997
  export interface ScheduleEntryLockDailyRepeatingSchedule {
1075
998
  weekdays: ScheduleEntryLockWeekday[];
1076
999
  startHour: number;
@@ -1078,7 +1001,6 @@ export interface ScheduleEntryLockDailyRepeatingSchedule {
1078
1001
  durationHour: number;
1079
1002
  durationMinute: number;
1080
1003
  }
1081
- /** @publicAPI */
1082
1004
  export interface ScheduleEntryLockYearDaySchedule {
1083
1005
  startYear: number;
1084
1006
  startMonth: number;
@@ -1091,7 +1013,6 @@ export interface ScheduleEntryLockYearDaySchedule {
1091
1013
  stopHour: number;
1092
1014
  stopMinute: number;
1093
1015
  }
1094
- /** @publicAPI */
1095
1016
  export interface ScheduleEntryLockWeekDaySchedule {
1096
1017
  weekday: ScheduleEntryLockWeekday;
1097
1018
  startHour: number;
@@ -1099,7 +1020,6 @@ export interface ScheduleEntryLockWeekDaySchedule {
1099
1020
  stopHour: number;
1100
1021
  stopMinute: number;
1101
1022
  }
1102
- /** @publicAPI */
1103
1023
  export declare enum Security2Command {
1104
1024
  NonceGet = 1,
1105
1025
  NonceReport = 2,
@@ -1116,7 +1036,6 @@ export declare enum Security2Command {
1116
1036
  CommandsSupportedGet = 13,
1117
1037
  CommandsSupportedReport = 14
1118
1038
  }
1119
- /** @publicAPI */
1120
1039
  export declare enum SecurityCommand {
1121
1040
  CommandsSupportedGet = 2,
1122
1041
  CommandsSupportedReport = 3,
@@ -1130,7 +1049,6 @@ export declare enum SecurityCommand {
1130
1049
  CommandEncapsulation = 129,
1131
1050
  CommandEncapsulationNonceGet = 193
1132
1051
  }
1133
- /** @publicAPI */
1134
1052
  export declare enum SoundSwitchCommand {
1135
1053
  TonesNumberGet = 1,
1136
1054
  TonesNumberReport = 2,
@@ -1143,22 +1061,18 @@ export declare enum SoundSwitchCommand {
1143
1061
  TonePlayGet = 9,
1144
1062
  TonePlayReport = 10
1145
1063
  }
1146
- /** @publicAPI */
1147
1064
  export declare enum ToneId {
1148
1065
  Off = 0,
1149
1066
  Default = 255
1150
1067
  }
1151
- /** @publicAPI */
1152
1068
  export declare enum SupervisionCommand {
1153
1069
  Get = 1,
1154
1070
  Report = 2
1155
1071
  }
1156
- /** @publicAPI */
1157
1072
  export interface Timezone {
1158
1073
  standardOffset: number;
1159
1074
  dstOffset: number;
1160
1075
  }
1161
- /** @publicAPI */
1162
1076
  export declare enum ThermostatFanModeCommand {
1163
1077
  Set = 1,
1164
1078
  Get = 2,
@@ -1166,7 +1080,6 @@ export declare enum ThermostatFanModeCommand {
1166
1080
  SupportedGet = 4,
1167
1081
  SupportedReport = 5
1168
1082
  }
1169
- /** @publicAPI */
1170
1083
  export declare enum ThermostatFanMode {
1171
1084
  "Auto low" = 0,
1172
1085
  "Low" = 1,
@@ -1181,12 +1094,10 @@ export declare enum ThermostatFanMode {
1181
1094
  "Quiet" = 10,
1182
1095
  "External circulation" = 11
1183
1096
  }
1184
- /** @publicAPI */
1185
1097
  export declare enum ThermostatFanStateCommand {
1186
1098
  Get = 2,
1187
1099
  Report = 3
1188
1100
  }
1189
- /** @publicAPI */
1190
1101
  export declare enum ThermostatFanState {
1191
1102
  "Idle / off" = 0,
1192
1103
  "Running / running low" = 1,
@@ -1198,7 +1109,6 @@ export declare enum ThermostatFanState {
1198
1109
  "Up - down circulation mode" = 7,
1199
1110
  "Quiet circulation mode" = 8
1200
1111
  }
1201
- /** @publicAPI */
1202
1112
  export declare enum ThermostatModeCommand {
1203
1113
  Set = 1,
1204
1114
  Get = 2,
@@ -1206,7 +1116,6 @@ export declare enum ThermostatModeCommand {
1206
1116
  SupportedGet = 4,
1207
1117
  SupportedReport = 5
1208
1118
  }
1209
- /** @publicAPI */
1210
1119
  export declare enum ThermostatMode {
1211
1120
  "Off" = 0,
1212
1121
  "Heat" = 1,
@@ -1225,12 +1134,10 @@ export declare enum ThermostatMode {
1225
1134
  "Full power" = 15,
1226
1135
  "Manufacturer specific" = 31
1227
1136
  }
1228
- /** @publicAPI */
1229
1137
  export declare enum ThermostatOperatingStateCommand {
1230
1138
  Get = 2,
1231
1139
  Report = 3
1232
1140
  }
1233
- /** @publicAPI */
1234
1141
  export declare enum ThermostatOperatingState {
1235
1142
  "Idle" = 0,
1236
1143
  "Heating" = 1,
@@ -1245,29 +1152,23 @@ export declare enum ThermostatOperatingState {
1245
1152
  "2nd Stage Aux Heat" = 10,
1246
1153
  "3rd Stage Aux Heat" = 11
1247
1154
  }
1248
- /** @publicAPI */
1249
1155
  export declare enum ThermostatSetbackCommand {
1250
1156
  Set = 1,
1251
1157
  Get = 2,
1252
1158
  Report = 3
1253
1159
  }
1254
- /** @publicAPI */
1255
1160
  export declare enum SetbackType {
1256
1161
  None = 0,
1257
1162
  Temporary = 1,
1258
1163
  Permanent = 2
1259
1164
  }
1260
- /** @publicAPI */
1261
- export declare type SetbackSpecialState = "Frost Protection" | "Energy Saving" | "Unused";
1262
- /** @publicAPI */
1263
- export declare type SetbackState = number | SetbackSpecialState;
1264
- /** @publicAPI */
1165
+ export type SetbackSpecialState = "Frost Protection" | "Energy Saving" | "Unused";
1166
+ export type SetbackState = number | SetbackSpecialState;
1265
1167
  export interface Switchpoint {
1266
1168
  hour: number;
1267
1169
  minute: number;
1268
1170
  state: SetbackState | undefined;
1269
1171
  }
1270
- /** @publicAPI */
1271
1172
  export declare enum ThermostatSetpointCommand {
1272
1173
  Set = 1,
1273
1174
  Get = 2,
@@ -1277,7 +1178,6 @@ export declare enum ThermostatSetpointCommand {
1277
1178
  CapabilitiesGet = 9,
1278
1179
  CapabilitiesReport = 10
1279
1180
  }
1280
- /** @publicAPI */
1281
1181
  export declare enum ThermostatSetpointType {
1282
1182
  "N/A" = 0,
1283
1183
  "Heating" = 1,
@@ -1292,25 +1192,21 @@ export declare enum ThermostatSetpointType {
1292
1192
  "Away Cooling" = 14,
1293
1193
  "Full Power" = 15
1294
1194
  }
1295
- /** @publicAPI */
1296
1195
  export interface ThermostatSetpointValue {
1297
1196
  value: number;
1298
1197
  scale: number;
1299
1198
  }
1300
- /** @publicAPI */
1301
1199
  export interface ThermostatSetpointCapabilities {
1302
1200
  minValue: number;
1303
1201
  minValueScale: number;
1304
1202
  maxValue: number;
1305
1203
  maxValueScale: number;
1306
1204
  }
1307
- /** @publicAPI */
1308
- export declare type ThermostatSetpointMetadata = ValueMetadata & {
1205
+ export type ThermostatSetpointMetadata = ValueMetadata & {
1309
1206
  ccSpecific: {
1310
1207
  setpointType: ThermostatSetpointType;
1311
1208
  };
1312
1209
  };
1313
- /** @publicAPI */
1314
1210
  export declare enum TimeCommand {
1315
1211
  TimeGet = 1,
1316
1212
  TimeReport = 2,
@@ -1320,13 +1216,11 @@ export declare enum TimeCommand {
1320
1216
  TimeOffsetGet = 6,
1321
1217
  TimeOffsetReport = 7
1322
1218
  }
1323
- /** @publicAPI */
1324
1219
  export declare enum TimeParametersCommand {
1325
1220
  Set = 1,
1326
1221
  Get = 2,
1327
1222
  Report = 3
1328
1223
  }
1329
- /** @publicAPI */
1330
1224
  export declare enum TransportServiceCommand {
1331
1225
  FirstSegment = 192,
1332
1226
  SegmentComplete = 232,
@@ -1334,7 +1228,6 @@ export declare enum TransportServiceCommand {
1334
1228
  SegmentWait = 240,
1335
1229
  SubsequentSegment = 224
1336
1230
  }
1337
- /** @publicAPI */
1338
1231
  export declare enum UserCodeCommand {
1339
1232
  Set = 1,
1340
1233
  Get = 2,
@@ -1355,7 +1248,6 @@ export declare enum UserCodeCommand {
1355
1248
  UserCodeChecksumGet = 17,
1356
1249
  UserCodeChecksumReport = 18
1357
1250
  }
1358
- /** @publicAPI */
1359
1251
  export declare enum UserIDStatus {
1360
1252
  Available = 0,
1361
1253
  Enabled = 1,
@@ -1364,14 +1256,12 @@ export declare enum UserIDStatus {
1364
1256
  PassageMode = 4,
1365
1257
  StatusNotAvailable = 254
1366
1258
  }
1367
- /** @publicAPI */
1368
1259
  export declare enum KeypadMode {
1369
1260
  Normal = 0,
1370
1261
  Vacation = 1,
1371
1262
  Privacy = 2,
1372
1263
  LockedOut = 3
1373
1264
  }
1374
- /** @publicAPI */
1375
1265
  export declare enum VersionCommand {
1376
1266
  Get = 17,
1377
1267
  Report = 18,
@@ -1382,7 +1272,6 @@ export declare enum VersionCommand {
1382
1272
  ZWaveSoftwareGet = 23,
1383
1273
  ZWaveSoftwareReport = 24
1384
1274
  }
1385
- /** @publicAPI */
1386
1275
  export declare enum WakeUpCommand {
1387
1276
  IntervalSet = 4,
1388
1277
  IntervalGet = 5,
@@ -1392,12 +1281,10 @@ export declare enum WakeUpCommand {
1392
1281
  IntervalCapabilitiesGet = 9,
1393
1282
  IntervalCapabilitiesReport = 10
1394
1283
  }
1395
- /** @publicAPI */
1396
1284
  export declare enum ZWavePlusCommand {
1397
1285
  Get = 1,
1398
1286
  Report = 2
1399
1287
  }
1400
- /** @publicAPI */
1401
1288
  export declare enum ZWavePlusRoleType {
1402
1289
  CentralStaticController = 0,
1403
1290
  SubStaticController = 1,
@@ -1409,12 +1296,10 @@ export declare enum ZWavePlusRoleType {
1409
1296
  SleepingListeningSlave = 7,
1410
1297
  NetworkAwareSlave = 8
1411
1298
  }
1412
- /** @publicAPI */
1413
1299
  export declare enum ZWavePlusNodeType {
1414
1300
  Node = 0,
1415
1301
  IPGateway = 2
1416
1302
  }
1417
- /** @publicAPI */
1418
1303
  export declare enum ZWaveProtocolCommand {
1419
1304
  NodeInformationFrame = 1,
1420
1305
  RequestNodeInformationFrame = 2,