@camstack/addon-export-google 0.1.49 → 0.1.51

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.
@@ -7820,6 +7820,35 @@ var CameraSwitchGroupSchema = object({
7820
7820
  /** Unix ms when the group was composed server-side. */
7821
7821
  fetchedAt: number()
7822
7822
  });
7823
+ /** One archived note — the operator's words plus enough context to find what
7824
+ * they were looking at, after the track itself is gone. */
7825
+ var ArchivedDebugNoteSchema = object({
7826
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7827
+ * same sentence about the same track lands on the row already there. */
7828
+ id: string(),
7829
+ /** The operator's own words, verbatim. */
7830
+ note: string(),
7831
+ /** The camera. Required — every question here is asked per-camera. */
7832
+ deviceId: number().int(),
7833
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7834
+ * is expected to be gone, and this row is not a reference to it. */
7835
+ sourceTrackId: string(),
7836
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7837
+ archivedAt: number().int(),
7838
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7839
+ trackStartedAt: number().int().nullable(),
7840
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7841
+ trackClass: string().nullable(),
7842
+ /** The track's display label at review time; `null` when it had none. */
7843
+ trackLabel: string().nullable()
7844
+ });
7845
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7846
+ var ArchivedDebugNoteQueryInputSchema = object({
7847
+ /** Restrict to a single camera; omit for every row. */
7848
+ deviceId: number().int().optional(),
7849
+ /** Max rows returned, newest-first. */
7850
+ limit: number().int().min(1).max(1e3).optional()
7851
+ });
7823
7852
  /**
7824
7853
  * Ops-log — the durable, append-only operations audit shared by the
7825
7854
  * recordings and events management surfaces.
@@ -16077,16 +16106,16 @@ DeviceType.AlarmPanel, method(object({
16077
16106
  code: string().min(1).optional()
16078
16107
  }), _void(), {
16079
16108
  kind: "mutation",
16080
- auth: "admin"
16109
+ auth: "protected"
16081
16110
  }), method(object({
16082
16111
  deviceId: number().int().nonnegative(),
16083
16112
  code: string().min(1).optional()
16084
16113
  }), _void(), {
16085
16114
  kind: "mutation",
16086
- auth: "admin"
16115
+ auth: "protected"
16087
16116
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
16088
16117
  kind: "mutation",
16089
- auth: "admin"
16118
+ auth: "protected"
16090
16119
  });
16091
16120
  /**
16092
16121
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -20004,7 +20033,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20004
20033
  deviceId: number(),
20005
20034
  trackId: string(),
20006
20035
  flags: TrackFlagsPatchSchema
20007
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20036
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20008
20037
  kind: "query",
20009
20038
  auth: "admin"
20010
20039
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23769,7 +23798,7 @@ DeviceType.Light, method(object({
23769
23798
  percentage: number().min(0).max(100)
23770
23799
  }), _void(), {
23771
23800
  kind: "mutation",
23772
- auth: "admin"
23801
+ auth: "protected"
23773
23802
  }), object({
23774
23803
  deviceId: number(),
23775
23804
  percentage: number().min(0).max(100),
@@ -23777,7 +23806,7 @@ DeviceType.Light, method(object({
23777
23806
  });
23778
23807
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23779
23808
  kind: "mutation",
23780
- auth: "admin"
23809
+ auth: "protected"
23781
23810
  });
23782
23811
  /**
23783
23812
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23936,50 +23965,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23936
23965
  mode: HvacModeSchema
23937
23966
  }), _void(), {
23938
23967
  kind: "mutation",
23939
- auth: "admin"
23968
+ auth: "protected"
23940
23969
  }), method(object({
23941
23970
  deviceId: number().int().nonnegative(),
23942
23971
  fanMode: string().min(1)
23943
23972
  }), _void(), {
23944
23973
  kind: "mutation",
23945
- auth: "admin"
23974
+ auth: "protected"
23946
23975
  }), method(object({
23947
23976
  deviceId: number().int().nonnegative(),
23948
23977
  preset: string().min(1)
23949
23978
  }), _void(), {
23950
23979
  kind: "mutation",
23951
- auth: "admin"
23980
+ auth: "protected"
23952
23981
  }), method(object({
23953
23982
  deviceId: number().int().nonnegative(),
23954
23983
  target: number()
23955
23984
  }), _void(), {
23956
23985
  kind: "mutation",
23957
- auth: "admin"
23986
+ auth: "protected"
23958
23987
  }), method(object({
23959
23988
  deviceId: number().int().nonnegative(),
23960
23989
  targetLow: number(),
23961
23990
  targetHigh: number()
23962
23991
  }), _void(), {
23963
23992
  kind: "mutation",
23964
- auth: "admin"
23993
+ auth: "protected"
23965
23994
  }), method(object({
23966
23995
  deviceId: number().int().nonnegative(),
23967
23996
  targetHumidity: number().min(0).max(100)
23968
23997
  }), _void(), {
23969
23998
  kind: "mutation",
23970
- auth: "admin"
23999
+ auth: "protected"
23971
24000
  }), method(object({
23972
24001
  deviceId: number().int().nonnegative(),
23973
24002
  on: boolean()
23974
24003
  }), _void(), {
23975
24004
  kind: "mutation",
23976
- auth: "admin"
24005
+ auth: "protected"
23977
24006
  }), method(object({
23978
24007
  deviceId: number().int().nonnegative(),
23979
24008
  on: boolean()
23980
24009
  }), _void(), {
23981
24010
  kind: "mutation",
23982
- auth: "admin"
24011
+ auth: "protected"
23983
24012
  });
23984
24013
  /**
23985
24014
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -24054,7 +24083,7 @@ DeviceType.Light, method(object({
24054
24083
  color: ColorInputSchema
24055
24084
  }), _void(), {
24056
24085
  kind: "mutation",
24057
- auth: "admin"
24086
+ auth: "protected"
24058
24087
  }), object({
24059
24088
  deviceId: number(),
24060
24089
  mode: _enum([
@@ -24203,7 +24232,7 @@ DeviceType.Control, method(object({
24203
24232
  control: ControlSetValueInputSchema
24204
24233
  }), _void(), {
24205
24234
  kind: "mutation",
24206
- auth: "admin"
24235
+ auth: "protected"
24207
24236
  });
24208
24237
  var CoverStatusSchema = object({
24209
24238
  /** Lifecycle state of the cover. */
