@camstack/addon-export-alexa 1.2.91 → 1.2.93

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.
@@ -7795,6 +7795,35 @@ var CameraSwitchGroupSchema = object({
7795
7795
  /** Unix ms when the group was composed server-side. */
7796
7796
  fetchedAt: number()
7797
7797
  });
7798
+ /** One archived note — the operator's words plus enough context to find what
7799
+ * they were looking at, after the track itself is gone. */
7800
+ var ArchivedDebugNoteSchema = object({
7801
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7802
+ * same sentence about the same track lands on the row already there. */
7803
+ id: string(),
7804
+ /** The operator's own words, verbatim. */
7805
+ note: string(),
7806
+ /** The camera. Required — every question here is asked per-camera. */
7807
+ deviceId: number().int(),
7808
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7809
+ * is expected to be gone, and this row is not a reference to it. */
7810
+ sourceTrackId: string(),
7811
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7812
+ archivedAt: number().int(),
7813
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7814
+ trackStartedAt: number().int().nullable(),
7815
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7816
+ trackClass: string().nullable(),
7817
+ /** The track's display label at review time; `null` when it had none. */
7818
+ trackLabel: string().nullable()
7819
+ });
7820
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7821
+ var ArchivedDebugNoteQueryInputSchema = object({
7822
+ /** Restrict to a single camera; omit for every row. */
7823
+ deviceId: number().int().optional(),
7824
+ /** Max rows returned, newest-first. */
7825
+ limit: number().int().min(1).max(1e3).optional()
7826
+ });
7798
7827
  /**
7799
7828
  * Ops-log — the durable, append-only operations audit shared by the
7800
7829
  * recordings and events management surfaces.
@@ -16106,16 +16135,16 @@ DeviceType.AlarmPanel, method(object({
16106
16135
  code: string().min(1).optional()
16107
16136
  }), _void(), {
16108
16137
  kind: "mutation",
16109
- auth: "admin"
16138
+ auth: "protected"
16110
16139
  }), method(object({
16111
16140
  deviceId: number().int().nonnegative(),
16112
16141
  code: string().min(1).optional()
16113
16142
  }), _void(), {
16114
16143
  kind: "mutation",
16115
- auth: "admin"
16144
+ auth: "protected"
16116
16145
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
16117
16146
  kind: "mutation",
16118
- auth: "admin"
16147
+ auth: "protected"
16119
16148
  });
16120
16149
  /**
16121
16150
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -20033,7 +20062,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20033
20062
  deviceId: number(),
20034
20063
  trackId: string(),
20035
20064
  flags: TrackFlagsPatchSchema
20036
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20065
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20037
20066
  kind: "query",
20038
20067
  auth: "admin"
20039
20068
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23786,7 +23815,7 @@ DeviceType.Light, method(object({
23786
23815
  percentage: number().min(0).max(100)
23787
23816
  }), _void(), {
23788
23817
  kind: "mutation",
23789
- auth: "admin"
23818
+ auth: "protected"
23790
23819
  }), object({
23791
23820
  deviceId: number(),
23792
23821
  percentage: number().min(0).max(100),
@@ -23794,7 +23823,7 @@ DeviceType.Light, method(object({
23794
23823
  });
23795
23824
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23796
23825
  kind: "mutation",
23797
- auth: "admin"
23826
+ auth: "protected"
23798
23827
  });
23799
23828
  /**
23800
23829
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23953,50 +23982,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23953
23982
  mode: HvacModeSchema
23954
23983
  }), _void(), {
23955
23984
  kind: "mutation",
23956
- auth: "admin"
23985
+ auth: "protected"
23957
23986
  }), method(object({
23958
23987
  deviceId: number().int().nonnegative(),
23959
23988
  fanMode: string().min(1)
23960
23989
  }), _void(), {
23961
23990
  kind: "mutation",
23962
- auth: "admin"
23991
+ auth: "protected"
23963
23992
  }), method(object({
23964
23993
  deviceId: number().int().nonnegative(),
23965
23994
  preset: string().min(1)
23966
23995
  }), _void(), {
23967
23996
  kind: "mutation",
23968
- auth: "admin"
23997
+ auth: "protected"
23969
23998
  }), method(object({
23970
23999
  deviceId: number().int().nonnegative(),
23971
24000
  target: number()
23972
24001
  }), _void(), {
23973
24002
  kind: "mutation",
23974
- auth: "admin"
24003
+ auth: "protected"
23975
24004
  }), method(object({
23976
24005
  deviceId: number().int().nonnegative(),
23977
24006
  targetLow: number(),
23978
24007
  targetHigh: number()
23979
24008
  }), _void(), {
23980
24009
  kind: "mutation",
23981
- auth: "admin"
24010
+ auth: "protected"
23982
24011
  }), method(object({
23983
24012
  deviceId: number().int().nonnegative(),
23984
24013
  targetHumidity: number().min(0).max(100)
23985
24014
  }), _void(), {
23986
24015
  kind: "mutation",
23987
- auth: "admin"
24016
+ auth: "protected"
23988
24017
  }), method(object({
23989
24018
  deviceId: number().int().nonnegative(),
23990
24019
  on: boolean()
23991
24020
  }), _void(), {
23992
24021
  kind: "mutation",
23993
- auth: "admin"
24022
+ auth: "protected"
23994
24023
  }), method(object({
23995
24024
  deviceId: number().int().nonnegative(),
23996
24025
  on: boolean()
23997
24026
  }), _void(), {
23998
24027
  kind: "mutation",
23999
- auth: "admin"
24028
+ auth: "protected"
24000
24029
  });
24001
24030
  /**
24002
24031
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -24071,7 +24100,7 @@ DeviceType.Light, method(object({
24071
24100
  color: ColorInputSchema
24072
24101
  }), _void(), {
24073
24102
  kind: "mutation",
24074
- auth: "admin"
24103
+ auth: "protected"
24075
24104
  }), object({
24076
24105
  deviceId: number(),
24077
24106
  mode: _enum([
@@ -24220,7 +24249,7 @@ DeviceType.Control, method(object({
24220
24249
  control: ControlSetValueInputSchema
24221
24250
  }), _void(), {
24222
24251
  kind: "mutation",
24223
- auth: "admin"
24252
+ auth: "protected"
24224
24253
  });
24225
24254
  object({
24226
24255
  /** Lifecycle state of the cover. */
