@matter/types 0.11.9-alpha.0-20241205-ccf69a00a → 0.11.9-alpha.0-20241206-22f233334
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/dist/cjs/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.js +19 -2
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +10 -10
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +22 -22
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management-mode.js +90 -1
- package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.js +72 -9
- package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.js +91 -2
- package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
- package/dist/cjs/clusters/door-lock.d.ts +1287 -135
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +199 -3
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.js +90 -1
- package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
- package/dist/cjs/clusters/fan-control.d.ts +5 -0
- package/dist/cjs/clusters/fan-control.d.ts.map +1 -1
- package/dist/cjs/clusters/fan-control.js.map +1 -1
- package/dist/cjs/clusters/groups.d.ts +12 -0
- package/dist/cjs/clusters/groups.d.ts.map +1 -1
- package/dist/cjs/clusters/groups.js +7 -1
- package/dist/cjs/clusters/groups.js.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.js +91 -2
- package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.js +90 -2
- package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/cjs/clusters/mode-base.d.ts +68 -68
- package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
- package/dist/cjs/clusters/mode-base.js +16 -16
- package/dist/cjs/clusters/mode-base.js.map +2 -2
- package/dist/cjs/clusters/oven-mode.d.ts +409 -25
- package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-mode.js +90 -1
- package/dist/cjs/clusters/oven-mode.js.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js +6 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.js +46 -8
- package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.js +99 -6
- package/dist/cjs/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/cjs/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +59 -10
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.js +101 -8
- package/dist/cjs/clusters/rvc-run-mode.js.map +2 -2
- package/dist/cjs/clusters/thermostat.d.ts +262 -61
- package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
- package/dist/cjs/clusters/thermostat.js +72 -58
- package/dist/cjs/clusters/thermostat.js.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.js +19 -2
- package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +10 -10
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +22 -22
- package/dist/esm/clusters/content-launcher.js.map +2 -2
- package/dist/esm/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management-mode.js +91 -2
- package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.js +72 -9
- package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.js +91 -2
- package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
- package/dist/esm/clusters/door-lock.d.ts +1287 -135
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +199 -3
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.js +91 -2
- package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
- package/dist/esm/clusters/fan-control.d.ts +5 -0
- package/dist/esm/clusters/fan-control.d.ts.map +1 -1
- package/dist/esm/clusters/fan-control.js.map +1 -1
- package/dist/esm/clusters/groups.d.ts +12 -0
- package/dist/esm/clusters/groups.d.ts.map +1 -1
- package/dist/esm/clusters/groups.js +7 -1
- package/dist/esm/clusters/groups.js.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.js +91 -2
- package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.js +91 -3
- package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/esm/clusters/mode-base.d.ts +68 -68
- package/dist/esm/clusters/mode-base.d.ts.map +1 -1
- package/dist/esm/clusters/mode-base.js +17 -17
- package/dist/esm/clusters/mode-base.js.map +2 -2
- package/dist/esm/clusters/oven-mode.d.ts +409 -25
- package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/oven-mode.js +91 -2
- package/dist/esm/clusters/oven-mode.js.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.js +6 -1
- package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.js +46 -8
- package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.js +99 -6
- package/dist/esm/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/esm/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +60 -11
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.js +101 -8
- package/dist/esm/clusters/rvc-run-mode.js.map +2 -2
- package/dist/esm/clusters/thermostat.d.ts +262 -61
- package/dist/esm/clusters/thermostat.d.ts.map +1 -1
- package/dist/esm/clusters/thermostat.js +72 -58
- package/dist/esm/clusters/thermostat.js.map +1 -1
- package/package.json +5 -5
- package/src/clusters/bridged-device-basic-information.ts +46 -2
- package/src/clusters/content-launcher.ts +5 -5
- package/src/clusters/device-energy-management-mode.ts +184 -3
- package/src/clusters/dishwasher-alarm.ts +115 -9
- package/src/clusters/dishwasher-mode.ts +188 -3
- package/src/clusters/door-lock.ts +247 -3
- package/src/clusters/energy-evse-mode.ts +182 -3
- package/src/clusters/fan-control.ts +5 -0
- package/src/clusters/groups.ts +8 -1
- package/src/clusters/laundry-washer-mode.ts +188 -3
- package/src/clusters/microwave-oven-mode.ts +182 -4
- package/src/clusters/mode-base.ts +77 -77
- package/src/clusters/oven-mode.ts +182 -3
- package/src/clusters/pump-configuration-and-control.ts +7 -1
- package/src/clusters/refrigerator-alarm.ts +76 -8
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +188 -3
- package/src/clusters/rvc-clean-mode.ts +227 -10
- package/src/clusters/rvc-operational-state.ts +112 -11
- package/src/clusters/rvc-run-mode.ts +253 -26
- package/src/clusters/thermostat.ts +80 -65
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
8
|
import { Attribute, OptionalAttribute, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
9
10
|
import { Identity } from "#general";
|
|
10
11
|
export declare namespace RvcOperationalState {
|
|
11
12
|
/**
|
|
@@ -42,6 +43,34 @@ export declare namespace RvcOperationalState {
|
|
|
42
43
|
*/
|
|
43
44
|
Docked = 66
|
|
44
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
48
|
+
*
|
|
49
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2
|
|
50
|
+
*/
|
|
51
|
+
const TlvOperationalStateStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
52
|
+
/**
|
|
53
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
54
|
+
*
|
|
55
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
56
|
+
*/
|
|
57
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState>;
|
|
58
|
+
/**
|
|
59
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
60
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
61
|
+
* the operational state.
|
|
62
|
+
*
|
|
63
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
64
|
+
*/
|
|
65
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
69
|
+
*
|
|
70
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2
|
|
71
|
+
*/
|
|
72
|
+
interface OperationalStateStruct extends TypeFromSchema<typeof TlvOperationalStateStruct> {
|
|
73
|
+
}
|
|
45
74
|
/**
|
|
46
75
|
* The values defined herein are applicable to this derived cluster of Operational State only and are additional to
|
|
47
76
|
* the set of values defined in Operational State itself.
|
|
@@ -82,6 +111,124 @@ export declare namespace RvcOperationalState {
|
|
|
82
111
|
*/
|
|
83
112
|
MopCleaningPadMissing = 71
|
|
84
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4
|
|
116
|
+
*/
|
|
117
|
+
const TlvErrorStateStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
118
|
+
/**
|
|
119
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
120
|
+
*
|
|
121
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
122
|
+
*/
|
|
123
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
124
|
+
/**
|
|
125
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
126
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
127
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
128
|
+
* special error".
|
|
129
|
+
*
|
|
130
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
131
|
+
*/
|
|
132
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
133
|
+
/**
|
|
134
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
135
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
136
|
+
* "left wheel blocked".
|
|
137
|
+
*
|
|
138
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
139
|
+
*/
|
|
140
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4
|
|
144
|
+
*/
|
|
145
|
+
interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Input to the RvcOperationalState operationalCommandResponse command
|
|
149
|
+
*
|
|
150
|
+
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5
|
|
151
|
+
*/
|
|
152
|
+
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
153
|
+
/**
|
|
154
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
155
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
156
|
+
* command sections for additional specific requirements on population.
|
|
157
|
+
*
|
|
158
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
159
|
+
*/
|
|
160
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
161
|
+
/**
|
|
162
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
165
|
+
*/
|
|
166
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
167
|
+
/**
|
|
168
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
169
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
170
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
171
|
+
* special error".
|
|
172
|
+
*
|
|
173
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
174
|
+
*/
|
|
175
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
176
|
+
/**
|
|
177
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
178
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
179
|
+
* "left wheel blocked".
|
|
180
|
+
*
|
|
181
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
182
|
+
*/
|
|
183
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
184
|
+
}>>;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* Input to the RvcOperationalState operationalCommandResponse command
|
|
188
|
+
*
|
|
189
|
+
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5
|
|
190
|
+
*/
|
|
191
|
+
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Body of the RvcOperationalState operationalError event
|
|
195
|
+
*
|
|
196
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
197
|
+
*/
|
|
198
|
+
const TlvOperationalErrorEvent: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
199
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
200
|
+
/**
|
|
201
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
202
|
+
*
|
|
203
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
204
|
+
*/
|
|
205
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
206
|
+
/**
|
|
207
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
208
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
209
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
210
|
+
* special error".
|
|
211
|
+
*
|
|
212
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
213
|
+
*/
|
|
214
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
215
|
+
/**
|
|
216
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
217
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
218
|
+
* "left wheel blocked".
|
|
219
|
+
*
|
|
220
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
221
|
+
*/
|
|
222
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
223
|
+
}>>;
|
|
224
|
+
}>;
|
|
225
|
+
/**
|
|
226
|
+
* Body of the RvcOperationalState operationalError event
|
|
227
|
+
*
|
|
228
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
229
|
+
*/
|
|
230
|
+
interface OperationalErrorEvent extends TypeFromSchema<typeof TlvOperationalErrorEvent> {
|
|
231
|
+
}
|
|
85
232
|
/**
|
|
86
233
|
* @see {@link Cluster}
|
|
87
234
|
*/
|
|
@@ -140,9 +287,21 @@ export declare namespace RvcOperationalState {
|
|
|
140
287
|
*
|
|
141
288
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.4
|
|
142
289
|
*/
|
|
143
|
-
readonly operationalStateList: Attribute<import("../
|
|
144
|
-
|
|
145
|
-
|
|
290
|
+
readonly operationalStateList: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
291
|
+
/**
|
|
292
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
293
|
+
*
|
|
294
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
295
|
+
*/
|
|
296
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState>;
|
|
297
|
+
/**
|
|
298
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
299
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
300
|
+
* the operational state.
|
|
301
|
+
*
|
|
302
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
303
|
+
*/
|
|
304
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
146
305
|
}>[], any>;
|
|
147
306
|
/**
|
|
148
307
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
@@ -150,7 +309,7 @@ export declare namespace RvcOperationalState {
|
|
|
150
309
|
*
|
|
151
310
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.5
|
|
152
311
|
*/
|
|
153
|
-
readonly operationalState: Attribute<
|
|
312
|
+
readonly operationalState: Attribute<OperationalState, any>;
|
|
154
313
|
/**
|
|
155
314
|
* This attribute shall specify the details of any current error condition being experienced on the device
|
|
156
315
|
* when the OperationalState attribute is populated with Error. Please see ErrorStateStruct for general
|
|
@@ -160,10 +319,30 @@ export declare namespace RvcOperationalState {
|
|
|
160
319
|
*
|
|
161
320
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.6
|
|
162
321
|
*/
|
|
163
|
-
readonly operationalError: Attribute<import("../
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
322
|
+
readonly operationalError: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
323
|
+
/**
|
|
324
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
325
|
+
*
|
|
326
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
327
|
+
*/
|
|
328
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
329
|
+
/**
|
|
330
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
331
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
332
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
333
|
+
* special error".
|
|
334
|
+
*
|
|
335
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
336
|
+
*/
|
|
337
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
338
|
+
/**
|
|
339
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
340
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
341
|
+
* "left wheel blocked".
|
|
342
|
+
*
|
|
343
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
344
|
+
*/
|
|
345
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
167
346
|
}>, any>;
|
|
168
347
|
};
|
|
169
348
|
readonly commands: {
|
|
@@ -187,11 +366,38 @@ export declare namespace RvcOperationalState {
|
|
|
187
366
|
*
|
|
188
367
|
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5.1
|
|
189
368
|
*/
|
|
190
|
-
readonly goHome: OptionalCommand<void, import("../
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
369
|
+
readonly goHome: OptionalCommand<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
370
|
+
/**
|
|
371
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
372
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
373
|
+
* command sections for additional specific requirements on population.
|
|
374
|
+
*
|
|
375
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
376
|
+
*/
|
|
377
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
378
|
+
/**
|
|
379
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
380
|
+
*
|
|
381
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
382
|
+
*/
|
|
383
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
384
|
+
/**
|
|
385
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
386
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
387
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
388
|
+
* special error".
|
|
389
|
+
*
|
|
390
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
391
|
+
*/
|
|
392
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
393
|
+
/**
|
|
394
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
395
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
396
|
+
* "left wheel blocked".
|
|
397
|
+
*
|
|
398
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
399
|
+
*/
|
|
400
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
195
401
|
}>>;
|
|
196
402
|
}>, any>;
|
|
197
403
|
};
|
|
@@ -204,11 +410,31 @@ export declare namespace RvcOperationalState {
|
|
|
204
410
|
*
|
|
205
411
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
206
412
|
*/
|
|
207
|
-
readonly operationalError: Event<import("../
|
|
208
|
-
errorState: import("../
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
413
|
+
readonly operationalError: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
414
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
415
|
+
/**
|
|
416
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
417
|
+
*
|
|
418
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
419
|
+
*/
|
|
420
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
421
|
+
/**
|
|
422
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
423
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
424
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
425
|
+
* special error".
|
|
426
|
+
*
|
|
427
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
428
|
+
*/
|
|
429
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
430
|
+
/**
|
|
431
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
432
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
433
|
+
* "left wheel blocked".
|
|
434
|
+
*
|
|
435
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
436
|
+
*/
|
|
437
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
212
438
|
}>>;
|
|
213
439
|
}>, any>;
|
|
214
440
|
/**
|
|
@@ -220,10 +446,10 @@ export declare namespace RvcOperationalState {
|
|
|
220
446
|
*
|
|
221
447
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.2
|
|
222
448
|
*/
|
|
223
|
-
readonly operationCompletion: OptionalEvent<import("../
|
|
224
|
-
completionErrorCode: import("../
|
|
225
|
-
totalOperationalTime: import("../
|
|
226
|
-
pausedTime: import("../
|
|
449
|
+
readonly operationCompletion: OptionalEvent<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
450
|
+
completionErrorCode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
451
|
+
totalOperationalTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
452
|
+
pausedTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
227
453
|
}>, any>;
|
|
228
454
|
};
|
|
229
455
|
}, []>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,KAAK,EAEL,aAAa,EAChB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,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AIG;IACI,MAAM,wBAAwB;;YA5DjC;;;;eAIG;;YAGH;;;;;;;eAOG;;YAGH;;;;;;eAMG;;;MAqC4F,CAAC;IAEpG;;;;OAIG;IACH,UAAiB,qBAAsB,SAAQ,cAAc,CAAC,OAAO,wBAAwB,CAAC;KAAG;IAEjG;;OAEG;IACI,MAAM,eAAe;;;;;YAMpB;;;;;;;;;;eAUG;;YAGH;;;;;;;;;eASG;;YAGH;;;;;;;;;;;;;eAaG;;YAOH;;;;;;;;;;;eAWG;;gBAlNP;;;;mBAIG;;gBAGH;;;;;;mBAMG;;;YAwMC;;;;;eAKG;;YAGH;;;;;;;;eAQG;;gBAzJP;;;;mBAIG;;gBAGH;;;;;;;mBAOG;;gBAGH;;;;;;mBAMG;;;;;YAuIC;;;;;;;;;;;;;;;;;;;eAmBG;;gBA3IP;;;;;;mBAMG;;oBA5CH;;;;uBAIG;;oBAGH;;;;;;;uBAOG;;oBAGH;;;;;;uBAMG;;;;;;YA+JC;;;;;;;eAOG;;;oBA7LP;;;;uBAIG;;oBAGH;;;;;;;uBAOG;;oBAGH;;;;;;uBAMG;;;;YAyKC;;;;;;;;eAQG;;;;;;;UAOT,CAAC;IAEH;;;;OAIG;IACH,UAAiB,OAAQ,SAAQ,QAAQ,CAAC,OAAO,eAAe,CAAC;KAAG;IAE7D,MAAM,OAAO,EAAE,OAAyB,CAAC;IACzC,MAAM,QAAQ,SAAU,CAAC;CACnC;AAED,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,OAAO,CAAC;AACrE,eAAO,MAAM,0BAA0B,6BAA8B,CAAC"}
|
|
@@ -15,9 +15,10 @@ import {
|
|
|
15
15
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
16
16
|
import { TlvString } from "../tlv/TlvString.js";
|
|
17
17
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
18
|
-
import { TlvUInt8, TlvUInt32 } from "../tlv/TlvNumber.js";
|
|
19
|
-
import {
|
|
18
|
+
import { TlvUInt8, TlvUInt32, TlvEnum } from "../tlv/TlvNumber.js";
|
|
19
|
+
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
20
20
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
21
|
+
import { OperationalState as OperationalStateNamespace } from "./operational-state.js";
|
|
21
22
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
22
23
|
var RvcOperationalState;
|
|
23
24
|
((RvcOperationalState2) => {
|
|
@@ -27,6 +28,22 @@ var RvcOperationalState;
|
|
|
27
28
|
OperationalState2[OperationalState2["Charging"] = 65] = "Charging";
|
|
28
29
|
OperationalState2[OperationalState2["Docked"] = 66] = "Docked";
|
|
29
30
|
})(OperationalState = RvcOperationalState2.OperationalState || (RvcOperationalState2.OperationalState = {}));
|
|
31
|
+
RvcOperationalState2.TlvOperationalStateStruct = TlvObject({
|
|
32
|
+
/**
|
|
33
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
34
|
+
*
|
|
35
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
36
|
+
*/
|
|
37
|
+
operationalStateId: TlvField(0, TlvEnum()),
|
|
38
|
+
/**
|
|
39
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
40
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
41
|
+
* the operational state.
|
|
42
|
+
*
|
|
43
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
44
|
+
*/
|
|
45
|
+
operationalStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 }))
|
|
46
|
+
});
|
|
30
47
|
let ErrorState;
|
|
31
48
|
((ErrorState2) => {
|
|
32
49
|
ErrorState2[ErrorState2["FailedToFindChargingDock"] = 64] = "FailedToFindChargingDock";
|
|
@@ -38,6 +55,42 @@ var RvcOperationalState;
|
|
|
38
55
|
ErrorState2[ErrorState2["WaterTankLidOpen"] = 70] = "WaterTankLidOpen";
|
|
39
56
|
ErrorState2[ErrorState2["MopCleaningPadMissing"] = 71] = "MopCleaningPadMissing";
|
|
40
57
|
})(ErrorState = RvcOperationalState2.ErrorState || (RvcOperationalState2.ErrorState = {}));
|
|
58
|
+
RvcOperationalState2.TlvErrorStateStruct = TlvObject({
|
|
59
|
+
/**
|
|
60
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
61
|
+
*
|
|
62
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
63
|
+
*/
|
|
64
|
+
errorStateId: TlvField(0, TlvEnum()),
|
|
65
|
+
/**
|
|
66
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
67
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
68
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
69
|
+
* special error".
|
|
70
|
+
*
|
|
71
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
72
|
+
*/
|
|
73
|
+
errorStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 })),
|
|
74
|
+
/**
|
|
75
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
76
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
77
|
+
* "left wheel blocked".
|
|
78
|
+
*
|
|
79
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
80
|
+
*/
|
|
81
|
+
errorStateDetails: TlvOptionalField(2, TlvString.bound({ maxLength: 64 }))
|
|
82
|
+
});
|
|
83
|
+
RvcOperationalState2.TlvOperationalCommandResponse = TlvObject({
|
|
84
|
+
/**
|
|
85
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
86
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
87
|
+
* command sections for additional specific requirements on population.
|
|
88
|
+
*
|
|
89
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
90
|
+
*/
|
|
91
|
+
commandResponseState: TlvField(0, RvcOperationalState2.TlvErrorStateStruct)
|
|
92
|
+
});
|
|
93
|
+
RvcOperationalState2.TlvOperationalErrorEvent = TlvObject({ errorState: TlvField(0, RvcOperationalState2.TlvErrorStateStruct) });
|
|
41
94
|
RvcOperationalState2.ClusterInstance = MutableCluster({
|
|
42
95
|
id: 97,
|
|
43
96
|
name: "RvcOperationalState",
|
|
@@ -97,18 +150,14 @@ var RvcOperationalState;
|
|
|
97
150
|
*
|
|
98
151
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.4
|
|
99
152
|
*/
|
|
100
|
-
operationalStateList: Attribute(
|
|
101
|
-
3,
|
|
102
|
-
TlvArray(OperationalStateNamespace.TlvOperationalStateStruct),
|
|
103
|
-
{ default: [] }
|
|
104
|
-
),
|
|
153
|
+
operationalStateList: Attribute(3, TlvArray(RvcOperationalState2.TlvOperationalStateStruct), { default: [] }),
|
|
105
154
|
/**
|
|
106
155
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
107
156
|
* OperationalStateID from the set of values in the OperationalStateList Attribute.
|
|
108
157
|
*
|
|
109
158
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.5
|
|
110
159
|
*/
|
|
111
|
-
operationalState: Attribute(4,
|
|
160
|
+
operationalState: Attribute(4, TlvEnum()),
|
|
112
161
|
/**
|
|
113
162
|
* This attribute shall specify the details of any current error condition being experienced on the device
|
|
114
163
|
* when the OperationalState attribute is populated with Error. Please see ErrorStateStruct for general
|
|
@@ -118,7 +167,7 @@ var RvcOperationalState;
|
|
|
118
167
|
*
|
|
119
168
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.6
|
|
120
169
|
*/
|
|
121
|
-
operationalError: Attribute(5,
|
|
170
|
+
operationalError: Attribute(5, RvcOperationalState2.TlvErrorStateStruct)
|
|
122
171
|
},
|
|
123
172
|
commands: {
|
|
124
173
|
/**
|
|
@@ -141,7 +190,7 @@ var RvcOperationalState;
|
|
|
141
190
|
*
|
|
142
191
|
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5.1
|
|
143
192
|
*/
|
|
144
|
-
goHome: OptionalCommand(128, TlvNoArguments, 4,
|
|
193
|
+
goHome: OptionalCommand(128, TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse)
|
|
145
194
|
},
|
|
146
195
|
events: {
|
|
147
196
|
/**
|
|
@@ -152,7 +201,7 @@ var RvcOperationalState;
|
|
|
152
201
|
*
|
|
153
202
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
154
203
|
*/
|
|
155
|
-
operationalError: Event(0, EventPriority.Critical,
|
|
204
|
+
operationalError: Event(0, EventPriority.Critical, RvcOperationalState2.TlvOperationalErrorEvent),
|
|
156
205
|
/**
|
|
157
206
|
* This event is generated when the overall operation ends, successfully or otherwise. For example, the
|
|
158
207
|
* completion of a cleaning operation in a Robot Vacuum Cleaner, or the completion of a wash cycle in a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/rvc-operational-state.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,mBAAmB;AAC5B,SAAS,UAAU,
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,mBAAmB;AAC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