@matter/types 0.11.9-alpha.0-20241205-ccf69a00a → 0.11.9-alpha.0-20241207-b604cfa44

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 (180) hide show
  1. package/dist/cjs/clusters/bridged-device-basic-information.d.ts +58 -7
  2. package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
  3. package/dist/cjs/clusters/bridged-device-basic-information.js +19 -2
  4. package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
  5. package/dist/cjs/clusters/content-launcher.d.ts +10 -10
  6. package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
  7. package/dist/cjs/clusters/content-launcher.js +22 -22
  8. package/dist/cjs/clusters/content-launcher.js.map +2 -2
  9. package/dist/cjs/clusters/device-energy-management-mode.d.ts +411 -25
  10. package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
  11. package/dist/cjs/clusters/device-energy-management-mode.js +90 -1
  12. package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
  13. package/dist/cjs/clusters/dishwasher-alarm.d.ts +1253 -42
  14. package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
  15. package/dist/cjs/clusters/dishwasher-alarm.js +72 -9
  16. package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
  17. package/dist/cjs/clusters/dishwasher-mode.d.ts +340 -17
  18. package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
  19. package/dist/cjs/clusters/dishwasher-mode.js +91 -2
  20. package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
  21. package/dist/cjs/clusters/door-lock.d.ts +1287 -135
  22. package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
  23. package/dist/cjs/clusters/door-lock.js +199 -3
  24. package/dist/cjs/clusters/door-lock.js.map +1 -1
  25. package/dist/cjs/clusters/energy-evse-mode.d.ts +409 -25
  26. package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
  27. package/dist/cjs/clusters/energy-evse-mode.js +90 -1
  28. package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
  29. package/dist/cjs/clusters/fan-control.d.ts +5 -0
  30. package/dist/cjs/clusters/fan-control.d.ts.map +1 -1
  31. package/dist/cjs/clusters/fan-control.js.map +1 -1
  32. package/dist/cjs/clusters/groups.d.ts +12 -0
  33. package/dist/cjs/clusters/groups.d.ts.map +1 -1
  34. package/dist/cjs/clusters/groups.js +7 -1
  35. package/dist/cjs/clusters/groups.js.map +1 -1
  36. package/dist/cjs/clusters/laundry-washer-mode.d.ts +340 -17
  37. package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
  38. package/dist/cjs/clusters/laundry-washer-mode.js +91 -2
  39. package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
  40. package/dist/cjs/clusters/microwave-oven-mode.d.ts +330 -13
  41. package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
  42. package/dist/cjs/clusters/microwave-oven-mode.js +90 -2
  43. package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
  44. package/dist/cjs/clusters/mode-base.d.ts +68 -68
  45. package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
  46. package/dist/cjs/clusters/mode-base.js +16 -16
  47. package/dist/cjs/clusters/mode-base.js.map +2 -2
  48. package/dist/cjs/clusters/oven-mode.d.ts +409 -25
  49. package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
  50. package/dist/cjs/clusters/oven-mode.js +90 -1
  51. package/dist/cjs/clusters/oven-mode.js.map +1 -1
  52. package/dist/cjs/clusters/pump-configuration-and-control.d.ts +15 -0
  53. package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
  54. package/dist/cjs/clusters/pump-configuration-and-control.js +6 -1
  55. package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
  56. package/dist/cjs/clusters/refrigerator-alarm.d.ts +364 -36
  57. package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
  58. package/dist/cjs/clusters/refrigerator-alarm.js +46 -8
  59. package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
  60. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
  61. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  62. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
  63. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  64. package/dist/cjs/clusters/rvc-clean-mode.d.ts +374 -23
  65. package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
  66. package/dist/cjs/clusters/rvc-clean-mode.js +99 -6
  67. package/dist/cjs/clusters/rvc-clean-mode.js.map +2 -2
  68. package/dist/cjs/clusters/rvc-operational-state.d.ts +248 -22
  69. package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
  70. package/dist/cjs/clusters/rvc-operational-state.js +59 -10
  71. package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
  72. package/dist/cjs/clusters/rvc-run-mode.d.ts +401 -40
  73. package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
  74. package/dist/cjs/clusters/rvc-run-mode.js +101 -8
  75. package/dist/cjs/clusters/rvc-run-mode.js.map +2 -2
  76. package/dist/cjs/clusters/thermostat.d.ts +262 -61
  77. package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
  78. package/dist/cjs/clusters/thermostat.js +72 -58
  79. package/dist/cjs/clusters/thermostat.js.map +1 -1
  80. package/dist/esm/clusters/bridged-device-basic-information.d.ts +58 -7
  81. package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
  82. package/dist/esm/clusters/bridged-device-basic-information.js +19 -2
  83. package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
  84. package/dist/esm/clusters/content-launcher.d.ts +10 -10
  85. package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
  86. package/dist/esm/clusters/content-launcher.js +22 -22
  87. package/dist/esm/clusters/content-launcher.js.map +2 -2
  88. package/dist/esm/clusters/device-energy-management-mode.d.ts +411 -25
  89. package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
  90. package/dist/esm/clusters/device-energy-management-mode.js +91 -2
  91. package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
  92. package/dist/esm/clusters/dishwasher-alarm.d.ts +1253 -42
  93. package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
  94. package/dist/esm/clusters/dishwasher-alarm.js +72 -9
  95. package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
  96. package/dist/esm/clusters/dishwasher-mode.d.ts +340 -17
  97. package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
  98. package/dist/esm/clusters/dishwasher-mode.js +91 -2
  99. package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
  100. package/dist/esm/clusters/door-lock.d.ts +1287 -135
  101. package/dist/esm/clusters/door-lock.d.ts.map +1 -1
  102. package/dist/esm/clusters/door-lock.js +199 -3
  103. package/dist/esm/clusters/door-lock.js.map +1 -1
  104. package/dist/esm/clusters/energy-evse-mode.d.ts +409 -25
  105. package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
  106. package/dist/esm/clusters/energy-evse-mode.js +91 -2
  107. package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
  108. package/dist/esm/clusters/fan-control.d.ts +5 -0
  109. package/dist/esm/clusters/fan-control.d.ts.map +1 -1
  110. package/dist/esm/clusters/fan-control.js.map +1 -1
  111. package/dist/esm/clusters/groups.d.ts +12 -0
  112. package/dist/esm/clusters/groups.d.ts.map +1 -1
  113. package/dist/esm/clusters/groups.js +7 -1
  114. package/dist/esm/clusters/groups.js.map +1 -1
  115. package/dist/esm/clusters/laundry-washer-mode.d.ts +340 -17
  116. package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
  117. package/dist/esm/clusters/laundry-washer-mode.js +91 -2
  118. package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
  119. package/dist/esm/clusters/microwave-oven-mode.d.ts +330 -13
  120. package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
  121. package/dist/esm/clusters/microwave-oven-mode.js +91 -3
  122. package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
  123. package/dist/esm/clusters/mode-base.d.ts +68 -68
  124. package/dist/esm/clusters/mode-base.d.ts.map +1 -1
  125. package/dist/esm/clusters/mode-base.js +17 -17
  126. package/dist/esm/clusters/mode-base.js.map +2 -2
  127. package/dist/esm/clusters/oven-mode.d.ts +409 -25
  128. package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
  129. package/dist/esm/clusters/oven-mode.js +91 -2
  130. package/dist/esm/clusters/oven-mode.js.map +1 -1
  131. package/dist/esm/clusters/pump-configuration-and-control.d.ts +15 -0
  132. package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
  133. package/dist/esm/clusters/pump-configuration-and-control.js +6 -1
  134. package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
  135. package/dist/esm/clusters/refrigerator-alarm.d.ts +364 -36
  136. package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
  137. package/dist/esm/clusters/refrigerator-alarm.js +46 -8
  138. package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
  139. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
  140. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  141. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
  142. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  143. package/dist/esm/clusters/rvc-clean-mode.d.ts +374 -23
  144. package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
  145. package/dist/esm/clusters/rvc-clean-mode.js +99 -6
  146. package/dist/esm/clusters/rvc-clean-mode.js.map +2 -2
  147. package/dist/esm/clusters/rvc-operational-state.d.ts +248 -22
  148. package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
  149. package/dist/esm/clusters/rvc-operational-state.js +60 -11
  150. package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
  151. package/dist/esm/clusters/rvc-run-mode.d.ts +401 -40
  152. package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
  153. package/dist/esm/clusters/rvc-run-mode.js +101 -8
  154. package/dist/esm/clusters/rvc-run-mode.js.map +2 -2
  155. package/dist/esm/clusters/thermostat.d.ts +262 -61
  156. package/dist/esm/clusters/thermostat.d.ts.map +1 -1
  157. package/dist/esm/clusters/thermostat.js +72 -58
  158. package/dist/esm/clusters/thermostat.js.map +1 -1
  159. package/package.json +5 -5
  160. package/src/clusters/bridged-device-basic-information.ts +46 -2
  161. package/src/clusters/content-launcher.ts +5 -5
  162. package/src/clusters/device-energy-management-mode.ts +184 -3
  163. package/src/clusters/dishwasher-alarm.ts +115 -9
  164. package/src/clusters/dishwasher-mode.ts +188 -3
  165. package/src/clusters/door-lock.ts +247 -3
  166. package/src/clusters/energy-evse-mode.ts +182 -3
  167. package/src/clusters/fan-control.ts +5 -0
  168. package/src/clusters/groups.ts +8 -1
  169. package/src/clusters/laundry-washer-mode.ts +188 -3
  170. package/src/clusters/microwave-oven-mode.ts +182 -4
  171. package/src/clusters/mode-base.ts +77 -77
  172. package/src/clusters/oven-mode.ts +182 -3
  173. package/src/clusters/pump-configuration-and-control.ts +7 -1
  174. package/src/clusters/refrigerator-alarm.ts +76 -8
  175. package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +188 -3
  176. package/src/clusters/rvc-clean-mode.ts +227 -10
  177. package/src/clusters/rvc-operational-state.ts +112 -11
  178. package/src/clusters/rvc-run-mode.ts +253 -26
  179. package/src/clusters/thermostat.ts +80 -65
  180. package/src/globals/WildcardPathFlags.ts +1 -1