@@ -24241,25 +24270,25 @@ object({
24241
24270
  });
24242
24271
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24243
24272
  kind: "mutation",
24244
- auth: "admin"
24273
+ auth: "protected"
24245
24274
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24246
24275
  kind: "mutation",
24247
- auth: "admin"
24276
+ auth: "protected"
24248
24277
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24249
24278
  kind: "mutation",
24250
- auth: "admin"
24279
+ auth: "protected"
24251
24280
  }), method(object({
24252
24281
  deviceId: number().int().nonnegative(),
24253
24282
  position: number().min(0).max(100)
24254
24283
  }), _void(), {
24255
24284
  kind: "mutation",
24256
- auth: "admin"
24285
+ auth: "protected"
24257
24286
  }), method(object({
24258
24287
  deviceId: number().int().nonnegative(),
24259
24288
  tiltPosition: number().min(0).max(100)
24260
24289
  }), _void(), {
24261
24290
  kind: "mutation",
24262
- auth: "admin"
24291
+ auth: "protected"
24263
24292
  });
24264
24293
  /**
24265
24294
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24854,25 +24883,25 @@ DeviceType.Fan, method(object({
24854
24883
  percentage: number().min(0).max(100)
24855
24884
  }), _void(), {
24856
24885
  kind: "mutation",
24857
- auth: "admin"
24886
+ auth: "protected"
24858
24887
  }), method(object({
24859
24888
  deviceId: number().int().nonnegative(),
24860
24889
  preset: string().min(1)
24861
24890
  }), _void(), {
24862
24891
  kind: "mutation",
24863
- auth: "admin"
24892
+ auth: "protected"
24864
24893
  }), method(object({
24865
24894
  deviceId: number().int().nonnegative(),
24866
24895
  direction: FanDirectionSchema
24867
24896
  }), _void(), {
24868
24897
  kind: "mutation",
24869
- auth: "admin"
24898
+ auth: "protected"
24870
24899
  }), method(object({
24871
24900
  deviceId: number().int().nonnegative(),
24872
24901
  oscillating: boolean()
24873
24902
  }), _void(), {
24874
24903
  kind: "mutation",
24875
- auth: "admin"
24904
+ auth: "protected"
24876
24905
  });
24877
24906
  /**
24878
24907
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24975,19 +25004,19 @@ DeviceType.Humidifier, method(object({
24975
25004
  on: boolean()
24976
25005
  }), _void(), {
24977
25006
  kind: "mutation",
24978
- auth: "admin"
25007
+ auth: "protected"
24979
25008
  }), method(object({
24980
25009
  deviceId: number().int().nonnegative(),
24981
25010
  humidity: number().min(0).max(100)
24982
25011
  }), _void(), {
24983
25012
  kind: "mutation",
24984
- auth: "admin"
25013
+ auth: "protected"
24985
25014
  }), method(object({
24986
25015
  deviceId: number().int().nonnegative(),
24987
25016
  mode: string().min(1)
24988
25017
  }), _void(), {
24989
25018
  kind: "mutation",
24990
- auth: "admin"
25019
+ auth: "protected"
24991
25020
  });
24992
25021
  object({
24993
25022
  /** Current relative humidity, 0..100. */
@@ -25449,13 +25478,13 @@ object({
25449
25478
  });
25450
25479
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25451
25480
  kind: "mutation",
25452
- auth: "admin"
25481
+ auth: "protected"
25453
25482
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25454
25483
  kind: "mutation",
25455
- auth: "admin"
25484
+ auth: "protected"
25456
25485
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25457
25486
  kind: "mutation",
25458
- auth: "admin"
25487
+ auth: "protected"
25459
25488
  });
