@camstack/types 1.2.584 → 1.2.585

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/addon/instance-link.d.ts +3 -1
  3. package/dist/addon.d.ts +3 -2
  4. package/dist/addon.js +3 -1
  5. package/dist/addon.mjs +2 -2
  6. package/dist/audit/command-origin-claim.d.ts +33 -0
  7. package/dist/audit/device-transition.d.ts +35 -2
  8. package/dist/capabilities/capability-definition.d.ts +2 -1
  9. package/dist/capabilities/device-transitions.cap.d.ts +44 -0
  10. package/dist/capabilities/index.d.ts +4 -1
  11. package/dist/capabilities/siren-duration.d.ts +15 -0
  12. package/dist/capabilities/siren.cap.d.ts +175 -0
  13. package/dist/client.js +621 -613
  14. package/dist/client.mjs +621 -613
  15. package/dist/generated/addon-api.d.ts +36 -0
  16. package/dist/generated/addon-cap-facts.d.ts +1 -1
  17. package/dist/generated/cap-status-types.d.ts +3 -1
  18. package/dist/generated/cap-vocabulary.d.ts +1 -1
  19. package/dist/generated/capability-router-map.d.ts +5 -2
  20. package/dist/generated/device-local-state.d.ts +3 -0
  21. package/dist/generated/device-proxy.d.ts +3 -0
  22. package/dist/generated/device-scoped-caps.d.ts +1 -1
  23. package/dist/generated/history-catalog.d.ts +1 -1
  24. package/dist/generated/method-access-map.d.ts +1 -1
  25. package/dist/generated/method-device-selectors.d.ts +1 -1
  26. package/dist/generated/runtime-state-durability.d.ts +1 -1
  27. package/dist/helpers/trpc-leaf.d.ts +4 -3
  28. package/dist/index.js +280 -7
  29. package/dist/index.mjs +269 -8
  30. package/dist/{sleep-DnhxKL99.mjs → sleep-Ch7Q7UtE.mjs} +728 -620
  31. package/dist/{sleep-Coq9CYAH.js → sleep-DwRtgB2i.js} +739 -619
  32. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-Coq9CYAH.js");
2
+ const require_sleep = require("./sleep-DwRtgB2i.js");
3
3
  const require_event_category = require("./event-category-d9kiqCqC.js");
4
4
  const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
5
5
  const require_implemented_methods = require("./implemented-methods-C7ScGvEz.js");
@@ -872,12 +872,19 @@ function composeInstanceKinds(parts, base) {
872
872
  return part;
873
873
  };
874
874
  /**
875
+ * Whether a part's kind offers a Test. A kind that states `canTest` is believed; one that does not
876
+ * takes what its OWN provider declares, never the composed base (a calendar or an integration
877
+ * inherited the account's `canTest: true` and offered a button nothing answered, planning#543).
878
+ */
879
+ const canTestPart = async (part) => part.kind.canTest ?? (await part.provider.describe()).canTest === true;
880
+ /**
875
881
  * The part a DRAFT test runs on. A named kind is that kind; an unnamed one is the provider's only
876
882
  * testable kind. Several testable kinds and none named is a typed refusal that lists them, never a throw.
877
883
  */