@@ -7,6 +7,7 @@
7
7
  import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
8
8
  import { FixedAttribute, Command, Attribute, Event } from "../cluster/Cluster.js";
9
9
  import { BitFlag } from "../schema/BitmapSchema.js";
10
+ import { TypeFromSchema } from "../tlv/TlvSchema.js";
10
11
  import { Identity } from "#general";
11
12
  export declare namespace RefrigeratorAlarm {
12
13
  /**
@@ -31,6 +32,93 @@ export declare namespace RefrigeratorAlarm {
31
32
  */
32
33
  doorOpen: BitFlag;
33
34
  };
35
+ /**
36
+ * Input to the RefrigeratorAlarm reset command
37
+ *
38
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
39
+ */
40
+ const TlvResetRequest: import("../tlv/TlvObject.js").ObjectSchema<{
41
+ /**
42
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
43
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
44
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
45
+ * status code shall be FAILURE.
46
+ *
47
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
48
+ */
49
+ alarms: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
50
+ /**
51
+ * The cabinet’s door has been open for a vendor defined amount of time.
52
+ */
53
+ doorOpen: BitFlag;
54
+ }>>;
55
+ }>;
56
+ /**
57
+ * Input to the RefrigeratorAlarm reset command
58
+ *
59
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
60
+ */
61
+ interface ResetRequest extends TypeFromSchema<typeof TlvResetRequest> {
62
+ }
63
+ /**
64
+ * Body of the RefrigeratorAlarm notify event
65
+ *
66
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
67
+ */
68
+ const TlvNotifyEvent: import("../tlv/TlvObject.js").ObjectSchema<{
69
+ /**
70
+ * This field shall indicate those alarms that have become active.
71
+ *
72
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.1
73
+ */
74
+ active: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
75
+ /**
76
+ * The cabinet’s door has been open for a vendor defined amount of time.
77
+ */
78
+ doorOpen: BitFlag;
79
+ }>>;
80
+ /**
81
+ * This field shall indicate those alarms that have become inactive.
82
+ *
83
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.2
84
+ */
85
+ inactive: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
86
+ /**
87
+ * The cabinet’s door has been open for a vendor defined amount of time.
88
+ */
89
+ doorOpen: BitFlag;
90
+ }>>;
91
+ /**
92
+ * This field shall be a copy of the new State attribute value that resulted in the event being generated. That
93
+ * is, this field shall have all the bits in Active set and shall NOT have any of the bits in Inactive set.
94
+ *
95
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.4
96
+ */
97
+ state: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
98
+ /**
99
+ * The cabinet’s door has been open for a vendor defined amount of time.
100
+ */
101
+ doorOpen: BitFlag;
102
+ }>>;
103
+ /**
104
+ * This field shall be a copy of the Mask attribute when this event was generated.
105
+ *
106
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.3
107
+ */
108
+ mask: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
109
+ /**
110
+ * The cabinet’s door has been open for a vendor defined amount of time.
111
+ */
112
+ doorOpen: BitFlag;
113
+ }>>;
114
+ }>;
115
+ /**
116
+ * Body of the RefrigeratorAlarm notify event
117
+ *
118
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
119
+ */
120
+ interface NotifyEvent extends TypeFromSchema<typeof TlvNotifyEvent> {
121
+ }
34
122
  /**
35
123
  * A RefrigeratorAlarmCluster supports these elements if it supports feature Reset.
36
124
  */