25460
25489
  /**
25461
25490
  * local-network — hub-only singleton.
@@ -25715,16 +25744,16 @@ DeviceType.Lock, method(object({
25715
25744
  code: string().min(1).optional()
25716
25745
  }), _void(), {
25717
25746
  kind: "mutation",
25718
- auth: "admin"
25747
+ auth: "protected"
25719
25748
  }), method(object({
25720
25749
  deviceId: number().int().nonnegative(),
25721
25750
  code: string().min(1).optional()
25722
25751
  }), _void(), {
25723
25752
  kind: "mutation",
25724
- auth: "admin"
25753
+ auth: "protected"
25725
25754
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25726
25755
  kind: "mutation",
25727
- auth: "admin"
25756
+ auth: "protected"
25728
25757
  });
25729
25758
  /**
25730
25759
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25798,55 +25827,55 @@ object({
25798
25827
  });
25799
25828
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25800
25829
  kind: "mutation",
25801
- auth: "admin"
25830
+ auth: "protected"
25802
25831
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25803
25832
  kind: "mutation",
25804
- auth: "admin"
25833
+ auth: "protected"
25805
25834
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25806
25835
  kind: "mutation",
25807
- auth: "admin"
25836
+ auth: "protected"
25808
25837
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25809
25838
  kind: "mutation",
25810
- auth: "admin"
25839
+ auth: "protected"
25811
25840
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25812
25841
  kind: "mutation",
25813
- auth: "admin"
25842
+ auth: "protected"
25814
25843
  }), method(object({
25815
25844
  deviceId: number().int().nonnegative(),
25816
25845
  positionMs: number().int().nonnegative()
25817
25846
  }), _void(), {
25818
25847
  kind: "mutation",
25819
- auth: "admin"
25848
+ auth: "protected"
25820
25849
  }), method(object({
25821
25850
  deviceId: number().int().nonnegative(),
25822
25851
  volumeLevel: number().min(0).max(100)
25823
25852
  }), _void(), {
25824
25853
  kind: "mutation",
25825
- auth: "admin"
25854
+ auth: "protected"
25826
25855
  }), method(object({
25827
25856
  deviceId: number().int().nonnegative(),
25828
25857
  muted: boolean()
25829
25858
  }), _void(), {
25830
25859
  kind: "mutation",
25831
- auth: "admin"
25860
+ auth: "protected"
25832
25861
  }), method(object({
25833
25862
  deviceId: number().int().nonnegative(),
25834
25863
  shuffle: boolean()
25835
25864
  }), _void(), {
25836
25865
  kind: "mutation",
25837
- auth: "admin"
25866
+ auth: "protected"
25838
25867
  }), method(object({
25839
25868
  deviceId: number().int().nonnegative(),
25840
25869
  repeat: MediaPlayerRepeatSchema
25841
25870
  }), _void(), {
25842
25871
  kind: "mutation",
25843
- auth: "admin"
25872
+ auth: "protected"
25844
25873
  }), method(object({
25845
25874
  deviceId: number().int().nonnegative(),
25846
25875
  source: string().min(1)
25847
25876
  }), _void(), {
25848
25877
  kind: "mutation",
25849
- auth: "admin"
25878
+ auth: "protected"
25850
25879
  }), method(object({
25851
25880
  deviceId: number().int().nonnegative(),
25852
25881
  /** Media identifier / URL. */
@@ -25856,7 +25885,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25856
25885
  mediaType: string().min(1)
25857
25886
  }), _void(), {
25858
25887
  kind: "mutation",
25859
- auth: "admin"
25888
+ auth: "protected"
25860
25889
  });
