@zwave-js/cc 9.3.1-0-pr-4662-79458fb

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 (297) hide show
  1. package/build/cc/AlarmSensorCC.d.ts +54 -0
  2. package/build/cc/AlarmSensorCC.d.ts.map +1 -0
  3. package/build/cc/AlarmSensorCC.js +378 -0
  4. package/build/cc/AlarmSensorCC.js.map +1 -0
  5. package/build/cc/AssociationCC.d.ts +123 -0
  6. package/build/cc/AssociationCC.d.ts.map +1 -0
  7. package/build/cc/AssociationCC.js +615 -0
  8. package/build/cc/AssociationCC.js.map +1 -0
  9. package/build/cc/AssociationGroupInfoCC.d.ts +97 -0
  10. package/build/cc/AssociationGroupInfoCC.d.ts.map +1 -0
  11. package/build/cc/AssociationGroupInfoCC.js +530 -0
  12. package/build/cc/AssociationGroupInfoCC.js.map +1 -0
  13. package/build/cc/BarrierOperatorCC.d.ts +75 -0
  14. package/build/cc/BarrierOperatorCC.d.ts.map +1 -0
  15. package/build/cc/BarrierOperatorCC.js +492 -0
  16. package/build/cc/BarrierOperatorCC.js.map +1 -0
  17. package/build/cc/BasicCC.d.ts +51 -0
  18. package/build/cc/BasicCC.d.ts.map +1 -0
  19. package/build/cc/BasicCC.js +344 -0
  20. package/build/cc/BasicCC.js.map +1 -0
  21. package/build/cc/BatteryCC.d.ts +56 -0
  22. package/build/cc/BatteryCC.d.ts.map +1 -0
  23. package/build/cc/BatteryCC.js +417 -0
  24. package/build/cc/BatteryCC.js.map +1 -0
  25. package/build/cc/BinarySensorCC.d.ts +52 -0
  26. package/build/cc/BinarySensorCC.d.ts.map +1 -0
  27. package/build/cc/BinarySensorCC.js +321 -0
  28. package/build/cc/BinarySensorCC.js.map +1 -0
  29. package/build/cc/BinarySwitchCC.d.ts +55 -0
  30. package/build/cc/BinarySwitchCC.d.ts.map +1 -0
  31. package/build/cc/BinarySwitchCC.js +327 -0
  32. package/build/cc/BinarySwitchCC.js.map +1 -0
  33. package/build/cc/CRC16CC.d.ts +28 -0
  34. package/build/cc/CRC16CC.d.ts.map +1 -0
  35. package/build/cc/CRC16CC.js +109 -0
  36. package/build/cc/CRC16CC.js.map +1 -0
  37. package/build/cc/CentralSceneCC.d.ts +69 -0
  38. package/build/cc/CentralSceneCC.d.ts.map +1 -0
  39. package/build/cc/CentralSceneCC.js +443 -0
  40. package/build/cc/CentralSceneCC.js.map +1 -0
  41. package/build/cc/ClimateControlScheduleCC.d.ts +78 -0
  42. package/build/cc/ClimateControlScheduleCC.d.ts.map +1 -0
  43. package/build/cc/ClimateControlScheduleCC.js +417 -0
  44. package/build/cc/ClimateControlScheduleCC.js.map +1 -0
  45. package/build/cc/ClockCC.d.ts +40 -0
  46. package/build/cc/ClockCC.d.ts.map +1 -0
  47. package/build/cc/ClockCC.js +185 -0
  48. package/build/cc/ClockCC.js.map +1 -0
  49. package/build/cc/ColorSwitchCC.d.ts +98 -0
  50. package/build/cc/ColorSwitchCC.d.ts.map +1 -0
  51. package/build/cc/ColorSwitchCC.js +1045 -0
  52. package/build/cc/ColorSwitchCC.js.map +1 -0
  53. package/build/cc/ConfigurationCC.d.ts +315 -0
  54. package/build/cc/ConfigurationCC.d.ts.map +1 -0
  55. package/build/cc/ConfigurationCC.js +2257 -0
  56. package/build/cc/ConfigurationCC.js.map +1 -0
  57. package/build/cc/DeviceResetLocallyCC.d.ts +9 -0
  58. package/build/cc/DeviceResetLocallyCC.d.ts.map +1 -0
  59. package/build/cc/DeviceResetLocallyCC.js +28 -0
  60. package/build/cc/DeviceResetLocallyCC.js.map +1 -0
  61. package/build/cc/DoorLockCC.d.ts +116 -0
  62. package/build/cc/DoorLockCC.d.ts.map +1 -0
  63. package/build/cc/DoorLockCC.js +1112 -0
  64. package/build/cc/DoorLockCC.js.map +1 -0
  65. package/build/cc/DoorLockLoggingCC.d.ts +41 -0
  66. package/build/cc/DoorLockLoggingCC.d.ts.map +1 -0
  67. package/build/cc/DoorLockLoggingCC.js +288 -0
  68. package/build/cc/DoorLockLoggingCC.js.map +1 -0
  69. package/build/cc/EntryControlCC.d.ts +71 -0
  70. package/build/cc/EntryControlCC.d.ts.map +1 -0
  71. package/build/cc/EntryControlCC.js +492 -0
  72. package/build/cc/EntryControlCC.js.map +1 -0
  73. package/build/cc/FirmwareUpdateMetaDataCC.d.ts +148 -0
  74. package/build/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -0
  75. package/build/cc/FirmwareUpdateMetaDataCC.js +727 -0
  76. package/build/cc/FirmwareUpdateMetaDataCC.js.map +1 -0
  77. package/build/cc/HailCC.d.ts +6 -0
  78. package/build/cc/HailCC.d.ts.map +1 -0
  79. package/build/cc/HailCC.js +23 -0
  80. package/build/cc/HailCC.js.map +1 -0
  81. package/build/cc/HumidityControlModeCC.d.ts +47 -0
  82. package/build/cc/HumidityControlModeCC.d.ts.map +1 -0
  83. package/build/cc/HumidityControlModeCC.js +288 -0
  84. package/build/cc/HumidityControlModeCC.js.map +1 -0
  85. package/build/cc/HumidityControlOperatingStateCC.d.ts +24 -0
  86. package/build/cc/HumidityControlOperatingStateCC.d.ts.map +1 -0
  87. package/build/cc/HumidityControlOperatingStateCC.js +129 -0
  88. package/build/cc/HumidityControlOperatingStateCC.js.map +1 -0
  89. package/build/cc/HumidityControlSetpointCC.d.ts +103 -0
  90. package/build/cc/HumidityControlSetpointCC.d.ts.map +1 -0
  91. package/build/cc/HumidityControlSetpointCC.js +626 -0
  92. package/build/cc/HumidityControlSetpointCC.js.map +1 -0
  93. package/build/cc/IndicatorCC.d.ts +88 -0
  94. package/build/cc/IndicatorCC.d.ts.map +1 -0
  95. package/build/cc/IndicatorCC.js +758 -0
  96. package/build/cc/IndicatorCC.js.map +1 -0
  97. package/build/cc/IrrigationCC.d.ts +278 -0
  98. package/build/cc/IrrigationCC.d.ts.map +1 -0
  99. package/build/cc/IrrigationCC.js +2062 -0
  100. package/build/cc/IrrigationCC.js.map +1 -0
  101. package/build/cc/LanguageCC.d.ts +41 -0
  102. package/build/cc/LanguageCC.d.ts.map +1 -0
  103. package/build/cc/LanguageCC.js +220 -0
  104. package/build/cc/LanguageCC.js.map +1 -0
  105. package/build/cc/LockCC.d.ts +41 -0
  106. package/build/cc/LockCC.d.ts.map +1 -0
  107. package/build/cc/LockCC.js +185 -0
  108. package/build/cc/LockCC.js.map +1 -0
  109. package/build/cc/ManufacturerProprietaryCC.d.ts +31 -0
  110. package/build/cc/ManufacturerProprietaryCC.d.ts.map +1 -0
  111. package/build/cc/ManufacturerProprietaryCC.js +275 -0
  112. package/build/cc/ManufacturerProprietaryCC.js.map +1 -0
  113. package/build/cc/ManufacturerSpecificCC.d.ts +59 -0
  114. package/build/cc/ManufacturerSpecificCC.d.ts.map +1 -0
  115. package/build/cc/ManufacturerSpecificCC.js +285 -0
  116. package/build/cc/ManufacturerSpecificCC.js.map +1 -0
  117. package/build/cc/MeterCC.d.ts +100 -0
  118. package/build/cc/MeterCC.d.ts.map +1 -0
  119. package/build/cc/MeterCC.js +820 -0
  120. package/build/cc/MeterCC.js.map +1 -0
  121. package/build/cc/MultiChannelAssociationCC.d.ts +127 -0
  122. package/build/cc/MultiChannelAssociationCC.d.ts.map +1 -0
  123. package/build/cc/MultiChannelAssociationCC.js +883 -0
  124. package/build/cc/MultiChannelAssociationCC.js.map +1 -0
  125. package/build/cc/MultiChannelCC.d.ts +164 -0
  126. package/build/cc/MultiChannelCC.d.ts.map +1 -0
  127. package/build/cc/MultiChannelCC.js +1004 -0
  128. package/build/cc/MultiChannelCC.js.map +1 -0
  129. package/build/cc/MultiCommandCC.d.ts +28 -0
  130. package/build/cc/MultiCommandCC.d.ts.map +1 -0
  131. package/build/cc/MultiCommandCC.js +137 -0
  132. package/build/cc/MultiCommandCC.js.map +1 -0
  133. package/build/cc/MultilevelSensorCC.d.ts +83 -0
  134. package/build/cc/MultilevelSensorCC.d.ts.map +1 -0
  135. package/build/cc/MultilevelSensorCC.js +633 -0
  136. package/build/cc/MultilevelSensorCC.js.map +1 -0
  137. package/build/cc/MultilevelSwitchCC.d.ts +86 -0
  138. package/build/cc/MultilevelSwitchCC.d.ts.map +1 -0
  139. package/build/cc/MultilevelSwitchCC.js +774 -0
  140. package/build/cc/MultilevelSwitchCC.js.map +1 -0
  141. package/build/cc/NoOperationCC.d.ts +17 -0
  142. package/build/cc/NoOperationCC.d.ts.map +1 -0
  143. package/build/cc/NoOperationCC.js +50 -0
  144. package/build/cc/NoOperationCC.js.map +1 -0
  145. package/build/cc/NodeNamingCC.d.ts +57 -0
  146. package/build/cc/NodeNamingCC.d.ts.map +1 -0
  147. package/build/cc/NodeNamingCC.js +313 -0
  148. package/build/cc/NodeNamingCC.js.map +1 -0
  149. package/build/cc/NotificationCC.d.ts +127 -0
  150. package/build/cc/NotificationCC.d.ts.map +1 -0
  151. package/build/cc/NotificationCC.js +1193 -0
  152. package/build/cc/NotificationCC.js.map +1 -0
  153. package/build/cc/PowerlevelCC.d.ts +63 -0
  154. package/build/cc/PowerlevelCC.d.ts.map +1 -0
  155. package/build/cc/PowerlevelCC.js +262 -0
  156. package/build/cc/PowerlevelCC.js.map +1 -0
  157. package/build/cc/ProtectionCC.d.ts +94 -0
  158. package/build/cc/ProtectionCC.d.ts.map +1 -0
  159. package/build/cc/ProtectionCC.js +630 -0
  160. package/build/cc/ProtectionCC.js.map +1 -0
  161. package/build/cc/SceneActivationCC.d.ts +34 -0
  162. package/build/cc/SceneActivationCC.d.ts.map +1 -0
  163. package/build/cc/SceneActivationCC.js +170 -0
  164. package/build/cc/SceneActivationCC.js.map +1 -0
  165. package/build/cc/SceneActuatorConfigurationCC.d.ts +52 -0
  166. package/build/cc/SceneActuatorConfigurationCC.d.ts.map +1 -0
  167. package/build/cc/SceneActuatorConfigurationCC.js +368 -0
  168. package/build/cc/SceneActuatorConfigurationCC.js.map +1 -0
  169. package/build/cc/SceneControllerConfigurationCC.d.ts +61 -0
  170. package/build/cc/SceneControllerConfigurationCC.d.ts.map +1 -0
  171. package/build/cc/SceneControllerConfigurationCC.js +444 -0
  172. package/build/cc/SceneControllerConfigurationCC.js.map +1 -0
  173. package/build/cc/Security2CC.d.ts +213 -0
  174. package/build/cc/Security2CC.d.ts.map +1 -0
  175. package/build/cc/Security2CC.js +1124 -0
  176. package/build/cc/Security2CC.js.map +1 -0
  177. package/build/cc/SecurityCC.d.ts +109 -0
  178. package/build/cc/SecurityCC.d.ts.map +1 -0
  179. package/build/cc/SecurityCC.js +609 -0
  180. package/build/cc/SecurityCC.js.map +1 -0
  181. package/build/cc/SoundSwitchCC.d.ts +87 -0
  182. package/build/cc/SoundSwitchCC.d.ts.map +1 -0
  183. package/build/cc/SoundSwitchCC.js +548 -0
  184. package/build/cc/SoundSwitchCC.js.map +1 -0
  185. package/build/cc/SupervisionCC.d.ts +63 -0
  186. package/build/cc/SupervisionCC.d.ts.map +1 -0
  187. package/build/cc/SupervisionCC.js +239 -0
  188. package/build/cc/SupervisionCC.js.map +1 -0
  189. package/build/cc/ThermostatFanModeCC.d.ts +53 -0
  190. package/build/cc/ThermostatFanModeCC.d.ts.map +1 -0
  191. package/build/cc/ThermostatFanModeCC.js +359 -0
  192. package/build/cc/ThermostatFanModeCC.js.map +1 -0
  193. package/build/cc/ThermostatFanStateCC.d.ts +24 -0
  194. package/build/cc/ThermostatFanStateCC.d.ts.map +1 -0
  195. package/build/cc/ThermostatFanStateCC.js +131 -0
  196. package/build/cc/ThermostatFanStateCC.js.map +1 -0
  197. package/build/cc/ThermostatModeCC.d.ts +58 -0
  198. package/build/cc/ThermostatModeCC.d.ts.map +1 -0
  199. package/build/cc/ThermostatModeCC.js +370 -0
  200. package/build/cc/ThermostatModeCC.js.map +1 -0
  201. package/build/cc/ThermostatOperatingStateCC.d.ts +24 -0
  202. package/build/cc/ThermostatOperatingStateCC.d.ts.map +1 -0
  203. package/build/cc/ThermostatOperatingStateCC.js +127 -0
  204. package/build/cc/ThermostatOperatingStateCC.js.map +1 -0
  205. package/build/cc/ThermostatSetbackCC.d.ts +42 -0
  206. package/build/cc/ThermostatSetbackCC.d.ts.map +1 -0
  207. package/build/cc/ThermostatSetbackCC.js +237 -0
  208. package/build/cc/ThermostatSetbackCC.js.map +1 -0
  209. package/build/cc/ThermostatSetpointCC.d.ts +98 -0
  210. package/build/cc/ThermostatSetpointCC.d.ts.map +1 -0
  211. package/build/cc/ThermostatSetpointCC.js +707 -0
  212. package/build/cc/ThermostatSetpointCC.js.map +1 -0
  213. package/build/cc/TimeCC.d.ts +78 -0
  214. package/build/cc/TimeCC.d.ts.map +1 -0
  215. package/build/cc/TimeCC.js +373 -0
  216. package/build/cc/TimeCC.js.map +1 -0
  217. package/build/cc/TimeParametersCC.d.ts +40 -0
  218. package/build/cc/TimeParametersCC.d.ts.map +1 -0
  219. package/build/cc/TimeParametersCC.js +275 -0
  220. package/build/cc/TimeParametersCC.js.map +1 -0
  221. package/build/cc/TransportServiceCC.d.ts +101 -0
  222. package/build/cc/TransportServiceCC.d.ts.map +1 -0
  223. package/build/cc/TransportServiceCC.js +404 -0
  224. package/build/cc/TransportServiceCC.js.map +1 -0
  225. package/build/cc/UserCodeCC.d.ts +219 -0
  226. package/build/cc/UserCodeCC.d.ts.map +1 -0
  227. package/build/cc/UserCodeCC.js +1526 -0
  228. package/build/cc/UserCodeCC.js.map +1 -0
  229. package/build/cc/VersionCC.d.ts +91 -0
  230. package/build/cc/VersionCC.d.ts.map +1 -0
  231. package/build/cc/VersionCC.js +654 -0
  232. package/build/cc/VersionCC.js.map +1 -0
  233. package/build/cc/WakeUpCC.d.ts +67 -0
  234. package/build/cc/WakeUpCC.d.ts.map +1 -0
  235. package/build/cc/WakeUpCC.js +425 -0
  236. package/build/cc/WakeUpCC.js.map +1 -0
  237. package/build/cc/ZWavePlusCC.d.ts +40 -0
  238. package/build/cc/ZWavePlusCC.d.ts.map +1 -0
  239. package/build/cc/ZWavePlusCC.js +269 -0
  240. package/build/cc/ZWavePlusCC.js.map +1 -0
  241. package/build/cc/index.d.ts +64 -0
  242. package/build/cc/index.d.ts.map +1 -0
  243. package/build/cc/index.js +496 -0
  244. package/build/cc/index.js.map +1 -0
  245. package/build/cc/manufacturerProprietary/FibaroCC.d.ts +62 -0
  246. package/build/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -0
  247. package/build/cc/manufacturerProprietary/FibaroCC.js +247 -0
  248. package/build/cc/manufacturerProprietary/FibaroCC.js.map +1 -0
  249. package/build/index.d.ts +11 -0
  250. package/build/index.d.ts.map +1 -0
  251. package/build/index.js +48 -0
  252. package/build/index.js.map +1 -0
  253. package/build/index_safe.d.ts +4 -0
  254. package/build/index_safe.d.ts.map +1 -0
  255. package/build/index_safe.js +30 -0
  256. package/build/index_safe.js.map +1 -0
  257. package/build/lib/API.d.ts +176 -0
  258. package/build/lib/API.d.ts.map +1 -0
  259. package/build/lib/API.js +325 -0
  260. package/build/lib/API.js.map +1 -0
  261. package/build/lib/CommandClass.d.ts +341 -0
  262. package/build/lib/CommandClass.d.ts.map +1 -0
  263. package/build/lib/CommandClass.js +1088 -0
  264. package/build/lib/CommandClass.js.map +1 -0
  265. package/build/lib/EncapsulatingCommandClass.d.ts +35 -0
  266. package/build/lib/EncapsulatingCommandClass.d.ts.map +1 -0
  267. package/build/lib/EncapsulatingCommandClass.js +53 -0
  268. package/build/lib/EncapsulatingCommandClass.js.map +1 -0
  269. package/build/lib/ICommandClassContainer.d.ts +9 -0
  270. package/build/lib/ICommandClassContainer.d.ts.map +1 -0
  271. package/build/lib/ICommandClassContainer.js +12 -0
  272. package/build/lib/ICommandClassContainer.js.map +1 -0
  273. package/build/lib/NotificationEventPayload.d.ts +11 -0
  274. package/build/lib/NotificationEventPayload.d.ts.map +1 -0
  275. package/build/lib/NotificationEventPayload.js +11 -0
  276. package/build/lib/NotificationEventPayload.js.map +1 -0
  277. package/build/lib/Security2/Extension.d.ts +87 -0
  278. package/build/lib/Security2/Extension.d.ts.map +1 -0
  279. package/build/lib/Security2/Extension.js +235 -0
  280. package/build/lib/Security2/Extension.js.map +1 -0
  281. package/build/lib/Security2/shared.d.ts +31 -0
  282. package/build/lib/Security2/shared.d.ts.map +1 -0
  283. package/build/lib/Security2/shared.js +37 -0
  284. package/build/lib/Security2/shared.js.map +1 -0
  285. package/build/lib/_Types.d.ts +1446 -0
  286. package/build/lib/_Types.d.ts.map +1 -0
  287. package/build/lib/_Types.js +1334 -0
  288. package/build/lib/_Types.js.map +1 -0
  289. package/build/lib/serializers.d.ts +24 -0
  290. package/build/lib/serializers.d.ts.map +1 -0
  291. package/build/lib/serializers.js +66 -0
  292. package/build/lib/serializers.js.map +1 -0
  293. package/build/lib/utils.d.ts +13 -0
  294. package/build/lib/utils.d.ts.map +1 -0
  295. package/build/lib/utils.js +675 -0
  296. package/build/lib/utils.js.map +1 -0
  297. package/package.json +77 -0