@@ -43,7 +131,12 @@ export declare namespace RefrigeratorAlarm {
43
131
  *
44
132
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.2
45
133
  */
46
- readonly latch: FixedAttribute<number, any>;
134
+ readonly latch: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
135
+ /**
136
+ * The cabinet’s door has been open for a vendor defined amount of time.
137
+ */
138
+ doorOpen: BitFlag;
139
+ }>, any>;
47
140
  };
48
141
  readonly commands: {
49
142
  /**
@@ -52,8 +145,21 @@ export declare namespace RefrigeratorAlarm {
52
145
  *
53
146
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
54
147
  */
55
- readonly reset: Command<import("../index.js").TypeFromFields<{
56
- alarms: import("../index.js").FieldType<number>;
148
+ readonly reset: Command<import("../tlv/TlvObject.js").TypeFromFields<{
149
+ /**
150
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
151
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
152
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
153
+ * status code shall be FAILURE.
154
+ *
155
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
156
+ */
157
+ alarms: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
158
+ /**
159
+ * The cabinet’s door has been open for a vendor defined amount of time.
160
+ */
161
+ doorOpen: BitFlag;
162
+ }>>;
57
163
  }>, void, any>;
58
164
  };
59
165
  };
@@ -79,14 +185,24 @@ export declare namespace RefrigeratorAlarm {
79
185
  *
80
186
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.1
81
187
  */
82
- readonly mask: Attribute<number, any>;
188
+ readonly mask: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
189
+ /**
190
+ * The cabinet’s door has been open for a vendor defined amount of time.
191
+ */
192
+ doorOpen: BitFlag;
193
+ }>, any>;
83
194
  /**
84
195
  * Indicates a bitmap where each bit shall represent the state of an alarm. The value of true means the
85
196
  * alarm is active, otherwise the alarm is inactive.
86
197
  *
87
198
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.3
88
199
  */