25861
25890
  /**
25862
25891
  * mesh-network — collection cap for mesh-VPN providers.
@@ -27022,49 +27051,49 @@ DeviceType.PetFeeder, method(object({
27022
27051
  hopper2: gramsPortion.optional()
27023
27052
  }), _void(), {
27024
27053
  kind: "mutation",
27025
- auth: "admin"
27054
+ auth: "protected"
27026
27055
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27027
27056
  kind: "mutation",
27028
- auth: "admin"
27057
+ auth: "protected"
27029
27058
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27030
27059
  kind: "mutation",
27031
- auth: "admin"
27060
+ auth: "protected"
27032
27061
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27033
27062
  kind: "mutation",
27034
- auth: "admin"
27063
+ auth: "protected"
27035
27064
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27036
27065
  kind: "mutation",
27037
- auth: "admin"
27066
+ auth: "protected"
27038
27067
  }), method(object({
27039
27068
  deviceId: number().int().nonnegative(),
27040
27069
  soundId: number().int().nonnegative()
27041
27070
  }), _void(), {
27042
27071
  kind: "mutation",
27043
- auth: "admin"
27072
+ auth: "protected"
27044
27073
  }), method(object({
27045
27074
  deviceId: number().int().nonnegative(),
27046
27075
  on: boolean()
27047
27076
  }), _void(), {
27048
27077
  kind: "mutation",
27049
- auth: "admin"
27078
+ auth: "protected"
27050
27079
  }), method(object({
27051
27080
  deviceId: number().int().nonnegative(),
27052
27081
  on: boolean()
27053
27082
  }), _void(), {
27054
27083
  kind: "mutation",
27055
- auth: "admin"
27084
+ auth: "protected"
27056
27085
  }), method(object({
27057
27086
  deviceId: number().int().nonnegative(),
27058
27087
  on: boolean()
27059
27088
  }), _void(), {
27060
27089
  kind: "mutation",
27061
- auth: "admin"
27090
+ auth: "protected"
27062
27091
  }), method(object({
27063
27092
  deviceId: number().int().nonnegative(),
27064
27093
  level: number().int().nonnegative()
27065
27094
  }), _void(), {
27066
27095
  kind: "mutation",
27067
- auth: "admin"
27096
+ auth: "protected"
27068
27097
  });
27069
27098
  var VehicleSchema = object({
27070
27099
  id: string(),
@@ -28851,7 +28880,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28851
28880
  on: boolean()
28852
28881
  }), _void(), {
28853
28882
  kind: "mutation",
28854
- auth: "admin"
28883
+ auth: "protected"
28855
28884
  }), object({
28856
28885
  deviceId: number(),
28857
28886
  on: boolean(),
@@ -29708,25 +29737,25 @@ object({
29708
29737
  });
29709
29738
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29710
29739
  kind: "mutation",
29711
- auth: "admin"
29740
+ auth: "protected"
29712
29741
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29713
29742
  kind: "mutation",
29714
- auth: "admin"
29743
+ auth: "protected"
29715
29744
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29716
29745
  kind: "mutation",
29717
- auth: "admin"
29746
+ auth: "protected"
29718
29747
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29719
29748
  kind: "mutation",
29720
- auth: "admin"
29749
+ auth: "protected"
29721
29750
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29722
29751
  kind: "mutation",
29723
- auth: "admin"
29752
+ auth: "protected"
29724
29753
  }), method(object({
29725
29754
  deviceId: number().int().nonnegative(),
29726
29755
  speed: string().min(1)
29727
29756
  }), _void(), {
29728
29757
  kind: "mutation",
29729
- auth: "admin"
29758
+ auth: "protected"
29730
29759
  });
29731
29760
  object({
29732
29761
  /** Lifecycle state of the valve. */
@@ -29745,19 +29774,19 @@ object({
29745
29774
  });
29746
29775
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29747
29776
  kind: "mutation",
29748
- auth: "admin"
29777
+ auth: "protected"
29749
29778
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29750
29779
  kind: "mutation",
29751
- auth: "admin"
29780
+ auth: "protected"
29752
29781
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29753
29782
  kind: "mutation",
29754
- auth: "admin"
29783
+ auth: "protected"
29755
29784
  }), method(object({
29756
29785
  deviceId: number().int().nonnegative(),
29757
29786
  position: number().min(0).max(100)
29758
29787
  }), _void(), {
29759
29788
  kind: "mutation",
29760
- auth: "admin"
29789
+ auth: "protected"
29761
29790
  });