@@ -0,0 +1,341 @@
1
+ /// <reference types="node" />
2
+ import { CommandClasses, ICommandClass, IVirtualEndpoint, IZWaveEndpoint, IZWaveNode, MessageOrCCLogEntry, MulticastCC, MulticastDestination, SinglecastCC, ValueDB, ValueID, ValueMetadata, ZWaveErrorCodes } from "@zwave-js/core";
3
+ import type { ZWaveApplicationHost, ZWaveHost } from "@zwave-js/host";
4
+ import { JSONObject, TypedClassDecorator } from "@zwave-js/shared";
5
+ import { CCAPI } from "./API";
6
+ import { EncapsulatingCommandClass } from "./EncapsulatingCommandClass";
7
+ import { ICommandClassContainer } from "./ICommandClassContainer";
8
+ export declare type CommandClassDeserializationOptions = {
9
+ data: Buffer;
10
+ } & ({
11
+ fromEncapsulation?: false;
12
+ nodeId: number;
13
+ } | {
14
+ fromEncapsulation: true;
15
+ encapCC: CommandClass;
16
+ });
17
+ export declare function gotDeserializationOptions(options: CommandClassOptions): options is CommandClassDeserializationOptions;
18
+ export interface CCCommandOptions {
19
+ nodeId: number | MulticastDestination;
20
+ endpoint?: number;
21
+ supervised?: boolean;
22
+ }
23
+ interface CommandClassCreationOptions extends CCCommandOptions {
24
+ ccId?: number;
25
+ ccCommand?: number;
26
+ payload?: Buffer;
27
+ }
28
+ export declare type CommandClassOptions = CommandClassCreationOptions | CommandClassDeserializationOptions;
29
+ export declare class CommandClass implements ICommandClass {
30
+ constructor(host: ZWaveHost, options: CommandClassOptions);
31
+ protected host: ZWaveHost;
32
+ /** This CC's identifier */
33
+ ccId: CommandClasses;
34
+ ccCommand?: number;
35
+ get ccName(): string;
36
+ /** The ID of the target node(s) */
37
+ nodeId: number | MulticastDestination;
38
+ payload: Buffer;
39
+ /** The version of the command class used */
40
+ version: number;
41
+ /** Which endpoint of the node this CC belongs to. 0 for the root device. */
42
+ endpointIndex: number;
43
+ /**
44
+ * Whether the command progress should be supervised.
45
+ * This only has an effect if the target endpoint supports the Supervision CC.
46
+ *
47
+ * Don't use this directly, but rather use `Driver.sendSupervisedCommand`
48
+ */
49
+ supervised: boolean;
50
+ /** Contains a reference to the encapsulating CC if this CC is encapsulated */
51
+ encapsulatingCC?: EncapsulatingCommandClass;
52
+ /**
53
+ * Whether the command should be sent encrypted
54
+ * This only has an effect if the target node supports Security.
55
+ */
56
+ secure: boolean;
57
+ /** Returns true if this CC is an extended CC (0xF100..0xFFFF) */
58
+ isExtended(): boolean;
59
+ /** Whether the interview for this CC was previously completed */
60
+ isInterviewComplete(applHost: ZWaveApplicationHost): boolean;
61
+ /** Marks the interview for this CC as complete or not */
62
+ setInterviewComplete(applHost: ZWaveApplicationHost, complete: boolean): void;
63
+ /**
64
+ * Deserializes a CC from a buffer that contains a serialized CC
65
+ */
66
+ protected deserialize(data: Buffer): {
67
+ ccId: CommandClasses;
68
+ ccCommand: number;
69
+ payload: Buffer;
70
+ } | {
71
+ ccId: CommandClasses;
72
+ payload: Buffer;
73
+ ccCommand?: undefined;
74
+ };
75
+ /**
76
+ * Serializes this CommandClass to be embedded in a message payload or another CC
77
+ */
78
+ serialize(): Buffer;
79
+ /** Extracts the CC id from a buffer that contains a serialized CC */
80
+ static getCommandClass(data: Buffer): CommandClasses;
81
+ /** Extracts the CC command from a buffer that contains a serialized CC */
82
+ static getCCCommand(data: Buffer): number | undefined;
83
+ /**
84
+ * Retrieves the correct constructor for the CommandClass in the given Buffer.
85
+ * It is assumed that the buffer only contains the serialized CC. This throws if the CC is not implemented.
86
+ */
87
+ static getConstructor(ccData: Buffer): Constructable<CommandClass>;
88
+ /**
89
+ * Creates an instance of the CC that is serialized in the given buffer
90
+ */
91
+ static from(host: ZWaveHost, options: CommandClassDeserializationOptions): CommandClass;
92
+ /**
93
+ * Create an instance of the given CC without checking whether it is supported.
94
+ * If the CC is implemented, this returns an instance of the given CC which is linked to the given endpoint.
95
+ *
96
+ * **INTERNAL:** Applications should not use this directly.
97
+ */
98
+ static createInstanceUnchecked<T extends CommandClass>(host: ZWaveHost, endpoint: IZWaveEndpoint, cc: CommandClasses | Constructable<T>): T | undefined;
99
+ /** Generates a representation of this CC for the log */
100
+ toLogEntry(_applHost: ZWaveApplicationHost): MessageOrCCLogEntry;
101
+ /** Generates the JSON representation of this CC */
102
+ toJSON(): JSONObject;
103
+ private toJSONInternal;
104
+ protected throwMissingCriticalInterviewResponse(): never;
105
+ /**
106
+ * Performs the interview procedure for this CC according to SDS14223
107
+ */
108
+ interview(_applHost: ZWaveApplicationHost): Promise<void>;
109
+ /**
110
+ * Refreshes all dynamic values of this CC
111
+ */
112
+ refreshValues(_applHost: ZWaveApplicationHost): Promise<void>;
113
+ /** Determines which CC interviews must be performed before this CC can be interviewed */
114
+ determineRequiredCCInterviews(): readonly CommandClasses[];
115
+ /**
116
+ * Whether the endpoint interview may be skipped by a CC. Can be overwritten by a subclass.
117
+ */
118
+ skipEndpointInterview(): boolean;
119
+ /**
120
+ * Maps a BasicCC value to a more specific CC implementation. Returns true if the value was mapped, false otherwise.
121
+ * @param _value The value of the received BasicCC
122
+ */
123
+ setMappedBasicValue(_applHost: ZWaveApplicationHost, _value: number): boolean;
124
+ isSinglecast(): this is SinglecastCC<this>;
125
+ isMulticast(): this is MulticastCC<this>;
126
+ /**
127
+ * Returns the node this CC is linked to. Throws if the controller is not yet ready.
128
+ */
129
+ getNode(applHost: ZWaveApplicationHost): IZWaveNode | undefined;
130
+ getEndpoint(applHost: ZWaveApplicationHost): IZWaveEndpoint | undefined;
131
+ /** Returns the value DB for this CC's node */
132
+ protected getValueDB(applHost: ZWaveApplicationHost): ValueDB;
133
+ /** Which variables should be persisted when requested */
134
+ private _registeredCCValues;
135
+ /**
136
+ * Creates a value that will be stored in the valueDB alongside with the ones marked with `@ccValue()`
137
+ * @param property The property the value belongs to
138
+ * @param internal Whether the value should be exposed to library users
139
+ */
140
+ registerValue(property: string | number, options?: Pick<CCValueOptions, "internal" | "secret">): void;
141
+ /** Returns a list of all value names that are defined for this CommandClass */
142
+ getDefinedValueIDs(applHost: ZWaveApplicationHost): ValueID[];
143
+ /** Determines if the given value is an internal value */
144
+ isInternalValue(property: keyof this): boolean;
145
+ /** Determines if the given value is an secret value */
146
+ isSecretValue(property: keyof this): boolean;
147
+ /** Determines if the given value should always be persisted */
148
+ shouldValueAlwaysBeCreated(property: keyof this): boolean;
149
+ /** Determines if the given value should be persisted or represents an event */
150
+ isStatefulValue(property: keyof this): boolean;
151
+ /** Persists all values on the given node into the value. Returns true if the process succeeded, false otherwise */
152
+ persistValues(applHost: ZWaveApplicationHost, valueNames?: (keyof this)[]): boolean;
153
+ /**
154
+ * When a CC supports to be split into multiple partial CCs, this can be used to identify the
155
+ * session the partial CCs belong to.
156
+ * If a CC expects `mergePartialCCs` to be always called, you should return an empty object here.
157
+ */
158
+ getPartialCCSessionId(): Record<string, any> | undefined;
159
+ /**
160
+ * When a CC supports to be split into multiple partial CCs, this indicates that the last report hasn't been received yet.
161
+ * @param _session The previously received set of messages received in this partial CC session
162
+ */
163
+ expectMoreMessages(_session: CommandClass[]): boolean;
164
+ /** Include previously received partial responses into a final CC */
165
+ mergePartialCCs(_applHost: ZWaveApplicationHost, _partials: CommandClass[]): void;
166
+ /** Tests whether this CC expects at least one command in return */
167
+ expectsCCResponse(): boolean;
168
+ isExpectedCCResponse(received: CommandClass): boolean;
169
+ /**
170
+ * Translates a property identifier into a speaking name for use in an external API
171
+ * @param property The property identifier that should be translated
172
+ * @param _propertyKey The (optional) property key the translated name may depend on
173
+ */
174
+ translateProperty(_applHost: ZWaveApplicationHost, property: string | number, _propertyKey?: string | number): string;
175
+ /**
176
+ * Translates a property key into a speaking name for use in an external API
177
+ * @param _property The property the key in question belongs to
178
+ * @param propertyKey The property key for which the speaking name should be retrieved
179
+ */
180
+ translatePropertyKey(_applHost: ZWaveApplicationHost, _property: string | number, propertyKey: string | number): string | undefined;
181
+ /** Returns the number of bytes that are added to the payload by this CC */
182
+ protected computeEncapsulationOverhead(): number;
183
+ /** Computes the maximum net payload size that can be transmitted inside this CC */
184
+ getMaxPayloadLength(baseLength: number): number;
185
+ /** Checks whether this CC is encapsulated with one that has the given CC id and (optionally) CC Command */
186
+ isEncapsulatedWith(ccId: CommandClasses, ccCommand?: number): boolean;
187
+ /** Traverses the encapsulation stack of this CC and returns the one that has the given CC id and (optionally) CC Command if that exists. */
188
+ getEncapsulatingCC(ccId: CommandClasses, ccCommand?: number): CommandClass | undefined;
189
+ }
190
+ export interface InvalidCCCreationOptions extends CommandClassCreationOptions {
191
+ ccName: string;
192
+ reason?: string | ZWaveErrorCodes;
193
+ }
194
+ export declare class InvalidCC extends CommandClass {
195
+ constructor(host: ZWaveHost, options: InvalidCCCreationOptions);
196
+ private _ccName;
197
+ get ccName(): string;
198
+ readonly reason?: string | ZWaveErrorCodes;
199
+ toLogEntry(): MessageOrCCLogEntry;
200
+ }
201
+ /** @publicAPI */
202
+ export declare function assertValidCCs(container: ICommandClassContainer): void;
203
+ export declare type Constructable<T extends CommandClass> = typeof CommandClass & {
204
+ new (host: ZWaveHost, options: any): T;
205
+ };
206
+ declare type APIConstructor = new (applHost: ZWaveApplicationHost, endpoint: IZWaveEndpoint | IVirtualEndpoint) => CCAPI;
207
+ /**
208
+ * @publicAPI
209
+ * May be used to define different expected CC responses depending on the sent CC
210
+ */
211
+ export declare type DynamicCCResponse<TSent extends CommandClass, TReceived extends CommandClass = CommandClass> = (sentCC: TSent) => Constructable<TReceived> | Constructable<TReceived>[] | undefined;
212
+ /** @publicAPI */
213
+ export declare type CCResponseRole = boolean | "checkEncapsulated";
214
+ /**
215
+ * @publicAPI
216
+ * A predicate function to test if a received CC matches the sent CC
217
+ */
218
+ export declare type CCResponsePredicate<TSent extends CommandClass, TReceived extends CommandClass = CommandClass> = (sentCommand: TSent, receivedCommand: TReceived) => CCResponseRole;
219
+ /**
220
+ * @publicAPI
221
+ * Defines the command class associated with a Z-Wave message
222
+ */
223
+ export declare function commandClass<T extends CommandClass>(cc: CommandClasses): TypedClassDecorator<T>;
224
+ /**
225
+ * @publicAPI
226
+ * Retrieves the command class defined for a Z-Wave message class
227
+ */
228
+ export declare function getCommandClass<T extends CommandClass | CCAPI>(cc: T): CommandClasses;
229
+ /**
230
+ * @publicAPI
231
+ * Retrieves the function type defined for a Z-Wave message class
232
+ */
233
+ export declare function getCommandClassStatic<T extends Constructable<CommandClass>>(classConstructor: T): CommandClasses;
234
+ /**
235
+ * @publicAPI
236
+ * Looks up the command class constructor for a given command class type and function type
237
+ */
238
+ export declare function getCCConstructor(cc: CommandClasses): Constructable<CommandClass> | undefined;
239
+ /**
240
+ * @publicAPI
241
+ * Defines the implemented version of a Z-Wave command class
242
+ */
243
+ export declare function implementedVersion(version: number): TypedClassDecorator<CommandClass>;
244
+ /**
245
+ * @publicAPI
246
+ * Retrieves the implemented version defined for a Z-Wave command class
247
+ */
248
+ export declare function getImplementedVersion<T extends CommandClass>(cc: T | CommandClasses): number;
249
+ /**
250
+ * @publicAPI
251
+ * Retrieves the implemented version defined for a Z-Wave command class
252
+ */
253
+ export declare function getImplementedVersionStatic<T extends Constructable<CommandClass>>(classConstructor: T): number;
254
+ /**
255
+ * @publicAPI
256
+ * Defines the CC command a subclass of a CC implements
257
+ */
258
+ export declare function CCCommand(command: number): TypedClassDecorator<CommandClass>;
259
+ /**
260
+ * @publicAPI
261
+ * Retrieves the CC command a subclass of a CC implements
262
+ */
263
+ export declare function getCCCommand<T extends CommandClass>(cc: T): number | undefined;
264
+ /**
265
+ * @publicAPI
266
+ * Looks up the command class constructor for a given command class type and function type
267
+ */
268
+ export declare function getCCCommandConstructor<TBase extends CommandClass>(ccId: CommandClasses, ccCommand: number): Constructable<TBase> | undefined;
269
+ /**
270
+ * @publicAPI
271
+ * Defines the expected response associated with a Z-Wave message
272
+ */
273
+ export declare function expectedCCResponse<TSent extends CommandClass, TReceived extends CommandClass>(cc: Constructable<TReceived> | DynamicCCResponse<TSent, TReceived>, predicate?: CCResponsePredicate<TSent, TReceived>): TypedClassDecorator<CommandClass>;
274
+ /**
275
+ * @publicAPI
276
+ * Retrieves the expected response (static or dynamic) defined for a Z-Wave message class
277
+ */
278
+ export declare function getExpectedCCResponse<T extends CommandClass>(ccClass: T): typeof CommandClass | DynamicCCResponse<T> | undefined;
279
+ /**
280
+ * @publicAPI
281
+ * Retrieves the CC response predicate defined for a Z-Wave message class
282
+ */
283
+ export declare function getCCResponsePredicate<T extends CommandClass>(ccClass: T): CCResponsePredicate<T> | undefined;
284
+ /** @publicAPI */
285
+ export interface CCValueOptions {
286
+ /**
287
+ * Whether the decorated CC value is internal. Internal values are not exposed to the user.
288
+ */
289
+ internal?: boolean;
290
+ /**
291
+ * The minimum CC version required for this value to exist.
292
+ */
293
+ minVersion?: number;
294
+ /**
295
+ * Whether this value should always be created/persisted, even if it is undefined. Default: false
296
+ */
297
+ forceCreation?: boolean;
298
+ /**
299
+ * Whether this value represents a state (`true`) or a notification/event (`false`). Default: `true`
300
+ */
301
+ stateful?: boolean;
302
+ /**
303
+ * Omit this value from value logs. Default: `false`
304
+ */
305
+ secret?: boolean;
306
+ }
307
+ /**
308
+ * @publicAPI
309
+ * Marks the decorated property as a value of the Command Class. This allows saving it on the node with persistValues()
310
+ * @param internal Whether the value should be exposed to library users
311
+ */
312
+ export declare function ccValue(options?: CCValueOptions): PropertyDecorator;
313
+ /**
314
+ * @publicAPI
315
+ * Marks the decorated property as the key of a Command Class's key value pair,
316
+ * which can later be saved with persistValues()
317
+ * @param internal Whether the key value pair should be exposed to library users
318
+ */
319
+ export declare function ccKeyValuePair(options?: CCValueOptions): PropertyDecorator;
320
+ /**
321
+ * @publicAPI
322
+ * Defines additional metadata for the given CC value
323
+ */
324
+ export declare function ccValueMetadata(meta: ValueMetadata): PropertyDecorator;
325
+ /**
326
+ * @publicAPI
327
+ * Retrieves defined metadata for the given CC value. If none is found, the default settings are returned.
328
+ */
329
+ export declare function getCCValueMetadata(cc: CommandClasses, property: string | number): ValueMetadata;
330
+ /**
331
+ * @publicAPI
332
+ * Defines the simplified API associated with a Z-Wave command class
333
+ */
334
+ export declare function API(cc: CommandClasses): TypedClassDecorator<CCAPI>;
335
+ /**
336
+ * @publicAPI
337
+ * Retrieves the CC API constructor that is defined for a Z-Wave command class
338
+ */
339
+ export declare function getAPI(cc: CommandClasses): APIConstructor | undefined;
340
+ export {};
341
+ //# sourceMappingURL=CommandClass.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandClass.d.ts","sourceRoot":"","sources":["../../src/lib/CommandClass.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,cAAc,EAEd,aAAa,EAEb,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,mBAAmB,EAEnB,WAAW,EACX,oBAAoB,EAGpB,YAAY,EACZ,OAAO,EACP,OAAO,EAEP,aAAa,EAEb,eAAe,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAGN,UAAU,EAGV,mBAAmB,EACnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC9B,OAAO,EACN,yBAAyB,EAEzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,sBAAsB,EAEtB,MAAM,0BAA0B,CAAC;AAElC,oBAAY,kCAAkC,GAA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