@@ -24224,25 +24253,25 @@ var CoverStatusSchema = object({
24224
24253
  });
24225
24254
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24226
24255
  kind: "mutation",
24227
- auth: "admin"
24256
+ auth: "protected"
24228
24257
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24229
24258
  kind: "mutation",
24230
- auth: "admin"
24259
+ auth: "protected"
24231
24260
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24232
24261
  kind: "mutation",
24233
- auth: "admin"
24262
+ auth: "protected"
24234
24263
  }), method(object({
24235
24264
  deviceId: number().int().nonnegative(),
24236
24265
  position: number().min(0).max(100)
24237
24266
  }), _void(), {
24238
24267
  kind: "mutation",
24239
- auth: "admin"
24268
+ auth: "protected"
24240
24269
  }), method(object({
24241
24270
  deviceId: number().int().nonnegative(),
24242
24271
  tiltPosition: number().min(0).max(100)
24243
24272
  }), _void(), {
24244
24273
  kind: "mutation",
24245
- auth: "admin"
24274
+ auth: "protected"
24246
24275
  });
24247
24276
  /**
24248
24277
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24837,25 +24866,25 @@ DeviceType.Fan, method(object({
24837
24866
  percentage: number().min(0).max(100)
24838
24867
  }), _void(), {
24839
24868
  kind: "mutation",
24840
- auth: "admin"
24869
+ auth: "protected"
24841
24870
  }), method(object({
24842
24871
  deviceId: number().int().nonnegative(),
24843
24872
  preset: string().min(1)
24844
24873
  }), _void(), {
24845
24874
  kind: "mutation",
24846
- auth: "admin"
24875
+ auth: "protected"
24847
24876
  }), method(object({
24848
24877
  deviceId: number().int().nonnegative(),
24849
24878
  direction: FanDirectionSchema
24850
24879
  }), _void(), {
24851
24880
  kind: "mutation",
24852
- auth: "admin"
24881
+ auth: "protected"
24853
24882
  }), method(object({
24854
24883
  deviceId: number().int().nonnegative(),
24855
24884
  oscillating: boolean()
24856
24885
  }), _void(), {
24857
24886
  kind: "mutation",
24858
- auth: "admin"
24887
+ auth: "protected"
24859
24888
  });
24860
24889
  /**
24861
24890
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24958,19 +24987,19 @@ DeviceType.Humidifier, method(object({
24958
24987
  on: boolean()
24959
24988
  }), _void(), {
24960
24989
  kind: "mutation",
24961
- auth: "admin"
24990
+ auth: "protected"
24962
24991
  }), method(object({
24963
24992
  deviceId: number().int().nonnegative(),
24964
24993
  humidity: number().min(0).max(100)
24965
24994
  }), _void(), {
24966
24995
  kind: "mutation",
24967
- auth: "admin"
24996
+ auth: "protected"
24968
24997
  }), method(object({
24969
24998
  deviceId: number().int().nonnegative(),
24970
24999
  mode: string().min(1)
24971
25000
  }), _void(), {
24972
25001
  kind: "mutation",
24973
- auth: "admin"
25002
+ auth: "protected"
24974
25003
  });
24975
25004
  object({
24976
25005
  /** Current relative humidity, 0..100. */