29762
29791
  object({
29763
29792
  detected: boolean(),
@@ -29791,19 +29820,19 @@ DeviceType.WaterHeater, method(object({
29791
29820
  temp: number().finite()
29792
29821
  }), _void(), {
29793
29822
  kind: "mutation",
29794
- auth: "admin"
29823
+ auth: "protected"
29795
29824
  }), method(object({
29796
29825
  deviceId: number().int().nonnegative(),
29797
29826
  mode: string().min(1)
29798
29827
  }), _void(), {
29799
29828
  kind: "mutation",
29800
- auth: "admin"
29829
+ auth: "protected"
29801
29830
  }), method(object({
29802
29831
  deviceId: number().int().nonnegative(),
29803
29832
  on: boolean()
29804
29833
  }), _void(), {
29805
29834
  kind: "mutation",
29806
- auth: "admin"
29835
+ auth: "protected"
29807
29836
  });
29808
29837
  object({
29809
29838
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33431,6 +33460,12 @@ Object.freeze({
33431
33460
  addonId: null,
33432
33461
  access: "view"
33433
33462
  },
33463
+ "pipelineAnalytics.listArchivedDebugNotes": {
33464
+ capName: "pipeline-analytics",
33465
+ capScope: "device",
33466
+ addonId: null,
33467
+ access: "view"
33468
+ },
33434
33469
  "pipelineAnalytics.listEventKinds": {
33435
33470
  capName: "pipeline-analytics",
33436
33471
  capScope: "device",
@@ -37218,6 +37253,11 @@ Object.freeze({
37218
37253
  form: "array",
37219
37254
  optional: true
37220
37255
  }],
37256
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37257
+ name: "deviceId",
37258
+ form: "single",
37259
+ optional: true
37260
+ }],
37221
37261
  "pipelineAnalytics.listEventKinds": [{
37222
37262
  name: "deviceId",
37223
37263
  form: "single",
@@ -7768,6 +7768,35 @@ var CameraSwitchGroupSchema = object({
7768
7768
  /** Unix ms when the group was composed server-side. */
7769
7769
  fetchedAt: number()
7770
7770
  });
7771
+ /** One archived note — the operator's words plus enough context to find what
7772
+ * they were looking at, after the track itself is gone. */
7773
+ var ArchivedDebugNoteSchema = object({
7774
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7775
+ * same sentence about the same track lands on the row already there. */
7776
+ id: string(),
7777
+ /** The operator's own words, verbatim. */
7778
+ note: string(),
7779
+ /** The camera. Required — every question here is asked per-camera. */
7780
+ deviceId: number().int(),
7781
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7782
+ * is expected to be gone, and this row is not a reference to it. */
7783
+ sourceTrackId: string(),
7784
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7785
+ archivedAt: number().int(),
7786
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7787
+ trackStartedAt: number().int().nullable(),
7788
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7789
+ trackClass: string().nullable(),
7790
+ /** The track's display label at review time; `null` when it had none. */
7791
+ trackLabel: string().nullable()
7792
+ });
7793
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7794
+ var ArchivedDebugNoteQueryInputSchema = object({
7795
+ /** Restrict to a single camera; omit for every row. */
7796
+ deviceId: number().int().optional(),
7797
+ /** Max rows returned, newest-first. */
7798
+ limit: number().int().min(1).max(1e3).optional()
7799
+ });
7771
7800
  /**
7772
7801
  * Ops-log — the durable, append-only operations audit shared by the
7773
7802
  * recordings and events management surfaces.
@@ -16079,16 +16108,16 @@ DeviceType.AlarmPanel, method(object({
16079
16108
  code: string().min(1).optional()
16080
16109
  }), _void(), {
16081
16110
  kind: "mutation",
16082
- auth: "admin"
16111
+ auth: "protected"
16083
16112
  }), method(object({
16084
16113
  deviceId: number().int().nonnegative(),
16085
16114
  code: string().min(1).optional()
16086
16115
  }), _void(), {
16087
16116
  kind: "mutation",
16088
- auth: "admin"
16117
+ auth: "protected"
16089
16118
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
16090
16119
  kind: "mutation",
16091
- auth: "admin"
16120
+ auth: "protected"
16092
16121
  });
16093
16122
  /**
16094
16123
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -20006,7 +20035,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20006
20035
  deviceId: number(),
20007
20036
  trackId: string(),
20008
20037
  flags: TrackFlagsPatchSchema
20009
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20038
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20010
20039
  kind: "query",
20011
20040
  auth: "admin"
20012
20041
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23759,7 +23788,7 @@ DeviceType.Light, method(object({
23759
23788
  percentage: number().min(0).max(100)
23760
23789
  }), _void(), {
23761
23790
  kind: "mutation",
23762
- auth: "admin"
23791
+ auth: "protected"
23763
23792
  }), object({
23764
23793
  deviceId: number(),
23765
23794
  percentage: number().min(0).max(100),
@@ -23767,7 +23796,7 @@ DeviceType.Light, method(object({
23767
23796
  });
23768
23797
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23769
23798
  kind: "mutation",
23770
- auth: "admin"
23799
+ auth: "protected"
23771
23800
  });
23772
23801
  /**
23773
23802
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23926,50 +23955,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23926
23955
  mode: HvacModeSchema
23927
23956
  }), _void(), {
23928
23957
  kind: "mutation",
23929
- auth: "admin"
23958
+ auth: "protected"
23930
23959
  }), method(object({
23931
23960
  deviceId: number().int().nonnegative(),
23932
23961
  fanMode: string().min(1)
23933
23962
  }), _void(), {
23934
23963
  kind: "mutation",
23935
- auth: "admin"
23964
+ auth: "protected"
23936
23965
  }), method(object({
23937
23966
  deviceId: number().int().nonnegative(),
23938
23967
  preset: string().min(1)
23939
23968
  }), _void(), {
23940
23969
  kind: "mutation",
23941
- auth: "admin"
23970
+ auth: "protected"
23942
23971
  }), method(object({
23943
23972
  deviceId: number().int().nonnegative(),
23944
23973
  target: number()
23945
23974
  }), _void(), {
23946
23975
  kind: "mutation",
23947
- auth: "admin"
23976
+ auth: "protected"
23948
23977
  }), method(object({
23949
23978
  deviceId: number().int().nonnegative(),
23950
23979
  targetLow: number(),
23951
23980
  targetHigh: number()
23952
23981
  }), _void(), {
23953
23982
  kind: "mutation",
23954
- auth: "admin"
23983
+ auth: "protected"
23955
23984
  }), method(object({
23956
23985
  deviceId: number().int().nonnegative(),
23957
23986
  targetHumidity: number().min(0).max(100)
23958
23987
  }), _void(), {
23959
23988
  kind: "mutation",
23960
- auth: "admin"
23989
+ auth: "protected"
23961
23990
  }), method(object({
23962
23991
  deviceId: number().int().nonnegative(),
23963
23992
  on: boolean()
23964
23993
  }), _void(), {
23965
23994
  kind: "mutation",
23966
- auth: "admin"
23995
+ auth: "protected"
23967
23996
  }), method(object({
23968
23997
  deviceId: number().int().nonnegative(),
23969
23998
  on: boolean()
23970
23999
  }), _void(), {
23971
24000
  kind: "mutation",
23972
- auth: "admin"
24001
+ auth: "protected"
23973
24002
  });
23974
24003
  /**
23975
24004
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -24044,7 +24073,7 @@ DeviceType.Light, method(object({
24044
24073
  color: ColorInputSchema
24045
24074
  }), _void(), {
24046
24075
  kind: "mutation",
24047
- auth: "admin"
24076
+ auth: "protected"
24048
24077
  }), object({
24049
24078
  deviceId: number(),
24050
24079
  mode: _enum([
@@ -24193,7 +24222,7 @@ DeviceType.Control, method(object({
24193
24222
  control: ControlSetValueInputSchema
24194
24223
  }), _void(), {
24195
24224
  kind: "mutation",
24196
- auth: "admin"
24225
+ auth: "protected"
24197
24226
  });
24198
24227
  object({
24199
24228
  /** Lifecycle state of the cover. */
@@ -24214,25 +24243,25 @@ object({
24214
24243
  });
24215
24244
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24216
24245
  kind: "mutation",
24217
- auth: "admin"
24246
+ auth: "protected"
24218
24247
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24219
24248
  kind: "mutation",
24220
- auth: "admin"
24249
+ auth: "protected"
24221
24250
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24222
24251
  kind: "mutation",
24223
- auth: "admin"
24252
+ auth: "protected"
24224
24253
  }), method(object({
24225
24254
  deviceId: number().int().nonnegative(),
24226
24255
  position: number().min(0).max(100)
24227
24256
  }), _void(), {
24228
24257
  kind: "mutation",
24229
- auth: "admin"
24258
+ auth: "protected"
24230
24259
  }), method(object({
24231
24260
  deviceId: number().int().nonnegative(),
24232
24261
  tiltPosition: number().min(0).max(100)
24233
24262
  }), _void(), {
24234
24263
  kind: "mutation",
24235
- auth: "admin"
24264
+ auth: "protected"
24236
24265
  });
24237
24266
  /**
24238
24267
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24827,25 +24856,25 @@ DeviceType.Fan, method(object({
24827
24856
  percentage: number().min(0).max(100)
24828
24857
  }), _void(), {
24829
24858
  kind: "mutation",
24830
- auth: "admin"
24859
+ auth: "protected"
24831
24860
  }), method(object({
24832
24861
  deviceId: number().int().nonnegative(),
24833
24862
  preset: string().min(1)
24834
24863
  }), _void(), {
24835
24864
  kind: "mutation",
24836
- auth: "admin"
24865
+ auth: "protected"
24837
24866
  }), method(object({
24838
24867
  deviceId: number().int().nonnegative(),
24839
24868
  direction: FanDirectionSchema
24840
24869
  }), _void(), {
24841
24870
  kind: "mutation",
24842
- auth: "admin"
24871
+ auth: "protected"
24843
24872
  }), method(object({
24844
24873
  deviceId: number().int().nonnegative(),
24845
24874
  oscillating: boolean()
24846
24875
  }), _void(), {
24847
24876
  kind: "mutation",
24848
- auth: "admin"
24877
+ auth: "protected"
24849
24878
  });
24850
24879
  /**
24851
24880
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24948,19 +24977,19 @@ DeviceType.Humidifier, method(object({
24948
24977
  on: boolean()
24949
24978
  }), _void(), {
24950
24979
  kind: "mutation",
24951
- auth: "admin"
24980
+ auth: "protected"
24952
24981
  }), method(object({
24953
24982
  deviceId: number().int().nonnegative(),
24954
24983
  humidity: number().min(0).max(100)
24955
24984
  }), _void(), {
24956
24985
  kind: "mutation",
24957
- auth: "admin"
24986
+ auth: "protected"
24958
24987
  }), method(object({
24959
24988
  deviceId: number().int().nonnegative(),
24960
24989
  mode: string().min(1)
24961
24990
  }), _void(), {
24962
24991
  kind: "mutation",
24963
- auth: "admin"
24992
+ auth: "protected"
24964
24993
  });
24965
24994
  object({
24966
24995
  /** Current relative humidity, 0..100. */
@@ -25422,13 +25451,13 @@ object({
25422
25451
  });
25423
25452
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25424
25453
  kind: "mutation",
25425
- auth: "admin"
25454
+ auth: "protected"
25426
25455
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25427
25456
  kind: "mutation",
25428
- auth: "admin"
25457
+ auth: "protected"
25429
25458
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25430
25459
  kind: "mutation",
25431
- auth: "admin"
25460
+ auth: "protected"
25432
25461
  });
25433
25462
  /**
25434
25463
  * local-network — hub-only singleton.
@@ -25688,16 +25717,16 @@ DeviceType.Lock, method(object({
25688
25717
  code: string().min(1).optional()
25689
25718
  }), _void(), {
25690
25719
  kind: "mutation",
25691
- auth: "admin"
25720
+ auth: "protected"
25692
25721
  }), method(object({
25693
25722
  deviceId: number().int().nonnegative(),
25694
25723
  code: string().min(1).optional()
25695
25724
  }), _void(), {
25696
25725
  kind: "mutation",
25697
- auth: "admin"
25726
+ auth: "protected"
25698
25727
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25699
25728
  kind: "mutation",
25700
- auth: "admin"
25729
+ auth: "protected"
25701
25730
  });
25702
25731
  /**
25703
25732
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25771,55 +25800,55 @@ object({
25771
25800
  });
25772
25801
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25773
25802
  kind: "mutation",
25774
- auth: "admin"
25803
+ auth: "protected"
25775
25804
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25776
25805
  kind: "mutation",
25777
- auth: "admin"
25806
+ auth: "protected"
25778
25807
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25779
25808
  kind: "mutation",
25780
- auth: "admin"
25809
+ auth: "protected"
25781
25810
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25782
25811
  kind: "mutation",
25783
- auth: "admin"
25812
+ auth: "protected"
25784
25813
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25785
25814
  kind: "mutation",
25786
- auth: "admin"
25815
+ auth: "protected"
25787
25816
  }), method(object({
25788
25817
  deviceId: number().int().nonnegative(),
25789
25818
  positionMs: number().int().nonnegative()
25790
25819
  }), _void(), {
25791
25820
  kind: "mutation",
25792
- auth: "admin"
25821
+ auth: "protected"
25793
25822
  }), method(object({
25794
25823
  deviceId: number().int().nonnegative(),
25795
25824
  volumeLevel: number().min(0).max(100)
25796
25825
  }), _void(), {
25797
25826
  kind: "mutation",
25798
- auth: "admin"
25827
+ auth: "protected"
25799
25828
  }), method(object({
25800
25829
  deviceId: number().int().nonnegative(),
25801
25830
  muted: boolean()
25802
25831
  }), _void(), {
25803
25832
  kind: "mutation",
25804
- auth: "admin"
25833
+ auth: "protected"
25805
25834
  }), method(object({
25806
25835
  deviceId: number().int().nonnegative(),
25807
25836
  shuffle: boolean()
25808
25837
  }), _void(), {
25809
25838
  kind: "mutation",
25810
- auth: "admin"
25839
+ auth: "protected"
25811
25840
  }), method(object({
25812
25841
  deviceId: number().int().nonnegative(),
25813
25842
  repeat: MediaPlayerRepeatSchema
25814
25843
  }), _void(), {
25815
25844
  kind: "mutation",
25816
- auth: "admin"
25845
+ auth: "protected"
25817
25846
  }), method(object({
25818
25847
  deviceId: number().int().nonnegative(),
25819
25848
  source: string().min(1)
25820
25849
  }), _void(), {
25821
25850
  kind: "mutation",
25822
- auth: "admin"
25851
+ auth: "protected"
25823
25852
  }), method(object({
25824
25853
  deviceId: number().int().nonnegative(),
25825
25854
  /** Media identifier / URL. */
@@ -25829,7 +25858,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25829
25858
  mediaType: string().min(1)
25830
25859
  }), _void(), {
25831
25860
  kind: "mutation",
25832
- auth: "admin"
25861
+ auth: "protected"
25833
25862
  });