89
- readonly state: Attribute<number, any>;
200
+ readonly state: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
201
+ /**
202
+ * The cabinet’s door has been open for a vendor defined amount of time.
203
+ */
204
+ doorOpen: BitFlag;
205
+ }>, any>;
90
206
  /**
91
207
  * Indicates a bitmap where each bit shall represent whether or not an alarm is supported. The value of
92
208
  * true means the alarm is supported, otherwise the alarm is not supported.
@@ -95,7 +211,12 @@ export declare namespace RefrigeratorAlarm {
95
211
  *
96
212
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.4
97
213
  */
98
- readonly supported: FixedAttribute<number, any>;
214
+ readonly supported: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
215
+ /**
216
+ * The cabinet’s door has been open for a vendor defined amount of time.
217
+ */
218
+ doorOpen: BitFlag;
219
+ }>, any>;
99
220
  };
100
221
  readonly events: {
101
222
  /**
@@ -103,11 +224,52 @@ export declare namespace RefrigeratorAlarm {
103
224
  *
104
225
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
105
226
  */
106
- readonly notify: Event<import("../index.js").TypeFromFields<{
107
- active: import("../index.js").FieldType<number>;
108
- inactive: import("../index.js").FieldType<number>;
109
- state: import("../index.js").FieldType<number>;
110
- mask: import("../index.js").FieldType<number>;
227
+ readonly notify: Event<import("../tlv/TlvObject.js").TypeFromFields<{
228
+ /**
229
+ * This field shall indicate those alarms that have become active.
230
+ *
231
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.1
232
+ */
233
+ active: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
234
+ /**
235
+ * The cabinet’s door has been open for a vendor defined amount of time.
236
+ */
237
+ doorOpen: BitFlag;
238
+ }>>;
239
+ /**
240
+ * This field shall indicate those alarms that have become inactive.
241
+ *
242
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.2
243
+ */
244
+ inactive: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
245
+ /**
246
+ * The cabinet’s door has been open for a vendor defined amount of time.
247
+ */
248
+ doorOpen: BitFlag;
249
+ }>>;
250
+ /**
251
+ * This field shall be a copy of the new State attribute value that resulted in the event being generated. That
252
+ * is, this field shall have all the bits in Active set and shall NOT have any of the bits in Inactive set.
253
+ *
254
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.4
255
+ */
256
+ state: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
257
+ /**
258
+ * The cabinet’s door has been open for a vendor defined amount of time.
259
+ */
260
+ doorOpen: BitFlag;
261
+ }>>;
262
+ /**
263
+ * This field shall be a copy of the Mask attribute when this event was generated.
264
+ *
265
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.3
266
+ */
267
+ mask: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
268
+ /**
269
+ * The cabinet’s door has been open for a vendor defined amount of time.
270
+ */
271
+ doorOpen: BitFlag;
272
+ }>>;
111
273
  }>, any>;