@@ -25432,13 +25461,13 @@ object({
25432
25461
  });
25433
25462
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25434
25463
  kind: "mutation",
25435
- auth: "admin"
25464
+ auth: "protected"
25436
25465
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25437
25466
  kind: "mutation",
25438
- auth: "admin"
25467
+ auth: "protected"
25439
25468
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25440
25469
  kind: "mutation",
25441
- auth: "admin"
25470
+ auth: "protected"
25442
25471
  });
25443
25472
  /**
25444
25473
  * local-network — hub-only singleton.
@@ -25698,16 +25727,16 @@ DeviceType.Lock, method(object({
25698
25727
  code: string().min(1).optional()
25699
25728
  }), _void(), {
25700
25729
  kind: "mutation",
25701
- auth: "admin"
25730
+ auth: "protected"
25702
25731
  }), method(object({
25703
25732
  deviceId: number().int().nonnegative(),
25704
25733
  code: string().min(1).optional()
25705
25734
  }), _void(), {
25706
25735
  kind: "mutation",
25707
- auth: "admin"
25736
+ auth: "protected"
25708
25737
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25709
25738
  kind: "mutation",
25710
- auth: "admin"
25739
+ auth: "protected"
25711
25740
  });
25712
25741
  /**
25713
25742
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25781,55 +25810,55 @@ object({
25781
25810
  });
25782
25811
  DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25783
25812
  kind: "mutation",
25784
- auth: "admin"
25813
+ auth: "protected"
25785
25814
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25786
25815
  kind: "mutation",
25787
- auth: "admin"
25816
+ auth: "protected"
25788
25817
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25789
25818
  kind: "mutation",
25790
- auth: "admin"
25819
+ auth: "protected"
25791
25820
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25792
25821
  kind: "mutation",
25793
- auth: "admin"
25822
+ auth: "protected"
25794
25823
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25795
25824
  kind: "mutation",
25796
- auth: "admin"
25825
+ auth: "protected"
25797
25826
  }), method(object({
25798
25827
  deviceId: number().int().nonnegative(),
25799
25828
  positionMs: number().int().nonnegative()
25800
25829
  }), _void(), {
25801
25830
  kind: "mutation",
25802
- auth: "admin"
25831
+ auth: "protected"
25803
25832
  }), method(object({
25804
25833
  deviceId: number().int().nonnegative(),
25805
25834
  volumeLevel: number().min(0).max(100)
25806
25835
  }), _void(), {
25807
25836
  kind: "mutation",
25808
- auth: "admin"
25837
+ auth: "protected"
25809
25838
  }), method(object({
25810
25839
  deviceId: number().int().nonnegative(),
25811
25840
  muted: boolean()
25812
25841
  }), _void(), {
25813
25842
  kind: "mutation",
25814
- auth: "admin"
25843
+ auth: "protected"
25815
25844
  }), method(object({
25816
25845
  deviceId: number().int().nonnegative(),
25817
25846
  shuffle: boolean()
25818
25847
  }), _void(), {
25819
25848
  kind: "mutation",
25820
- auth: "admin"
25849
+ auth: "protected"
25821
25850
  }), method(object({
25822
25851
  deviceId: number().int().nonnegative(),
25823
25852
  repeat: MediaPlayerRepeatSchema
25824
25853
  }), _void(), {
25825
25854
  kind: "mutation",
25826
- auth: "admin"
25855
+ auth: "protected"
25827
25856
  }), method(object({
25828
25857
  deviceId: number().int().nonnegative(),
25829
25858
  source: string().min(1)
25830
25859
  }), _void(), {
25831
25860
  kind: "mutation",
25832
- auth: "admin"
25861
+ auth: "protected"
25833
25862
  }), method(object({
25834
25863
  deviceId: number().int().nonnegative(),
25835
25864
  /** Media identifier / URL. */
@@ -25839,7 +25868,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25839
25868
  mediaType: string().min(1)
