@camstack/types 1.2.554 → 1.2.556
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/CHANGELOG.md +18 -4
- package/dist/addon.js +4 -3
- package/dist/addon.mjs +4 -3
- package/dist/audit/device-transition.d.ts +53 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/ir-transmitter.cap.d.ts +47 -2
- package/dist/capabilities/notification-rules.cap.d.ts +237 -0
- package/dist/capabilities/osd-manager.cap.d.ts +96 -0
- package/dist/capabilities/remote.cap.d.ts +24 -0
- package/dist/client.js +76 -8
- package/dist/client.mjs +76 -8
- package/dist/device/hero/hero-row.d.ts +6 -1
- package/dist/enums/event-category.d.ts +9 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-78tcBemo.mjs → event-category-Dv-Gcv1f.mjs} +9 -0
- package/dist/{event-category-BC4RRerT.js → event-category-Ps2LC8dN.js} +9 -0
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.js +354 -24
- package/dist/index.mjs +343 -25
- package/dist/ir/fastlz.d.ts +7 -0
- package/dist/ir/index.d.ts +2 -0
- package/dist/ir/ir-error.d.ts +1 -1
- package/dist/ir/ir-payload.d.ts +7 -1
- package/dist/ir/native.d.ts +24 -0
- package/dist/ir/tuya.d.ts +5 -0
- package/dist/notification/system-event-families.d.ts +5 -0
- package/dist/notification/system-event-filters.d.ts +1 -1
- package/dist/remote/remote-config.d.ts +6 -0
- package/dist/remote/remote-sources.d.ts +12 -0
- package/dist/{sleep-dcR4vBFG.js → sleep-BRGFFgr9.js} +46 -2
- package/dist/{sleep-D0roI_CZ.mjs → sleep-Czv-4wFH.mjs} +41 -3
- package/package.json +1 -1
|
@@ -91,6 +91,7 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
91
91
|
"device-attention-resolved": "device-attention-resolved";
|
|
92
92
|
"device-battery-low": "device-battery-low";
|
|
93
93
|
"device-battery-normal": "device-battery-normal";
|
|
94
|
+
"device-command": "device-command";
|
|
94
95
|
"device-consumable-low": "device-consumable-low";
|
|
95
96
|
"device-consumable-normal": "device-consumable-normal";
|
|
96
97
|
"device-disabled": "device-disabled";
|
|
@@ -177,6 +178,10 @@ export declare const NC_CONSUMABLE_LOW_PERCENT_MAX = 95;
|
|
|
177
178
|
* gate; the remaining lists are optional narrowing filters relevant to the
|
|
178
179
|
* selected kinds.
|
|
179
180
|
*/
|
|
181
|
+
/** How a settled command can be filtered (D1022): a device's own change is not a command. */
|
|
182
|
+
export declare const NC_COMMAND_OUTCOMES: readonly ['confirmed', 'already', 'unconfirmed', 'failed'];
|
|
183
|
+
/** Who gave a command, as the transition audit names the actor (D1022). */
|
|
184
|
+
export declare const NC_COMMAND_ACTOR_KINDS: readonly ['user', 'addon', 'action', 'scheduler', 'composition', 'node'];
|
|
180
185
|
export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
181
186
|
kinds: z.ZodArray<z.ZodEnum<{
|
|
182
187
|
"addon-crash-loop": "addon-crash-loop";
|
|
@@ -204,6 +209,7 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
204
209
|
"device-attention-resolved": "device-attention-resolved";
|
|
205
210
|
"device-battery-low": "device-battery-low";
|
|
206
211
|
"device-battery-normal": "device-battery-normal";
|
|
212
|
+
"device-command": "device-command";
|
|
207
213
|
"device-consumable-low": "device-consumable-low";
|
|
208
214
|
"device-consumable-normal": "device-consumable-normal";
|
|
209
215
|
"device-disabled": "device-disabled";
|
|
@@ -239,6 +245,21 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
239
245
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
240
246
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
247
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
249
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
250
|
+
already: "already";
|
|
251
|
+
confirmed: "confirmed";
|
|
252
|
+
failed: "failed";
|
|
253
|
+
unconfirmed: "unconfirmed";
|
|
254
|
+
}>>>;
|
|
255
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
256
|
+
action: "action";
|
|
257
|
+
addon: "addon";
|
|
258
|
+
composition: "composition";
|
|
259
|
+
node: "node";
|
|
260
|
+
scheduler: "scheduler";
|
|
261
|
+
user: "user";
|
|
262
|
+
}>>>;
|
|
242
263
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
243
264
|
}, z.core.$strip>;
|
|
244
265
|
export type NcSystemEventCondition = z.infer<typeof NcSystemEventConditionSchema>;
|
|
@@ -761,6 +782,7 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
761
782
|
"device-attention-resolved": "device-attention-resolved";
|
|
762
783
|
"device-battery-low": "device-battery-low";
|
|
763
784
|
"device-battery-normal": "device-battery-normal";
|
|
785
|
+
"device-command": "device-command";
|
|
764
786
|
"device-consumable-low": "device-consumable-low";
|
|
765
787
|
"device-consumable-normal": "device-consumable-normal";
|
|
766
788
|
"device-disabled": "device-disabled";
|
|
@@ -796,6 +818,21 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
796
818
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
797
819
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
798
820
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
821
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
822
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
823
|
+
already: "already";
|
|
824
|
+
confirmed: "confirmed";
|
|
825
|
+
failed: "failed";
|
|
826
|
+
unconfirmed: "unconfirmed";
|
|
827
|
+
}>>>;
|
|
828
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
829
|
+
action: "action";
|
|
830
|
+
addon: "addon";
|
|
831
|
+
composition: "composition";
|
|
832
|
+
node: "node";
|
|
833
|
+
scheduler: "scheduler";
|
|
834
|
+
user: "user";
|
|
835
|
+
}>>>;
|
|
799
836
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
800
837
|
}, z.core.$strip>>;
|
|
801
838
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1274,6 +1311,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1274
1311
|
"device-attention-resolved": "device-attention-resolved";
|
|
1275
1312
|
"device-battery-low": "device-battery-low";
|
|
1276
1313
|
"device-battery-normal": "device-battery-normal";
|
|
1314
|
+
"device-command": "device-command";
|
|
1277
1315
|
"device-consumable-low": "device-consumable-low";
|
|
1278
1316
|
"device-consumable-normal": "device-consumable-normal";
|
|
1279
1317
|
"device-disabled": "device-disabled";
|
|
@@ -1309,6 +1347,21 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1309
1347
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1310
1348
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1311
1349
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1350
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1351
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1352
|
+
already: "already";
|
|
1353
|
+
confirmed: "confirmed";
|
|
1354
|
+
failed: "failed";
|
|
1355
|
+
unconfirmed: "unconfirmed";
|
|
1356
|
+
}>>>;
|
|
1357
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1358
|
+
action: "action";
|
|
1359
|
+
addon: "addon";
|
|
1360
|
+
composition: "composition";
|
|
1361
|
+
node: "node";
|
|
1362
|
+
scheduler: "scheduler";
|
|
1363
|
+
user: "user";
|
|
1364
|
+
}>>>;
|
|
1312
1365
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1313
1366
|
}, z.core.$strip>>;
|
|
1314
1367
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1771,6 +1824,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1771
1824
|
"device-attention-resolved": "device-attention-resolved";
|
|
1772
1825
|
"device-battery-low": "device-battery-low";
|
|
1773
1826
|
"device-battery-normal": "device-battery-normal";
|
|
1827
|
+
"device-command": "device-command";
|
|
1774
1828
|
"device-consumable-low": "device-consumable-low";
|
|
1775
1829
|
"device-consumable-normal": "device-consumable-normal";
|
|
1776
1830
|
"device-disabled": "device-disabled";
|
|
@@ -1806,6 +1860,21 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1806
1860
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1807
1861
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1808
1862
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1863
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1864
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1865
|
+
already: "already";
|
|
1866
|
+
confirmed: "confirmed";
|
|
1867
|
+
failed: "failed";
|
|
1868
|
+
unconfirmed: "unconfirmed";
|
|
1869
|
+
}>>>;
|
|
1870
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1871
|
+
action: "action";
|
|
1872
|
+
addon: "addon";
|
|
1873
|
+
composition: "composition";
|
|
1874
|
+
node: "node";
|
|
1875
|
+
scheduler: "scheduler";
|
|
1876
|
+
user: "user";
|
|
1877
|
+
}>>>;
|
|
1809
1878
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
1810
1879
|
}, z.core.$strip>>;
|
|
1811
1880
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2161,6 +2230,7 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
2161
2230
|
"device-attention-resolved": "device-attention-resolved";
|
|
2162
2231
|
"device-battery-low": "device-battery-low";
|
|
2163
2232
|
"device-battery-normal": "device-battery-normal";
|
|
2233
|
+
"device-command": "device-command";
|
|
2164
2234
|
"device-consumable-low": "device-consumable-low";
|
|
2165
2235
|
"device-consumable-normal": "device-consumable-normal";
|
|
2166
2236
|
"device-disabled": "device-disabled";
|
|
@@ -2196,6 +2266,21 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
2196
2266
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2197
2267
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2198
2268
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2269
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2270
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2271
|
+
already: "already";
|
|
2272
|
+
confirmed: "confirmed";
|
|
2273
|
+
failed: "failed";
|
|
2274
|
+
unconfirmed: "unconfirmed";
|
|
2275
|
+
}>>>;
|
|
2276
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2277
|
+
action: "action";
|
|
2278
|
+
addon: "addon";
|
|
2279
|
+
composition: "composition";
|
|
2280
|
+
node: "node";
|
|
2281
|
+
scheduler: "scheduler";
|
|
2282
|
+
user: "user";
|
|
2283
|
+
}>>>;
|
|
2199
2284
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
2200
2285
|
}, z.core.$strip>>;
|
|
2201
2286
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2388,6 +2473,7 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2388
2473
|
"device-attention-resolved": "device-attention-resolved";
|
|
2389
2474
|
"device-battery-low": "device-battery-low";
|
|
2390
2475
|
"device-battery-normal": "device-battery-normal";
|
|
2476
|
+
"device-command": "device-command";
|
|
2391
2477
|
"device-consumable-low": "device-consumable-low";
|
|
2392
2478
|
"device-consumable-normal": "device-consumable-normal";
|
|
2393
2479
|
"device-disabled": "device-disabled";
|
|
@@ -2423,6 +2509,21 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2423
2509
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2424
2510
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2425
2511
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2512
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2513
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2514
|
+
already: "already";
|
|
2515
|
+
confirmed: "confirmed";
|
|
2516
|
+
failed: "failed";
|
|
2517
|
+
unconfirmed: "unconfirmed";
|
|
2518
|
+
}>>>;
|
|
2519
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2520
|
+
action: "action";
|
|
2521
|
+
addon: "addon";
|
|
2522
|
+
composition: "composition";
|
|
2523
|
+
node: "node";
|
|
2524
|
+
scheduler: "scheduler";
|
|
2525
|
+
user: "user";
|
|
2526
|
+
}>>>;
|
|
2426
2527
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
2427
2528
|
}, z.core.$strip>>;
|
|
2428
2529
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2941,6 +3042,7 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
2941
3042
|
"device-attention-resolved": "device-attention-resolved";
|
|
2942
3043
|
"device-battery-low": "device-battery-low";
|
|
2943
3044
|
"device-battery-normal": "device-battery-normal";
|
|
3045
|
+
"device-command": "device-command";
|
|
2944
3046
|
"device-consumable-low": "device-consumable-low";
|
|
2945
3047
|
"device-consumable-normal": "device-consumable-normal";
|
|
2946
3048
|
"device-disabled": "device-disabled";
|
|
@@ -3037,6 +3139,7 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
3037
3139
|
"device-attention-resolved": "device-attention-resolved";
|
|
3038
3140
|
"device-battery-low": "device-battery-low";
|
|
3039
3141
|
"device-battery-normal": "device-battery-normal";
|
|
3142
|
+
"device-command": "device-command";
|
|
3040
3143
|
"device-consumable-low": "device-consumable-low";
|
|
3041
3144
|
"device-consumable-normal": "device-consumable-normal";
|
|
3042
3145
|
"device-disabled": "device-disabled";
|
|
@@ -3130,6 +3233,7 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
3130
3233
|
"device-attention-resolved": "device-attention-resolved";
|
|
3131
3234
|
"device-battery-low": "device-battery-low";
|
|
3132
3235
|
"device-battery-normal": "device-battery-normal";
|
|
3236
|
+
"device-command": "device-command";
|
|
3133
3237
|
"device-consumable-low": "device-consumable-low";
|
|
3134
3238
|
"device-consumable-normal": "device-consumable-normal";
|
|
3135
3239
|
"device-disabled": "device-disabled";
|
|
@@ -3305,6 +3409,7 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
3305
3409
|
"device-attention-resolved": "device-attention-resolved";
|
|
3306
3410
|
"device-battery-low": "device-battery-low";
|
|
3307
3411
|
"device-battery-normal": "device-battery-normal";
|
|
3412
|
+
"device-command": "device-command";
|
|
3308
3413
|
"device-consumable-low": "device-consumable-low";
|
|
3309
3414
|
"device-consumable-normal": "device-consumable-normal";
|
|
3310
3415
|
"device-disabled": "device-disabled";
|
|
@@ -3417,6 +3522,7 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
3417
3522
|
"device-attention-resolved": "device-attention-resolved";
|
|
3418
3523
|
"device-battery-low": "device-battery-low";
|
|
3419
3524
|
"device-battery-normal": "device-battery-normal";
|
|
3525
|
+
"device-command": "device-command";
|
|
3420
3526
|
"device-consumable-low": "device-consumable-low";
|
|
3421
3527
|
"device-consumable-normal": "device-consumable-normal";
|
|
3422
3528
|
"device-disabled": "device-disabled";
|
|
@@ -4559,6 +4665,7 @@ export declare const notificationRulesCapability: {
|
|
|
4559
4665
|
"device-attention-resolved": "device-attention-resolved";
|
|
4560
4666
|
"device-battery-low": "device-battery-low";
|
|
4561
4667
|
"device-battery-normal": "device-battery-normal";
|
|
4668
|
+
"device-command": "device-command";
|
|
4562
4669
|
"device-consumable-low": "device-consumable-low";
|
|
4563
4670
|
"device-consumable-normal": "device-consumable-normal";
|
|
4564
4671
|
"device-disabled": "device-disabled";
|
|
@@ -4594,6 +4701,21 @@ export declare const notificationRulesCapability: {
|
|
|
4594
4701
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4595
4702
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4596
4703
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4704
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4705
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4706
|
+
already: "already";
|
|
4707
|
+
confirmed: "confirmed";
|
|
4708
|
+
failed: "failed";
|
|
4709
|
+
unconfirmed: "unconfirmed";
|
|
4710
|
+
}>>>;
|
|
4711
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4712
|
+
action: "action";
|
|
4713
|
+
addon: "addon";
|
|
4714
|
+
composition: "composition";
|
|
4715
|
+
node: "node";
|
|
4716
|
+
scheduler: "scheduler";
|
|
4717
|
+
user: "user";
|
|
4718
|
+
}>>>;
|
|
4597
4719
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4598
4720
|
}, z.core.$strip>>;
|
|
4599
4721
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4917,6 +5039,7 @@ export declare const notificationRulesCapability: {
|
|
|
4917
5039
|
"device-attention-resolved": "device-attention-resolved";
|
|
4918
5040
|
"device-battery-low": "device-battery-low";
|
|
4919
5041
|
"device-battery-normal": "device-battery-normal";
|
|
5042
|
+
"device-command": "device-command";
|
|
4920
5043
|
"device-consumable-low": "device-consumable-low";
|
|
4921
5044
|
"device-consumable-normal": "device-consumable-normal";
|
|
4922
5045
|
"device-disabled": "device-disabled";
|
|
@@ -4952,6 +5075,21 @@ export declare const notificationRulesCapability: {
|
|
|
4952
5075
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4953
5076
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4954
5077
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5078
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5079
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5080
|
+
already: "already";
|
|
5081
|
+
confirmed: "confirmed";
|
|
5082
|
+
failed: "failed";
|
|
5083
|
+
unconfirmed: "unconfirmed";
|
|
5084
|
+
}>>>;
|
|
5085
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5086
|
+
action: "action";
|
|
5087
|
+
addon: "addon";
|
|
5088
|
+
composition: "composition";
|
|
5089
|
+
node: "node";
|
|
5090
|
+
scheduler: "scheduler";
|
|
5091
|
+
user: "user";
|
|
5092
|
+
}>>>;
|
|
4955
5093
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
4956
5094
|
}, z.core.$strip>>;
|
|
4957
5095
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5273,6 +5411,7 @@ export declare const notificationRulesCapability: {
|
|
|
5273
5411
|
"device-attention-resolved": "device-attention-resolved";
|
|
5274
5412
|
"device-battery-low": "device-battery-low";
|
|
5275
5413
|
"device-battery-normal": "device-battery-normal";
|
|
5414
|
+
"device-command": "device-command";
|
|
5276
5415
|
"device-consumable-low": "device-consumable-low";
|
|
5277
5416
|
"device-consumable-normal": "device-consumable-normal";
|
|
5278
5417
|
"device-disabled": "device-disabled";
|
|
@@ -5308,6 +5447,21 @@ export declare const notificationRulesCapability: {
|
|
|
5308
5447
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5309
5448
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5310
5449
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5450
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5451
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5452
|
+
already: "already";
|
|
5453
|
+
confirmed: "confirmed";
|
|
5454
|
+
failed: "failed";
|
|
5455
|
+
unconfirmed: "unconfirmed";
|
|
5456
|
+
}>>>;
|
|
5457
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5458
|
+
action: "action";
|
|
5459
|
+
addon: "addon";
|
|
5460
|
+
composition: "composition";
|
|
5461
|
+
node: "node";
|
|
5462
|
+
scheduler: "scheduler";
|
|
5463
|
+
user: "user";
|
|
5464
|
+
}>>>;
|
|
5311
5465
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
5312
5466
|
}, z.core.$strip>>;
|
|
5313
5467
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5623,6 +5777,7 @@ export declare const notificationRulesCapability: {
|
|
|
5623
5777
|
"device-attention-resolved": "device-attention-resolved";
|
|
5624
5778
|
"device-battery-low": "device-battery-low";
|
|
5625
5779
|
"device-battery-normal": "device-battery-normal";
|
|
5780
|
+
"device-command": "device-command";
|
|
5626
5781
|
"device-consumable-low": "device-consumable-low";
|
|
5627
5782
|
"device-consumable-normal": "device-consumable-normal";
|
|
5628
5783
|
"device-disabled": "device-disabled";
|
|
@@ -5658,6 +5813,21 @@ export declare const notificationRulesCapability: {
|
|
|
5658
5813
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5659
5814
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5660
5815
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5816
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5817
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5818
|
+
already: "already";
|
|
5819
|
+
confirmed: "confirmed";
|
|
5820
|
+
failed: "failed";
|
|
5821
|
+
unconfirmed: "unconfirmed";
|
|
5822
|
+
}>>>;
|
|
5823
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5824
|
+
action: "action";
|
|
5825
|
+
addon: "addon";
|
|
5826
|
+
composition: "composition";
|
|
5827
|
+
node: "node";
|
|
5828
|
+
scheduler: "scheduler";
|
|
5829
|
+
user: "user";
|
|
5830
|
+
}>>>;
|
|
5661
5831
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
5662
5832
|
}, z.core.$strip>>;
|
|
5663
5833
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6120,6 +6290,7 @@ export declare const notificationRulesCapability: {
|
|
|
6120
6290
|
"device-attention-resolved": "device-attention-resolved";
|
|
6121
6291
|
"device-battery-low": "device-battery-low";
|
|
6122
6292
|
"device-battery-normal": "device-battery-normal";
|
|
6293
|
+
"device-command": "device-command";
|
|
6123
6294
|
"device-consumable-low": "device-consumable-low";
|
|
6124
6295
|
"device-consumable-normal": "device-consumable-normal";
|
|
6125
6296
|
"device-disabled": "device-disabled";
|
|
@@ -6155,6 +6326,21 @@ export declare const notificationRulesCapability: {
|
|
|
6155
6326
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
6156
6327
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6157
6328
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6329
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6330
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6331
|
+
already: "already";
|
|
6332
|
+
confirmed: "confirmed";
|
|
6333
|
+
failed: "failed";
|
|
6334
|
+
unconfirmed: "unconfirmed";
|
|
6335
|
+
}>>>;
|
|
6336
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6337
|
+
action: "action";
|
|
6338
|
+
addon: "addon";
|
|
6339
|
+
composition: "composition";
|
|
6340
|
+
node: "node";
|
|
6341
|
+
scheduler: "scheduler";
|
|
6342
|
+
user: "user";
|
|
6343
|
+
}>>>;
|
|
6158
6344
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
6159
6345
|
}, z.core.$strip>>;
|
|
6160
6346
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6345,6 +6531,7 @@ export declare const notificationRulesCapability: {
|
|
|
6345
6531
|
"device-attention-resolved": "device-attention-resolved";
|
|
6346
6532
|
"device-battery-low": "device-battery-low";
|
|
6347
6533
|
"device-battery-normal": "device-battery-normal";
|
|
6534
|
+
"device-command": "device-command";
|
|
6348
6535
|
"device-consumable-low": "device-consumable-low";
|
|
6349
6536
|
"device-consumable-normal": "device-consumable-normal";
|
|
6350
6537
|
"device-disabled": "device-disabled";
|
|
@@ -6380,6 +6567,21 @@ export declare const notificationRulesCapability: {
|
|
|
6380
6567
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
6381
6568
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6382
6569
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6570
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6571
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6572
|
+
already: "already";
|
|
6573
|
+
confirmed: "confirmed";
|
|
6574
|
+
failed: "failed";
|
|
6575
|
+
unconfirmed: "unconfirmed";
|
|
6576
|
+
}>>>;
|
|
6577
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6578
|
+
action: "action";
|
|
6579
|
+
addon: "addon";
|
|
6580
|
+
composition: "composition";
|
|
6581
|
+
node: "node";
|
|
6582
|
+
scheduler: "scheduler";
|
|
6583
|
+
user: "user";
|
|
6584
|
+
}>>>;
|
|
6383
6585
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
6384
6586
|
}, z.core.$strip>>;
|
|
6385
6587
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6783,6 +6985,7 @@ export declare const notificationRulesCapability: {
|
|
|
6783
6985
|
"device-attention-resolved": "device-attention-resolved";
|
|
6784
6986
|
"device-battery-low": "device-battery-low";
|
|
6785
6987
|
"device-battery-normal": "device-battery-normal";
|
|
6988
|
+
"device-command": "device-command";
|
|
6786
6989
|
"device-consumable-low": "device-consumable-low";
|
|
6787
6990
|
"device-consumable-normal": "device-consumable-normal";
|
|
6788
6991
|
"device-disabled": "device-disabled";
|
|
@@ -6818,6 +7021,21 @@ export declare const notificationRulesCapability: {
|
|
|
6818
7021
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
6819
7022
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6820
7023
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7024
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7025
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7026
|
+
already: "already";
|
|
7027
|
+
confirmed: "confirmed";
|
|
7028
|
+
failed: "failed";
|
|
7029
|
+
unconfirmed: "unconfirmed";
|
|
7030
|
+
}>>>;
|
|
7031
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7032
|
+
action: "action";
|
|
7033
|
+
addon: "addon";
|
|
7034
|
+
composition: "composition";
|
|
7035
|
+
node: "node";
|
|
7036
|
+
scheduler: "scheduler";
|
|
7037
|
+
user: "user";
|
|
7038
|
+
}>>>;
|
|
6821
7039
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
6822
7040
|
}, z.core.$strip>>;
|
|
6823
7041
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7158,6 +7376,7 @@ export declare const notificationRulesCapability: {
|
|
|
7158
7376
|
"device-attention-resolved": "device-attention-resolved";
|
|
7159
7377
|
"device-battery-low": "device-battery-low";
|
|
7160
7378
|
"device-battery-normal": "device-battery-normal";
|
|
7379
|
+
"device-command": "device-command";
|
|
7161
7380
|
"device-consumable-low": "device-consumable-low";
|
|
7162
7381
|
"device-consumable-normal": "device-consumable-normal";
|
|
7163
7382
|
"device-disabled": "device-disabled";
|
|
@@ -7193,6 +7412,21 @@ export declare const notificationRulesCapability: {
|
|
|
7193
7412
|
excludeDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
7194
7413
|
nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7195
7414
|
packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7415
|
+
commandActions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7416
|
+
commandOutcomes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7417
|
+
already: "already";
|
|
7418
|
+
confirmed: "confirmed";
|
|
7419
|
+
failed: "failed";
|
|
7420
|
+
unconfirmed: "unconfirmed";
|
|
7421
|
+
}>>>;
|
|
7422
|
+
commandActorKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7423
|
+
action: "action";
|
|
7424
|
+
addon: "addon";
|
|
7425
|
+
composition: "composition";
|
|
7426
|
+
node: "node";
|
|
7427
|
+
scheduler: "scheduler";
|
|
7428
|
+
user: "user";
|
|
7429
|
+
}>>>;
|
|
7196
7430
|
consumableLowPercent: z.ZodOptional<z.ZodNumber>;
|
|
7197
7431
|
}, z.core.$strip>>;
|
|
7198
7432
|
customZones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7616,6 +7850,7 @@ export declare const notificationRulesCapability: {
|
|
|
7616
7850
|
"device-attention-resolved": "device-attention-resolved";
|
|
7617
7851
|
"device-battery-low": "device-battery-low";
|
|
7618
7852
|
"device-battery-normal": "device-battery-normal";
|
|
7853
|
+
"device-command": "device-command";
|
|
7619
7854
|
"device-consumable-low": "device-consumable-low";
|
|
7620
7855
|
"device-consumable-normal": "device-consumable-normal";
|
|
7621
7856
|
"device-disabled": "device-disabled";
|
|
@@ -7735,6 +7970,7 @@ export declare const notificationRulesCapability: {
|
|
|
7735
7970
|
"device-attention-resolved": "device-attention-resolved";
|
|
7736
7971
|
"device-battery-low": "device-battery-low";
|
|
7737
7972
|
"device-battery-normal": "device-battery-normal";
|
|
7973
|
+
"device-command": "device-command";
|
|
7738
7974
|
"device-consumable-low": "device-consumable-low";
|
|
7739
7975
|
"device-consumable-normal": "device-consumable-normal";
|
|
7740
7976
|
"device-disabled": "device-disabled";
|
|
@@ -7866,6 +8102,7 @@ export declare const notificationRulesCapability: {
|
|
|
7866
8102
|
"device-attention-resolved": "device-attention-resolved";
|
|
7867
8103
|
"device-battery-low": "device-battery-low";
|
|
7868
8104
|
"device-battery-normal": "device-battery-normal";
|
|
8105
|
+
"device-command": "device-command";
|
|
7869
8106
|
"device-consumable-low": "device-consumable-low";
|
|
7870
8107
|
"device-consumable-normal": "device-consumable-normal";
|
|
7871
8108
|
"device-disabled": "device-disabled";
|