112
274
  };
113
275
  /**
@@ -127,7 +289,12 @@ export declare namespace RefrigeratorAlarm {
127
289
  *
128
290
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.2
129
291
  */
130
- readonly latch: FixedAttribute<number, any>;
292
+ readonly latch: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
293
+ /**
294
+ * The cabinet’s door has been open for a vendor defined amount of time.
295
+ */
296
+ doorOpen: BitFlag;
297
+ }>, any>;
131
298
  };
132
299
  readonly commands: {
133
300
  /**
@@ -136,8 +303,21 @@ export declare namespace RefrigeratorAlarm {
136
303
  *
137
304
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
138
305
  */
139
- readonly reset: Command<import("../index.js").TypeFromFields<{
140
- alarms: import("../index.js").FieldType<number>;
306
+ readonly reset: Command<import("../tlv/TlvObject.js").TypeFromFields<{
307
+ /**
308
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
309
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
310
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
311
+ * status code shall be FAILURE.
312
+ *
313
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
314
+ */
315
+ alarms: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
316
+ /**
317
+ * The cabinet’s door has been open for a vendor defined amount of time.
318
+ */
319
+ doorOpen: BitFlag;
320
+ }>>;
141
321
  }>, void, any>;
142
322
  };
143
323
  };
@@ -170,14 +350,24 @@ export declare namespace RefrigeratorAlarm {
170
350
  *
171
351
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.1
172
352
  */
173
- readonly mask: Attribute<number, any>;
353
+ readonly mask: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
354
+ /**
355
+ * The cabinet’s door has been open for a vendor defined amount of time.
356
+ */
357
+ doorOpen: BitFlag;
358
+ }>, any>;
174
359
  /**
175
360
  * Indicates a bitmap where each bit shall represent the state of an alarm. The value of true means the
176
361
  * alarm is active, otherwise the alarm is inactive.
177
362
  *
178
363
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.3
179
364
  */
180
- readonly state: Attribute<number, any>;
365
+ readonly state: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
366
+ /**
367
+ * The cabinet’s door has been open for a vendor defined amount of time.
368
+ */
369
+ doorOpen: BitFlag;
370
+ }>, any>;
181
371
  /**
182
372
  * Indicates a bitmap where each bit shall represent whether or not an alarm is supported. The value of
183
373
  * true means the alarm is supported, otherwise the alarm is not supported.
@@ -186,7 +376,12 @@ export declare namespace RefrigeratorAlarm {
186
376
  *
187
377
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.4
188
378
  */
189
- readonly supported: FixedAttribute<number, any>;
379
+ readonly supported: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
380
+ /**
381
+ * The cabinet’s door has been open for a vendor defined amount of time.
382
+ */
383
+ doorOpen: BitFlag;
384
+ }>, any>;
190
385
  };