25840
25869
  }), _void(), {
25841
25870
  kind: "mutation",
25842
- auth: "admin"
25871
+ auth: "protected"
25843
25872
  });
25844
25873
  /**
25845
25874
  * mesh-network — collection cap for mesh-VPN providers.
@@ -27005,49 +27034,49 @@ DeviceType.PetFeeder, method(object({
27005
27034
  hopper2: gramsPortion.optional()
27006
27035
  }), _void(), {
27007
27036
  kind: "mutation",
27008
- auth: "admin"
27037
+ auth: "protected"
27009
27038
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27010
27039
  kind: "mutation",
27011
- auth: "admin"
27040
+ auth: "protected"
27012
27041
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27013
27042
  kind: "mutation",
27014
- auth: "admin"
27043
+ auth: "protected"
27015
27044
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27016
27045
  kind: "mutation",
27017
- auth: "admin"
27046
+ auth: "protected"
27018
27047
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27019
27048
  kind: "mutation",
27020
- auth: "admin"
27049
+ auth: "protected"
27021
27050
  }), method(object({
27022
27051
  deviceId: number().int().nonnegative(),
27023
27052
  soundId: number().int().nonnegative()
27024
27053
  }), _void(), {
27025
27054
  kind: "mutation",
27026
- auth: "admin"
27055
+ auth: "protected"
27027
27056
  }), method(object({
27028
27057
  deviceId: number().int().nonnegative(),
27029
27058
  on: boolean()
27030
27059
  }), _void(), {
27031
27060
  kind: "mutation",
27032
- auth: "admin"
27061
+ auth: "protected"
27033
27062
  }), method(object({
27034
27063
  deviceId: number().int().nonnegative(),
27035
27064
  on: boolean()
27036
27065
  }), _void(), {
27037
27066
  kind: "mutation",
27038
- auth: "admin"
27067
+ auth: "protected"
27039
27068
  }), method(object({
27040
27069
  deviceId: number().int().nonnegative(),
27041
27070
  on: boolean()
27042
27071
  }), _void(), {
27043
27072
  kind: "mutation",
27044
- auth: "admin"
27073
+ auth: "protected"
27045
27074
  }), method(object({
27046
27075
  deviceId: number().int().nonnegative(),
27047
27076
  level: number().int().nonnegative()
27048
27077
  }), _void(), {
27049
27078
  kind: "mutation",
27050
- auth: "admin"
27079
+ auth: "protected"
27051
27080
  });
27052
27081
  var VehicleSchema = object({
27053
27082
  id: string(),
@@ -28841,7 +28870,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28841
28870
  on: boolean()
28842
28871
  }), _void(), {
28843
28872
  kind: "mutation",
28844
- auth: "admin"
28873
+ auth: "protected"
28845
28874
  }), object({
28846
28875
  deviceId: number(),
28847
28876
  on: boolean(),
@@ -29698,25 +29727,25 @@ object({
29698
29727
  });
29699
29728
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29700
29729
  kind: "mutation",
29701
- auth: "admin"
29730
+ auth: "protected"
29702
29731
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29703
29732
  kind: "mutation",
29704
- auth: "admin"
29733
+ auth: "protected"
29705
29734
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29706
29735
  kind: "mutation",
29707
- auth: "admin"
29736
+ auth: "protected"
29708
29737
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29709
29738
  kind: "mutation",
29710
- auth: "admin"
29739
+ auth: "protected"
29711
29740
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29712
29741
  kind: "mutation",
29713
- auth: "admin"
29742
+ auth: "protected"
29714
29743
  }), method(object({
29715
29744
  deviceId: number().int().nonnegative(),
29716
29745
  speed: string().min(1)
29717
29746
  }), _void(), {
29718
29747
  kind: "mutation",
29719
- auth: "admin"
29748
+ auth: "protected"
29720
29749
  });
29721
29750
  object({
29722
29751
  /** Lifecycle state of the valve. */
@@ -29735,19 +29764,19 @@ object({
29735
29764
  });
29736
29765
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29737
29766
  kind: "mutation",
29738
- auth: "admin"
29767
+ auth: "protected"
29739
29768
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29740
29769
  kind: "mutation",
29741
- auth: "admin"
29770
+ auth: "protected"
29742
29771
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29743
29772
  kind: "mutation",
29744
- auth: "admin"
29773
+ auth: "protected"
29745
29774
  }), method(object({
29746
29775
  deviceId: number().int().nonnegative(),
29747
29776
  position: number().min(0).max(100)
29748
29777
  }), _void(), {
29749
29778
  kind: "mutation",
29750
- auth: "admin"
29779
+ auth: "protected"
29751
29780
  });
