@camstack/types 1.2.539 → 1.2.541
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 +29 -0
- package/dist/addon.js +44 -12
- package/dist/addon.mjs +44 -12
- package/dist/capabilities/capability-definition.d.ts +4 -0
- package/dist/capabilities/climate-control.cap.d.ts +18 -6
- package/dist/capabilities/cluster-update.cap.d.ts +376 -0
- package/dist/capabilities/cover.cap.d.ts +9 -3
- package/dist/capabilities/device-manager.cap.d.ts +117 -0
- package/dist/capabilities/device-search.d.ts +168 -0
- package/dist/capabilities/fan-control.cap.d.ts +12 -4
- package/dist/capabilities/hero-layout.cap.d.ts +4 -0
- package/dist/capabilities/hub-address.d.ts +10 -0
- package/dist/capabilities/index.d.ts +8 -5
- package/dist/capabilities/lock-control.cap.d.ts +3 -1
- package/dist/capabilities/media-player.cap.d.ts +48 -16
- package/dist/capabilities/notification-output.cap.d.ts +40 -0
- package/dist/capabilities/notification-rules.cap.d.ts +366 -0
- package/dist/capabilities/osd-manager.cap.d.ts +40 -277
- package/dist/capabilities/valve.cap.d.ts +3 -1
- package/dist/client.d.ts +2 -1
- package/dist/client.js +94 -8
- package/dist/client.mjs +94 -9
- package/dist/{composed-stable-id-C3J6LxC9.js → composed-stable-id-BtaMj_W7.js} +4 -0
- package/dist/{composed-stable-id-DLcPInGv.mjs → composed-stable-id-jnvhwGoH.mjs} +4 -0
- package/dist/device/container-primary-child.d.ts +39 -4
- package/dist/device/device-binding.d.ts +6 -0
- package/dist/device/device-feature-requirements.d.ts +137 -0
- package/dist/device/device-management.d.ts +9 -0
- package/dist/device/device-type.d.ts +5 -1
- package/dist/device/hero/hero-model.d.ts +14 -0
- package/dist/device/implemented-methods.d.ts +6 -0
- package/dist/device/linked-device-resolve.d.ts +2 -0
- package/dist/expression/device-template.d.ts +31 -1
- package/dist/generated/addon-api.d.ts +50 -7
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/device-proxy.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +3 -1
- package/dist/{composition-BcVAbtBc.js → implemented-methods-C_iV6BiP.js} +17 -1
- package/dist/{composition-BFJq1Y88.mjs → implemented-methods-OitwyO1Y.mjs} +12 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1231 -444
- package/dist/index.mjs +944 -203
- package/dist/interfaces/addon.d.ts +7 -0
- package/dist/interfaces/event-bus.d.ts +2 -0
- package/dist/migrations/api/migration-api.v1.d.ts +11 -0
- package/dist/migrations/api/migration-api.v1.schema.d.ts +25 -0
- package/dist/node.d.ts +1 -0
- package/dist/node.js +26 -25
- package/dist/node.mjs +3 -3
- package/dist/notification/degrade-engine.d.ts +7 -1
- package/dist/notification/notification-fields.d.ts +69 -0
- package/dist/notification/timelapse-rule.d.ts +69 -0
- package/dist/{sleep-VrfKAAGN.mjs → sleep-Cw1uUXvl.mjs} +5 -2
- package/dist/{sleep-DgCXXFc3.js → sleep-PfAAmxV-.js} +5 -2
- package/package.json +1 -1
|
@@ -833,6 +833,96 @@ export declare const NcRuleTargetSchema: z.ZodObject<{
|
|
|
833
833
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
834
834
|
}, z.core.$strip>;
|
|
835
835
|
export type NcRuleTarget = z.infer<typeof NcRuleTargetSchema>;
|
|
836
|
+
/**
|
|
837
|
+
* One target's own settings on a rule (#487) — everything about THAT target.
|
|
838
|
+
*
|
|
839
|
+
* Every key is optional and ABSENT means "the rule's own value": the rule's
|
|
840
|
+
* texts, priority and schedule are the defaults every target inherits, so a
|
|
841
|
+
* rule saved before this field reads exactly as it did, with no migration.
|
|
842
|
+
*
|
|
843
|
+
* - `template` — the target's own title / body, the same `{{var}}` template
|
|
844
|
+
* the rule's texts use. A field the target's kind does not deliver (#483,
|
|
845
|
+
* `deliverableFields`) is never written by an editor and dropped at send.
|
|
846
|
+
* - `schedule` — deliver to this target only inside these windows. A target
|
|
847
|
+
* outside its window gets no outbox row and the skip is logged; the other
|
|
848
|
+
* targets of the same fire still deliver.
|
|
849
|
+
* - `priority` — this target's canonical ordinal (1..5). An editor offers the
|
|
850
|
+
* kind's DECLARED levels (`caps.levels`), each with its own ordinal.
|
|
851
|
+
* - `attachment` — which of the pictures the rule produced this target
|
|
852
|
+
* receives: `none`, `image`, `clip` (video) or `gif`. It narrows, never adds:
|
|
853
|
+
* the rule's media policy decides what exists (#487, operator 2026-11-10).
|
|
854
|
+
* - `actions: false` — this target gets no action buttons.
|
|
855
|
+
*
|
|
856
|
+
* The same settings apply to EVERY delivery a rule makes — an event, a
|
|
857
|
+
* summary, a timelapse, a calendar digest (D1032).
|
|
858
|
+
*
|
|
859
|
+
* The notifier's own declared knobs (D938 `deliveryParams`: sound, critical,
|
|
860
|
+
* volume…) stay where they already live per target: the rule target's
|
|
861
|
+
* `params`. One store per fact.
|
|
862
|
+
*/
|
|
863
|
+
/**
|
|
864
|
+
* The longest title a rule (or one of its targets) may carry. Also the cut a
|
|
865
|
+
* title-only target's body falls back to when its rendered title is empty
|
|
866
|
+
* (D1030).
|
|
867
|
+
*/
|
|
868
|
+
export declare const NC_TEMPLATE_TITLE_MAX_CHARS = 500;
|
|
869
|
+
/** Which picture kind one target receives (#487). */
|
|
870
|
+
export declare const NcTargetAttachmentSchema: z.ZodEnum<{
|
|
871
|
+
clip: "clip";
|
|
872
|
+
gif: "gif";
|
|
873
|
+
image: "image";
|
|
874
|
+
none: "none";
|
|
875
|
+
}>;
|
|
876
|
+
export type NcTargetAttachment = z.infer<typeof NcTargetAttachmentSchema>;
|
|
877
|
+
export declare const NcTargetOverrideSchema: z.ZodObject<{
|
|
878
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
title: z.ZodOptional<z.ZodString>;
|
|
880
|
+
body: z.ZodOptional<z.ZodString>;
|
|
881
|
+
}, z.core.$strip>>;
|
|
882
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
884
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
885
|
+
startMinute: z.ZodNumber;
|
|
886
|
+
endMinute: z.ZodNumber;
|
|
887
|
+
}, z.core.$strip>>;
|
|
888
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
889
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
890
|
+
}, z.core.$strip>>;
|
|
891
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
892
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
893
|
+
clip: "clip";
|
|
894
|
+
gif: "gif";
|
|
895
|
+
image: "image";
|
|
896
|
+
none: "none";
|
|
897
|
+
}>>;
|
|
898
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
export type NcTargetOverride = z.infer<typeof NcTargetOverrideSchema>;
|
|
901
|
+
/** Per-target settings keyed by target id (#487). */
|
|
902
|
+
export declare const NcTargetOverridesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
903
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
904
|
+
title: z.ZodOptional<z.ZodString>;
|
|
905
|
+
body: z.ZodOptional<z.ZodString>;
|
|
906
|
+
}, z.core.$strip>>;
|
|
907
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
908
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
909
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
910
|
+
startMinute: z.ZodNumber;
|
|
911
|
+
endMinute: z.ZodNumber;
|
|
912
|
+
}, z.core.$strip>>;
|
|
913
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
914
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
+
}, z.core.$strip>>;
|
|
916
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
917
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
918
|
+
clip: "clip";
|
|
919
|
+
gif: "gif";
|
|
920
|
+
image: "image";
|
|
921
|
+
none: "none";
|
|
922
|
+
}>>;
|
|
923
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
924
|
+
}, z.core.$strip>>;
|
|
925
|
+
export type NcTargetOverrides = z.infer<typeof NcTargetOverridesSchema>;
|
|
836
926
|
/**
|
|
837
927
|
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
838
928
|
*
|
|
@@ -1290,6 +1380,29 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1290
1380
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1291
1381
|
}, z.core.$strip>>;
|
|
1292
1382
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1383
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1384
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
1385
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
}, z.core.$strip>>;
|
|
1388
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
1389
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1390
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
1391
|
+
startMinute: z.ZodNumber;
|
|
1392
|
+
endMinute: z.ZodNumber;
|
|
1393
|
+
}, z.core.$strip>>;
|
|
1394
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1396
|
+
}, z.core.$strip>>;
|
|
1397
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1398
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
1399
|
+
clip: "clip";
|
|
1400
|
+
gif: "gif";
|
|
1401
|
+
image: "image";
|
|
1402
|
+
none: "none";
|
|
1403
|
+
}>>;
|
|
1404
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
1405
|
+
}, z.core.$strip>>>;
|
|
1293
1406
|
media: z.ZodDefault<z.ZodObject<{
|
|
1294
1407
|
image: z.ZodOptional<z.ZodEnum<{
|
|
1295
1408
|
clean: "clean";
|
|
@@ -1472,6 +1585,29 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1472
1585
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1473
1586
|
}, z.core.$strip>>>;
|
|
1474
1587
|
targetUsers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1588
|
+
targetOverrides: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1589
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
1590
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
}, z.core.$strip>>;
|
|
1593
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1595
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
1596
|
+
startMinute: z.ZodNumber;
|
|
1597
|
+
endMinute: z.ZodNumber;
|
|
1598
|
+
}, z.core.$strip>>;
|
|
1599
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
}, z.core.$strip>>;
|
|
1602
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1603
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
1604
|
+
clip: "clip";
|
|
1605
|
+
gif: "gif";
|
|
1606
|
+
image: "image";
|
|
1607
|
+
none: "none";
|
|
1608
|
+
}>>;
|
|
1609
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
1610
|
+
}, z.core.$strip>>>>;
|
|
1475
1611
|
template: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1476
1612
|
title: z.ZodOptional<z.ZodString>;
|
|
1477
1613
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1838,6 +1974,29 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
1838
1974
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1839
1975
|
}, z.core.$strip>>>;
|
|
1840
1976
|
targetUsers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1977
|
+
targetOverrides: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1978
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
1979
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1980
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1981
|
+
}, z.core.$strip>>;
|
|
1982
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
1983
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1984
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
1985
|
+
startMinute: z.ZodNumber;
|
|
1986
|
+
endMinute: z.ZodNumber;
|
|
1987
|
+
}, z.core.$strip>>;
|
|
1988
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
+
}, z.core.$strip>>;
|
|
1991
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1992
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
1993
|
+
clip: "clip";
|
|
1994
|
+
gif: "gif";
|
|
1995
|
+
image: "image";
|
|
1996
|
+
none: "none";
|
|
1997
|
+
}>>;
|
|
1998
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
1999
|
+
}, z.core.$strip>>>>;
|
|
1841
2000
|
template: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1842
2001
|
title: z.ZodOptional<z.ZodString>;
|
|
1843
2002
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2332,6 +2491,29 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2332
2491
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2333
2492
|
}, z.core.$strip>>;
|
|
2334
2493
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2494
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2495
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
2496
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
}, z.core.$strip>>;
|
|
2499
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
2500
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
2501
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
2502
|
+
startMinute: z.ZodNumber;
|
|
2503
|
+
endMinute: z.ZodNumber;
|
|
2504
|
+
}, z.core.$strip>>;
|
|
2505
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
2507
|
+
}, z.core.$strip>>;
|
|
2508
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
2509
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
2510
|
+
clip: "clip";
|
|
2511
|
+
gif: "gif";
|
|
2512
|
+
image: "image";
|
|
2513
|
+
none: "none";
|
|
2514
|
+
}>>;
|
|
2515
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
2516
|
+
}, z.core.$strip>>>;
|
|
2335
2517
|
media: z.ZodDefault<z.ZodObject<{
|
|
2336
2518
|
image: z.ZodOptional<z.ZodEnum<{
|
|
2337
2519
|
clean: "clean";
|
|
@@ -4478,6 +4660,29 @@ export declare const notificationRulesCapability: {
|
|
|
4478
4660
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4479
4661
|
}, z.core.$strip>>;
|
|
4480
4662
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4663
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4664
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
4665
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4666
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4667
|
+
}, z.core.$strip>>;
|
|
4668
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
4669
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
4670
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
4671
|
+
startMinute: z.ZodNumber;
|
|
4672
|
+
endMinute: z.ZodNumber;
|
|
4673
|
+
}, z.core.$strip>>;
|
|
4674
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4675
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
4676
|
+
}, z.core.$strip>>;
|
|
4677
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
4678
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
4679
|
+
clip: "clip";
|
|
4680
|
+
gif: "gif";
|
|
4681
|
+
image: "image";
|
|
4682
|
+
none: "none";
|
|
4683
|
+
}>>;
|
|
4684
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
4685
|
+
}, z.core.$strip>>>;
|
|
4481
4686
|
media: z.ZodDefault<z.ZodObject<{
|
|
4482
4687
|
image: z.ZodOptional<z.ZodEnum<{
|
|
4483
4688
|
clean: "clean";
|
|
@@ -4812,6 +5017,29 @@ export declare const notificationRulesCapability: {
|
|
|
4812
5017
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4813
5018
|
}, z.core.$strip>>;
|
|
4814
5019
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5020
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5021
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
5022
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5023
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5024
|
+
}, z.core.$strip>>;
|
|
5025
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
5026
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5027
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
5028
|
+
startMinute: z.ZodNumber;
|
|
5029
|
+
endMinute: z.ZodNumber;
|
|
5030
|
+
}, z.core.$strip>>;
|
|
5031
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5032
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5033
|
+
}, z.core.$strip>>;
|
|
5034
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5035
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
5036
|
+
clip: "clip";
|
|
5037
|
+
gif: "gif";
|
|
5038
|
+
image: "image";
|
|
5039
|
+
none: "none";
|
|
5040
|
+
}>>;
|
|
5041
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
5042
|
+
}, z.core.$strip>>>;
|
|
4815
5043
|
media: z.ZodDefault<z.ZodObject<{
|
|
4816
5044
|
image: z.ZodOptional<z.ZodEnum<{
|
|
4817
5045
|
clean: "clean";
|
|
@@ -5144,6 +5372,29 @@ export declare const notificationRulesCapability: {
|
|
|
5144
5372
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5145
5373
|
}, z.core.$strip>>;
|
|
5146
5374
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5375
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5376
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
5377
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5378
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5379
|
+
}, z.core.$strip>>;
|
|
5380
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
5381
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5382
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
5383
|
+
startMinute: z.ZodNumber;
|
|
5384
|
+
endMinute: z.ZodNumber;
|
|
5385
|
+
}, z.core.$strip>>;
|
|
5386
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5387
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5388
|
+
}, z.core.$strip>>;
|
|
5389
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5390
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
5391
|
+
clip: "clip";
|
|
5392
|
+
gif: "gif";
|
|
5393
|
+
image: "image";
|
|
5394
|
+
none: "none";
|
|
5395
|
+
}>>;
|
|
5396
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
5397
|
+
}, z.core.$strip>>>;
|
|
5147
5398
|
media: z.ZodDefault<z.ZodObject<{
|
|
5148
5399
|
image: z.ZodOptional<z.ZodEnum<{
|
|
5149
5400
|
clean: "clean";
|
|
@@ -5470,6 +5721,29 @@ export declare const notificationRulesCapability: {
|
|
|
5470
5721
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5471
5722
|
}, z.core.$strip>>;
|
|
5472
5723
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5724
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5725
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
5726
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5727
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5728
|
+
}, z.core.$strip>>;
|
|
5729
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
5730
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5731
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
5732
|
+
startMinute: z.ZodNumber;
|
|
5733
|
+
endMinute: z.ZodNumber;
|
|
5734
|
+
}, z.core.$strip>>;
|
|
5735
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5736
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5737
|
+
}, z.core.$strip>>;
|
|
5738
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5739
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
5740
|
+
clip: "clip";
|
|
5741
|
+
gif: "gif";
|
|
5742
|
+
image: "image";
|
|
5743
|
+
none: "none";
|
|
5744
|
+
}>>;
|
|
5745
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
5746
|
+
}, z.core.$strip>>>;
|
|
5473
5747
|
media: z.ZodDefault<z.ZodObject<{
|
|
5474
5748
|
image: z.ZodOptional<z.ZodEnum<{
|
|
5475
5749
|
clean: "clean";
|
|
@@ -5652,6 +5926,29 @@ export declare const notificationRulesCapability: {
|
|
|
5652
5926
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5653
5927
|
}, z.core.$strip>>>;
|
|
5654
5928
|
targetUsers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5929
|
+
targetOverrides: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5930
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
5931
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5932
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5933
|
+
}, z.core.$strip>>;
|
|
5934
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
5935
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5936
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
5937
|
+
startMinute: z.ZodNumber;
|
|
5938
|
+
endMinute: z.ZodNumber;
|
|
5939
|
+
}, z.core.$strip>>;
|
|
5940
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5941
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
5942
|
+
}, z.core.$strip>>;
|
|
5943
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
5944
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
5945
|
+
clip: "clip";
|
|
5946
|
+
gif: "gif";
|
|
5947
|
+
image: "image";
|
|
5948
|
+
none: "none";
|
|
5949
|
+
}>>;
|
|
5950
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
5951
|
+
}, z.core.$strip>>>>;
|
|
5655
5952
|
template: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5656
5953
|
title: z.ZodOptional<z.ZodString>;
|
|
5657
5954
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -6144,6 +6441,29 @@ export declare const notificationRulesCapability: {
|
|
|
6144
6441
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6145
6442
|
}, z.core.$strip>>;
|
|
6146
6443
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6444
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6445
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
6446
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6447
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6448
|
+
}, z.core.$strip>>;
|
|
6449
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
6450
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
6451
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
6452
|
+
startMinute: z.ZodNumber;
|
|
6453
|
+
endMinute: z.ZodNumber;
|
|
6454
|
+
}, z.core.$strip>>;
|
|
6455
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
6456
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
6457
|
+
}, z.core.$strip>>;
|
|
6458
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
6459
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
6460
|
+
clip: "clip";
|
|
6461
|
+
gif: "gif";
|
|
6462
|
+
image: "image";
|
|
6463
|
+
none: "none";
|
|
6464
|
+
}>>;
|
|
6465
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
6466
|
+
}, z.core.$strip>>>;
|
|
6147
6467
|
media: z.ZodDefault<z.ZodObject<{
|
|
6148
6468
|
image: z.ZodOptional<z.ZodEnum<{
|
|
6149
6469
|
clean: "clean";
|
|
@@ -6558,6 +6878,29 @@ export declare const notificationRulesCapability: {
|
|
|
6558
6878
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6559
6879
|
}, z.core.$strip>>;
|
|
6560
6880
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6881
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6882
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
6883
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6884
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6885
|
+
}, z.core.$strip>>;
|
|
6886
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
6887
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
6888
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
6889
|
+
startMinute: z.ZodNumber;
|
|
6890
|
+
endMinute: z.ZodNumber;
|
|
6891
|
+
}, z.core.$strip>>;
|
|
6892
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
6893
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
6894
|
+
}, z.core.$strip>>;
|
|
6895
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
6896
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
6897
|
+
clip: "clip";
|
|
6898
|
+
gif: "gif";
|
|
6899
|
+
image: "image";
|
|
6900
|
+
none: "none";
|
|
6901
|
+
}>>;
|
|
6902
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
6903
|
+
}, z.core.$strip>>>;
|
|
6561
6904
|
media: z.ZodDefault<z.ZodObject<{
|
|
6562
6905
|
image: z.ZodOptional<z.ZodEnum<{
|
|
6563
6906
|
clean: "clean";
|
|
@@ -6909,6 +7252,29 @@ export declare const notificationRulesCapability: {
|
|
|
6909
7252
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6910
7253
|
}, z.core.$strip>>;
|
|
6911
7254
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7255
|
+
targetOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7256
|
+
template: z.ZodOptional<z.ZodObject<{
|
|
7257
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7258
|
+
body: z.ZodOptional<z.ZodString>;
|
|
7259
|
+
}, z.core.$strip>>;
|
|
7260
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
7261
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
7262
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
7263
|
+
startMinute: z.ZodNumber;
|
|
7264
|
+
endMinute: z.ZodNumber;
|
|
7265
|
+
}, z.core.$strip>>;
|
|
7266
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
7267
|
+
invert: z.ZodOptional<z.ZodBoolean>;
|
|
7268
|
+
}, z.core.$strip>>;
|
|
7269
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
7270
|
+
attachment: z.ZodOptional<z.ZodEnum<{
|
|
7271
|
+
clip: "clip";
|
|
7272
|
+
gif: "gif";
|
|
7273
|
+
image: "image";
|
|
7274
|
+
none: "none";
|
|
7275
|
+
}>>;
|
|
7276
|
+
actions: z.ZodOptional<z.ZodBoolean>;
|
|
7277
|
+
}, z.core.$strip>>>;
|
|
6912
7278
|
media: z.ZodDefault<z.ZodObject<{
|
|
6913
7279
|
image: z.ZodOptional<z.ZodEnum<{
|
|
6914
7280
|
clean: "clean";
|