25834
25863
  /**
25835
25864
  * mesh-network — collection cap for mesh-VPN providers.
@@ -26995,49 +27024,49 @@ DeviceType.PetFeeder, method(object({
26995
27024
  hopper2: gramsPortion.optional()
26996
27025
  }), _void(), {
26997
27026
  kind: "mutation",
26998
- auth: "admin"
27027
+ auth: "protected"
26999
27028
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27000
27029
  kind: "mutation",
27001
- auth: "admin"
27030
+ auth: "protected"
27002
27031
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27003
27032
  kind: "mutation",
27004
- auth: "admin"
27033
+ auth: "protected"
27005
27034
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27006
27035
  kind: "mutation",
27007
- auth: "admin"
27036
+ auth: "protected"
27008
27037
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27009
27038
  kind: "mutation",
27010
- auth: "admin"
27039
+ auth: "protected"
27011
27040
  }), method(object({
27012
27041
  deviceId: number().int().nonnegative(),
27013
27042
  soundId: number().int().nonnegative()
27014
27043
  }), _void(), {
27015
27044
  kind: "mutation",
27016
- auth: "admin"
27045
+ auth: "protected"
27017
27046
  }), method(object({
27018
27047
  deviceId: number().int().nonnegative(),
27019
27048
  on: boolean()
27020
27049
  }), _void(), {
27021
27050
  kind: "mutation",
27022
- auth: "admin"
27051
+ auth: "protected"
27023
27052
  }), method(object({
27024
27053
  deviceId: number().int().nonnegative(),
27025
27054
  on: boolean()
27026
27055
  }), _void(), {
27027
27056
  kind: "mutation",
27028
- auth: "admin"
27057
+ auth: "protected"
27029
27058
  }), method(object({
27030
27059
  deviceId: number().int().nonnegative(),
27031
27060
  on: boolean()
27032
27061
  }), _void(), {
27033
27062
  kind: "mutation",
27034
- auth: "admin"
27063
+ auth: "protected"
27035
27064
  }), method(object({
27036
27065
  deviceId: number().int().nonnegative(),
27037
27066
  level: number().int().nonnegative()
27038
27067
  }), _void(), {
27039
27068
  kind: "mutation",
27040
- auth: "admin"
27069
+ auth: "protected"
27041
27070
  });
27042
27071
  var VehicleSchema = object({
27043
27072
  id: string(),
@@ -28824,7 +28853,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28824
28853
  on: boolean()
28825
28854
  }), _void(), {
28826
28855
  kind: "mutation",
28827
- auth: "admin"
28856
+ auth: "protected"
28828
28857
  }), object({
28829
28858
  deviceId: number(),
28830
28859
  on: boolean(),
@@ -29681,25 +29710,25 @@ object({
29681
29710
  });
29682
29711
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29683
29712
  kind: "mutation",
29684
- auth: "admin"
29713
+ auth: "protected"
29685
29714
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29686
29715
  kind: "mutation",
29687
- auth: "admin"
29716
+ auth: "protected"
29688
29717
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29689
29718
  kind: "mutation",
29690
- auth: "admin"
29719
+ auth: "protected"
29691
29720
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29692
29721
  kind: "mutation",
29693
- auth: "admin"
29722
+ auth: "protected"
29694
29723
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29695
29724
  kind: "mutation",
29696
- auth: "admin"
29725
+ auth: "protected"
29697
29726
  }), method(object({
29698
29727
  deviceId: number().int().nonnegative(),
29699
29728
  speed: string().min(1)
29700
29729
  }), _void(), {
29701
29730
  kind: "mutation",
29702
- auth: "admin"
29731
+ auth: "protected"
29703
29732
  });
29704
29733
  object({
29705
29734
  /** Lifecycle state of the valve. */
