@zwave-js/cc 14.3.9 → 15.0.0-beta.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.
- package/build/cjs/cc/AlarmSensorCC.d.ts +139 -57
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.d.ts +178 -43
- package/build/cjs/cc/AssociationCC.js +0 -4
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +138 -38
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.d.ts +275 -73
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +316 -71
- package/build/cjs/cc/BasicCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.d.ts +759 -164
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.d.ts +91 -26
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +190 -38
- package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
- package/build/cjs/cc/CRC16CC.d.ts +4 -8
- package/build/cjs/cc/CRC16CC.js +4 -27
- package/build/cjs/cc/CRC16CC.js.map +2 -2
- package/build/cjs/cc/CentralSceneCC.d.ts +272 -53
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +150 -37
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
- package/build/cjs/cc/ClockCC.d.ts +3 -3
- package/build/cjs/cc/ClockCC.js.map +2 -2
- package/build/cjs/cc/ColorSwitchCC.d.ts +423 -96
- package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
- package/build/cjs/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/cjs/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/ConfigurationCC.d.ts +101 -37
- package/build/cjs/cc/ConfigurationCC.js +0 -8
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +2 -2
- package/build/cjs/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/cjs/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/DoorLockCC.d.ts +1731 -419
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +64 -12
- package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
- package/build/cjs/cc/EnergyProductionCC.d.ts +29 -14
- package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.d.ts +308 -57
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js +26 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +393 -67
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +155 -12
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlModeCC.d.ts +125 -27
- package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +64 -18
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +116 -39
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
- package/build/cjs/cc/InclusionControllerCC.d.ts +4 -4
- package/build/cjs/cc/InclusionControllerCC.js.map +2 -2
- package/build/cjs/cc/IndicatorCC.d.ts +325 -83
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.d.ts +2170 -683
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/LanguageCC.d.ts +128 -26
- package/build/cjs/cc/LanguageCC.js.map +2 -2
- package/build/cjs/cc/LockCC.d.ts +64 -14
- package/build/cjs/cc/LockCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +219 -57
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.d.ts +364 -89
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +138 -40
- package/build/cjs/cc/MultiChannelAssociationCC.js +0 -5
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +469 -99
- package/build/cjs/cc/MultiChannelCC.js +8 -72
- package/build/cjs/cc/MultiChannelCC.js.map +2 -2
- package/build/cjs/cc/MultiCommandCC.d.ts +4 -8
- package/build/cjs/cc/MultiCommandCC.js +4 -37
- package/build/cjs/cc/MultiCommandCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSensorCC.d.ts +118 -33
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +490 -125
- package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
- package/build/cjs/cc/NodeNamingCC.d.ts +128 -26
- package/build/cjs/cc/NodeNamingCC.js.map +2 -2
- package/build/cjs/cc/NotificationCC.d.ts +603 -161
- package/build/cjs/cc/NotificationCC.js +12 -1
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/PowerlevelCC.d.ts +6 -6
- package/build/cjs/cc/PowerlevelCC.js.map +2 -2
- package/build/cjs/cc/ProtectionCC.d.ts +496 -94
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActivationCC.d.ts +127 -28
- package/build/cjs/cc/SceneActivationCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +52 -25
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +53 -25
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +268 -64
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
- package/build/cjs/cc/Security2CC.d.ts +15 -21
- package/build/cjs/cc/Security2CC.js +35 -347
- package/build/cjs/cc/Security2CC.js.map +3 -3
- package/build/cjs/cc/SecurityCC.d.ts +12 -19
- package/build/cjs/cc/SecurityCC.js +12 -106
- package/build/cjs/cc/SecurityCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC.d.ts +253 -64
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +28 -16
- package/build/cjs/cc/SupervisionCC.js +4 -29
- package/build/cjs/cc/SupervisionCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +187 -38
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +64 -18
- package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.d.ts +189 -40
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +65 -19
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetbackCC.d.ts +4 -4
- package/build/cjs/cc/ThermostatSetbackCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +116 -36
- package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
- package/build/cjs/cc/TimeCC.d.ts +6 -6
- package/build/cjs/cc/TimeCC.js.map +2 -2
- package/build/cjs/cc/TimeParametersCC.d.ts +63 -12
- package/build/cjs/cc/TimeParametersCC.js.map +2 -2
- package/build/cjs/cc/TransportServiceCC.d.ts +7 -12
- package/build/cjs/cc/TransportServiceCC.js +3 -20
- package/build/cjs/cc/TransportServiceCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/cjs/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/UserCodeCC.d.ts +931 -176
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.d.ts +897 -185
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WakeUpCC.d.ts +190 -38
- package/build/cjs/cc/WakeUpCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.d.ts +193 -103
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWavePlusCC.d.ts +311 -51
- package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
- package/build/cjs/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/cjs/cc/ZWaveProtocolCC.js.map +2 -2
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +2 -2
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_browser.d.ts +9 -0
- package/build/cjs/index_browser.js +41 -1
- package/build/cjs/index_browser.js.map +2 -2
- package/build/cjs/lib/API.d.ts +7 -5
- package/build/cjs/lib/API.js +1 -1
- package/build/cjs/lib/API.js.map +2 -2
- package/build/cjs/lib/CommandClass.d.ts +10 -21
- package/build/cjs/lib/CommandClass.js +51 -106
- package/build/cjs/lib/CommandClass.js.map +3 -3
- package/build/cjs/lib/CommandClassDecorators.d.ts +1 -1
- package/build/cjs/lib/CommandClassDecorators.js +3 -3
- package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
- package/build/cjs/lib/Values.d.ts +2 -2
- package/build/cjs/lib/Values.js.map +2 -2
- package/build/cjs/lib/traits.d.ts +94 -0
- package/build/cjs/lib/traits.js +17 -0
- package/build/cjs/lib/traits.js.map +7 -0
- package/build/cjs/lib/utils.d.ts +2 -2
- package/build/cjs/lib/utils.js.map +2 -2
- package/build/esm/cc/AlarmSensorCC.d.ts +139 -57
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +0 -1
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts +178 -43
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +0 -13
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +138 -38
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +0 -6
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts +275 -73
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +0 -3
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +316 -71
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +0 -2
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts +759 -164
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +1 -2
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts +91 -26
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +0 -3
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +190 -38
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +0 -2
- package/build/esm/cc/BinarySwitchCC.js.map +1 -1
- package/build/esm/cc/CRC16CC.d.ts +4 -8
- package/build/esm/cc/CRC16CC.d.ts.map +1 -1
- package/build/esm/cc/CRC16CC.js +4 -34
- package/build/esm/cc/CRC16CC.js.map +1 -1
- package/build/esm/cc/CentralSceneCC.d.ts +272 -53
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +0 -1
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +150 -37
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +0 -3
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/esm/cc/ClockCC.d.ts +3 -3
- package/build/esm/cc/ClockCC.d.ts.map +1 -1
- package/build/esm/cc/ClockCC.js +0 -1
- package/build/esm/cc/ClockCC.js.map +1 -1
- package/build/esm/cc/ColorSwitchCC.d.ts +423 -96
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +0 -6
- package/build/esm/cc/ColorSwitchCC.js.map +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/esm/cc/ConfigurationCC.d.ts +101 -37
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +0 -25
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/esm/cc/DoorLockCC.d.ts +1731 -419
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +0 -2
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.d.ts +64 -12
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.js +0 -1
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/esm/cc/EnergyProductionCC.d.ts +29 -14
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/esm/cc/EnergyProductionCC.js +0 -2
- package/build/esm/cc/EnergyProductionCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts +308 -57
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +0 -1
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js +20 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +393 -67
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +159 -34
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.d.ts +125 -27
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.js +0 -1
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +64 -18
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +116 -39
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +0 -4
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/esm/cc/InclusionControllerCC.d.ts +4 -4
- package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -1
- package/build/esm/cc/InclusionControllerCC.js +0 -2
- package/build/esm/cc/InclusionControllerCC.js.map +1 -1
- package/build/esm/cc/IndicatorCC.d.ts +325 -83
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +0 -7
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts +2170 -683
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +0 -9
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/LanguageCC.d.ts +128 -26
- package/build/esm/cc/LanguageCC.d.ts.map +1 -1
- package/build/esm/cc/LanguageCC.js +0 -1
- package/build/esm/cc/LanguageCC.js.map +1 -1
- package/build/esm/cc/LockCC.d.ts +64 -14
- package/build/esm/cc/LockCC.d.ts.map +1 -1
- package/build/esm/cc/LockCC.js +0 -1
- package/build/esm/cc/LockCC.js.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js +0 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +219 -57
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +0 -2
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts +364 -89
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +0 -4
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +138 -40
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +0 -16
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +469 -99
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +8 -101
- package/build/esm/cc/MultiChannelCC.js.map +1 -1
- package/build/esm/cc/MultiCommandCC.d.ts +4 -8
- package/build/esm/cc/MultiCommandCC.d.ts.map +1 -1
- package/build/esm/cc/MultiCommandCC.js +4 -38
- package/build/esm/cc/MultiCommandCC.js.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.d.ts +118 -33
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +0 -5
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +490 -125
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +0 -4
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NodeNamingCC.d.ts +128 -26
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/esm/cc/NodeNamingCC.js +0 -2
- package/build/esm/cc/NodeNamingCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts +603 -161
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +18 -12
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/PowerlevelCC.d.ts +6 -6
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
- package/build/esm/cc/PowerlevelCC.js +0 -4
- package/build/esm/cc/PowerlevelCC.js.map +1 -1
- package/build/esm/cc/ProtectionCC.d.ts +496 -94
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +0 -3
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActivationCC.d.ts +127 -28
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActivationCC.js +0 -1
- package/build/esm/cc/SceneActivationCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +52 -25
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +0 -2
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +53 -25
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +0 -2
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +268 -64
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +0 -14
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/esm/cc/Security2CC.d.ts +15 -21
- package/build/esm/cc/Security2CC.d.ts.map +1 -1
- package/build/esm/cc/Security2CC.js +31 -475
- package/build/esm/cc/Security2CC.js.map +1 -1
- package/build/esm/cc/SecurityCC.d.ts +12 -19
- package/build/esm/cc/SecurityCC.d.ts.map +1 -1
- package/build/esm/cc/SecurityCC.js +13 -138
- package/build/esm/cc/SecurityCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.d.ts +253 -64
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +0 -7
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +28 -16
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +4 -34
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts +187 -38
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +0 -1
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.d.ts +64 -18
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatModeCC.d.ts +189 -40
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +0 -3
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +65 -19
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetbackCC.d.ts +4 -4
- package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetbackCC.js +0 -2
- package/build/esm/cc/ThermostatSetbackCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts +116 -36
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +0 -6
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/esm/cc/TimeCC.d.ts +6 -6
- package/build/esm/cc/TimeCC.d.ts.map +1 -1
- package/build/esm/cc/TimeCC.js +0 -4
- package/build/esm/cc/TimeCC.js.map +1 -1
- package/build/esm/cc/TimeParametersCC.d.ts +63 -12
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/esm/cc/TimeParametersCC.js +0 -1
- package/build/esm/cc/TimeParametersCC.js.map +1 -1
- package/build/esm/cc/TransportServiceCC.d.ts +7 -12
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
- package/build/esm/cc/TransportServiceCC.js +5 -38
- package/build/esm/cc/TransportServiceCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts +931 -176
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +0 -12
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/VersionCC.d.ts +897 -185
- package/build/esm/cc/VersionCC.d.ts.map +1 -1
- package/build/esm/cc/VersionCC.js +0 -4
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WakeUpCC.d.ts +190 -38
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
- package/build/esm/cc/WakeUpCC.js +0 -1
- package/build/esm/cc/WakeUpCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts +193 -103
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +0 -5
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWavePlusCC.d.ts +311 -51
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/esm/cc/ZWavePlusCC.js +0 -1
- package/build/esm/cc/ZWavePlusCC.js.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.js +0 -27
- package/build/esm/cc/ZWaveProtocolCC.js.map +1 -1
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js +0 -3
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index_browser.d.ts +9 -0
- package/build/esm/index_browser.d.ts.map +1 -1
- package/build/esm/index_browser.js +8 -1
- package/build/esm/index_browser.js.map +1 -1
- package/build/esm/lib/API.d.ts +7 -5
- package/build/esm/lib/API.d.ts.map +1 -1
- package/build/esm/lib/API.js +1 -1
- package/build/esm/lib/API.js.map +1 -1
- package/build/esm/lib/CommandClass.d.ts +10 -21
- package/build/esm/lib/CommandClass.d.ts.map +1 -1
- package/build/esm/lib/CommandClass.js +8 -101
- package/build/esm/lib/CommandClass.js.map +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
- package/build/esm/lib/CommandClassDecorators.js +1 -1
- package/build/esm/lib/CommandClassDecorators.js.map +1 -1
- package/build/esm/lib/Values.d.ts +2 -2
- package/build/esm/lib/Values.d.ts.map +1 -1
- package/build/esm/lib/Values.js.map +1 -1
- package/build/esm/lib/traits.d.ts +94 -0
- package/build/esm/lib/traits.d.ts.map +1 -0
- package/build/esm/lib/traits.js +2 -0
- package/build/esm/lib/traits.js.map +1 -0
- package/build/esm/lib/utils.d.ts +2 -2
- package/build/esm/lib/utils.d.ts.map +1 -1
- package/build/esm/lib/utils.js.map +1 -1
- package/package.json +13 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type
|
|
1
|
+
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
+
import { CommandClasses, type GetValueDB, type MaybeNotKnown, type MessageOrCCLogEntry, type WithAddress } from "@zwave-js/core/safe";
|
|
3
3
|
import { Bytes } from "@zwave-js/shared/safe";
|
|
4
4
|
import { type AllOrNone } from "@zwave-js/shared/safe";
|
|
5
5
|
import { PhysicalCCAPI } from "../lib/API.js";
|
|
@@ -7,154 +7,466 @@ import { type CCRaw, CommandClass, type InterviewContext } from "../lib/CommandC
|
|
|
7
7
|
import { FirmwareDownloadStatus, FirmwareUpdateActivationStatus, type FirmwareUpdateMetaData, FirmwareUpdateMetaDataCommand, FirmwareUpdateRequestStatus, FirmwareUpdateStatus } from "../lib/_Types.js";
|
|
8
8
|
export declare const FirmwareUpdateMetaDataCCValues: Readonly<{
|
|
9
9
|
supportsNonSecureTransfer: {
|
|
10
|
-
readonly id:
|
|
11
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
12
|
-
property: "supportsNonSecureTransfer";
|
|
13
|
-
};
|
|
10
|
+
readonly id: ValueIDBase;
|
|
14
11
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
15
12
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
16
13
|
readonly endpoint: number;
|
|
17
14
|
readonly property: "supportsNonSecureTransfer";
|
|
18
15
|
};
|
|
19
16
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
20
|
-
readonly meta: {
|
|
17
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
21
18
|
readonly type: "any";
|
|
22
19
|
readonly readable: true;
|
|
23
20
|
readonly writeable: true;
|
|
24
|
-
}
|
|
25
|
-
|
|
21
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
22
|
+
readonly type: "any";
|
|
23
|
+
readonly readable: true;
|
|
24
|
+
readonly writeable: true;
|
|
25
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
26
|
+
readonly type: "any";
|
|
27
|
+
readonly readable: true;
|
|
28
|
+
readonly writeable: true;
|
|
29
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
30
|
+
readonly type: "any";
|
|
31
|
+
readonly readable: true;
|
|
32
|
+
readonly writeable: true;
|
|
33
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
34
|
+
readonly type: "any";
|
|
35
|
+
readonly readable: true;
|
|
36
|
+
readonly writeable: true;
|
|
37
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
38
|
+
readonly type: "any";
|
|
39
|
+
readonly readable: true;
|
|
40
|
+
readonly writeable: true;
|
|
41
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
42
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
43
|
+
readonly internal: false;
|
|
44
|
+
readonly minVersion: 1;
|
|
45
|
+
readonly secret: false;
|
|
46
|
+
readonly stateful: true;
|
|
47
|
+
readonly supportsEndpoints: true;
|
|
48
|
+
readonly autoCreate: true;
|
|
49
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
50
|
+
readonly internal: false;
|
|
51
|
+
readonly minVersion: 1;
|
|
52
|
+
readonly secret: false;
|
|
26
53
|
readonly stateful: true;
|
|
54
|
+
readonly supportsEndpoints: true;
|
|
55
|
+
readonly autoCreate: true;
|
|
56
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
57
|
+
readonly internal: false;
|
|
58
|
+
readonly minVersion: 1;
|
|
27
59
|
readonly secret: false;
|
|
60
|
+
readonly stateful: true;
|
|
61
|
+
readonly supportsEndpoints: true;
|
|
62
|
+
readonly autoCreate: true;
|
|
63
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
64
|
+
readonly internal: false;
|
|
28
65
|
readonly minVersion: 1;
|
|
66
|
+
readonly secret: false;
|
|
67
|
+
readonly stateful: true;
|
|
29
68
|
readonly supportsEndpoints: true;
|
|
30
69
|
readonly autoCreate: true;
|
|
31
|
-
|
|
32
|
-
|
|
70
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
71
|
+
readonly internal: false;
|
|
72
|
+
readonly minVersion: 1;
|
|
73
|
+
readonly secret: false;
|
|
74
|
+
readonly stateful: true;
|
|
75
|
+
readonly supportsEndpoints: true;
|
|
76
|
+
readonly autoCreate: true;
|
|
77
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
78
|
+
readonly internal: false;
|
|
79
|
+
readonly minVersion: 1;
|
|
80
|
+
readonly secret: false;
|
|
81
|
+
readonly stateful: true;
|
|
82
|
+
readonly supportsEndpoints: true;
|
|
83
|
+
readonly autoCreate: true;
|
|
84
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
33
85
|
};
|
|
34
86
|
supportsResuming: {
|
|
35
|
-
readonly id:
|
|
36
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
37
|
-
property: "supportsResuming";
|
|
38
|
-
};
|
|
87
|
+
readonly id: ValueIDBase;
|
|
39
88
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
40
89
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
41
90
|
readonly endpoint: number;
|
|
42
91
|
readonly property: "supportsResuming";
|
|
43
92
|
};
|
|
44
93
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
45
|
-
readonly meta: {
|
|
94
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
46
95
|
readonly type: "any";
|
|
47
96
|
readonly readable: true;
|
|
48
97
|
readonly writeable: true;
|
|
49
|
-
}
|
|
50
|
-
|
|
98
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
99
|
+
readonly type: "any";
|
|
100
|
+
readonly readable: true;
|
|
101
|
+
readonly writeable: true;
|
|
102
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
103
|
+
readonly type: "any";
|
|
104
|
+
readonly readable: true;
|
|
105
|
+
readonly writeable: true;
|
|
106
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
107
|
+
readonly type: "any";
|
|
108
|
+
readonly readable: true;
|
|
109
|
+
readonly writeable: true;
|
|
110
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
111
|
+
readonly type: "any";
|
|
112
|
+
readonly readable: true;
|
|
113
|
+
readonly writeable: true;
|
|
114
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
115
|
+
readonly type: "any";
|
|
116
|
+
readonly readable: true;
|
|
117
|
+
readonly writeable: true;
|
|
118
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
119
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
120
|
+
readonly internal: false;
|
|
121
|
+
readonly minVersion: 1;
|
|
122
|
+
readonly secret: false;
|
|
51
123
|
readonly stateful: true;
|
|
124
|
+
readonly supportsEndpoints: true;
|
|
125
|
+
readonly autoCreate: true;
|
|
126
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
127
|
+
readonly internal: false;
|
|
128
|
+
readonly minVersion: 1;
|
|
52
129
|
readonly secret: false;
|
|
130
|
+
readonly stateful: true;
|
|
131
|
+
readonly supportsEndpoints: true;
|
|
132
|
+
readonly autoCreate: true;
|
|
133
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
134
|
+
readonly internal: false;
|
|
53
135
|
readonly minVersion: 1;
|
|
136
|
+
readonly secret: false;
|
|
137
|
+
readonly stateful: true;
|
|
54
138
|
readonly supportsEndpoints: true;
|
|
55
139
|
readonly autoCreate: true;
|
|
56
|
-
|
|
57
|
-
|
|
140
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
141
|
+
readonly internal: false;
|
|
142
|
+
readonly minVersion: 1;
|
|
143
|
+
readonly secret: false;
|
|
144
|
+
readonly stateful: true;
|
|
145
|
+
readonly supportsEndpoints: true;
|
|
146
|
+
readonly autoCreate: true;
|
|
147
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
148
|
+
readonly internal: false;
|
|
149
|
+
readonly minVersion: 1;
|
|
150
|
+
readonly secret: false;
|
|
151
|
+
readonly stateful: true;
|
|
152
|
+
readonly supportsEndpoints: true;
|
|
153
|
+
readonly autoCreate: true;
|
|
154
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
155
|
+
readonly internal: false;
|
|
156
|
+
readonly minVersion: 1;
|
|
157
|
+
readonly secret: false;
|
|
158
|
+
readonly stateful: true;
|
|
159
|
+
readonly supportsEndpoints: true;
|
|
160
|
+
readonly autoCreate: true;
|
|
161
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
58
162
|
};
|
|
59
163
|
continuesToFunction: {
|
|
60
|
-
readonly id:
|
|
61
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
62
|
-
property: "continuesToFunction";
|
|
63
|
-
};
|
|
164
|
+
readonly id: ValueIDBase;
|
|
64
165
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
65
166
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
66
167
|
readonly endpoint: number;
|
|
67
168
|
readonly property: "continuesToFunction";
|
|
68
169
|
};
|
|
69
170
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
70
|
-
readonly meta: {
|
|
171
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
71
172
|
readonly type: "any";
|
|
72
173
|
readonly readable: true;
|
|
73
174
|
readonly writeable: true;
|
|
74
|
-
}
|
|
75
|
-
|
|
175
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
176
|
+
readonly type: "any";
|
|
177
|
+
readonly readable: true;
|
|
178
|
+
readonly writeable: true;
|
|
179
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
180
|
+
readonly type: "any";
|
|
181
|
+
readonly readable: true;
|
|
182
|
+
readonly writeable: true;
|
|
183
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
184
|
+
readonly type: "any";
|
|
185
|
+
readonly readable: true;
|
|
186
|
+
readonly writeable: true;
|
|
187
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
188
|
+
readonly type: "any";
|
|
189
|
+
readonly readable: true;
|
|
190
|
+
readonly writeable: true;
|
|
191
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
192
|
+
readonly type: "any";
|
|
193
|
+
readonly readable: true;
|
|
194
|
+
readonly writeable: true;
|
|
195
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
196
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
197
|
+
readonly internal: false;
|
|
198
|
+
readonly minVersion: 1;
|
|
199
|
+
readonly secret: false;
|
|
76
200
|
readonly stateful: true;
|
|
201
|
+
readonly supportsEndpoints: true;
|
|
202
|
+
readonly autoCreate: true;
|
|
203
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
204
|
+
readonly internal: false;
|
|
205
|
+
readonly minVersion: 1;
|
|
77
206
|
readonly secret: false;
|
|
207
|
+
readonly stateful: true;
|
|
208
|
+
readonly supportsEndpoints: true;
|
|
209
|
+
readonly autoCreate: true;
|
|
210
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
211
|
+
readonly internal: false;
|
|
78
212
|
readonly minVersion: 1;
|
|
213
|
+
readonly secret: false;
|
|
214
|
+
readonly stateful: true;
|
|
79
215
|
readonly supportsEndpoints: true;
|
|
80
216
|
readonly autoCreate: true;
|
|
81
|
-
|
|
82
|
-
|
|
217
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
218
|
+
readonly internal: false;
|
|
219
|
+
readonly minVersion: 1;
|
|
220
|
+
readonly secret: false;
|
|
221
|
+
readonly stateful: true;
|
|
222
|
+
readonly supportsEndpoints: true;
|
|
223
|
+
readonly autoCreate: true;
|
|
224
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
225
|
+
readonly internal: false;
|
|
226
|
+
readonly minVersion: 1;
|
|
227
|
+
readonly secret: false;
|
|
228
|
+
readonly stateful: true;
|
|
229
|
+
readonly supportsEndpoints: true;
|
|
230
|
+
readonly autoCreate: true;
|
|
231
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
232
|
+
readonly internal: false;
|
|
233
|
+
readonly minVersion: 1;
|
|
234
|
+
readonly secret: false;
|
|
235
|
+
readonly stateful: true;
|
|
236
|
+
readonly supportsEndpoints: true;
|
|
237
|
+
readonly autoCreate: true;
|
|
238
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
83
239
|
};
|
|
84
240
|
additionalFirmwareIDs: {
|
|
85
|
-
readonly id:
|
|
86
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
87
|
-
property: "additionalFirmwareIDs";
|
|
88
|
-
};
|
|
241
|
+
readonly id: ValueIDBase;
|
|
89
242
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
90
243
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
91
244
|
readonly endpoint: number;
|
|
92
245
|
readonly property: "additionalFirmwareIDs";
|
|
93
246
|
};
|
|
94
247
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
95
|
-
readonly meta: {
|
|
248
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
96
249
|
readonly type: "any";
|
|
97
250
|
readonly readable: true;
|
|
98
251
|
readonly writeable: true;
|
|
99
|
-
}
|
|
100
|
-
|
|
252
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
253
|
+
readonly type: "any";
|
|
254
|
+
readonly readable: true;
|
|
255
|
+
readonly writeable: true;
|
|
256
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
257
|
+
readonly type: "any";
|
|
258
|
+
readonly readable: true;
|
|
259
|
+
readonly writeable: true;
|
|
260
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
261
|
+
readonly type: "any";
|
|
262
|
+
readonly readable: true;
|
|
263
|
+
readonly writeable: true;
|
|
264
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
265
|
+
readonly type: "any";
|
|
266
|
+
readonly readable: true;
|
|
267
|
+
readonly writeable: true;
|
|
268
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
269
|
+
readonly type: "any";
|
|
270
|
+
readonly readable: true;
|
|
271
|
+
readonly writeable: true;
|
|
272
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
273
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
274
|
+
readonly internal: false;
|
|
275
|
+
readonly minVersion: 1;
|
|
276
|
+
readonly secret: false;
|
|
101
277
|
readonly stateful: true;
|
|
278
|
+
readonly supportsEndpoints: true;
|
|
279
|
+
readonly autoCreate: true;
|
|
280
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
281
|
+
readonly internal: false;
|
|
282
|
+
readonly minVersion: 1;
|
|
283
|
+
readonly secret: false;
|
|
284
|
+
readonly stateful: true;
|
|
285
|
+
readonly supportsEndpoints: true;
|
|
286
|
+
readonly autoCreate: true;
|
|
287
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
288
|
+
readonly internal: false;
|
|
289
|
+
readonly minVersion: 1;
|
|
102
290
|
readonly secret: false;
|
|
291
|
+
readonly stateful: true;
|
|
292
|
+
readonly supportsEndpoints: true;
|
|
293
|
+
readonly autoCreate: true;
|
|
294
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
295
|
+
readonly internal: false;
|
|
103
296
|
readonly minVersion: 1;
|
|
297
|
+
readonly secret: false;
|
|
298
|
+
readonly stateful: true;
|
|
104
299
|
readonly supportsEndpoints: true;
|
|
105
300
|
readonly autoCreate: true;
|
|
106
|
-
|
|
107
|
-
|
|
301
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
302
|
+
readonly internal: false;
|
|
303
|
+
readonly minVersion: 1;
|
|
304
|
+
readonly secret: false;
|
|
305
|
+
readonly stateful: true;
|
|
306
|
+
readonly supportsEndpoints: true;
|
|
307
|
+
readonly autoCreate: true;
|
|
308
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
309
|
+
readonly internal: false;
|
|
310
|
+
readonly minVersion: 1;
|
|
311
|
+
readonly secret: false;
|
|
312
|
+
readonly stateful: true;
|
|
313
|
+
readonly supportsEndpoints: true;
|
|
314
|
+
readonly autoCreate: true;
|
|
315
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
108
316
|
};
|
|
109
317
|
firmwareUpgradable: {
|
|
110
|
-
readonly id:
|
|
111
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
112
|
-
property: "firmwareUpgradable";
|
|
113
|
-
};
|
|
318
|
+
readonly id: ValueIDBase;
|
|
114
319
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
115
320
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
116
321
|
readonly endpoint: number;
|
|
117
322
|
readonly property: "firmwareUpgradable";
|
|
118
323
|
};
|
|
119
324
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
120
|
-
readonly meta: {
|
|
325
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
121
326
|
readonly type: "any";
|
|
122
327
|
readonly readable: true;
|
|
123
328
|
readonly writeable: true;
|
|
124
|
-
}
|
|
125
|
-
|
|
329
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
330
|
+
readonly type: "any";
|
|
331
|
+
readonly readable: true;
|
|
332
|
+
readonly writeable: true;
|
|
333
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
334
|
+
readonly type: "any";
|
|
335
|
+
readonly readable: true;
|
|
336
|
+
readonly writeable: true;
|
|
337
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
338
|
+
readonly type: "any";
|
|
339
|
+
readonly readable: true;
|
|
340
|
+
readonly writeable: true;
|
|
341
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
342
|
+
readonly type: "any";
|
|
343
|
+
readonly readable: true;
|
|
344
|
+
readonly writeable: true;
|
|
345
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
346
|
+
readonly type: "any";
|
|
347
|
+
readonly readable: true;
|
|
348
|
+
readonly writeable: true;
|
|
349
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
350
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
351
|
+
readonly internal: false;
|
|
352
|
+
readonly minVersion: 1;
|
|
353
|
+
readonly secret: false;
|
|
126
354
|
readonly stateful: true;
|
|
355
|
+
readonly supportsEndpoints: true;
|
|
356
|
+
readonly autoCreate: true;
|
|
357
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
358
|
+
readonly internal: false;
|
|
359
|
+
readonly minVersion: 1;
|
|
127
360
|
readonly secret: false;
|
|
361
|
+
readonly stateful: true;
|
|
362
|
+
readonly supportsEndpoints: true;
|
|
363
|
+
readonly autoCreate: true;
|
|
364
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
365
|
+
readonly internal: false;
|
|
128
366
|
readonly minVersion: 1;
|
|
367
|
+
readonly secret: false;
|
|
368
|
+
readonly stateful: true;
|
|
129
369
|
readonly supportsEndpoints: true;
|
|
130
370
|
readonly autoCreate: true;
|
|
131
|
-
|
|
132
|
-
|
|
371
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
372
|
+
readonly internal: false;
|
|
373
|
+
readonly minVersion: 1;
|
|
374
|
+
readonly secret: false;
|
|
375
|
+
readonly stateful: true;
|
|
376
|
+
readonly supportsEndpoints: true;
|
|
377
|
+
readonly autoCreate: true;
|
|
378
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
379
|
+
readonly internal: false;
|
|
380
|
+
readonly minVersion: 1;
|
|
381
|
+
readonly secret: false;
|
|
382
|
+
readonly stateful: true;
|
|
383
|
+
readonly supportsEndpoints: true;
|
|
384
|
+
readonly autoCreate: true;
|
|
385
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
386
|
+
readonly internal: false;
|
|
387
|
+
readonly minVersion: 1;
|
|
388
|
+
readonly secret: false;
|
|
389
|
+
readonly stateful: true;
|
|
390
|
+
readonly supportsEndpoints: true;
|
|
391
|
+
readonly autoCreate: true;
|
|
392
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
133
393
|
};
|
|
134
394
|
supportsActivation: {
|
|
135
|
-
readonly id:
|
|
136
|
-
commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
137
|
-
property: "supportsActivation";
|
|
138
|
-
};
|
|
395
|
+
readonly id: ValueIDBase;
|
|
139
396
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
140
397
|
readonly commandClass: (typeof CommandClasses)["Firmware Update Meta Data"];
|
|
141
398
|
readonly endpoint: number;
|
|
142
399
|
readonly property: "supportsActivation";
|
|
143
400
|
};
|
|
144
401
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
145
|
-
readonly meta: {
|
|
402
|
+
readonly meta: Readonly<(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
146
403
|
readonly type: "any";
|
|
147
404
|
readonly readable: true;
|
|
148
405
|
readonly writeable: true;
|
|
149
|
-
}
|
|
150
|
-
|
|
406
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
407
|
+
readonly type: "any";
|
|
408
|
+
readonly readable: true;
|
|
409
|
+
readonly writeable: true;
|
|
410
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
411
|
+
readonly type: "any";
|
|
412
|
+
readonly readable: true;
|
|
413
|
+
readonly writeable: true;
|
|
414
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
415
|
+
readonly type: "any";
|
|
416
|
+
readonly readable: true;
|
|
417
|
+
readonly writeable: true;
|
|
418
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (import("@zwave-js/core/safe").ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
419
|
+
readonly type: "any";
|
|
420
|
+
readonly readable: true;
|
|
421
|
+
readonly writeable: true;
|
|
422
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
423
|
+
readonly type: "any";
|
|
424
|
+
readonly readable: true;
|
|
425
|
+
readonly writeable: true;
|
|
426
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
427
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
428
|
+
readonly internal: false;
|
|
429
|
+
readonly minVersion: 1;
|
|
430
|
+
readonly secret: false;
|
|
151
431
|
readonly stateful: true;
|
|
432
|
+
readonly supportsEndpoints: true;
|
|
433
|
+
readonly autoCreate: true;
|
|
434
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
435
|
+
readonly internal: false;
|
|
436
|
+
readonly minVersion: 1;
|
|
152
437
|
readonly secret: false;
|
|
438
|
+
readonly stateful: true;
|
|
439
|
+
readonly supportsEndpoints: true;
|
|
440
|
+
readonly autoCreate: true;
|
|
441
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
442
|
+
readonly internal: false;
|
|
153
443
|
readonly minVersion: 1;
|
|
444
|
+
readonly secret: false;
|
|
445
|
+
readonly stateful: true;
|
|
154
446
|
readonly supportsEndpoints: true;
|
|
155
447
|
readonly autoCreate: true;
|
|
156
|
-
|
|
157
|
-
|
|
448
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
449
|
+
readonly internal: false;
|
|
450
|
+
readonly minVersion: 1;
|
|
451
|
+
readonly secret: false;
|
|
452
|
+
readonly stateful: true;
|
|
453
|
+
readonly supportsEndpoints: true;
|
|
454
|
+
readonly autoCreate: true;
|
|
455
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
456
|
+
readonly internal: false;
|
|
457
|
+
readonly minVersion: 1;
|
|
458
|
+
readonly secret: false;
|
|
459
|
+
readonly stateful: true;
|
|
460
|
+
readonly supportsEndpoints: true;
|
|
461
|
+
readonly autoCreate: true;
|
|
462
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
463
|
+
readonly internal: false;
|
|
464
|
+
readonly minVersion: 1;
|
|
465
|
+
readonly secret: false;
|
|
466
|
+
readonly stateful: true;
|
|
467
|
+
readonly supportsEndpoints: true;
|
|
468
|
+
readonly autoCreate: true;
|
|
469
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
158
470
|
};
|
|
159
471
|
}>;
|
|
160
472
|
export declare class FirmwareUpdateMetaDataCCAPI extends PhysicalCCAPI {
|
|
@@ -165,10 +477,19 @@ export declare class FirmwareUpdateMetaDataCCAPI extends PhysicalCCAPI {
|
|
|
165
477
|
getMetaData(): Promise<MaybeNotKnown<FirmwareUpdateMetaData>>;
|
|
166
478
|
reportMetaData(options: FirmwareUpdateMetaDataCCMetaDataReportOptions): Promise<void>;
|
|
167
479
|
/**
|
|
168
|
-
* Requests the device to start the firmware update process.
|
|
169
|
-
* This
|
|
480
|
+
* Requests the device to start the firmware update process and waits for a response.
|
|
481
|
+
* This response may time out on some devices, in which case the caller of this method
|
|
482
|
+
* should wait manually.
|
|
483
|
+
*/
|
|
484
|
+
requestUpdate(options: FirmwareUpdateMetaDataCCRequestGetOptions): Promise<FirmwareUpdateMetaDataCCRequestReport | undefined>;
|
|
485
|
+
/**
|
|
486
|
+
* Responds to a firmware update request
|
|
487
|
+
*/
|
|
488
|
+
respondToUpdateRequest(options: FirmwareUpdateMetaDataCCRequestReportOptions): Promise<void>;
|
|
489
|
+
/**
|
|
490
|
+
* Responds to a firmware download request
|
|
170
491
|
*/
|
|
171
|
-
|
|
492
|
+
respondToDownloadRequest(options: FirmwareUpdateMetaDataCCPrepareReportOptions): Promise<void>;
|
|
172
493
|
/**
|
|
173
494
|
* Sends a fragment of the new firmware to the device
|
|
174
495
|
*/
|
|
@@ -208,7 +529,7 @@ export declare class FirmwareUpdateMetaDataCCMetaDataReport extends FirmwareUpda
|
|
|
208
529
|
readonly supportsActivation: MaybeNotKnown<boolean>;
|
|
209
530
|
readonly supportsResuming?: MaybeNotKnown<boolean>;
|
|
210
531
|
readonly supportsNonSecureTransfer?: MaybeNotKnown<boolean>;
|
|
211
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
532
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
212
533
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
213
534
|
}
|
|
214
535
|
export declare class FirmwareUpdateMetaDataCCMetaDataGet extends FirmwareUpdateMetaDataCC {
|
|
@@ -224,6 +545,7 @@ export declare class FirmwareUpdateMetaDataCCRequestReport extends FirmwareUpdat
|
|
|
224
545
|
readonly status: FirmwareUpdateRequestStatus;
|
|
225
546
|
resume?: boolean;
|
|
226
547
|
nonSecureTransfer?: boolean;
|
|
548
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
227
549
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
228
550
|
}
|
|
229
551
|
export type FirmwareUpdateMetaDataCCRequestGetOptions = {
|
|
@@ -240,7 +562,7 @@ export type FirmwareUpdateMetaDataCCRequestGetOptions = {
|
|
|
240
562
|
}>;
|
|
241
563
|
export declare class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMetaDataCC {
|
|
242
564
|
constructor(options: WithAddress<FirmwareUpdateMetaDataCCRequestGetOptions>);
|
|
243
|
-
static from(
|
|
565
|
+
static from(raw: CCRaw, ctx: CCParsingContext): FirmwareUpdateMetaDataCCRequestGet;
|
|
244
566
|
manufacturerId: number;
|
|
245
567
|
firmwareId: number;
|
|
246
568
|
checksum: number;
|
|
@@ -250,7 +572,7 @@ export declare class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMe
|
|
|
250
572
|
hardwareVersion?: number;
|
|
251
573
|
resume?: boolean;
|
|
252
574
|
nonSecureTransfer?: boolean;
|
|
253
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
575
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
254
576
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
255
577
|
}
|
|
256
578
|
export interface FirmwareUpdateMetaDataCCGetOptions {
|
|
@@ -262,6 +584,7 @@ export declare class FirmwareUpdateMetaDataCCGet extends FirmwareUpdateMetaDataC
|
|
|
262
584
|
static from(raw: CCRaw, ctx: CCParsingContext): FirmwareUpdateMetaDataCCGet;
|
|
263
585
|
readonly numReports: number;
|
|
264
586
|
readonly reportNumber: number;
|
|
587
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
265
588
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
266
589
|
}
|
|
267
590
|
export interface FirmwareUpdateMetaDataCCReportOptions {
|
|
@@ -275,7 +598,7 @@ export declare class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDa
|
|
|
275
598
|
isLast: boolean;
|
|
276
599
|
reportNumber: number;
|
|
277
600
|
firmwareData: Uint8Array;
|
|
278
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
601
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
279
602
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
280
603
|
}
|
|
281
604
|
export interface FirmwareUpdateMetaDataCCStatusReportOptions {
|
|
@@ -288,6 +611,7 @@ export declare class FirmwareUpdateMetaDataCCStatusReport extends FirmwareUpdate
|
|
|
288
611
|
readonly status: FirmwareUpdateStatus;
|
|
289
612
|
/** The wait time in seconds before the node becomes available for communication after the update */
|
|
290
613
|
readonly waitTime?: number;
|
|
614
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
291
615
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
292
616
|
}
|
|
293
617
|
export interface FirmwareUpdateMetaDataCCActivationReportOptions {
|
|
@@ -307,6 +631,7 @@ export declare class FirmwareUpdateMetaDataCCActivationReport extends FirmwareUp
|
|
|
307
631
|
readonly firmwareTarget: number;
|
|
308
632
|
readonly activationStatus: FirmwareUpdateActivationStatus;
|
|
309
633
|
readonly hardwareVersion?: number;
|
|
634
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
310
635
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
311
636
|
}
|
|
312
637
|
export interface FirmwareUpdateMetaDataCCActivationSetOptions {
|
|
@@ -318,13 +643,13 @@ export interface FirmwareUpdateMetaDataCCActivationSetOptions {
|
|
|
318
643
|
}
|
|
319
644
|
export declare class FirmwareUpdateMetaDataCCActivationSet extends FirmwareUpdateMetaDataCC {
|
|
320
645
|
constructor(options: WithAddress<FirmwareUpdateMetaDataCCActivationSetOptions>);
|
|
321
|
-
static from(
|
|
646
|
+
static from(raw: CCRaw, ctx: CCParsingContext): FirmwareUpdateMetaDataCCActivationSet;
|
|
322
647
|
manufacturerId: number;
|
|
323
648
|
firmwareId: number;
|
|
324
649
|
checksum: number;
|
|
325
650
|
firmwareTarget: number;
|
|
326
651
|
hardwareVersion?: number;
|
|
327
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
652
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
328
653
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
329
654
|
}
|
|
330
655
|
export interface FirmwareUpdateMetaDataCCPrepareReportOptions {
|
|
@@ -336,6 +661,7 @@ export declare class FirmwareUpdateMetaDataCCPrepareReport extends FirmwareUpdat
|
|
|
336
661
|
static from(raw: CCRaw, ctx: CCParsingContext): FirmwareUpdateMetaDataCCPrepareReport;
|
|
337
662
|
readonly status: FirmwareDownloadStatus;
|
|
338
663
|
readonly checksum: number;
|
|
664
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
339
665
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
340
666
|
}
|
|
341
667
|
export interface FirmwareUpdateMetaDataCCPrepareGetOptions {
|
|
@@ -347,13 +673,13 @@ export interface FirmwareUpdateMetaDataCCPrepareGetOptions {
|
|
|
347
673
|
}
|
|
348
674
|
export declare class FirmwareUpdateMetaDataCCPrepareGet extends FirmwareUpdateMetaDataCC {
|
|
349
675
|
constructor(options: WithAddress<FirmwareUpdateMetaDataCCPrepareGetOptions>);
|
|
350
|
-
static from(
|
|
676
|
+
static from(raw: CCRaw, ctx: CCParsingContext): FirmwareUpdateMetaDataCCPrepareGet;
|
|
351
677
|
manufacturerId: number;
|
|
352
678
|
firmwareId: number;
|
|
353
679
|
firmwareTarget: number;
|
|
354
680
|
fragmentSize: number;
|
|
355
681
|
hardwareVersion: number;
|
|
356
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
682
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
357
683
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
358
684
|
}
|
|
359
685
|
//# sourceMappingURL=FirmwareUpdateMetaDataCC.d.ts.map
|