191
386
  readonly events: {
192
387
  /**
@@ -194,11 +389,52 @@ export declare namespace RefrigeratorAlarm {
194
389
  *
195
390
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
196
391
  */
197
- readonly notify: Event<import("../index.js").TypeFromFields<{
198
- active: import("../index.js").FieldType<number>;
199
- inactive: import("../index.js").FieldType<number>;
200
- state: import("../index.js").FieldType<number>;
201
- mask: import("../index.js").FieldType<number>;
392
+ readonly notify: Event<import("../tlv/TlvObject.js").TypeFromFields<{
393
+ /**
394
+ * This field shall indicate those alarms that have become active.
395
+ *
396
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.1
397
+ */
398
+ active: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
399
+ /**
400
+ * The cabinet’s door has been open for a vendor defined amount of time.
401
+ */
402
+ doorOpen: BitFlag;
403
+ }>>;
404
+ /**
405
+ * This field shall indicate those alarms that have become inactive.
406
+ *
407
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.2
408
+ */
409
+ inactive: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
410
+ /**
411
+ * The cabinet’s door has been open for a vendor defined amount of time.
412
+ */
413
+ doorOpen: BitFlag;
414
+ }>>;
415
+ /**
416
+ * This field shall be a copy of the new State attribute value that resulted in the event being generated. That
417
+ * is, this field shall have all the bits in Active set and shall NOT have any of the bits in Inactive set.
418
+ *
419
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.4
420
+ */
421
+ state: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
422
+ /**
423
+ * The cabinet’s door has been open for a vendor defined amount of time.
424
+ */
425
+ doorOpen: BitFlag;
426
+ }>>;
427
+ /**
428
+ * This field shall be a copy of the Mask attribute when this event was generated.
429
+ *
430
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.3
431
+ */
432
+ mask: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
433
+ /**
434
+ * The cabinet’s door has been open for a vendor defined amount of time.
435
+ */
436
+ doorOpen: BitFlag;
437
+ }>>;
202
438
  }>, any>;
203
439
  };
204
440
  /**
@@ -218,7 +454,12 @@ export declare namespace RefrigeratorAlarm {
218
454
  *
219
455
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.2
220
456
  */
221
- readonly latch: FixedAttribute<number, any>;
457
+ readonly latch: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
458
+ /**
459
+ * The cabinet’s door has been open for a vendor defined amount of time.
460
+ */
461
+ doorOpen: BitFlag;
462
+ }>, any>;
222
463
  };
223
464
  readonly commands: {
224
465
  /**
@@ -227,8 +468,21 @@ export declare namespace RefrigeratorAlarm {
227
468
  *
228
469
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
229
470
  */
230
- readonly reset: Command<import("../index.js").TypeFromFields<{
231
- alarms: import("../index.js").FieldType<number>;
471
+ readonly reset: Command<import("../tlv/TlvObject.js").TypeFromFields<{
472
+ /**
473
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
474
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
475
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
476
+ * status code shall be FAILURE.
477
+ *
478
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
479
+ */
480
+ alarms: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
481
+ /**
482
+ * The cabinet’s door has been open for a vendor defined amount of time.
483
+ */
484
+ doorOpen: BitFlag;
485
+ }>>;
232
486
  }>, void, any>;
233
487
  };
234
488
  };
@@ -266,7 +520,12 @@ export declare namespace RefrigeratorAlarm {
266
520
  readonly reset: BitFlag;
267
521
  };
268
522
  readonly attributes: {
269
- readonly latch: FixedAttribute<number, any> & {
523
+ readonly latch: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
524
+ /**
525
+ * The cabinet’s door has been open for a vendor defined amount of time.
526
+ */
527
+ doorOpen: BitFlag;
528
+ }>, any> & {
270
529
  readonly optional: true;
271
530
  readonly isConditional: true;
272
531
  readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
@@ -274,9 +533,24 @@ export declare namespace RefrigeratorAlarm {
274
533
  reset: boolean;
275
534
  }];
276
535
  };
277
- readonly mask: Attribute<number, any>;
278
- readonly state: Attribute<number, any>;
279
- readonly supported: FixedAttribute<number, any>;
536
+ readonly mask: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
537
+ /**
538
+ * The cabinet’s door has been open for a vendor defined amount of time.
539
+ */
540
+ doorOpen: BitFlag;
541
+ }>, any>;
542
+ readonly state: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
543
+ /**
544
+ * The cabinet’s door has been open for a vendor defined amount of time.
545
+ */
546
+ doorOpen: BitFlag;
547
+ }>, any>;
548
+ readonly supported: FixedAttribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
549
+ /**
550
+ * The cabinet’s door has been open for a vendor defined amount of time.
551
+ */
552
+ doorOpen: BitFlag;
553
+ }>, any>;
280
554
  readonly clusterRevision: Attribute<number, never>;
281
555
  readonly featureMap: Attribute<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
