@camstack/types 1.2.453 → 1.2.455
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 +14 -0
- package/dist/automation/action-target.d.ts +86 -0
- package/dist/automation/action.d.ts +28 -4
- package/dist/automation/index.d.ts +6 -4
- package/dist/automation/nc-action-target.d.ts +21 -0
- package/dist/automation/normalize-units.d.ts +1 -1
- package/dist/automation/recipe.d.ts +173 -18
- package/dist/automation/step-runner.d.ts +21 -2
- package/dist/automation/trace.d.ts +42 -0
- package/dist/automation/when.d.ts +33 -1
- package/dist/capabilities/action-source.cap.d.ts +14 -2
- package/dist/capabilities/actions.cap.d.ts +108 -14
- package/dist/capabilities/core-blocks.cap.d.ts +982 -136
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +845 -65
- package/dist/capabilities/pipeline-analytics.cap.d.ts +357 -0
- package/dist/capabilities/remote.cap.d.ts +2 -2
- package/dist/capabilities/system.cap.d.ts +4 -0
- package/dist/client.js +1629 -796
- package/dist/client.mjs +1629 -796
- package/dist/device/cap-vocabulary/action-index.d.ts +31 -0
- package/dist/device/cap-vocabulary/index.d.ts +3 -1
- package/dist/device/cap-vocabulary/types.d.ts +27 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.js +90952 -89858
- package/dist/index.mjs +90918 -89859
- package/dist/remote/remote-config.d.ts +14 -4
- package/dist/time/index.d.ts +2 -0
- package/dist/time/solar.d.ts +37 -0
- package/dist/time/time-spec.d.ts +117 -0
- package/package.json +1 -1
|
@@ -145,9 +145,21 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
145
145
|
seconds: z.ZodNumber;
|
|
146
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
147
|
kind: z.ZodLiteral<"cap">;
|
|
148
|
-
|
|
148
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
149
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"devices">;
|
|
151
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
153
|
+
kind: z.ZodLiteral<"domain">;
|
|
154
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
155
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"var">;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
}, z.core.$strip>], "kind">>;
|
|
160
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
149
161
|
$var: z.ZodString;
|
|
150
|
-
}, z.core.$strip>]
|
|
162
|
+
}, z.core.$strip>]>>;
|
|
151
163
|
cap: z.ZodString;
|
|
152
164
|
method: z.ZodString;
|
|
153
165
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -219,9 +231,21 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
219
231
|
seconds: z.ZodNumber;
|
|
220
232
|
}, z.core.$strip>, z.ZodObject<{
|
|
221
233
|
kind: z.ZodLiteral<"cap">;
|
|
222
|
-
|
|
234
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
235
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
236
|
+
kind: z.ZodLiteral<"devices">;
|
|
237
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
239
|
+
kind: z.ZodLiteral<"domain">;
|
|
240
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
241
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
243
|
+
kind: z.ZodLiteral<"var">;
|
|
244
|
+
name: z.ZodString;
|
|
245
|
+
}, z.core.$strip>], "kind">>;
|
|
246
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
223
247
|
$var: z.ZodString;
|
|
224
|
-
}, z.core.$strip>]
|
|
248
|
+
}, z.core.$strip>]>>;
|
|
225
249
|
cap: z.ZodString;
|
|
226
250
|
method: z.ZodString;
|
|
227
251
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -253,9 +277,21 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
253
277
|
when: import("../index.js").AutomationWhen;
|
|
254
278
|
actions: ({
|
|
255
279
|
kind: "cap";
|
|
256
|
-
|
|
280
|
+
actionId?: string | undefined;
|
|
281
|
+
target?: {
|
|
282
|
+
kind: "devices";
|
|
283
|
+
ids: number[];
|
|
284
|
+
} | {
|
|
285
|
+
kind: "domain";
|
|
286
|
+
deviceType?: DeviceType | undefined;
|
|
287
|
+
roomId?: string | undefined;
|
|
288
|
+
} | {
|
|
289
|
+
kind: "var";
|
|
290
|
+
name: string;
|
|
291
|
+
} | undefined;
|
|
292
|
+
deviceId?: number | number[] | {
|
|
257
293
|
$var: string;
|
|
258
|
-
};
|
|
294
|
+
} | undefined;
|
|
259
295
|
cap: string;
|
|
260
296
|
method: string;
|
|
261
297
|
args?: Record<string, unknown> | undefined;
|
|
@@ -324,9 +360,21 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
324
360
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
325
361
|
actions: ({
|
|
326
362
|
kind: "cap";
|
|
327
|
-
|
|
363
|
+
actionId?: string | undefined;
|
|
364
|
+
target?: {
|
|
365
|
+
kind: "devices";
|
|
366
|
+
ids: number[];
|
|
367
|
+
} | {
|
|
368
|
+
kind: "domain";
|
|
369
|
+
deviceType?: DeviceType | undefined;
|
|
370
|
+
roomId?: string | undefined;
|
|
371
|
+
} | {
|
|
372
|
+
kind: "var";
|
|
373
|
+
name: string;
|
|
374
|
+
} | undefined;
|
|
375
|
+
deviceId?: number | number[] | {
|
|
328
376
|
$var: string;
|
|
329
|
-
};
|
|
377
|
+
} | undefined;
|
|
330
378
|
cap: string;
|
|
331
379
|
method: string;
|
|
332
380
|
args?: Record<string, unknown> | undefined;
|
|
@@ -834,9 +882,21 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
834
882
|
seconds: z.ZodNumber;
|
|
835
883
|
}, z.core.$strip>, z.ZodObject<{
|
|
836
884
|
kind: z.ZodLiteral<"cap">;
|
|
837
|
-
|
|
885
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
886
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
887
|
+
kind: z.ZodLiteral<"devices">;
|
|
888
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
890
|
+
kind: z.ZodLiteral<"domain">;
|
|
891
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
892
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
893
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
894
|
+
kind: z.ZodLiteral<"var">;
|
|
895
|
+
name: z.ZodString;
|
|
896
|
+
}, z.core.$strip>], "kind">>;
|
|
897
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
838
898
|
$var: z.ZodString;
|
|
839
|
-
}, z.core.$strip>]
|
|
899
|
+
}, z.core.$strip>]>>;
|
|
840
900
|
cap: z.ZodString;
|
|
841
901
|
method: z.ZodString;
|
|
842
902
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -908,9 +968,21 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
908
968
|
seconds: z.ZodNumber;
|
|
909
969
|
}, z.core.$strip>, z.ZodObject<{
|
|
910
970
|
kind: z.ZodLiteral<"cap">;
|
|
911
|
-
|
|
971
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
972
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
973
|
+
kind: z.ZodLiteral<"devices">;
|
|
974
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
975
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
976
|
+
kind: z.ZodLiteral<"domain">;
|
|
977
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
978
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
980
|
+
kind: z.ZodLiteral<"var">;
|
|
981
|
+
name: z.ZodString;
|
|
982
|
+
}, z.core.$strip>], "kind">>;
|
|
983
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
912
984
|
$var: z.ZodString;
|
|
913
|
-
}, z.core.$strip>]
|
|
985
|
+
}, z.core.$strip>]>>;
|
|
914
986
|
cap: z.ZodString;
|
|
915
987
|
method: z.ZodString;
|
|
916
988
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -942,9 +1014,21 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
942
1014
|
when: import("../index.js").AutomationWhen;
|
|
943
1015
|
actions: ({
|
|
944
1016
|
kind: "cap";
|
|
945
|
-
|
|
1017
|
+
actionId?: string | undefined;
|
|
1018
|
+
target?: {
|
|
1019
|
+
kind: "devices";
|
|
1020
|
+
ids: number[];
|
|
1021
|
+
} | {
|
|
1022
|
+
kind: "domain";
|
|
1023
|
+
deviceType?: DeviceType | undefined;
|
|
1024
|
+
roomId?: string | undefined;
|
|
1025
|
+
} | {
|
|
1026
|
+
kind: "var";
|
|
1027
|
+
name: string;
|
|
1028
|
+
} | undefined;
|
|
1029
|
+
deviceId?: number | number[] | {
|
|
946
1030
|
$var: string;
|
|
947
|
-
};
|
|
1031
|
+
} | undefined;
|
|
948
1032
|
cap: string;
|
|
949
1033
|
method: string;
|
|
950
1034
|
args?: Record<string, unknown> | undefined;
|
|
@@ -1013,9 +1097,21 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
1013
1097
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
1014
1098
|
actions: ({
|
|
1015
1099
|
kind: "cap";
|
|
1016
|
-
|
|
1100
|
+
actionId?: string | undefined;
|
|
1101
|
+
target?: {
|
|
1102
|
+
kind: "devices";
|
|
1103
|
+
ids: number[];
|
|
1104
|
+
} | {
|
|
1105
|
+
kind: "domain";
|
|
1106
|
+
deviceType?: DeviceType | undefined;
|
|
1107
|
+
roomId?: string | undefined;
|
|
1108
|
+
} | {
|
|
1109
|
+
kind: "var";
|
|
1110
|
+
name: string;
|
|
1111
|
+
} | undefined;
|
|
1112
|
+
deviceId?: number | number[] | {
|
|
1017
1113
|
$var: string;
|
|
1018
|
-
};
|
|
1114
|
+
} | undefined;
|
|
1019
1115
|
cap: string;
|
|
1020
1116
|
method: string;
|
|
1021
1117
|
args?: Record<string, unknown> | undefined;
|
|
@@ -1339,9 +1435,21 @@ export declare const CompositionViewSchema: z.ZodObject<{
|
|
|
1339
1435
|
seconds: z.ZodNumber;
|
|
1340
1436
|
}, z.core.$strip>, z.ZodObject<{
|
|
1341
1437
|
kind: z.ZodLiteral<"cap">;
|
|
1342
|
-
|
|
1438
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1440
|
+
kind: z.ZodLiteral<"devices">;
|
|
1441
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
1442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1443
|
+
kind: z.ZodLiteral<"domain">;
|
|
1444
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
1445
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1447
|
+
kind: z.ZodLiteral<"var">;
|
|
1448
|
+
name: z.ZodString;
|
|
1449
|
+
}, z.core.$strip>], "kind">>;
|
|
1450
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1343
1451
|
$var: z.ZodString;
|
|
1344
|
-
}, z.core.$strip>]
|
|
1452
|
+
}, z.core.$strip>]>>;
|
|
1345
1453
|
cap: z.ZodString;
|
|
1346
1454
|
method: z.ZodString;
|
|
1347
1455
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1413,9 +1521,21 @@ export declare const CompositionViewSchema: z.ZodObject<{
|
|
|
1413
1521
|
seconds: z.ZodNumber;
|
|
1414
1522
|
}, z.core.$strip>, z.ZodObject<{
|
|
1415
1523
|
kind: z.ZodLiteral<"cap">;
|
|
1416
|
-
|
|
1524
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1526
|
+
kind: z.ZodLiteral<"devices">;
|
|
1527
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
1528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1529
|
+
kind: z.ZodLiteral<"domain">;
|
|
1530
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
1531
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1533
|
+
kind: z.ZodLiteral<"var">;
|
|
1534
|
+
name: z.ZodString;
|
|
1535
|
+
}, z.core.$strip>], "kind">>;
|
|
1536
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1417
1537
|
$var: z.ZodString;
|
|
1418
|
-
}, z.core.$strip>]
|
|
1538
|
+
}, z.core.$strip>]>>;
|
|
1419
1539
|
cap: z.ZodString;
|
|
1420
1540
|
method: z.ZodString;
|
|
1421
1541
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1447,9 +1567,21 @@ export declare const CompositionViewSchema: z.ZodObject<{
|
|
|
1447
1567
|
when: import("../index.js").AutomationWhen;
|
|
1448
1568
|
actions: ({
|
|
1449
1569
|
kind: "cap";
|
|
1450
|
-
|
|
1570
|
+
actionId?: string | undefined;
|
|
1571
|
+
target?: {
|
|
1572
|
+
kind: "devices";
|
|
1573
|
+
ids: number[];
|
|
1574
|
+
} | {
|
|
1575
|
+
kind: "domain";
|
|
1576
|
+
deviceType?: DeviceType | undefined;
|
|
1577
|
+
roomId?: string | undefined;
|
|
1578
|
+
} | {
|
|
1579
|
+
kind: "var";
|
|
1580
|
+
name: string;
|
|
1581
|
+
} | undefined;
|
|
1582
|
+
deviceId?: number | number[] | {
|
|
1451
1583
|
$var: string;
|
|
1452
|
-
};
|
|
1584
|
+
} | undefined;
|
|
1453
1585
|
cap: string;
|
|
1454
1586
|
method: string;
|
|
1455
1587
|
args?: Record<string, unknown> | undefined;
|
|
@@ -1518,9 +1650,21 @@ export declare const CompositionViewSchema: z.ZodObject<{
|
|
|
1518
1650
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
1519
1651
|
actions: ({
|
|
1520
1652
|
kind: "cap";
|
|
1521
|
-
|
|
1653
|
+
actionId?: string | undefined;
|
|
1654
|
+
target?: {
|
|
1655
|
+
kind: "devices";
|
|
1656
|
+
ids: number[];
|
|
1657
|
+
} | {
|
|
1658
|
+
kind: "domain";
|
|
1659
|
+
deviceType?: DeviceType | undefined;
|
|
1660
|
+
roomId?: string | undefined;
|
|
1661
|
+
} | {
|
|
1662
|
+
kind: "var";
|
|
1663
|
+
name: string;
|
|
1664
|
+
} | undefined;
|
|
1665
|
+
deviceId?: number | number[] | {
|
|
1522
1666
|
$var: string;
|
|
1523
|
-
};
|
|
1667
|
+
} | undefined;
|
|
1524
1668
|
cap: string;
|
|
1525
1669
|
method: string;
|
|
1526
1670
|
args?: Record<string, unknown> | undefined;
|
|
@@ -1842,9 +1986,21 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1842
1986
|
seconds: z.ZodNumber;
|
|
1843
1987
|
}, z.core.$strip>, z.ZodObject<{
|
|
1844
1988
|
kind: z.ZodLiteral<"cap">;
|
|
1845
|
-
|
|
1989
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1991
|
+
kind: z.ZodLiteral<"devices">;
|
|
1992
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
1993
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1994
|
+
kind: z.ZodLiteral<"domain">;
|
|
1995
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
1996
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1998
|
+
kind: z.ZodLiteral<"var">;
|
|
1999
|
+
name: z.ZodString;
|
|
2000
|
+
}, z.core.$strip>], "kind">>;
|
|
2001
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1846
2002
|
$var: z.ZodString;
|
|
1847
|
-
}, z.core.$strip>]
|
|
2003
|
+
}, z.core.$strip>]>>;
|
|
1848
2004
|
cap: z.ZodString;
|
|
1849
2005
|
method: z.ZodString;
|
|
1850
2006
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1916,9 +2072,21 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1916
2072
|
seconds: z.ZodNumber;
|
|
1917
2073
|
}, z.core.$strip>, z.ZodObject<{
|
|
1918
2074
|
kind: z.ZodLiteral<"cap">;
|
|
1919
|
-
|
|
2075
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2077
|
+
kind: z.ZodLiteral<"devices">;
|
|
2078
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
2079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2080
|
+
kind: z.ZodLiteral<"domain">;
|
|
2081
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
2082
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<"var">;
|
|
2085
|
+
name: z.ZodString;
|
|
2086
|
+
}, z.core.$strip>], "kind">>;
|
|
2087
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1920
2088
|
$var: z.ZodString;
|
|
1921
|
-
}, z.core.$strip>]
|
|
2089
|
+
}, z.core.$strip>]>>;
|
|
1922
2090
|
cap: z.ZodString;
|
|
1923
2091
|
method: z.ZodString;
|
|
1924
2092
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1950,9 +2118,21 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1950
2118
|
when: import("../index.js").AutomationWhen;
|
|
1951
2119
|
actions: ({
|
|
1952
2120
|
kind: "cap";
|
|
1953
|
-
|
|
2121
|
+
actionId?: string | undefined;
|
|
2122
|
+
target?: {
|
|
2123
|
+
kind: "devices";
|
|
2124
|
+
ids: number[];
|
|
2125
|
+
} | {
|
|
2126
|
+
kind: "domain";
|
|
2127
|
+
deviceType?: DeviceType | undefined;
|
|
2128
|
+
roomId?: string | undefined;
|
|
2129
|
+
} | {
|
|
2130
|
+
kind: "var";
|
|
2131
|
+
name: string;
|
|
2132
|
+
} | undefined;
|
|
2133
|
+
deviceId?: number | number[] | {
|
|
1954
2134
|
$var: string;
|
|
1955
|
-
};
|
|
2135
|
+
} | undefined;
|
|
1956
2136
|
cap: string;
|
|
1957
2137
|
method: string;
|
|
1958
2138
|
args?: Record<string, unknown> | undefined;
|
|
@@ -2021,9 +2201,21 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
2021
2201
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
2022
2202
|
actions: ({
|
|
2023
2203
|
kind: "cap";
|
|
2024
|
-
|
|
2204
|
+
actionId?: string | undefined;
|
|
2205
|
+
target?: {
|
|
2206
|
+
kind: "devices";
|
|
2207
|
+
ids: number[];
|
|
2208
|
+
} | {
|
|
2209
|
+
kind: "domain";
|
|
2210
|
+
deviceType?: DeviceType | undefined;
|
|
2211
|
+
roomId?: string | undefined;
|
|
2212
|
+
} | {
|
|
2213
|
+
kind: "var";
|
|
2214
|
+
name: string;
|
|
2215
|
+
} | undefined;
|
|
2216
|
+
deviceId?: number | number[] | {
|
|
2025
2217
|
$var: string;
|
|
2026
|
-
};
|
|
2218
|
+
} | undefined;
|
|
2027
2219
|
cap: string;
|
|
2028
2220
|
method: string;
|
|
2029
2221
|
args?: Record<string, unknown> | undefined;
|
|
@@ -2349,9 +2541,21 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2349
2541
|
seconds: z.ZodNumber;
|
|
2350
2542
|
}, z.core.$strip>, z.ZodObject<{
|
|
2351
2543
|
kind: z.ZodLiteral<"cap">;
|
|
2352
|
-
|
|
2544
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2546
|
+
kind: z.ZodLiteral<"devices">;
|
|
2547
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
2548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2549
|
+
kind: z.ZodLiteral<"domain">;
|
|
2550
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
2551
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2553
|
+
kind: z.ZodLiteral<"var">;
|
|
2554
|
+
name: z.ZodString;
|
|
2555
|
+
}, z.core.$strip>], "kind">>;
|
|
2556
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2353
2557
|
$var: z.ZodString;
|
|
2354
|
-
}, z.core.$strip>]
|
|
2558
|
+
}, z.core.$strip>]>>;
|
|
2355
2559
|
cap: z.ZodString;
|
|
2356
2560
|
method: z.ZodString;
|
|
2357
2561
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2423,9 +2627,21 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2423
2627
|
seconds: z.ZodNumber;
|
|
2424
2628
|
}, z.core.$strip>, z.ZodObject<{
|
|
2425
2629
|
kind: z.ZodLiteral<"cap">;
|
|
2426
|
-
|
|
2630
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2632
|
+
kind: z.ZodLiteral<"devices">;
|
|
2633
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
2634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2635
|
+
kind: z.ZodLiteral<"domain">;
|
|
2636
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
2637
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
2638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2639
|
+
kind: z.ZodLiteral<"var">;
|
|
2640
|
+
name: z.ZodString;
|
|
2641
|
+
}, z.core.$strip>], "kind">>;
|
|
2642
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2427
2643
|
$var: z.ZodString;
|
|
2428
|
-
}, z.core.$strip>]
|
|
2644
|
+
}, z.core.$strip>]>>;
|
|
2429
2645
|
cap: z.ZodString;
|
|
2430
2646
|
method: z.ZodString;
|
|
2431
2647
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2457,9 +2673,21 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2457
2673
|
when: import("../index.js").AutomationWhen;
|
|
2458
2674
|
actions: ({
|
|
2459
2675
|
kind: "cap";
|
|
2460
|
-
|
|
2676
|
+
actionId?: string | undefined;
|
|
2677
|
+
target?: {
|
|
2678
|
+
kind: "devices";
|
|
2679
|
+
ids: number[];
|
|
2680
|
+
} | {
|
|
2681
|
+
kind: "domain";
|
|
2682
|
+
deviceType?: DeviceType | undefined;
|
|
2683
|
+
roomId?: string | undefined;
|
|
2684
|
+
} | {
|
|
2685
|
+
kind: "var";
|
|
2686
|
+
name: string;
|
|
2687
|
+
} | undefined;
|
|
2688
|
+
deviceId?: number | number[] | {
|
|
2461
2689
|
$var: string;
|
|
2462
|
-
};
|
|
2690
|
+
} | undefined;
|
|
2463
2691
|
cap: string;
|
|
2464
2692
|
method: string;
|
|
2465
2693
|
args?: Record<string, unknown> | undefined;
|
|
@@ -2528,9 +2756,21 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2528
2756
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
2529
2757
|
actions: ({
|
|
2530
2758
|
kind: "cap";
|
|
2531
|
-
|
|
2759
|
+
actionId?: string | undefined;
|
|
2760
|
+
target?: {
|
|
2761
|
+
kind: "devices";
|
|
2762
|
+
ids: number[];
|
|
2763
|
+
} | {
|
|
2764
|
+
kind: "domain";
|
|
2765
|
+
deviceType?: DeviceType | undefined;
|
|
2766
|
+
roomId?: string | undefined;
|
|
2767
|
+
} | {
|
|
2768
|
+
kind: "var";
|
|
2769
|
+
name: string;
|
|
2770
|
+
} | undefined;
|
|
2771
|
+
deviceId?: number | number[] | {
|
|
2532
2772
|
$var: string;
|
|
2533
|
-
};
|
|
2773
|
+
} | undefined;
|
|
2534
2774
|
cap: string;
|
|
2535
2775
|
method: string;
|
|
2536
2776
|
args?: Record<string, unknown> | undefined;
|
|
@@ -2857,9 +3097,21 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
|
|
|
2857
3097
|
seconds: z.ZodNumber;
|
|
2858
3098
|
}, z.core.$strip>, z.ZodObject<{
|
|
2859
3099
|
kind: z.ZodLiteral<"cap">;
|
|
2860
|
-
|
|
3100
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
3101
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3102
|
+
kind: z.ZodLiteral<"devices">;
|
|
3103
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
3104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3105
|
+
kind: z.ZodLiteral<"domain">;
|
|
3106
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
3107
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
3108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3109
|
+
kind: z.ZodLiteral<"var">;
|
|
3110
|
+
name: z.ZodString;
|
|
3111
|
+
}, z.core.$strip>], "kind">>;
|
|
3112
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2861
3113
|
$var: z.ZodString;
|
|
2862
|
-
}, z.core.$strip>]
|
|
3114
|
+
}, z.core.$strip>]>>;
|
|
2863
3115
|
cap: z.ZodString;
|
|
2864
3116
|
method: z.ZodString;
|
|
2865
3117
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2931,9 +3183,21 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
|
|
|
2931
3183
|
seconds: z.ZodNumber;
|
|
2932
3184
|
}, z.core.$strip>, z.ZodObject<{
|
|
2933
3185
|
kind: z.ZodLiteral<"cap">;
|
|
2934
|
-
|
|
3186
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
3187
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3188
|
+
kind: z.ZodLiteral<"devices">;
|
|
3189
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
3190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3191
|
+
kind: z.ZodLiteral<"domain">;
|
|
3192
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
3193
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
3194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3195
|
+
kind: z.ZodLiteral<"var">;
|
|
3196
|
+
name: z.ZodString;
|
|
3197
|
+
}, z.core.$strip>], "kind">>;
|
|
3198
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2935
3199
|
$var: z.ZodString;
|
|
2936
|
-
}, z.core.$strip>]
|
|
3200
|
+
}, z.core.$strip>]>>;
|
|
2937
3201
|
cap: z.ZodString;
|
|
2938
3202
|
method: z.ZodString;
|
|
2939
3203
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2965,9 +3229,21 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
|
|
|
2965
3229
|
when: import("../index.js").AutomationWhen;
|
|
2966
3230
|
actions: ({
|
|
2967
3231
|
kind: "cap";
|
|
2968
|
-
|
|
3232
|
+
actionId?: string | undefined;
|
|
3233
|
+
target?: {
|
|
3234
|
+
kind: "devices";
|
|
3235
|
+
ids: number[];
|
|
3236
|
+
} | {
|
|
3237
|
+
kind: "domain";
|
|
3238
|
+
deviceType?: DeviceType | undefined;
|
|
3239
|
+
roomId?: string | undefined;
|
|
3240
|
+
} | {
|
|
3241
|
+
kind: "var";
|
|
3242
|
+
name: string;
|
|
3243
|
+
} | undefined;
|
|
3244
|
+
deviceId?: number | number[] | {
|
|
2969
3245
|
$var: string;
|
|
2970
|
-
};
|
|
3246
|
+
} | undefined;
|
|
2971
3247
|
cap: string;
|
|
2972
3248
|
method: string;
|
|
2973
3249
|
args?: Record<string, unknown> | undefined;
|
|
@@ -3036,9 +3312,21 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
|
|
|
3036
3312
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
3037
3313
|
actions: ({
|
|
3038
3314
|
kind: "cap";
|
|
3039
|
-
|
|
3315
|
+
actionId?: string | undefined;
|
|
3316
|
+
target?: {
|
|
3317
|
+
kind: "devices";
|
|
3318
|
+
ids: number[];
|
|
3319
|
+
} | {
|
|
3320
|
+
kind: "domain";
|
|
3321
|
+
deviceType?: DeviceType | undefined;
|
|
3322
|
+
roomId?: string | undefined;
|
|
3323
|
+
} | {
|
|
3324
|
+
kind: "var";
|
|
3325
|
+
name: string;
|
|
3326
|
+
} | undefined;
|
|
3327
|
+
deviceId?: number | number[] | {
|
|
3040
3328
|
$var: string;
|
|
3041
|
-
};
|
|
3329
|
+
} | undefined;
|
|
3042
3330
|
cap: string;
|
|
3043
3331
|
method: string;
|
|
3044
3332
|
args?: Record<string, unknown> | undefined;
|
|
@@ -3385,9 +3673,21 @@ export declare const coreBlocksCapability: {
|
|
|
3385
3673
|
seconds: z.ZodNumber;
|
|
3386
3674
|
}, z.core.$strip>, z.ZodObject<{
|
|
3387
3675
|
kind: z.ZodLiteral<"cap">;
|
|
3388
|
-
|
|
3676
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
3677
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3678
|
+
kind: z.ZodLiteral<"devices">;
|
|
3679
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
3680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3681
|
+
kind: z.ZodLiteral<"domain">;
|
|
3682
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
3683
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
3684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3685
|
+
kind: z.ZodLiteral<"var">;
|
|
3686
|
+
name: z.ZodString;
|
|
3687
|
+
}, z.core.$strip>], "kind">>;
|
|
3688
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3389
3689
|
$var: z.ZodString;
|
|
3390
|
-
}, z.core.$strip>]
|
|
3690
|
+
}, z.core.$strip>]>>;
|
|
3391
3691
|
cap: z.ZodString;
|
|
3392
3692
|
method: z.ZodString;
|
|
3393
3693
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3459,9 +3759,21 @@ export declare const coreBlocksCapability: {
|
|
|
3459
3759
|
seconds: z.ZodNumber;
|
|
3460
3760
|
}, z.core.$strip>, z.ZodObject<{
|
|
3461
3761
|
kind: z.ZodLiteral<"cap">;
|
|
3462
|
-
|
|
3762
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
3763
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3764
|
+
kind: z.ZodLiteral<"devices">;
|
|
3765
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
3766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3767
|
+
kind: z.ZodLiteral<"domain">;
|
|
3768
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
3769
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
3770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3771
|
+
kind: z.ZodLiteral<"var">;
|
|
3772
|
+
name: z.ZodString;
|
|
3773
|
+
}, z.core.$strip>], "kind">>;
|
|
3774
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3463
3775
|
$var: z.ZodString;
|
|
3464
|
-
}, z.core.$strip>]
|
|
3776
|
+
}, z.core.$strip>]>>;
|
|
3465
3777
|
cap: z.ZodString;
|
|
3466
3778
|
method: z.ZodString;
|
|
3467
3779
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3493,9 +3805,21 @@ export declare const coreBlocksCapability: {
|
|
|
3493
3805
|
when: import("../index.js").AutomationWhen;
|
|
3494
3806
|
actions: ({
|
|
3495
3807
|
kind: "cap";
|
|
3496
|
-
|
|
3808
|
+
actionId?: string | undefined;
|
|
3809
|
+
target?: {
|
|
3810
|
+
kind: "devices";
|
|
3811
|
+
ids: number[];
|
|
3812
|
+
} | {
|
|
3813
|
+
kind: "domain";
|
|
3814
|
+
deviceType?: DeviceType | undefined;
|
|
3815
|
+
roomId?: string | undefined;
|
|
3816
|
+
} | {
|
|
3817
|
+
kind: "var";
|
|
3818
|
+
name: string;
|
|
3819
|
+
} | undefined;
|
|
3820
|
+
deviceId?: number | number[] | {
|
|
3497
3821
|
$var: string;
|
|
3498
|
-
};
|
|
3822
|
+
} | undefined;
|
|
3499
3823
|
cap: string;
|
|
3500
3824
|
method: string;
|
|
3501
3825
|
args?: Record<string, unknown> | undefined;
|
|
@@ -3564,9 +3888,21 @@ export declare const coreBlocksCapability: {
|
|
|
3564
3888
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
3565
3889
|
actions: ({
|
|
3566
3890
|
kind: "cap";
|
|
3567
|
-
|
|
3891
|
+
actionId?: string | undefined;
|
|
3892
|
+
target?: {
|
|
3893
|
+
kind: "devices";
|
|
3894
|
+
ids: number[];
|
|
3895
|
+
} | {
|
|
3896
|
+
kind: "domain";
|
|
3897
|
+
deviceType?: DeviceType | undefined;
|
|
3898
|
+
roomId?: string | undefined;
|
|
3899
|
+
} | {
|
|
3900
|
+
kind: "var";
|
|
3901
|
+
name: string;
|
|
3902
|
+
} | undefined;
|
|
3903
|
+
deviceId?: number | number[] | {
|
|
3568
3904
|
$var: string;
|
|
3569
|
-
};
|
|
3905
|
+
} | undefined;
|
|
3570
3906
|
cap: string;
|
|
3571
3907
|
method: string;
|
|
3572
3908
|
args?: Record<string, unknown> | undefined;
|
|
@@ -3851,9 +4187,21 @@ export declare const coreBlocksCapability: {
|
|
|
3851
4187
|
seconds: z.ZodNumber;
|
|
3852
4188
|
}, z.core.$strip>, z.ZodObject<{
|
|
3853
4189
|
kind: z.ZodLiteral<"cap">;
|
|
3854
|
-
|
|
4190
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
4191
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4192
|
+
kind: z.ZodLiteral<"devices">;
|
|
4193
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
4194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4195
|
+
kind: z.ZodLiteral<"domain">;
|
|
4196
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
4197
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
4198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4199
|
+
kind: z.ZodLiteral<"var">;
|
|
4200
|
+
name: z.ZodString;
|
|
4201
|
+
}, z.core.$strip>], "kind">>;
|
|
4202
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3855
4203
|
$var: z.ZodString;
|
|
3856
|
-
}, z.core.$strip>]
|
|
4204
|
+
}, z.core.$strip>]>>;
|
|
3857
4205
|
cap: z.ZodString;
|
|
3858
4206
|
method: z.ZodString;
|
|
3859
4207
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3925,9 +4273,21 @@ export declare const coreBlocksCapability: {
|
|
|
3925
4273
|
seconds: z.ZodNumber;
|
|
3926
4274
|
}, z.core.$strip>, z.ZodObject<{
|
|
3927
4275
|
kind: z.ZodLiteral<"cap">;
|
|
3928
|
-
|
|
4276
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
4277
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4278
|
+
kind: z.ZodLiteral<"devices">;
|
|
4279
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
4280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4281
|
+
kind: z.ZodLiteral<"domain">;
|
|
4282
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
4283
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
4284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4285
|
+
kind: z.ZodLiteral<"var">;
|
|
4286
|
+
name: z.ZodString;
|
|
4287
|
+
}, z.core.$strip>], "kind">>;
|
|
4288
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3929
4289
|
$var: z.ZodString;
|
|
3930
|
-
}, z.core.$strip>]
|
|
4290
|
+
}, z.core.$strip>]>>;
|
|
3931
4291
|
cap: z.ZodString;
|
|
3932
4292
|
method: z.ZodString;
|
|
3933
4293
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3959,9 +4319,21 @@ export declare const coreBlocksCapability: {
|
|
|
3959
4319
|
when: import("../index.js").AutomationWhen;
|
|
3960
4320
|
actions: ({
|
|
3961
4321
|
kind: "cap";
|
|
3962
|
-
|
|
4322
|
+
actionId?: string | undefined;
|
|
4323
|
+
target?: {
|
|
4324
|
+
kind: "devices";
|
|
4325
|
+
ids: number[];
|
|
4326
|
+
} | {
|
|
4327
|
+
kind: "domain";
|
|
4328
|
+
deviceType?: DeviceType | undefined;
|
|
4329
|
+
roomId?: string | undefined;
|
|
4330
|
+
} | {
|
|
4331
|
+
kind: "var";
|
|
4332
|
+
name: string;
|
|
4333
|
+
} | undefined;
|
|
4334
|
+
deviceId?: number | number[] | {
|
|
3963
4335
|
$var: string;
|
|
3964
|
-
};
|
|
4336
|
+
} | undefined;
|
|
3965
4337
|
cap: string;
|
|
3966
4338
|
method: string;
|
|
3967
4339
|
args?: Record<string, unknown> | undefined;
|
|
@@ -4030,9 +4402,21 @@ export declare const coreBlocksCapability: {
|
|
|
4030
4402
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
4031
4403
|
actions: ({
|
|
4032
4404
|
kind: "cap";
|
|
4033
|
-
|
|
4405
|
+
actionId?: string | undefined;
|
|
4406
|
+
target?: {
|
|
4407
|
+
kind: "devices";
|
|
4408
|
+
ids: number[];
|
|
4409
|
+
} | {
|
|
4410
|
+
kind: "domain";
|
|
4411
|
+
deviceType?: DeviceType | undefined;
|
|
4412
|
+
roomId?: string | undefined;
|
|
4413
|
+
} | {
|
|
4414
|
+
kind: "var";
|
|
4415
|
+
name: string;
|
|
4416
|
+
} | undefined;
|
|
4417
|
+
deviceId?: number | number[] | {
|
|
4034
4418
|
$var: string;
|
|
4035
|
-
};
|
|
4419
|
+
} | undefined;
|
|
4036
4420
|
cap: string;
|
|
4037
4421
|
method: string;
|
|
4038
4422
|
args?: Record<string, unknown> | undefined;
|
|
@@ -4331,9 +4715,21 @@ export declare const coreBlocksCapability: {
|
|
|
4331
4715
|
seconds: z.ZodNumber;
|
|
4332
4716
|
}, z.core.$strip>, z.ZodObject<{
|
|
4333
4717
|
kind: z.ZodLiteral<"cap">;
|
|
4334
|
-
|
|
4718
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
4719
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4720
|
+
kind: z.ZodLiteral<"devices">;
|
|
4721
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
4722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4723
|
+
kind: z.ZodLiteral<"domain">;
|
|
4724
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
4725
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
4726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4727
|
+
kind: z.ZodLiteral<"var">;
|
|
4728
|
+
name: z.ZodString;
|
|
4729
|
+
}, z.core.$strip>], "kind">>;
|
|
4730
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
4335
4731
|
$var: z.ZodString;
|
|
4336
|
-
}, z.core.$strip>]
|
|
4732
|
+
}, z.core.$strip>]>>;
|
|
4337
4733
|
cap: z.ZodString;
|
|
4338
4734
|
method: z.ZodString;
|
|
4339
4735
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4405,9 +4801,21 @@ export declare const coreBlocksCapability: {
|
|
|
4405
4801
|
seconds: z.ZodNumber;
|
|
4406
4802
|
}, z.core.$strip>, z.ZodObject<{
|
|
4407
4803
|
kind: z.ZodLiteral<"cap">;
|
|
4408
|
-
|
|
4804
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
4805
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4806
|
+
kind: z.ZodLiteral<"devices">;
|
|
4807
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
4808
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4809
|
+
kind: z.ZodLiteral<"domain">;
|
|
4810
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
4811
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
4812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4813
|
+
kind: z.ZodLiteral<"var">;
|
|
4814
|
+
name: z.ZodString;
|
|
4815
|
+
}, z.core.$strip>], "kind">>;
|
|
4816
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
4409
4817
|
$var: z.ZodString;
|
|
4410
|
-
}, z.core.$strip>]
|
|
4818
|
+
}, z.core.$strip>]>>;
|
|
4411
4819
|
cap: z.ZodString;
|
|
4412
4820
|
method: z.ZodString;
|
|
4413
4821
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4439,9 +4847,21 @@ export declare const coreBlocksCapability: {
|
|
|
4439
4847
|
when: import("../index.js").AutomationWhen;
|
|
4440
4848
|
actions: ({
|
|
4441
4849
|
kind: "cap";
|
|
4442
|
-
|
|
4850
|
+
actionId?: string | undefined;
|
|
4851
|
+
target?: {
|
|
4852
|
+
kind: "devices";
|
|
4853
|
+
ids: number[];
|
|
4854
|
+
} | {
|
|
4855
|
+
kind: "domain";
|
|
4856
|
+
deviceType?: DeviceType | undefined;
|
|
4857
|
+
roomId?: string | undefined;
|
|
4858
|
+
} | {
|
|
4859
|
+
kind: "var";
|
|
4860
|
+
name: string;
|
|
4861
|
+
} | undefined;
|
|
4862
|
+
deviceId?: number | number[] | {
|
|
4443
4863
|
$var: string;
|
|
4444
|
-
};
|
|
4864
|
+
} | undefined;
|
|
4445
4865
|
cap: string;
|
|
4446
4866
|
method: string;
|
|
4447
4867
|
args?: Record<string, unknown> | undefined;
|
|
@@ -4510,9 +4930,21 @@ export declare const coreBlocksCapability: {
|
|
|
4510
4930
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
4511
4931
|
actions: ({
|
|
4512
4932
|
kind: "cap";
|
|
4513
|
-
|
|
4933
|
+
actionId?: string | undefined;
|
|
4934
|
+
target?: {
|
|
4935
|
+
kind: "devices";
|
|
4936
|
+
ids: number[];
|
|
4937
|
+
} | {
|
|
4938
|
+
kind: "domain";
|
|
4939
|
+
deviceType?: DeviceType | undefined;
|
|
4940
|
+
roomId?: string | undefined;
|
|
4941
|
+
} | {
|
|
4942
|
+
kind: "var";
|
|
4943
|
+
name: string;
|
|
4944
|
+
} | undefined;
|
|
4945
|
+
deviceId?: number | number[] | {
|
|
4514
4946
|
$var: string;
|
|
4515
|
-
};
|
|
4947
|
+
} | undefined;
|
|
4516
4948
|
cap: string;
|
|
4517
4949
|
method: string;
|
|
4518
4950
|
args?: Record<string, unknown> | undefined;
|
|
@@ -4809,9 +5241,21 @@ export declare const coreBlocksCapability: {
|
|
|
4809
5241
|
seconds: z.ZodNumber;
|
|
4810
5242
|
}, z.core.$strip>, z.ZodObject<{
|
|
4811
5243
|
kind: z.ZodLiteral<"cap">;
|
|
4812
|
-
|
|
5244
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
5245
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5246
|
+
kind: z.ZodLiteral<"devices">;
|
|
5247
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
5248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5249
|
+
kind: z.ZodLiteral<"domain">;
|
|
5250
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
5251
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
5252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5253
|
+
kind: z.ZodLiteral<"var">;
|
|
5254
|
+
name: z.ZodString;
|
|
5255
|
+
}, z.core.$strip>], "kind">>;
|
|
5256
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
4813
5257
|
$var: z.ZodString;
|
|
4814
|
-
}, z.core.$strip>]
|
|
5258
|
+
}, z.core.$strip>]>>;
|
|
4815
5259
|
cap: z.ZodString;
|
|
4816
5260
|
method: z.ZodString;
|
|
4817
5261
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4883,9 +5327,21 @@ export declare const coreBlocksCapability: {
|
|
|
4883
5327
|
seconds: z.ZodNumber;
|
|
4884
5328
|
}, z.core.$strip>, z.ZodObject<{
|
|
4885
5329
|
kind: z.ZodLiteral<"cap">;
|
|
4886
|
-
|
|
5330
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
5331
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5332
|
+
kind: z.ZodLiteral<"devices">;
|
|
5333
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
5334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5335
|
+
kind: z.ZodLiteral<"domain">;
|
|
5336
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
5337
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
5338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5339
|
+
kind: z.ZodLiteral<"var">;
|
|
5340
|
+
name: z.ZodString;
|
|
5341
|
+
}, z.core.$strip>], "kind">>;
|
|
5342
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
4887
5343
|
$var: z.ZodString;
|
|
4888
|
-
}, z.core.$strip>]
|
|
5344
|
+
}, z.core.$strip>]>>;
|
|
4889
5345
|
cap: z.ZodString;
|
|
4890
5346
|
method: z.ZodString;
|
|
4891
5347
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4917,9 +5373,21 @@ export declare const coreBlocksCapability: {
|
|
|
4917
5373
|
when: import("../index.js").AutomationWhen;
|
|
4918
5374
|
actions: ({
|
|
4919
5375
|
kind: "cap";
|
|
4920
|
-
|
|
5376
|
+
actionId?: string | undefined;
|
|
5377
|
+
target?: {
|
|
5378
|
+
kind: "devices";
|
|
5379
|
+
ids: number[];
|
|
5380
|
+
} | {
|
|
5381
|
+
kind: "domain";
|
|
5382
|
+
deviceType?: DeviceType | undefined;
|
|
5383
|
+
roomId?: string | undefined;
|
|
5384
|
+
} | {
|
|
5385
|
+
kind: "var";
|
|
5386
|
+
name: string;
|
|
5387
|
+
} | undefined;
|
|
5388
|
+
deviceId?: number | number[] | {
|
|
4921
5389
|
$var: string;
|
|
4922
|
-
};
|
|
5390
|
+
} | undefined;
|
|
4923
5391
|
cap: string;
|
|
4924
5392
|
method: string;
|
|
4925
5393
|
args?: Record<string, unknown> | undefined;
|
|
@@ -4988,9 +5456,21 @@ export declare const coreBlocksCapability: {
|
|
|
4988
5456
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
4989
5457
|
actions: ({
|
|
4990
5458
|
kind: "cap";
|
|
4991
|
-
|
|
5459
|
+
actionId?: string | undefined;
|
|
5460
|
+
target?: {
|
|
5461
|
+
kind: "devices";
|
|
5462
|
+
ids: number[];
|
|
5463
|
+
} | {
|
|
5464
|
+
kind: "domain";
|
|
5465
|
+
deviceType?: DeviceType | undefined;
|
|
5466
|
+
roomId?: string | undefined;
|
|
5467
|
+
} | {
|
|
5468
|
+
kind: "var";
|
|
5469
|
+
name: string;
|
|
5470
|
+
} | undefined;
|
|
5471
|
+
deviceId?: number | number[] | {
|
|
4992
5472
|
$var: string;
|
|
4993
|
-
};
|
|
5473
|
+
} | undefined;
|
|
4994
5474
|
cap: string;
|
|
4995
5475
|
method: string;
|
|
4996
5476
|
args?: Record<string, unknown> | undefined;
|
|
@@ -5283,9 +5763,21 @@ export declare const coreBlocksCapability: {
|
|
|
5283
5763
|
seconds: z.ZodNumber;
|
|
5284
5764
|
}, z.core.$strip>, z.ZodObject<{
|
|
5285
5765
|
kind: z.ZodLiteral<"cap">;
|
|
5286
|
-
|
|
5766
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
5767
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5768
|
+
kind: z.ZodLiteral<"devices">;
|
|
5769
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
5770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5771
|
+
kind: z.ZodLiteral<"domain">;
|
|
5772
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
5773
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
5774
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5775
|
+
kind: z.ZodLiteral<"var">;
|
|
5776
|
+
name: z.ZodString;
|
|
5777
|
+
}, z.core.$strip>], "kind">>;
|
|
5778
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
5287
5779
|
$var: z.ZodString;
|
|
5288
|
-
}, z.core.$strip>]
|
|
5780
|
+
}, z.core.$strip>]>>;
|
|
5289
5781
|
cap: z.ZodString;
|
|
5290
5782
|
method: z.ZodString;
|
|
5291
5783
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -5357,9 +5849,21 @@ export declare const coreBlocksCapability: {
|
|
|
5357
5849
|
seconds: z.ZodNumber;
|
|
5358
5850
|
}, z.core.$strip>, z.ZodObject<{
|
|
5359
5851
|
kind: z.ZodLiteral<"cap">;
|
|
5360
|
-
|
|
5852
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
5853
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5854
|
+
kind: z.ZodLiteral<"devices">;
|
|
5855
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
5856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5857
|
+
kind: z.ZodLiteral<"domain">;
|
|
5858
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
5859
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
5860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5861
|
+
kind: z.ZodLiteral<"var">;
|
|
5862
|
+
name: z.ZodString;
|
|
5863
|
+
}, z.core.$strip>], "kind">>;
|
|
5864
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
5361
5865
|
$var: z.ZodString;
|
|
5362
|
-
}, z.core.$strip>]
|
|
5866
|
+
}, z.core.$strip>]>>;
|
|
5363
5867
|
cap: z.ZodString;
|
|
5364
5868
|
method: z.ZodString;
|
|
5365
5869
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -5391,9 +5895,21 @@ export declare const coreBlocksCapability: {
|
|
|
5391
5895
|
when: import("../index.js").AutomationWhen;
|
|
5392
5896
|
actions: ({
|
|
5393
5897
|
kind: "cap";
|
|
5394
|
-
|
|
5898
|
+
actionId?: string | undefined;
|
|
5899
|
+
target?: {
|
|
5900
|
+
kind: "devices";
|
|
5901
|
+
ids: number[];
|
|
5902
|
+
} | {
|
|
5903
|
+
kind: "domain";
|
|
5904
|
+
deviceType?: DeviceType | undefined;
|
|
5905
|
+
roomId?: string | undefined;
|
|
5906
|
+
} | {
|
|
5907
|
+
kind: "var";
|
|
5908
|
+
name: string;
|
|
5909
|
+
} | undefined;
|
|
5910
|
+
deviceId?: number | number[] | {
|
|
5395
5911
|
$var: string;
|
|
5396
|
-
};
|
|
5912
|
+
} | undefined;
|
|
5397
5913
|
cap: string;
|
|
5398
5914
|
method: string;
|
|
5399
5915
|
args?: Record<string, unknown> | undefined;
|
|
@@ -5462,9 +5978,21 @@ export declare const coreBlocksCapability: {
|
|
|
5462
5978
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
5463
5979
|
actions: ({
|
|
5464
5980
|
kind: "cap";
|
|
5465
|
-
|
|
5981
|
+
actionId?: string | undefined;
|
|
5982
|
+
target?: {
|
|
5983
|
+
kind: "devices";
|
|
5984
|
+
ids: number[];
|
|
5985
|
+
} | {
|
|
5986
|
+
kind: "domain";
|
|
5987
|
+
deviceType?: DeviceType | undefined;
|
|
5988
|
+
roomId?: string | undefined;
|
|
5989
|
+
} | {
|
|
5990
|
+
kind: "var";
|
|
5991
|
+
name: string;
|
|
5992
|
+
} | undefined;
|
|
5993
|
+
deviceId?: number | number[] | {
|
|
5466
5994
|
$var: string;
|
|
5467
|
-
};
|
|
5995
|
+
} | undefined;
|
|
5468
5996
|
cap: string;
|
|
5469
5997
|
method: string;
|
|
5470
5998
|
args?: Record<string, unknown> | undefined;
|
|
@@ -5762,9 +6290,21 @@ export declare const coreBlocksCapability: {
|
|
|
5762
6290
|
seconds: z.ZodNumber;
|
|
5763
6291
|
}, z.core.$strip>, z.ZodObject<{
|
|
5764
6292
|
kind: z.ZodLiteral<"cap">;
|
|
5765
|
-
|
|
6293
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
6294
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6295
|
+
kind: z.ZodLiteral<"devices">;
|
|
6296
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
6297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6298
|
+
kind: z.ZodLiteral<"domain">;
|
|
6299
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
6300
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
6301
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6302
|
+
kind: z.ZodLiteral<"var">;
|
|
6303
|
+
name: z.ZodString;
|
|
6304
|
+
}, z.core.$strip>], "kind">>;
|
|
6305
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
5766
6306
|
$var: z.ZodString;
|
|
5767
|
-
}, z.core.$strip>]
|
|
6307
|
+
}, z.core.$strip>]>>;
|
|
5768
6308
|
cap: z.ZodString;
|
|
5769
6309
|
method: z.ZodString;
|
|
5770
6310
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -5836,9 +6376,21 @@ export declare const coreBlocksCapability: {
|
|
|
5836
6376
|
seconds: z.ZodNumber;
|
|
5837
6377
|
}, z.core.$strip>, z.ZodObject<{
|
|
5838
6378
|
kind: z.ZodLiteral<"cap">;
|
|
5839
|
-
|
|
6379
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
6380
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6381
|
+
kind: z.ZodLiteral<"devices">;
|
|
6382
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
6383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6384
|
+
kind: z.ZodLiteral<"domain">;
|
|
6385
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
6386
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
6387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6388
|
+
kind: z.ZodLiteral<"var">;
|
|
6389
|
+
name: z.ZodString;
|
|
6390
|
+
}, z.core.$strip>], "kind">>;
|
|
6391
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
5840
6392
|
$var: z.ZodString;
|
|
5841
|
-
}, z.core.$strip>]
|
|
6393
|
+
}, z.core.$strip>]>>;
|
|
5842
6394
|
cap: z.ZodString;
|
|
5843
6395
|
method: z.ZodString;
|
|
5844
6396
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -5870,9 +6422,21 @@ export declare const coreBlocksCapability: {
|
|
|
5870
6422
|
when: import("../index.js").AutomationWhen;
|
|
5871
6423
|
actions: ({
|
|
5872
6424
|
kind: "cap";
|
|
5873
|
-
|
|
6425
|
+
actionId?: string | undefined;
|
|
6426
|
+
target?: {
|
|
6427
|
+
kind: "devices";
|
|
6428
|
+
ids: number[];
|
|
6429
|
+
} | {
|
|
6430
|
+
kind: "domain";
|
|
6431
|
+
deviceType?: DeviceType | undefined;
|
|
6432
|
+
roomId?: string | undefined;
|
|
6433
|
+
} | {
|
|
6434
|
+
kind: "var";
|
|
6435
|
+
name: string;
|
|
6436
|
+
} | undefined;
|
|
6437
|
+
deviceId?: number | number[] | {
|
|
5874
6438
|
$var: string;
|
|
5875
|
-
};
|
|
6439
|
+
} | undefined;
|
|
5876
6440
|
cap: string;
|
|
5877
6441
|
method: string;
|
|
5878
6442
|
args?: Record<string, unknown> | undefined;
|
|
@@ -5941,9 +6505,21 @@ export declare const coreBlocksCapability: {
|
|
|
5941
6505
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
5942
6506
|
actions: ({
|
|
5943
6507
|
kind: "cap";
|
|
5944
|
-
|
|
6508
|
+
actionId?: string | undefined;
|
|
6509
|
+
target?: {
|
|
6510
|
+
kind: "devices";
|
|
6511
|
+
ids: number[];
|
|
6512
|
+
} | {
|
|
6513
|
+
kind: "domain";
|
|
6514
|
+
deviceType?: DeviceType | undefined;
|
|
6515
|
+
roomId?: string | undefined;
|
|
6516
|
+
} | {
|
|
6517
|
+
kind: "var";
|
|
6518
|
+
name: string;
|
|
6519
|
+
} | undefined;
|
|
6520
|
+
deviceId?: number | number[] | {
|
|
5945
6521
|
$var: string;
|
|
5946
|
-
};
|
|
6522
|
+
} | undefined;
|
|
5947
6523
|
cap: string;
|
|
5948
6524
|
method: string;
|
|
5949
6525
|
args?: Record<string, unknown> | undefined;
|
|
@@ -6547,9 +7123,21 @@ export declare const coreBlocksCapability: {
|
|
|
6547
7123
|
seconds: z.ZodNumber;
|
|
6548
7124
|
}, z.core.$strip>, z.ZodObject<{
|
|
6549
7125
|
kind: z.ZodLiteral<"cap">;
|
|
6550
|
-
|
|
7126
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
7127
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7128
|
+
kind: z.ZodLiteral<"devices">;
|
|
7129
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
7130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7131
|
+
kind: z.ZodLiteral<"domain">;
|
|
7132
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
7133
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
7134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7135
|
+
kind: z.ZodLiteral<"var">;
|
|
7136
|
+
name: z.ZodString;
|
|
7137
|
+
}, z.core.$strip>], "kind">>;
|
|
7138
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
6551
7139
|
$var: z.ZodString;
|
|
6552
|
-
}, z.core.$strip>]
|
|
7140
|
+
}, z.core.$strip>]>>;
|
|
6553
7141
|
cap: z.ZodString;
|
|
6554
7142
|
method: z.ZodString;
|
|
6555
7143
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6621,9 +7209,21 @@ export declare const coreBlocksCapability: {
|
|
|
6621
7209
|
seconds: z.ZodNumber;
|
|
6622
7210
|
}, z.core.$strip>, z.ZodObject<{
|
|
6623
7211
|
kind: z.ZodLiteral<"cap">;
|
|
6624
|
-
|
|
7212
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
7213
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7214
|
+
kind: z.ZodLiteral<"devices">;
|
|
7215
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
7216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7217
|
+
kind: z.ZodLiteral<"domain">;
|
|
7218
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
7219
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
7220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7221
|
+
kind: z.ZodLiteral<"var">;
|
|
7222
|
+
name: z.ZodString;
|
|
7223
|
+
}, z.core.$strip>], "kind">>;
|
|
7224
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
6625
7225
|
$var: z.ZodString;
|
|
6626
|
-
}, z.core.$strip>]
|
|
7226
|
+
}, z.core.$strip>]>>;
|
|
6627
7227
|
cap: z.ZodString;
|
|
6628
7228
|
method: z.ZodString;
|
|
6629
7229
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6655,9 +7255,21 @@ export declare const coreBlocksCapability: {
|
|
|
6655
7255
|
when: import("../index.js").AutomationWhen;
|
|
6656
7256
|
actions: ({
|
|
6657
7257
|
kind: "cap";
|
|
6658
|
-
|
|
7258
|
+
actionId?: string | undefined;
|
|
7259
|
+
target?: {
|
|
7260
|
+
kind: "devices";
|
|
7261
|
+
ids: number[];
|
|
7262
|
+
} | {
|
|
7263
|
+
kind: "domain";
|
|
7264
|
+
deviceType?: DeviceType | undefined;
|
|
7265
|
+
roomId?: string | undefined;
|
|
7266
|
+
} | {
|
|
7267
|
+
kind: "var";
|
|
7268
|
+
name: string;
|
|
7269
|
+
} | undefined;
|
|
7270
|
+
deviceId?: number | number[] | {
|
|
6659
7271
|
$var: string;
|
|
6660
|
-
};
|
|
7272
|
+
} | undefined;
|
|
6661
7273
|
cap: string;
|
|
6662
7274
|
method: string;
|
|
6663
7275
|
args?: Record<string, unknown> | undefined;
|
|
@@ -6726,9 +7338,21 @@ export declare const coreBlocksCapability: {
|
|
|
6726
7338
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
6727
7339
|
actions: ({
|
|
6728
7340
|
kind: "cap";
|
|
6729
|
-
|
|
7341
|
+
actionId?: string | undefined;
|
|
7342
|
+
target?: {
|
|
7343
|
+
kind: "devices";
|
|
7344
|
+
ids: number[];
|
|
7345
|
+
} | {
|
|
7346
|
+
kind: "domain";
|
|
7347
|
+
deviceType?: DeviceType | undefined;
|
|
7348
|
+
roomId?: string | undefined;
|
|
7349
|
+
} | {
|
|
7350
|
+
kind: "var";
|
|
7351
|
+
name: string;
|
|
7352
|
+
} | undefined;
|
|
7353
|
+
deviceId?: number | number[] | {
|
|
6730
7354
|
$var: string;
|
|
6731
|
-
};
|
|
7355
|
+
} | undefined;
|
|
6732
7356
|
cap: string;
|
|
6733
7357
|
method: string;
|
|
6734
7358
|
args?: Record<string, unknown> | undefined;
|
|
@@ -7236,9 +7860,21 @@ export declare const coreBlocksCapability: {
|
|
|
7236
7860
|
seconds: z.ZodNumber;
|
|
7237
7861
|
}, z.core.$strip>, z.ZodObject<{
|
|
7238
7862
|
kind: z.ZodLiteral<"cap">;
|
|
7239
|
-
|
|
7863
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
7864
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7865
|
+
kind: z.ZodLiteral<"devices">;
|
|
7866
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
7867
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7868
|
+
kind: z.ZodLiteral<"domain">;
|
|
7869
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
7870
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
7871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7872
|
+
kind: z.ZodLiteral<"var">;
|
|
7873
|
+
name: z.ZodString;
|
|
7874
|
+
}, z.core.$strip>], "kind">>;
|
|
7875
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
7240
7876
|
$var: z.ZodString;
|
|
7241
|
-
}, z.core.$strip>]
|
|
7877
|
+
}, z.core.$strip>]>>;
|
|
7242
7878
|
cap: z.ZodString;
|
|
7243
7879
|
method: z.ZodString;
|
|
7244
7880
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7310,9 +7946,21 @@ export declare const coreBlocksCapability: {
|
|
|
7310
7946
|
seconds: z.ZodNumber;
|
|
7311
7947
|
}, z.core.$strip>, z.ZodObject<{
|
|
7312
7948
|
kind: z.ZodLiteral<"cap">;
|
|
7313
|
-
|
|
7949
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
7950
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7951
|
+
kind: z.ZodLiteral<"devices">;
|
|
7952
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
7953
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7954
|
+
kind: z.ZodLiteral<"domain">;
|
|
7955
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
7956
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
7957
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7958
|
+
kind: z.ZodLiteral<"var">;
|
|
7959
|
+
name: z.ZodString;
|
|
7960
|
+
}, z.core.$strip>], "kind">>;
|
|
7961
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
7314
7962
|
$var: z.ZodString;
|
|
7315
|
-
}, z.core.$strip>]
|
|
7963
|
+
}, z.core.$strip>]>>;
|
|
7316
7964
|
cap: z.ZodString;
|
|
7317
7965
|
method: z.ZodString;
|
|
7318
7966
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7344,9 +7992,21 @@ export declare const coreBlocksCapability: {
|
|
|
7344
7992
|
when: import("../index.js").AutomationWhen;
|
|
7345
7993
|
actions: ({
|
|
7346
7994
|
kind: "cap";
|
|
7347
|
-
|
|
7995
|
+
actionId?: string | undefined;
|
|
7996
|
+
target?: {
|
|
7997
|
+
kind: "devices";
|
|
7998
|
+
ids: number[];
|
|
7999
|
+
} | {
|
|
8000
|
+
kind: "domain";
|
|
8001
|
+
deviceType?: DeviceType | undefined;
|
|
8002
|
+
roomId?: string | undefined;
|
|
8003
|
+
} | {
|
|
8004
|
+
kind: "var";
|
|
8005
|
+
name: string;
|
|
8006
|
+
} | undefined;
|
|
8007
|
+
deviceId?: number | number[] | {
|
|
7348
8008
|
$var: string;
|
|
7349
|
-
};
|
|
8009
|
+
} | undefined;
|
|
7350
8010
|
cap: string;
|
|
7351
8011
|
method: string;
|
|
7352
8012
|
args?: Record<string, unknown> | undefined;
|
|
@@ -7415,9 +8075,21 @@ export declare const coreBlocksCapability: {
|
|
|
7415
8075
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
7416
8076
|
actions: ({
|
|
7417
8077
|
kind: "cap";
|
|
7418
|
-
|
|
8078
|
+
actionId?: string | undefined;
|
|
8079
|
+
target?: {
|
|
8080
|
+
kind: "devices";
|
|
8081
|
+
ids: number[];
|
|
8082
|
+
} | {
|
|
8083
|
+
kind: "domain";
|
|
8084
|
+
deviceType?: DeviceType | undefined;
|
|
8085
|
+
roomId?: string | undefined;
|
|
8086
|
+
} | {
|
|
8087
|
+
kind: "var";
|
|
8088
|
+
name: string;
|
|
8089
|
+
} | undefined;
|
|
8090
|
+
deviceId?: number | number[] | {
|
|
7419
8091
|
$var: string;
|
|
7420
|
-
};
|
|
8092
|
+
} | undefined;
|
|
7421
8093
|
cap: string;
|
|
7422
8094
|
method: string;
|
|
7423
8095
|
args?: Record<string, unknown> | undefined;
|
|
@@ -7707,9 +8379,21 @@ export declare const coreBlocksCapability: {
|
|
|
7707
8379
|
seconds: z.ZodNumber;
|
|
7708
8380
|
}, z.core.$strip>, z.ZodObject<{
|
|
7709
8381
|
kind: z.ZodLiteral<"cap">;
|
|
7710
|
-
|
|
8382
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
8383
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8384
|
+
kind: z.ZodLiteral<"devices">;
|
|
8385
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
8386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8387
|
+
kind: z.ZodLiteral<"domain">;
|
|
8388
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
8389
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
8390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8391
|
+
kind: z.ZodLiteral<"var">;
|
|
8392
|
+
name: z.ZodString;
|
|
8393
|
+
}, z.core.$strip>], "kind">>;
|
|
8394
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
7711
8395
|
$var: z.ZodString;
|
|
7712
|
-
}, z.core.$strip>]
|
|
8396
|
+
}, z.core.$strip>]>>;
|
|
7713
8397
|
cap: z.ZodString;
|
|
7714
8398
|
method: z.ZodString;
|
|
7715
8399
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7781,9 +8465,21 @@ export declare const coreBlocksCapability: {
|
|
|
7781
8465
|
seconds: z.ZodNumber;
|
|
7782
8466
|
}, z.core.$strip>, z.ZodObject<{
|
|
7783
8467
|
kind: z.ZodLiteral<"cap">;
|
|
7784
|
-
|
|
8468
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
8469
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8470
|
+
kind: z.ZodLiteral<"devices">;
|
|
8471
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
8472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8473
|
+
kind: z.ZodLiteral<"domain">;
|
|
8474
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
8475
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
8476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8477
|
+
kind: z.ZodLiteral<"var">;
|
|
8478
|
+
name: z.ZodString;
|
|
8479
|
+
}, z.core.$strip>], "kind">>;
|
|
8480
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
7785
8481
|
$var: z.ZodString;
|
|
7786
|
-
}, z.core.$strip>]
|
|
8482
|
+
}, z.core.$strip>]>>;
|
|
7787
8483
|
cap: z.ZodString;
|
|
7788
8484
|
method: z.ZodString;
|
|
7789
8485
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7815,9 +8511,21 @@ export declare const coreBlocksCapability: {
|
|
|
7815
8511
|
when: import("../index.js").AutomationWhen;
|
|
7816
8512
|
actions: ({
|
|
7817
8513
|
kind: "cap";
|
|
7818
|
-
|
|
8514
|
+
actionId?: string | undefined;
|
|
8515
|
+
target?: {
|
|
8516
|
+
kind: "devices";
|
|
8517
|
+
ids: number[];
|
|
8518
|
+
} | {
|
|
8519
|
+
kind: "domain";
|
|
8520
|
+
deviceType?: DeviceType | undefined;
|
|
8521
|
+
roomId?: string | undefined;
|
|
8522
|
+
} | {
|
|
8523
|
+
kind: "var";
|
|
8524
|
+
name: string;
|
|
8525
|
+
} | undefined;
|
|
8526
|
+
deviceId?: number | number[] | {
|
|
7819
8527
|
$var: string;
|
|
7820
|
-
};
|
|
8528
|
+
} | undefined;
|
|
7821
8529
|
cap: string;
|
|
7822
8530
|
method: string;
|
|
7823
8531
|
args?: Record<string, unknown> | undefined;
|
|
@@ -7886,9 +8594,21 @@ export declare const coreBlocksCapability: {
|
|
|
7886
8594
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
7887
8595
|
actions: ({
|
|
7888
8596
|
kind: "cap";
|
|
7889
|
-
|
|
8597
|
+
actionId?: string | undefined;
|
|
8598
|
+
target?: {
|
|
8599
|
+
kind: "devices";
|
|
8600
|
+
ids: number[];
|
|
8601
|
+
} | {
|
|
8602
|
+
kind: "domain";
|
|
8603
|
+
deviceType?: DeviceType | undefined;
|
|
8604
|
+
roomId?: string | undefined;
|
|
8605
|
+
} | {
|
|
8606
|
+
kind: "var";
|
|
8607
|
+
name: string;
|
|
8608
|
+
} | undefined;
|
|
8609
|
+
deviceId?: number | number[] | {
|
|
7890
8610
|
$var: string;
|
|
7891
|
-
};
|
|
8611
|
+
} | undefined;
|
|
7892
8612
|
cap: string;
|
|
7893
8613
|
method: string;
|
|
7894
8614
|
args?: Record<string, unknown> | undefined;
|
|
@@ -8213,9 +8933,21 @@ export declare const coreBlocksCapability: {
|
|
|
8213
8933
|
seconds: z.ZodNumber;
|
|
8214
8934
|
}, z.core.$strip>, z.ZodObject<{
|
|
8215
8935
|
kind: z.ZodLiteral<"cap">;
|
|
8216
|
-
|
|
8936
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
8937
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8938
|
+
kind: z.ZodLiteral<"devices">;
|
|
8939
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
8940
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8941
|
+
kind: z.ZodLiteral<"domain">;
|
|
8942
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
8943
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
8944
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8945
|
+
kind: z.ZodLiteral<"var">;
|
|
8946
|
+
name: z.ZodString;
|
|
8947
|
+
}, z.core.$strip>], "kind">>;
|
|
8948
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
8217
8949
|
$var: z.ZodString;
|
|
8218
|
-
}, z.core.$strip>]
|
|
8950
|
+
}, z.core.$strip>]>>;
|
|
8219
8951
|
cap: z.ZodString;
|
|
8220
8952
|
method: z.ZodString;
|
|
8221
8953
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8287,9 +9019,21 @@ export declare const coreBlocksCapability: {
|
|
|
8287
9019
|
seconds: z.ZodNumber;
|
|
8288
9020
|
}, z.core.$strip>, z.ZodObject<{
|
|
8289
9021
|
kind: z.ZodLiteral<"cap">;
|
|
8290
|
-
|
|
9022
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9023
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9024
|
+
kind: z.ZodLiteral<"devices">;
|
|
9025
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
9026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9027
|
+
kind: z.ZodLiteral<"domain">;
|
|
9028
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
9029
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
9030
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9031
|
+
kind: z.ZodLiteral<"var">;
|
|
9032
|
+
name: z.ZodString;
|
|
9033
|
+
}, z.core.$strip>], "kind">>;
|
|
9034
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
8291
9035
|
$var: z.ZodString;
|
|
8292
|
-
}, z.core.$strip>]
|
|
9036
|
+
}, z.core.$strip>]>>;
|
|
8293
9037
|
cap: z.ZodString;
|
|
8294
9038
|
method: z.ZodString;
|
|
8295
9039
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8321,9 +9065,21 @@ export declare const coreBlocksCapability: {
|
|
|
8321
9065
|
when: import("../index.js").AutomationWhen;
|
|
8322
9066
|
actions: ({
|
|
8323
9067
|
kind: "cap";
|
|
8324
|
-
|
|
9068
|
+
actionId?: string | undefined;
|
|
9069
|
+
target?: {
|
|
9070
|
+
kind: "devices";
|
|
9071
|
+
ids: number[];
|
|
9072
|
+
} | {
|
|
9073
|
+
kind: "domain";
|
|
9074
|
+
deviceType?: DeviceType | undefined;
|
|
9075
|
+
roomId?: string | undefined;
|
|
9076
|
+
} | {
|
|
9077
|
+
kind: "var";
|
|
9078
|
+
name: string;
|
|
9079
|
+
} | undefined;
|
|
9080
|
+
deviceId?: number | number[] | {
|
|
8325
9081
|
$var: string;
|
|
8326
|
-
};
|
|
9082
|
+
} | undefined;
|
|
8327
9083
|
cap: string;
|
|
8328
9084
|
method: string;
|
|
8329
9085
|
args?: Record<string, unknown> | undefined;
|
|
@@ -8392,9 +9148,21 @@ export declare const coreBlocksCapability: {
|
|
|
8392
9148
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
8393
9149
|
actions: ({
|
|
8394
9150
|
kind: "cap";
|
|
8395
|
-
|
|
9151
|
+
actionId?: string | undefined;
|
|
9152
|
+
target?: {
|
|
9153
|
+
kind: "devices";
|
|
9154
|
+
ids: number[];
|
|
9155
|
+
} | {
|
|
9156
|
+
kind: "domain";
|
|
9157
|
+
deviceType?: DeviceType | undefined;
|
|
9158
|
+
roomId?: string | undefined;
|
|
9159
|
+
} | {
|
|
9160
|
+
kind: "var";
|
|
9161
|
+
name: string;
|
|
9162
|
+
} | undefined;
|
|
9163
|
+
deviceId?: number | number[] | {
|
|
8396
9164
|
$var: string;
|
|
8397
|
-
};
|
|
9165
|
+
} | undefined;
|
|
8398
9166
|
cap: string;
|
|
8399
9167
|
method: string;
|
|
8400
9168
|
args?: Record<string, unknown> | undefined;
|
|
@@ -8726,9 +9494,21 @@ export declare const coreBlocksCapability: {
|
|
|
8726
9494
|
seconds: z.ZodNumber;
|
|
8727
9495
|
}, z.core.$strip>, z.ZodObject<{
|
|
8728
9496
|
kind: z.ZodLiteral<"cap">;
|
|
8729
|
-
|
|
9497
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9498
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9499
|
+
kind: z.ZodLiteral<"devices">;
|
|
9500
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
9501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9502
|
+
kind: z.ZodLiteral<"domain">;
|
|
9503
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
9504
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
9505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9506
|
+
kind: z.ZodLiteral<"var">;
|
|
9507
|
+
name: z.ZodString;
|
|
9508
|
+
}, z.core.$strip>], "kind">>;
|
|
9509
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
8730
9510
|
$var: z.ZodString;
|
|
8731
|
-
}, z.core.$strip>]
|
|
9511
|
+
}, z.core.$strip>]>>;
|
|
8732
9512
|
cap: z.ZodString;
|
|
8733
9513
|
method: z.ZodString;
|
|
8734
9514
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8800,9 +9580,21 @@ export declare const coreBlocksCapability: {
|
|
|
8800
9580
|
seconds: z.ZodNumber;
|
|
8801
9581
|
}, z.core.$strip>, z.ZodObject<{
|
|
8802
9582
|
kind: z.ZodLiteral<"cap">;
|
|
8803
|
-
|
|
9583
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9584
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9585
|
+
kind: z.ZodLiteral<"devices">;
|
|
9586
|
+
ids: z.ZodArray<z.ZodNumber>;
|
|
9587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9588
|
+
kind: z.ZodLiteral<"domain">;
|
|
9589
|
+
deviceType: z.ZodOptional<z.ZodEnum<typeof DeviceType>>;
|
|
9590
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
9591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9592
|
+
kind: z.ZodLiteral<"var">;
|
|
9593
|
+
name: z.ZodString;
|
|
9594
|
+
}, z.core.$strip>], "kind">>;
|
|
9595
|
+
deviceId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
8804
9596
|
$var: z.ZodString;
|
|
8805
|
-
}, z.core.$strip>]
|
|
9597
|
+
}, z.core.$strip>]>>;
|
|
8806
9598
|
cap: z.ZodString;
|
|
8807
9599
|
method: z.ZodString;
|
|
8808
9600
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8834,9 +9626,21 @@ export declare const coreBlocksCapability: {
|
|
|
8834
9626
|
when: import("../index.js").AutomationWhen;
|
|
8835
9627
|
actions: ({
|
|
8836
9628
|
kind: "cap";
|
|
8837
|
-
|
|
9629
|
+
actionId?: string | undefined;
|
|
9630
|
+
target?: {
|
|
9631
|
+
kind: "devices";
|
|
9632
|
+
ids: number[];
|
|
9633
|
+
} | {
|
|
9634
|
+
kind: "domain";
|
|
9635
|
+
deviceType?: DeviceType | undefined;
|
|
9636
|
+
roomId?: string | undefined;
|
|
9637
|
+
} | {
|
|
9638
|
+
kind: "var";
|
|
9639
|
+
name: string;
|
|
9640
|
+
} | undefined;
|
|
9641
|
+
deviceId?: number | number[] | {
|
|
8838
9642
|
$var: string;
|
|
8839
|
-
};
|
|
9643
|
+
} | undefined;
|
|
8840
9644
|
cap: string;
|
|
8841
9645
|
method: string;
|
|
8842
9646
|
args?: Record<string, unknown> | undefined;
|
|
@@ -8905,9 +9709,21 @@ export declare const coreBlocksCapability: {
|
|
|
8905
9709
|
conditions?: import("../index.js").LegacyCondition | undefined;
|
|
8906
9710
|
actions: ({
|
|
8907
9711
|
kind: "cap";
|
|
8908
|
-
|
|
9712
|
+
actionId?: string | undefined;
|
|
9713
|
+
target?: {
|
|
9714
|
+
kind: "devices";
|
|
9715
|
+
ids: number[];
|
|
9716
|
+
} | {
|
|
9717
|
+
kind: "domain";
|
|
9718
|
+
deviceType?: DeviceType | undefined;
|
|
9719
|
+
roomId?: string | undefined;
|
|
9720
|
+
} | {
|
|
9721
|
+
kind: "var";
|
|
9722
|
+
name: string;
|
|
9723
|
+
} | undefined;
|
|
9724
|
+
deviceId?: number | number[] | {
|
|
8909
9725
|
$var: string;
|
|
8910
|
-
};
|
|
9726
|
+
} | undefined;
|
|
8911
9727
|
cap: string;
|
|
8912
9728
|
method: string;
|
|
8913
9729
|
args?: Record<string, unknown> | undefined;
|
|
@@ -9701,11 +10517,21 @@ export declare const coreBlocksCapability: {
|
|
|
9701
10517
|
kind: z.ZodString;
|
|
9702
10518
|
cap: z.ZodOptional<z.ZodString>;
|
|
9703
10519
|
method: z.ZodOptional<z.ZodString>;
|
|
10520
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9704
10521
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
10522
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10523
|
+
deviceId: z.ZodNumber;
|
|
10524
|
+
outcome: z.ZodEnum<{
|
|
10525
|
+
error: "error";
|
|
10526
|
+
ok: "ok";
|
|
10527
|
+
}>;
|
|
10528
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10529
|
+
}, z.core.$strip>>>;
|
|
9705
10530
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
9706
10531
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
9707
10532
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>;
|
|
9708
10533
|
outcome: z.ZodEnum<{
|
|
10534
|
+
empty: "empty";
|
|
9709
10535
|
error: "error";
|
|
9710
10536
|
"not-run": "not-run";
|
|
9711
10537
|
ok: "ok";
|
|
@@ -9808,11 +10634,21 @@ export declare const coreBlocksCapability: {
|
|
|
9808
10634
|
kind: z.ZodString;
|
|
9809
10635
|
cap: z.ZodOptional<z.ZodString>;
|
|
9810
10636
|
method: z.ZodOptional<z.ZodString>;
|
|
10637
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9811
10638
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
10639
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10640
|
+
deviceId: z.ZodNumber;
|
|
10641
|
+
outcome: z.ZodEnum<{
|
|
10642
|
+
error: "error";
|
|
10643
|
+
ok: "ok";
|
|
10644
|
+
}>;
|
|
10645
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10646
|
+
}, z.core.$strip>>>;
|
|
9812
10647
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
9813
10648
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
9814
10649
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>;
|
|
9815
10650
|
outcome: z.ZodEnum<{
|
|
10651
|
+
empty: "empty";
|
|
9816
10652
|
error: "error";
|
|
9817
10653
|
"not-run": "not-run";
|
|
9818
10654
|
ok: "ok";
|
|
@@ -9911,11 +10747,21 @@ export declare const coreBlocksCapability: {
|
|
|
9911
10747
|
kind: z.ZodString;
|
|
9912
10748
|
cap: z.ZodOptional<z.ZodString>;
|
|
9913
10749
|
method: z.ZodOptional<z.ZodString>;
|
|
10750
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
9914
10751
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
10752
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10753
|
+
deviceId: z.ZodNumber;
|
|
10754
|
+
outcome: z.ZodEnum<{
|
|
10755
|
+
error: "error";
|
|
10756
|
+
ok: "ok";
|
|
10757
|
+
}>;
|
|
10758
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10759
|
+
}, z.core.$strip>>>;
|
|
9915
10760
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
9916
10761
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
9917
10762
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>;
|
|
9918
10763
|
outcome: z.ZodEnum<{
|
|
10764
|
+
empty: "empty";
|
|
9919
10765
|
error: "error";
|
|
9920
10766
|
"not-run": "not-run";
|
|
9921
10767
|
ok: "ok";
|