878
- const draftPart = (kindId) => {
884
+ const draftPart = async (kindId) => {
879
885
  if (kindId !== void 0) return parts.find((candidate) => candidate.kind.id === kindId) ?? { error: `Unknown instance kind '${kindId}'` };
880
- const testable = parts.filter((part) => part.kind.canTest !== false);
886
+ const flags = await Promise.all(parts.map(canTestPart));
887
+ const testable = parts.filter((_part, index) => flags[index] === true);
881
888
  const only = testable.length === 1 ? testable[0] : parts.length === 1 ? parts[0] : void 0;
882
889
  if (only !== void 0) return only;
883
890
  return { error: `This provider has several kinds: name one of ${(testable.length > 0 ? testable : parts).map((part) => part.kind.id).join(", ")}` };
@@ -895,7 +902,10 @@ function composeInstanceKinds(parts, base) {
895
902
  const links = (await Promise.all(parts.map(async (part) => (await part.provider.describe()).links ?? []))).flat();
896
903
  return {
897
904
  ...base,
898
- kinds: parts.map((part) => part.kind),
905
+ kinds: await Promise.all(parts.map(async (part) => ({
906
+ ...part.kind,
907
+ canTest: await canTestPart(part)
908
+ }))),
899
909
  ...links.length > 0 ? { links } : {}
900
910
  };
901
911
  },
@@ -917,7 +927,7 @@ function composeInstanceKinds(parts, base) {
917
927
  setInstanceEnabled: async (input) => (await holderOf(input.id)).provider.setInstanceEnabled(input),
918
928
  deleteInstance: async (input) => (await holderOf(input.id)).provider.deleteInstance(input),
919
929
  testInstance: async (input) => {
920
- const resolved = input.id === null ? draftPart(input.kind) : await holderOf(input.id);
930
+ const resolved = input.id === null ? await draftPart(input.kind) : await holderOf(input.id);
921
931
  if ("error" in resolved) return {
922
932
  success: false,
923
933
  status: "inconclusive",
@@ -51444,7 +51454,7 @@ function groupTemplate(id) {
51444
51454
  //#region src/generated/history-catalog.ts
51445
51455
  /**
51446
51456
  * Cap history catalog, projected from every `*.cap.ts` `history` block.
51447
- * 46 caps with series (124 series), 38 caps answered `'none'`.
51457
+ * 46 caps with series (124 series), 39 caps answered `'none'`.
51448
51458
  * Field keys are `runtimeState` paths (`a.b` into fixed objects only).
51449
51459
  */
51450
51460
  var HISTORY_CATALOG = {
@@ -52201,6 +52211,7 @@ var HISTORY_NONE_CAPS = [
52201
52211
  "recording-signal",
52202
52212
  "scene-monitor",
52203
52213
  "script-runner",
52214
+ "siren",
52204
52215
  "stream-catalog",
52205
52216
  "stream-signals",
52206
52217
  "timed-run",
@@ -95174,6 +95185,152 @@ var serverManagementCapability = {
95174
95185
  vocabulary: { notOperatorFacing: require_sleep.NOT_A_DEVICE.CLUSTER }
95175
95186
  };
95176
95187
  //#endregion
95188
+ //#region src/capabilities/siren.cap.ts
95189
+ /**
95190
+ * Timed siren: trigger the siren for a duration and know until when it sounds.
95191
+ *
95192
+ * The plain on/off `switch` of a siren stays as it is (HomeKit / Alexa see a
95193
+ * switch); this cap adds the part a switch cannot say — HOW LONG, and the
95194
+ * moment the siren is expected to fall silent (`activeUntil`, epoch ms), so a
95195
+ * UI can show the activation with a countdown.
95196
+ *
95197
+ * The allowed durations are never hardcoded: `getOptions` answers what the
95198
+ * CAMERA reports (a discrete list or `{min,max,step}`), the default, and the
95199
+ * unit truth — a camera that counts plays rather than seconds says so, with the
95200
+ * seconds-per-play factor used to convert, and whether that factor was read
95201
+ * from the camera or is an estimate.
95202
+ */
95203
+ /** What the camera counts natively. */
95204
+ var SirenDurationUnit = {
95205
+ Seconds: "seconds",
95206
+ Plays: "plays"
95207
+ };
95208
+ /** Where the numbers of an options answer come from. */
95209
+ var SirenOptionsSource = {
95210
+ /** Read from the camera by this fetch. */
95211
+ Camera: "camera",
95212
+ /** The camera did not answer or does not advertise it; a documented fallback. */
95213
+ Fallback: "fallback"
95214
+ };
95215
+ var SirenDurationRangeSchema = zod.z.object({
95216
+ min: zod.z.number().positive(),
95217
+ max: zod.z.number().positive(),
95218
+ step: zod.z.number().positive()
95219
+ });
95220
+ var SirenOptionsSchema = zod.z.object({
95221
+ /** Discrete durations in seconds the operator may pick; `null` when the camera gives a range. */
95222
+ allowedSeconds: zod.z.array(zod.z.number().positive()).nullable(),
95223
+ /** Continuous range in seconds; `null` when the camera gives a discrete list. */
95224
+ rangeSeconds: SirenDurationRangeSchema.nullable(),
95225
+ /** The camera's default duration, seconds. */
95226
+ defaultSeconds: zod.z.number().positive(),
95227
+ /** What the camera counts natively. */
95228
+ unit: zod.z.enum([SirenDurationUnit.Seconds, SirenDurationUnit.Plays]),
95229
+ /** Seconds one play lasts, when `unit` is `plays`; `null` for a seconds camera. */
95230
+ secondsPerPlay: zod.z.number().positive().nullable(),
95231
+ /** `camera` when the values were read from it, `fallback` when the camera could not say. */
95232
+ source: zod.z.enum([SirenOptionsSource.Camera, SirenOptionsSource.Fallback]),
95233
+ /** Ms epoch of the read that produced this answer. */
95234
+ fetchedAt: zod.z.number()
95235
+ });
95236
+ var SirenStatusSchema = zod.z.object({
95237
+ /** True while the siren is sounding by a timed trigger or switched on. */
95238
+ active: zod.z.boolean(),
95239
+ /** Ms epoch the siren is expected to fall silent; `null` when not active or open-ended. */
95240
+ activeUntil: zod.z.number().nullable(),
95241
+ /** Duration of the current / last activation, seconds; `null` when none yet. */
95242
+ durationSeconds: zod.z.number().nullable(),
95243
+ /** Ms epoch of the last trigger (0 = never). */
95244
+ lastTriggeredAt: zod.z.number()
95245
+ });
95246
+ var SirenRuntimeStateSchema = SirenStatusSchema.extend({
95247
+ /** Ms epoch of the last successful camera read of the options (0 = never). */
95248
+ lastFetchedAt: zod.z.number() });
95249
+ var sirenCapability = {
95250
+ name: "siren",
95251
+ scope: "device",
95252
+ deviceNative: true,
95253
+ mode: "singleton",
95254
+ deviceTypes: [require_composed_stable_id.DeviceType.Siren],
95255
+ methods: {
95256
+ /** The durations the camera allows, read from the camera. */
95257
+ getOptions: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), SirenOptionsSchema, {
95258
+ kind: "query",
95259
+ auth: "protected"
95260
+ }),
95261
+ /**
95262
+ * Sound the siren. Without `durationSeconds` the camera default applies.
95263
+ * Answers the state at the moment of the trigger (`activeUntil` included).
95264
+ */
95265
+ trigger: require_sleep.method(zod.z.object({
95266
+ deviceId: zod.z.number().int().nonnegative(),
95267
+ durationSeconds: zod.z.number().positive().optional()
95268
+ }), SirenStatusSchema, {
95269
+ kind: "mutation",
95270
+ auth: "protected",
95271
+ actions: [{
95272
+ id: "siren.trigger",
95273
+ label: require_sleep.t("Sound the siren", "Fai suonare la sirena"),
95274
+ phrase: require_sleep.t("Sound {device}", "Fai suonare {device}"),
95275
+ icon: "siren",
95276
+ args: {}
95277
+ }]
95278
+ }),
95279
+ /** Silence the siren now. */
95280
+ stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), SirenStatusSchema, {
95281
+ kind: "mutation",
95282
+ auth: "protected",
95283
+ actions: [{
95284
+ id: "siren.stop",
95285
+ label: require_sleep.t("Silence the siren", "Zittisci la sirena"),
95286
+ phrase: require_sleep.t("Silence {device}", "Zittisci {device}"),
95287
+ icon: "siren",
95288
+ effect: {
95289
+ field: "active",
95290
+ value: false
95291
+ },
95292
+ args: {}
95293
+ }]
95294
+ })
95295
+ },
95296
+ events: { onSirenChanged: {
95297
+ data: zod.z.object({
95298
+ deviceId: zod.z.number(),
95299
+ active: zod.z.boolean(),
95300
+ activeUntil: zod.z.number().nullable()
95301
+ }),
95302
+ notOperatorFacing: "the `active` state trigger phrases both edges of this change"
95303
+ } },
95304
+ status: {
95305
+ schema: SirenStatusSchema,
95306
+ kind: "command-driven"
95307
+ },
95308
+ runtimeState: SirenRuntimeStateSchema,
95309
+ /**
95310
+ * Runtime-state durability: **session** — a siren activation is a moment, not a fact to restore after a restart.
95311
+ *
95312
+ * See `RuntimeStateDurability`. Enforced by
95313
+ * `scripts/check-runtime-state-durability.ts`.
95314
+ */
95315
+ durability: "session",
95316
+ /**
95317
+ * History (D850): none — an activation is already recorded by the switch / alarm events.
95318
+ */
95319
+ history: "none",
95320
+ vocabulary: {
95321
+ noun: require_sleep.t("Siren", "Sirena"),
95322
+ order: 1170,
95323
+ state: [{
95324
+ kind: "boolean",
95325
+ field: "active",
95326
+ label: require_sleep.t("Siren sounding", "Sirena in funzione"),
95327
+ whenTrue: require_sleep.t("When {device} starts sounding", "Quando {device} inizia a suonare"),
95328
+ whenFalse: require_sleep.t("When {device} falls silent", "Quando {device} smette di suonare"),
95329
+ icon: "siren"
95330
+ }]
95331
+ }
95332
+ };
95333
+ //#endregion
95177
95334
  //#region src/capabilities/smoke.cap.ts
95178
95335
  /**
95179
95336
  * Smoke alarm sensor — boolean "is smoke currently detected" with
@@ -102947,6 +103104,7 @@ var CAPABILITY_NAMES = {
102947
103104
  scriptRunner: "script-runner",
102948
103105
  serverManagement: "server-management",
102949
103106
  settingsStore: "settings-store",
103107
+ siren: "siren",
102950
103108
  smoke: "smoke",
102951
103109
  smtpProvider: "smtp-provider",
102952
103110
  snapshot: "snapshot",
@@ -103660,6 +103818,10 @@ var CAPABILITY_ROUTER_KEYS = [
103660
103818
  key: "settingsStore",
103661
103819
  name: "settings-store"
103662
103820
  },
103821
+ {
103822
+ key: "siren",
103823
+ name: "siren"
103824
+ },
103663
103825
  {
103664
103826
  key: "smoke",
103665
103827
  name: "smoke"
@@ -104006,6 +104168,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
104006
104168
  scriptRunnerCapability,
104007
104169
  serverManagementCapability,
104008
104170
  settingsStoreCapability,
104171
+ sirenCapability,
104009
104172
  smokeCapability,
104010
104173
  smtpProviderCapability,
104011
104174
  snapshotCapability,
@@ -105809,6 +105972,47 @@ function selectNavigationMethods(getStatus, setValue) {
105809
105972
  };
105810
105973
  }
105811
105974
  //#endregion
105975
+ //#region src/capabilities/siren-duration.ts
105976
+ /**
105977
+ * Pure duration maths for the `siren` cap, shared by every provider so a
105978
+ * trigger and the countdown it publishes mean the same thing everywhere.
105979
+ */
105980
+ /** The state of a siren that is not sounding. Keeps the last activation's facts. */
105981
+ function sirenIdleStatus(previous) {
105982
+ return {
105983
+ active: false,
105984
+ activeUntil: null,
105985
+ durationSeconds: previous?.durationSeconds ?? null,
105986
+ lastTriggeredAt: previous?.lastTriggeredAt ?? 0
105987
+ };
105988
+ }
105989
+ /** The state right after a timed trigger: sounding until `now + seconds`. */
105990
+ function sirenTriggeredStatus(nowMs, seconds) {
105991
+ return {
105992
+ active: true,
105993
+ activeUntil: nowMs + Math.round(seconds * 1e3),
105994
+ durationSeconds: seconds,
105995
+ lastTriggeredAt: nowMs
105996
+ };
105997
+ }
105998
+ /**
105999
+ * The duration a trigger will really use: the request (or the camera default)
106000
+ * snapped to what the camera allows — the nearest listed value, or clamped and
106001
+ * stepped inside the range. Never longer or shorter than the camera can play.
106002
+ */
106003
+ function resolveSirenSeconds(options, requested) {
106004
+ const wanted = requested ?? options.defaultSeconds;
106005
+ const list = options.allowedSeconds;
106006
+ if (list !== null && list.length > 0) return list.reduce((best, candidate) => Math.abs(candidate - wanted) < Math.abs(best - wanted) ? candidate : best);
106007
+ const range = options.rangeSeconds;
106008
+ if (range !== null) {
106009
+ const clamped = Math.min(range.max, Math.max(range.min, wanted));
106010
+ const steps = Math.min(Math.round((clamped - range.min) / range.step), Math.floor((range.max - range.min) / range.step));
106011
+ return range.min + steps * range.step;
106012
+ }
106013
+ return wanted;
106014
+ }
106015
+ //#endregion
105812
106016
  //#region src/capabilities/recording-onboard-rules.ts
105813
106017
  /** Minutes in a day. `endMinute === 1440` means "to end of day". */
105814
106018
  var MINUTES_PER_DAY = 1440;
@@ -111626,6 +111830,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
111626
111830
  runningState: runningStateCapability,
111627
111831
  sceneMonitor: sceneMonitorCapability,
111628
111832
  scriptRunner: scriptRunnerCapability,
111833
+ siren: sirenCapability,
111629
111834
  smoke: smokeCapability,
111630
111835
  streamCatalog: streamCatalogCapability,
111631
111836
  streamParams: streamParamsCapability,
@@ -126707,6 +126912,34 @@ var METHOD_ACCESS_MAP = Object.freeze({
126707
126912
  access: "create",
126708
126913
  role: "admin"
126709
126914
  },
126915
+ "siren.getOptions": {
126916
+ capName: "siren",
126917
+ capScope: "device",
126918
+ addonId: null,
126919
+ access: "view",
126920
+ role: "viewer"
126921
+ },
126922
+ "siren.getStatus": {
126923
+ capName: "siren",
126924
+ capScope: "device",
126925
+ addonId: null,
126926
+ access: "view",
126927
+ role: "viewer"
126928
+ },
126929
+ "siren.stop": {
126930
+ capName: "siren",
126931
+ capScope: "device",
126932
+ addonId: null,
126933
+ access: "create",
126934
+ role: "viewer"
126935
+ },
126936
+ "siren.trigger": {
126937
+ capName: "siren",
126938
+ capScope: "device",
126939
+ addonId: null,
126940
+ access: "create",
126941
+ role: "viewer"
126942
+ },
126710
126943
  "smoke.getStatus": {
126711
126944
  capName: "smoke",
126712
126945
  capScope: "device",
@@ -128837,6 +129070,7 @@ var KNOWN_CAP_NAMES = [
128837
129070
  "script-runner",
128838
129071
  "server-management",
128839
129072
  "settings-store",
129073
+ "siren",
128840
129074
  "smoke",
128841
129075
  "smtp-provider",
128842
129076
  "snapshot",
@@ -128968,6 +129202,7 @@ var DEVICE_CAP_NAMES = [
128968
129202
  "running-state",
128969
129203
  "scene-monitor",
128970
129204
  "script-runner",
129205
+ "siren",
128971
129206
  "smoke",
128972
129207
  "snapshot",
128973
129208
  "stream-catalog",
@@ -131094,6 +131329,7 @@ var CAP_NAMES_WITH_STATUS = [
131094
131329
  "running-state",
131095
131330
  "scene-monitor",
131096
131331
  "script-runner",
131332
+ "siren",
131097
131333
  "smoke",
131098
131334
  "snapshot",
131099
131335
  "stream-params",
@@ -133799,6 +134035,26 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
133799
134035
  form: "single",
133800
134036
  optional: false
133801
134037
  }],
134038
+ "siren.getOptions": [{
134039
+ name: "deviceId",
134040
+ form: "single",
134041
+ optional: false
134042
+ }],
134043
+ "siren.getStatus": [{
134044
+ name: "deviceId",
134045
+ form: "single",
134046
+ optional: false
134047
+ }],
134048
+ "siren.stop": [{
134049
+ name: "deviceId",
134050
+ form: "single",
134051
+ optional: false
134052
+ }],
134053
+ "siren.trigger": [{
134054
+ name: "deviceId",
134055
+ form: "single",
134056
+ optional: false
134057
+ }],
133802
134058
  "smoke.getStatus": [{
133803
134059
  name: "deviceId",
133804
134060
  form: "single",
@@ -134505,7 +134761,7 @@ function getCapsByProviderKind(kind) {
134505
134761
  //#region src/generated/runtime-state-durability.ts
134506
134762
  /**
134507
134763
  * Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
134508
- * `runtimeState`. 85 caps: 43 `restored`, 42 `session`.
134764
+ * `runtimeState`. 86 caps: 43 `restored`, 43 `session`.
134509
134765
  *
134510
134766
  * A cap absent from this map has no runtime-state slice at all. A cap PRESENT
134511
134767
  * with `durability: 'session'` has one and has decided not to keep it.
@@ -134780,6 +135036,10 @@ var RUNTIME_STATE_POLICY = {
134780
135036
  durability: "session",
134781
135037
  volatileFields: []
134782
135038
  },
135039
+ "siren": {
135040
+ durability: "session",
135041
+ volatileFields: []
135042
+ },
134783
135043
  "smoke": {
134784
135044
  durability: "restored",
134785
135045
  volatileFields: ["lastChangedAt"]
@@ -148276,6 +148536,7 @@ function buildLinkedInstances(records, spec) {
148276
148536
  }),
148277
148537
  configured: (body) => links.every((link) => linkedId(body, link.field) !== void 0) && (spec.alsoConfigured?.(body) ?? true),
148278
148538
  ...spec.mintId !== void 0 ? { mintId: spec.mintId } : {},
148539
+ ...spec.test !== void 0 ? { test: spec.test } : {},
148279
148540
  ...spec.onChanged !== void 0 ? { onChanged: spec.onChanged } : {}
148280
148541
  });
148281
148542
  return instances;
@@ -150285,6 +150546,8 @@ exports.OccupancyLookAnswerSchema = OccupancyLookAnswerSchema;
150285
150546
  exports.OccupancyLookRefusalSchema = OccupancyLookRefusalSchema;
150286
150547
  exports.OccupancyLookRequestSchema = OccupancyLookRequestSchema;
150287
150548
  exports.OldTargetBodySchema = OldTargetBodySchema;
150549
+ exports.OnBehalfSchema = require_sleep.OnBehalfSchema;
150550
+ exports.OnBehalfSourceSchema = require_sleep.OnBehalfSourceSchema;
150288
150551
  exports.OnboardFieldSupportSchema = OnboardFieldSupportSchema;
150289
150552
  exports.OnboardRecordTrackSchema = OnboardRecordTrackSchema;
150290
150553
  exports.OnboardScheduleSupportSchema = OnboardScheduleSupportSchema;
@@ -150866,6 +151129,12 @@ exports.ShareSourceSchema = ShareSourceSchema;
150866
151129
  exports.ShareViewGrantSchema = ShareViewGrantSchema;
150867
151130
  exports.ShareViewScopeSchema = ShareViewScopeSchema;
150868
151131
  exports.ShareWeightsSchema = ShareWeightsSchema;
151132
+ exports.SirenDurationRangeSchema = SirenDurationRangeSchema;
151133
+ exports.SirenDurationUnit = SirenDurationUnit;
151134
+ exports.SirenOptionsSchema = SirenOptionsSchema;
151135
+ exports.SirenOptionsSource = SirenOptionsSource;
151136
+ exports.SirenRuntimeStateSchema = SirenRuntimeStateSchema;
151137
+ exports.SirenStatusSchema = SirenStatusSchema;
150869
151138
  exports.SiteLocationSchema = SiteLocationSchema;
150870
151139
  exports.SiteLocationSourceSchema = SiteLocationSourceSchema;
150871
151140
  exports.SiteLocationStatusSchema = SiteLocationStatusSchema;
@@ -152421,6 +152690,7 @@ exports.resolveSecretMarkers = require_sleep.resolveSecretMarkers;
152421
152690
  exports.resolveSecretViewsIn = require_sleep.resolveSecretViewsIn;
152422
152691
  exports.resolveSelectStep = resolveSelectStep;
152423
152692
  exports.resolveServerName = resolveServerName;
152693
+ exports.resolveSirenSeconds = resolveSirenSeconds;
152424
152694
  exports.resolveStepArgs = resolveStepArgs;
152425
152695
  exports.resolveStepArgsWithTemplates = resolveStepArgsWithTemplates;
152426
152696
  exports.resolveStreamMaps = require_implemented_methods.resolveStreamMaps;
@@ -152540,6 +152810,9 @@ exports.shortHostname = shortHostname;
152540
152810
  exports.shortSecretRefHash = require_sleep.shortSecretRefHash;
152541
152811
  exports.signalPercentFromBars = signalPercentFromBars;
152542
152812
  exports.signalPercentFromRssi = signalPercentFromRssi;
152813
+ exports.sirenCapability = sirenCapability;
152814
+ exports.sirenIdleStatus = sirenIdleStatus;
152815
+ exports.sirenTriggeredStatus = sirenTriggeredStatus;
152543
152816
  exports.siteFor = siteFor;
152544
152817
  exports.siteZoneKey = siteZoneKey;
152545
152818
  exports.skipSignature = skipSignature;