282
556
  /**
@@ -291,8 +565,21 @@ export declare namespace RefrigeratorAlarm {
291
565
  readonly generatedCommandList: Attribute<import("../index.js").CommandId[], never>;
292
566
  };
293
567
  readonly commands: {
294
- readonly reset: Command<import("../index.js").TypeFromFields<{
295
- alarms: import("../index.js").FieldType<number>;
568
+ readonly reset: Command<import("../tlv/TlvObject.js").TypeFromFields<{
569
+ /**
570
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
571
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
572
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
573
+ * status code shall be FAILURE.
574
+ *
575
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
576
+ */
577
+ alarms: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
578
+ /**
579
+ * The cabinet’s door has been open for a vendor defined amount of time.
580
+ */
581
+ doorOpen: BitFlag;
582
+ }>>;
296
583
  }>, void, any> & {
297
584
  readonly optional: true;
298
585
  readonly isConditional: true;
@@ -308,11 +595,52 @@ export declare namespace RefrigeratorAlarm {
308
595
  *
309
596
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
310
597
  */
311
- readonly notify: Event<import("../index.js").TypeFromFields<{
312
- active: import("../index.js").FieldType<number>;
313
- inactive: import("../index.js").FieldType<number>;
314
- state: import("../index.js").FieldType<number>;
315
- mask: import("../index.js").FieldType<number>;
598
+ readonly notify: Event<import("../tlv/TlvObject.js").TypeFromFields<{
599
+ /**
600
+ * This field shall indicate those alarms that have become active.
601
+ *
602
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.1
603
+ */
604
+ active: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
605
+ /**
606
+ * The cabinet’s door has been open for a vendor defined amount of time.
607
+ */
608
+ doorOpen: BitFlag;
609
+ }>>;
610
+ /**
611
+ * This field shall indicate those alarms that have become inactive.
612
+ *
613
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.2
614
+ */
615
+ inactive: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
616
+ /**
617
+ * The cabinet’s door has been open for a vendor defined amount of time.
618
+ */
619
+ doorOpen: BitFlag;
620
+ }>>;
621
+ /**
622
+ * This field shall be a copy of the new State attribute value that resulted in the event being generated. That
623
+ * is, this field shall have all the bits in Active set and shall NOT have any of the bits in Inactive set.
624
+ *
625
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.4
626
+ */
627
+ state: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
628
+ /**
629
+ * The cabinet’s door has been open for a vendor defined amount of time.
630
+ */
631
+ doorOpen: BitFlag;
632
+ }>>;
633
+ /**
634
+ * This field shall be a copy of the Mask attribute when this event was generated.
635
+ *
636
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.3
637
+ */
638
+ mask: import("../tlv/TlvObject.js").FieldType<import("../schema/BitmapSchema.js").TypeFromPartialBitSchema<{
639
+ /**
640
+ * The cabinet’s door has been open for a vendor defined amount of time.
641
+ */
642
+ doorOpen: BitFlag;
643
+ }>>;
316
644
  }>, any>;
317
645
  };
318
646
  }, []>;