29752
29781
  object({
29753
29782
  detected: boolean(),
@@ -29781,19 +29810,19 @@ DeviceType.WaterHeater, method(object({
29781
29810
  temp: number().finite()
29782
29811
  }), _void(), {
29783
29812
  kind: "mutation",
29784
- auth: "admin"
29813
+ auth: "protected"
29785
29814
  }), method(object({
29786
29815
  deviceId: number().int().nonnegative(),
29787
29816
  mode: string().min(1)
29788
29817
  }), _void(), {
29789
29818
  kind: "mutation",
29790
- auth: "admin"
29819
+ auth: "protected"
29791
29820
  }), method(object({
29792
29821
  deviceId: number().int().nonnegative(),
29793
29822
  on: boolean()
29794
29823
  }), _void(), {
29795
29824
  kind: "mutation",
29796
- auth: "admin"
29825
+ auth: "protected"
29797
29826
  });
29798
29827
  object({
29799
29828
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33421,6 +33450,12 @@ Object.freeze({
33421
33450
  addonId: null,
33422
33451
  access: "view"
33423
33452
  },
33453
+ "pipelineAnalytics.listArchivedDebugNotes": {
33454
+ capName: "pipeline-analytics",
33455
+ capScope: "device",
33456
+ addonId: null,
33457
+ access: "view"
33458
+ },
33424
33459
  "pipelineAnalytics.listEventKinds": {
33425
33460
  capName: "pipeline-analytics",
33426
33461
  capScope: "device",
@@ -37208,6 +37243,11 @@ Object.freeze({
37208
37243
  form: "array",
37209
37244
  optional: true
37210
37245
  }],
37246
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37247
+ name: "deviceId",
37248
+ form: "single",
37249
+ optional: true
37250
+ }],
37211
37251
  "pipelineAnalytics.listEventKinds": [{
37212
37252
  name: "deviceId",
37213
37253
  form: "single",
@@ -7816,6 +7816,35 @@ var CameraSwitchGroupSchema = object({
7816
7816
  /** Unix ms when the group was composed server-side. */
7817
7817
  fetchedAt: number()
7818
7818
  });
7819
+ /** One archived note — the operator's words plus enough context to find what
7820
+ * they were looking at, after the track itself is gone. */
7821
+ var ArchivedDebugNoteSchema = object({
7822
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7823
+ * same sentence about the same track lands on the row already there. */
7824
+ id: string(),
7825
+ /** The operator's own words, verbatim. */
7826
+ note: string(),
7827
+ /** The camera. Required — every question here is asked per-camera. */
7828
+ deviceId: number().int(),
7829
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7830
+ * is expected to be gone, and this row is not a reference to it. */
7831
+ sourceTrackId: string(),
7832
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7833
+ archivedAt: number().int(),
7834
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7835
+ trackStartedAt: number().int().nullable(),
7836
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7837
+ trackClass: string().nullable(),
7838
+ /** The track's display label at review time; `null` when it had none. */
7839
+ trackLabel: string().nullable()
7840
+ });
7841
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7842
+ var ArchivedDebugNoteQueryInputSchema = object({
7843
+ /** Restrict to a single camera; omit for every row. */
7844
+ deviceId: number().int().optional(),
7845
+ /** Max rows returned, newest-first. */
7846
+ limit: number().int().min(1).max(1e3).optional()
7847
+ });
7819
7848
  /**
7820
7849
  * Ops-log — the durable, append-only operations audit shared by the
7821
7850
  * recordings and events management surfaces.
@@ -16073,16 +16102,16 @@ DeviceType.AlarmPanel, method(object({
16073
16102
  code: string().min(1).optional()
16074
16103
  }), _void(), {
16075
16104
  kind: "mutation",
16076
- auth: "admin"
16105
+ auth: "protected"
16077
16106
  }), method(object({
16078
16107
  deviceId: number().int().nonnegative(),
16079
16108
  code: string().min(1).optional()
16080
16109
  }), _void(), {
16081
16110
  kind: "mutation",
16082
- auth: "admin"
16111
+ auth: "protected"
16083
16112
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
16084
16113
  kind: "mutation",
16085
- auth: "admin"
16114
+ auth: "protected"
16086
16115
  });
16087
16116
  /**
16088
16117
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
@@ -20000,7 +20029,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20000
20029
  deviceId: number(),
20001
20030
  trackId: string(),
20002
20031
  flags: TrackFlagsPatchSchema
20003
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20032
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20004
20033
  kind: "query",
20005
20034
  auth: "admin"
20006
20035
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -23765,7 +23794,7 @@ DeviceType.Light, method(object({
23765
23794
  percentage: number().min(0).max(100)
23766
23795
  }), _void(), {
23767
23796
  kind: "mutation",
23768
- auth: "admin"
23797
+ auth: "protected"
23769
23798
  }), object({
23770
23799
  deviceId: number(),
23771
23800
  percentage: number().min(0).max(100),
@@ -23773,7 +23802,7 @@ DeviceType.Light, method(object({
23773
23802
  });
23774
23803
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
23775
23804
  kind: "mutation",
23776
- auth: "admin"
23805
+ auth: "protected"
23777
23806
  });
23778
23807
  /**
23779
23808
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -23932,50 +23961,50 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
23932
23961
  mode: HvacModeSchema
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
  fanMode: 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
  preset: string().min(1)
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
  target: number()
23951
23980
  }), _void(), {
23952
23981
  kind: "mutation",
23953
- auth: "admin"
23982
+ auth: "protected"
23954
23983
  }), method(object({
23955
23984
  deviceId: number().int().nonnegative(),
23956
23985
  targetLow: number(),
23957
23986
  targetHigh: number()
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
  targetHumidity: number().min(0).max(100)
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
  }), method(object({
23974
24003
  deviceId: number().int().nonnegative(),
23975
24004
  on: boolean()
23976
24005
  }), _void(), {
23977
24006
  kind: "mutation",
23978
- auth: "admin"
24007
+ auth: "protected"
23979
24008
  });
23980
24009
  /**
23981
24010
  * Color-light cap. Coexists with `switch` (on/off) and `brightness`
@@ -24050,7 +24079,7 @@ DeviceType.Light, method(object({
24050
24079
  color: ColorInputSchema
24051
24080
  }), _void(), {
24052
24081
  kind: "mutation",
24053
- auth: "admin"
24082
+ auth: "protected"
24054
24083
  }), object({
24055
24084
  deviceId: number(),
24056
24085
  mode: _enum([
@@ -24199,7 +24228,7 @@ DeviceType.Control, method(object({
24199
24228
  control: ControlSetValueInputSchema
24200
24229
  }), _void(), {
24201
24230
  kind: "mutation",
24202
- auth: "admin"
24231
+ auth: "protected"
24203
24232
  });
24204
24233
  var CoverStatusSchema = object({
24205
24234
  /** Lifecycle state of the cover. */
@@ -24220,25 +24249,25 @@ var CoverStatusSchema = object({
24220
24249
  });
24221
24250
  DeviceType.Cover, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24222
24251
  kind: "mutation",
24223
- auth: "admin"
24252
+ auth: "protected"
24224
24253
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24225
24254
  kind: "mutation",
24226
- auth: "admin"
24255
+ auth: "protected"
24227
24256
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
24228
24257
  kind: "mutation",
24229
- auth: "admin"
24258
+ auth: "protected"
24230
24259
  }), method(object({
24231
24260
  deviceId: number().int().nonnegative(),
24232
24261
  position: number().min(0).max(100)
24233
24262
  }), _void(), {
24234
24263
  kind: "mutation",
24235
- auth: "admin"
24264
+ auth: "protected"
24236
24265
  }), method(object({
24237
24266
  deviceId: number().int().nonnegative(),
24238
24267
  tiltPosition: number().min(0).max(100)
24239
24268
  }), _void(), {
24240
24269
  kind: "mutation",
24241
- auth: "admin"
24270
+ auth: "protected"
24242
24271
  });
24243
24272
  /**
24244
24273
  * Vendor-neutral day/night (IR-cut) control — the per-camera config cap
@@ -24833,25 +24862,25 @@ DeviceType.Fan, method(object({
24833
24862
  percentage: number().min(0).max(100)
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
  preset: string().min(1)
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
  direction: FanDirectionSchema
24846
24875
  }), _void(), {
24847
24876
  kind: "mutation",
24848
- auth: "admin"
24877
+ auth: "protected"
24849
24878
  }), method(object({
24850
24879
  deviceId: number().int().nonnegative(),
24851
24880
  oscillating: boolean()
24852
24881
  }), _void(), {
24853
24882
  kind: "mutation",
24854
- auth: "admin"
24883
+ auth: "protected"
24855
24884
  });
24856
24885
  /**
24857
24886
  * Per-device feature/identity probe slice. Holds the runtime-resolved
@@ -24954,19 +24983,19 @@ DeviceType.Humidifier, method(object({
24954
24983
  on: boolean()
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
  humidity: number().min(0).max(100)
24961
24990
  }), _void(), {
24962
24991
  kind: "mutation",
24963
- auth: "admin"
24992
+ auth: "protected"
24964
24993
  }), method(object({
24965
24994
  deviceId: number().int().nonnegative(),
24966
24995
  mode: string().min(1)
24967
24996
  }), _void(), {
24968
24997
  kind: "mutation",
24969
- auth: "admin"
24998
+ auth: "protected"
24970
24999
  });
24971
25000
  object({
24972
25001
  /** Current relative humidity, 0..100. */
@@ -25428,13 +25457,13 @@ object({
25428
25457
  });
25429
25458
  DeviceType.LawnMower, method(object({ deviceId: number().int().nonnegative() }), _void(), {
25430
25459
  kind: "mutation",
25431
- auth: "admin"
25460
+ auth: "protected"
25432
25461
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25433
25462
  kind: "mutation",
25434
- auth: "admin"
25463
+ auth: "protected"
25435
25464
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25436
25465
  kind: "mutation",
25437
- auth: "admin"
25466
+ auth: "protected"
25438
25467
  });
25439
25468
  /**
25440
25469
  * local-network — hub-only singleton.
@@ -25694,16 +25723,16 @@ DeviceType.Lock, method(object({
25694
25723
  code: string().min(1).optional()
25695
25724
  }), _void(), {
25696
25725
  kind: "mutation",
25697
- auth: "admin"
25726
+ auth: "protected"
25698
25727
  }), method(object({
25699
25728
  deviceId: number().int().nonnegative(),
25700
25729
  code: string().min(1).optional()
25701
25730
  }), _void(), {
25702
25731
  kind: "mutation",
25703
- auth: "admin"
25732
+ auth: "protected"
25704
25733
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25705
25734
  kind: "mutation",
25706
- auth: "admin"
25735
+ auth: "protected"
25707
25736
  });
25708
25737
  /**
25709
25738
  * Media-player cap. Models HA `media_player.*` (Sonos, Chromecast,
@@ -25777,55 +25806,55 @@ object({
25777
25806
  });
25778
25807
  DeviceType.MediaPlayer, 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({ deviceId: number().int().nonnegative() }), _void(), {
25788
25817
  kind: "mutation",
25789
- auth: "admin"
25818
+ auth: "protected"
25790
25819
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
25791
25820
  kind: "mutation",
25792
- auth: "admin"
25821
+ auth: "protected"
25793
25822
  }), method(object({
25794
25823
  deviceId: number().int().nonnegative(),
25795
25824
  positionMs: number().int().nonnegative()
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
  volumeLevel: number().min(0).max(100)
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
  muted: 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
  shuffle: boolean()
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
  repeat: MediaPlayerRepeatSchema
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
  source: string().min(1)
25826
25855
  }), _void(), {
25827
25856
  kind: "mutation",
25828
- auth: "admin"
25857
+ auth: "protected"
25829
25858
  }), method(object({
25830
25859
  deviceId: number().int().nonnegative(),
25831
25860
  /** Media identifier / URL. */
@@ -25835,7 +25864,7 @@ DeviceType.MediaPlayer, method(object({ deviceId: number().int().nonnegative() }
25835
25864
  mediaType: string().min(1)
25836
25865
  }), _void(), {
25837
25866
  kind: "mutation",
25838
- auth: "admin"
25867
+ auth: "protected"
25839
25868
  });
25840
25869
  /**
25841
25870
  * mesh-network — collection cap for mesh-VPN providers.
@@ -27001,49 +27030,49 @@ DeviceType.PetFeeder, method(object({
27001
27030
  hopper2: gramsPortion.optional()
27002
27031
  }), _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({ deviceId: number().int().nonnegative() }), _void(), {
27012
27041
  kind: "mutation",
27013
- auth: "admin"
27042
+ auth: "protected"
27014
27043
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
27015
27044
  kind: "mutation",
27016
- auth: "admin"
27045
+ auth: "protected"
27017
27046
  }), method(object({
27018
27047
  deviceId: number().int().nonnegative(),
27019
27048
  soundId: number().int().nonnegative()
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
  on: boolean()
27038
27067
  }), _void(), {
27039
27068
  kind: "mutation",
27040
- auth: "admin"
27069
+ auth: "protected"
27041
27070
  }), method(object({
27042
27071
  deviceId: number().int().nonnegative(),
27043
27072
  level: number().int().nonnegative()
27044
27073
  }), _void(), {
27045
27074
  kind: "mutation",
27046
- auth: "admin"
27075
+ auth: "protected"
27047
27076
  });
27048
27077
  var VehicleSchema = object({
27049
27078
  id: string(),
@@ -28837,7 +28866,7 @@ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, method(object({
28837
28866
  on: boolean()
28838
28867
  }), _void(), {
28839
28868
  kind: "mutation",
28840
- auth: "admin"
28869
+ auth: "protected"
28841
28870
  }), object({
28842
28871
  deviceId: number(),
28843
28872
  on: boolean(),
@@ -29694,25 +29723,25 @@ object({
29694
29723
  });
29695
29724
  DeviceType.Vacuum, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29696
29725
  kind: "mutation",
29697
- auth: "admin"
29726
+ auth: "protected"
29698
29727
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29699
29728
  kind: "mutation",
29700
- auth: "admin"
29729
+ auth: "protected"
29701
29730
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29702
29731
  kind: "mutation",
29703
- auth: "admin"
29732
+ auth: "protected"
29704
29733
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29705
29734
  kind: "mutation",
29706
- auth: "admin"
29735
+ auth: "protected"
29707
29736
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29708
29737
  kind: "mutation",
29709
- auth: "admin"
29738
+ auth: "protected"
29710
29739
  }), method(object({
29711
29740
  deviceId: number().int().nonnegative(),
29712
29741
  speed: string().min(1)
29713
29742
  }), _void(), {
29714
29743
  kind: "mutation",
29715
- auth: "admin"
29744
+ auth: "protected"
29716
29745
  });
29717
29746
  object({
29718
29747
  /** Lifecycle state of the valve. */
@@ -29731,19 +29760,19 @@ object({
29731
29760
  });
29732
29761
  DeviceType.Valve, method(object({ deviceId: number().int().nonnegative() }), _void(), {
29733
29762
  kind: "mutation",
29734
- auth: "admin"
29763
+ auth: "protected"
29735
29764
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29736
29765
  kind: "mutation",
29737
- auth: "admin"
29766
+ auth: "protected"
29738
29767
  }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
29739
29768
  kind: "mutation",
29740
- auth: "admin"
29769
+ auth: "protected"
29741
29770
  }), method(object({
29742
29771
  deviceId: number().int().nonnegative(),
29743
29772
  position: number().min(0).max(100)
29744
29773
  }), _void(), {
29745
29774
  kind: "mutation",
29746
- auth: "admin"
29775
+ auth: "protected"
29747
29776
  });
29748
29777
  object({
29749
29778
  detected: boolean(),
@@ -29777,19 +29806,19 @@ DeviceType.WaterHeater, method(object({
29777
29806
  temp: number().finite()
29778
29807
  }), _void(), {
29779
29808
  kind: "mutation",
29780
- auth: "admin"
29809
+ auth: "protected"
29781
29810
  }), method(object({
29782
29811
  deviceId: number().int().nonnegative(),
29783
29812
  mode: string().min(1)
29784
29813
  }), _void(), {
29785
29814
  kind: "mutation",
29786
- auth: "admin"
29815
+ auth: "protected"
29787
29816
  }), method(object({
29788
29817
  deviceId: number().int().nonnegative(),
29789
29818
  on: boolean()
29790
29819
  }), _void(), {
29791
29820
  kind: "mutation",
29792
- auth: "admin"
29821
+ auth: "protected"
29793
29822
  });
29794
29823
  object({
29795
29824
  /** Verbatim HA condition state (`sunny`, `cloudy`, `rainy`, …). Null
@@ -33417,6 +33446,12 @@ Object.freeze({
33417
33446
  addonId: null,
33418
33447
  access: "view"
33419
33448
  },
33449
+ "pipelineAnalytics.listArchivedDebugNotes": {
33450
+ capName: "pipeline-analytics",
33451
+ capScope: "device",
33452
+ addonId: null,
33453
+ access: "view"
33454
+ },
33420
33455
  "pipelineAnalytics.listEventKinds": {
33421
33456
  capName: "pipeline-analytics",
33422
33457
  capScope: "device",
@@ -37204,6 +37239,11 @@ Object.freeze({
37204
37239
  form: "array",
37205
37240
  optional: true
37206
37241
  }],
37242
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37243
+ name: "deviceId",
37244
+ form: "single",
37245
+ optional: true
37246
+ }],
37207
37247
  "pipelineAnalytics.listEventKinds": [{
37208
37248
  name: "deviceId",
37209
37249
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",