@@ -29718,19 +29747,19 @@ object({
29718
29747
  });
29719
29748
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29720
29749
  kind: "mutation",
29721
- auth: "admin"
29750
+ auth: "protected"
29722
29751
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29723
29752
  kind: "mutation",
29724
- auth: "admin"
29753
+ auth: "protected"
29725
29754
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29726
29755
  kind: "mutation",
29727
- auth: "admin"
29756
+ auth: "protected"
29728
29757
  }), method(object({
29729
29758
  deviceId: number().int().nonnegative(),
29730
29759
  position: number().min(0).max(100)
29731
29760
  }), _void(), {
29732
29761
  kind: "mutation",
29733
- auth: "admin"
29762
+ auth: "protected"
29734
29763
  });
29735
29764
  object({
29736
29765
  detected: boolean(),
@@ -29764,19 +29793,19 @@ DeviceType.WaterHeater, method(object({
29764
29793
  temp: number().finite()
29765
29794
  }), _void(), {
29766
29795
  kind: "mutation",
29767
- auth: "admin"
29796
+ auth: "protected"
29768
29797
  }), method(object({
29769
29798
  deviceId: number().int().nonnegative(),
29770
29799
  mode: string().min(1)
29771
29800
  }), _void(), {
29772
29801
  kind: "mutation",
29773
- auth: "admin"
29802
+ auth: "protected"
29774
29803
  }), method(object({
29775
29804
  deviceId: number().int().nonnegative(),
29776
29805
  on: boolean()
29777
29806
  }), _void(), {
29778
29807
  kind: "mutation",
29779
- auth: "admin"
29808
+ auth: "protected"
29780
29809
  });
29781
29810
  object({
29782
29811
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33404,6 +33433,12 @@ Object.freeze({
33404
33433
  addonId: null,
33405
33434
  access: "view"
33406
33435
  },
33436
+ "pipelineAnalytics.listArchivedDebugNotes": {
33437
+ capName: "pipeline-analytics",
33438
+ capScope: "device",
33439
+ addonId: null,
33440
+ access: "view"
33441
+ },
33407
33442
  "pipelineAnalytics.listEventKinds": {
33408
33443
  capName: "pipeline-analytics",
33409
33444
  capScope: "device",
@@ -37191,6 +37226,11 @@ Object.freeze({
37191
37226
  form: "array",
37192
37227
  optional: true
37193
37228
  }],
37229
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37230
+ name: "deviceId",
37231
+ form: "single",
37232
+ optional: true
37233
+ }],
37194
37234
  "pipelineAnalytics.listEventKinds": [{
37195
37235
  name: "deviceId",
37196
37236
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.91",
3
+ "version": "1.2.93",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",