@@ -1 +1 @@
1
- {"version":3,"file":"refrigerator-alarm.d.ts","sourceRoot":"","sources":["../../../src/clusters/refrigerator-alarm.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAiB,MAAM,uBAAuB,CAAC;AAGhH,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,iBAAiB,CAAC;IAC/B;;;;OAIG;IACH,KAAY,OAAO;QACf;;;;WAIG;QACH,KAAK,UAAU;KAClB;IAED;;OAEG;IACI,MAAM,KAAK;QACd;;WAEG;;KAEN,CAAC;IAEF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DH;;uBAEG;;;gBAwDH;;;;mBAIG;;oBA9DH;;uBAEG;;;;;UAiML,CAAC;IAEH;;;;;OAKG;IACH,UAAiB,QAAS,SAAQ,QAAQ,CAAC,OAAO,gBAAgB,CAAC;KAAG;IAE/D,MAAM,QAAQ,EAAE,QAA2B,CAAC;CACtD;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,CAAC;AACjE,eAAO,MAAM,wBAAwB,2BAA4B,CAAC"}
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
7
7
  import { FixedAttribute, Command, TlvNoResponse, Attribute, Event, EventPriority } from "../cluster/Cluster.js";
8
- import { TlvUInt32 } from "../tlv/TlvNumber.js";
9
- import { AlarmBase } from "./alarm-base.js";
10
8
  import { BitFlag } from "../schema/BitmapSchema.js";
9
+ import { TlvUInt32, TlvBitmap } from "../tlv/TlvNumber.js";
10
+ import { TlvField, TlvObject } from "../tlv/TlvObject.js";
11
11
  import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
12
12
  var RefrigeratorAlarm;
13
13
  ((RefrigeratorAlarm2) => {
@@ -21,6 +21,44 @@ var RefrigeratorAlarm;
21
21
  */
22
22
  doorOpen: BitFlag(0)
23
23
  };
24
+ RefrigeratorAlarm2.TlvResetRequest = TlvObject({
25
+ /**
26
+ * This field shall indicate a bitmap where each bit set in this field corresponds to an alarm that shall be
27
+ * reset to inactive in the State attribute unless the alarm definition requires manual intervention. If the
28
+ * alarms indicated are successfully reset, the response status code shall be SUCCESS, otherwise, the response
29
+ * status code shall be FAILURE.
30
+ *
31
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1.1
32
+ */
33
+ alarms: TlvField(0, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm))
34
+ });
35
+ RefrigeratorAlarm2.TlvNotifyEvent = TlvObject({
36
+ /**
37
+ * This field shall indicate those alarms that have become active.
38
+ *
39
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.1
40
+ */
41
+ active: TlvField(1, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm)),
42
+ /**
43
+ * This field shall indicate those alarms that have become inactive.
44
+ *
45
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.2
46
+ */
47
+ inactive: TlvField(2, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm)),
48
+ /**
49
+ * This field shall be a copy of the new State attribute value that resulted in the event being generated. That
50
+ * is, this field shall have all the bits in Active set and shall NOT have any of the bits in Inactive set.
51
+ *
52
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.4
53
+ */
54
+ state: TlvField(3, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm)),
55
+ /**
56
+ * This field shall be a copy of the Mask attribute when this event was generated.
57
+ *
58
+ * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1.3
59
+ */
60
+ mask: TlvField(4, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm))
61
+ });
24
62
  RefrigeratorAlarm2.ResetComponent = MutableCluster.Component({
25
63
  attributes: {
26
64
  /**
@@ -30,7 +68,7 @@ var RefrigeratorAlarm;
30
68
  *
31
69
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.2
32
70
  */
33
- latch: FixedAttribute(1, TlvUInt32)
71
+ latch: FixedAttribute(1, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm))
34
72
  },
35
73
  commands: {
36
74
  /**
@@ -39,7 +77,7 @@ var RefrigeratorAlarm;
39
77
  *
40
78
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.7.1
41
79
  */
42
- reset: Command(0, AlarmBase.TlvResetRequest, 0, TlvNoResponse)
80
+ reset: Command(0, RefrigeratorAlarm2.TlvResetRequest, 0, TlvNoResponse)
43
81
  }
44
82
  });
45
83
  RefrigeratorAlarm2.Base = MutableCluster.Component({
@@ -61,14 +99,14 @@ var RefrigeratorAlarm;
61
99
  *
62
100
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.1
63
101
  */
64
- mask: Attribute(0, TlvUInt32),
102
+ mask: Attribute(0, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm)),
65
103
  /**
66
104
  * Indicates a bitmap where each bit shall represent the state of an alarm. The value of true means the
67
105
  * alarm is active, otherwise the alarm is inactive.
68
106
  *
69
107
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.3
70
108
  */
71
- state: Attribute(2, TlvUInt32),
109
+ state: Attribute(2, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm)),
72
110
  /**
73
111
  * Indicates a bitmap where each bit shall represent whether or not an alarm is supported. The value of
74
112
  * true means the alarm is supported, otherwise the alarm is not supported.
@@ -77,7 +115,7 @@ var RefrigeratorAlarm;
77
115
  *
78
116
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.6.4
79
117
  */
80
- supported: FixedAttribute(3, TlvUInt32)
118
+ supported: FixedAttribute(3, TlvBitmap(TlvUInt32, RefrigeratorAlarm2.Alarm))
81
119
  },
82
120
  events: {
83
121
  /**
@@ -85,7 +123,7 @@ var RefrigeratorAlarm;
85
123
  *
86
124
  * @see {@link MatterSpecification.v13.Cluster} § 1.15.8.1
87
125
  */
88
- notify: Event(0, EventPriority.Info, AlarmBase.TlvNotifyEvent)
126
+ notify: Event(0, EventPriority.Info, RefrigeratorAlarm2.TlvNotifyEvent)
89
127
  },
90
128
  /**
91
129
  * This metadata controls which RefrigeratorAlarmCluster elements matter.js activates for specific feature