@camstack/addon-export-google 0.1.107 → 0.1.108

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.
@@ -77,7 +77,7 @@ function createApiDeviceGateway(deps) {
77
77
  };
78
78
  }
79
79
  //#endregion
80
- //#region ../types/dist/event-category-7pZEBmVg.mjs
80
+ //#region ../types/dist/event-category-BfJwUd2S.mjs
81
81
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
82
82
  EventCategory["SystemBoot"] = "system.boot";
83
83
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -394,6 +394,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
394
394
  */
395
395
  EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
396
396
  /**
397
+ * A camera's motion source has fired constantly with no subject for an hour
398
+ * (motion duty or session count over the bar, zero detections) — it is not
399
+ * blind, its motion zones or sensitivity want tuning (D907). Paired with
400
+ * {@link PipelineMotionCalm}.
401
+ */
402
+ EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
403
+ /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
404
+ EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
405
+ /**
397
406
  * Per-camera pipeline config was mutated by the orchestrator
398
407
  * (3-level settings change via `setAgentAddonDefaults` /
399
408
  * `setCameraStepToggle` / `setCameraPipelineForAgent` or a
@@ -5500,7 +5509,7 @@ var ZodIssueCode = {
5500
5509
  var ZodFirstPartyTypeKind;
5501
5510
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5502
5511
  //#endregion
5503
- //#region ../types/dist/sleep-CueztlR1.mjs
5512
+ //#region ../types/dist/sleep-DJFUfKvA.mjs
5504
5513
  /**
5505
5514
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5506
5515
  * window to float samples (D455).
@@ -7962,7 +7971,7 @@ var EntryDescriptorSchema = object({
7962
7971
  /** JSON Schema of the entry body; `secret: true` marks a password field. */
7963
7972
  fields: record(string(), unknown())
7964
7973
  }).strict();
7965
- /** What crosses the wire and sits in the engine's catalog: JSON only, no Zod. */
7974
+ /** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
7966
7975
  var RecordKindDeclarationSchema = object({
7967
7976
  database: _enum(RECORD_DATABASES).default("settings"),
7968
7977
  class: _enum(RECORD_CLASSES),
@@ -7981,14 +7990,6 @@ var RecordKindDeclarationSchema = object({
7981
7990
  secretPaths: array(string().min(1)).default([]),
7982
7991
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7983
7992
  secretArrayKeys: record(string(), string()).default({}),
7984
- /**
7985
- * RETIRED (D900): the legacy table a kind adopted from during the records
7986
- * migration. Nothing declares it any more and nothing reads it; the schema
7987
- * still ACCEPTS it because the catalog rows the migration wrote carry it
7988
- * (an orphaned kind is never redeclared) and an addon built before the
7989
- * removal still sends it. Never set it.
7990
- */
7991
- adoptsFrom: string().min(1).optional(),
7992
7993
  /** Kinds that must agree through `transact` sit in one file under one family name. */
7993
7994
  transactFamily: string().min(1).optional(),
7994
7995
  entry: EntryDescriptorSchema.optional()
@@ -12808,17 +12809,6 @@ object({
12808
12809
  createdAt: number(),
12809
12810
  updatedAt: number()
12810
12811
  });
12811
- object({
12812
- id: string(),
12813
- label: string(),
12814
- isAdmin: boolean().default(false),
12815
- allowedProviders: AllowedProviderSchema,
12816
- allowedDevices: AllowedDevicesSchema,
12817
- tokenHash: string(),
12818
- tokenPrefix: string(),
12819
- createdAt: number(),
12820
- lastUsedAt: number().optional()
12821
- });
12822
12812
  object({
12823
12813
  id: string(),
12824
12814
  userId: string(),
@@ -16713,16 +16703,36 @@ var RecordKindStateSchema = _enum([
16713
16703
  var DeclareKindResultSchema = object({
16714
16704
  kindId: number().int(),
16715
16705
  state: RecordKindStateSchema,
16716
- createdIndexes: array(string()),
16717
- /**
16718
- * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16719
- * it stays on the wire, null, because an addon built before the removal reads
16720
- * an ABSENT field as "adoption pending" and refuses to start.
16721
- */
16722
- adoptionPending: _null()
16706
+ createdIndexes: array(string())
16723
16707
  });
16724
16708
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16725
16709
  var SecretRefsList = array(string());
16710
+ /**
16711
+ * One op of a `transact`: the single-row writes, each on a kind of the caller.
16712
+ * All ops of one call share ONE database file and ONE `transactFamily`.
16713
+ */
16714
+ var RecordTransactOpSchema = discriminatedUnion("op", [
16715
+ object({
16716
+ op: literal("put"),
16717
+ kind: RecordKindNameSchema,
16718
+ record: RecordInputSchema,
16719
+ ifRev: number().int().min(0).optional()
16720
+ }),
16721
+ object({
16722
+ op: literal("patch"),
16723
+ kind: RecordKindNameSchema,
16724
+ id: RecordIdSchema,
16725
+ data: RecordBodySchema,
16726
+ at: number().int().nullable().optional(),
16727
+ expiresAt: number().int().nullable().optional(),
16728
+ ifRev: number().int().min(1).optional()
16729
+ }),
16730
+ object({
16731
+ op: literal("delete"),
16732
+ kind: RecordKindNameSchema,
16733
+ id: RecordIdSchema
16734
+ })
16735
+ ]);
16726
16736
  var RecordSecretRefsSchema = record(string(), record(string(), string()));
16727
16737
  method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
16728
16738
  kind: "mutation",
@@ -16829,6 +16839,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
16829
16839
  }), {
16830
16840
  kind: "mutation",
16831
16841
  auth: "admin"
16842
+ }), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
16843
+ results: array(object({
16844
+ rev: number().int().nullable(),
16845
+ deleted: boolean()
16846
+ })),
16847
+ releasedRefs: SecretRefsList,
16848
+ secretRefs: SecretRefsList
16849
+ }), {
16850
+ kind: "mutation",
16851
+ auth: "admin"
16832
16852
  }), method(object({
16833
16853
  deviceId: number().int(),
16834
16854
  kinds: array(RecordKindNameSchema).optional()
@@ -42212,9 +42232,13 @@ var NcSystemEventKindSchema = _enum([
42212
42232
  "node-updating",
42213
42233
  "node-inference-unavailable",
42214
42234
  "detection-blind",
42235
+ "motion-noisy",
42236
+ "motion-calm",
42215
42237
  "recording-stalled",
42216
42238
  "recording-healthy",
42217
42239
  "recording-degraded",
42240
+ "device-attention-required",
42241
+ "device-attention-resolved",
42218
42242
  "storage-location-low",
42219
42243
  "storage-location-critical",
42220
42244
  "storage-location-ok",
@@ -54699,6 +54723,16 @@ object({
54699
54723
  powerState: string().nullable(),
54700
54724
  saltLevel: DishwasherConsumableLevelSchema.nullable(),
54701
54725
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54726
+ /**
54727
+ * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54728
+ * combined care-and-filter reminder raised); false when every such reminder reads clear; null
54729
+ * when none is reported. A cleared reminder is not an unknown one.
54730
+ */
54731
+ filterCleaningDue: boolean().nullable(),
54732
+ /** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
54733
+ machineCareDue: boolean().nullable(),
54734
+ /** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
54735
+ machineCareRemainingRuns: number().int().nonnegative().nullable(),
54702
54736
  /** Option states: null when the appliance does not expose the option or has not said. */
54703
54737
  halfLoad: boolean().nullable(),
54704
54738
  hygienePlus: boolean().nullable(),
@@ -61323,16 +61357,6 @@ var UpdateUserInputSchema = object({
61323
61357
  allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
61324
61358
  scopes: array(TokenScopeSchema).optional()
61325
61359
  });
61326
- var ApiKeySummarySchema = object({
61327
- id: string(),
61328
- label: string(),
61329
- isAdmin: boolean().default(false),
61330
- allowedProviders: union([array(string()), literal("*")]).optional(),
61331
- allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
61332
- tokenPrefix: string(),
61333
- createdAt: number(),
61334
- lastUsedAt: number().optional()
61335
- });
61336
61360
  var OauthSessionSummarySchema = object({
61337
61361
  id: string(),
61338
61362
  userId: string(),
@@ -61354,8 +61378,7 @@ var TotpStatusSchema = object({
61354
61378
  confirmedAt: number().nullable()
61355
61379
  });
61356
61380
  /**
61357
- * user-management — singleton capability for user accounts and the
61358
- * legacy API-key rows.
61381
+ * user-management — singleton capability for user accounts.
61359
61382
  *
61360
61383
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
61361
61384
  * — the subset check on `setUserScopes` is moot
@@ -61411,10 +61434,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61411
61434
  }), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
61412
61435
  kind: "mutation",
61413
61436
  access: "view"
61414
- }), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
61415
- kind: "mutation",
61416
- auth: "admin",
61417
- access: "delete"
61418
61437
  }), method(object({ userId: string() }), TotpSetupResultSchema, {
61419
61438
  kind: "mutation",
61420
61439
  auth: "admin",
@@ -68927,6 +68946,12 @@ Object.freeze({
68927
68946
  addonId: null,
68928
68947
  access: "view"
68929
68948
  },
68949
+ "records.transact": {
68950
+ capName: "records",
68951
+ capScope: "system",
68952
+ addonId: null,
68953
+ access: "create"
68954
+ },
68930
68955
  "sceneMonitor.captureReference": {
68931
68956
  capName: "scene-monitor",
68932
68957
  capScope: "device",
@@ -70259,12 +70284,6 @@ Object.freeze({
70259
70284
  addonId: null,
70260
70285
  access: "view"
70261
70286
  },
70262
- "userManagement.listApiKeys": {
70263
- capName: "user-management",
70264
- capScope: "system",
70265
- addonId: null,
70266
- access: "view"
70267
- },
70268
70287
  "userManagement.listExternalIdentities": {
70269
70288
  capName: "user-management",
70270
70289
  capScope: "system",
@@ -70319,12 +70338,6 @@ Object.freeze({
70319
70338
  addonId: null,
70320
70339
  access: "create"
70321
70340
  },
70322
- "userManagement.revokeApiKey": {
70323
- capName: "user-management",
70324
- capScope: "system",
70325
- addonId: null,
70326
- access: "delete"
70327
- },
70328
70341
  "userManagement.revokeOauthSession": {
70329
70342
  capName: "user-management",
70330
70343
  capScope: "system",
@@ -73689,9 +73702,13 @@ new Map(Object.entries({
73689
73702
  "stream-online": "device-events",
73690
73703
  "stream-offline": "device-events",
73691
73704
  "detection-blind": "device-events",
73705
+ "motion-noisy": "device-events",
73706
+ "motion-calm": "device-events",
73692
73707
  "recording-stalled": "device-events",
73693
73708
  "recording-healthy": "device-events",
73694
73709
  "recording-degraded": "device-events",
73710
+ "device-attention-required": "device-events",
73711
+ "device-attention-resolved": "device-events",
73695
73712
  "node-online": "system",
73696
73713
  "node-offline": "system",
73697
73714
  "node-restarting": "system",
@@ -73774,6 +73791,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73774
73791
  label: "Detecting nothing",
73775
73792
  kinds: ["detection-blind"]
73776
73793
  },
73794
+ {
73795
+ id: "motion-noise",
73796
+ family: "device-events",
73797
+ label: "Motion without a subject",
73798
+ kinds: ["motion-noisy", "motion-calm"]
73799
+ },
73777
73800
  {
73778
73801
  id: "recording",
73779
73802
  family: "device-events",
@@ -73784,6 +73807,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73784
73807
  "recording-degraded"
73785
73808
  ]
73786
73809
  },
73810
+ {
73811
+ id: "device-attention",
73812
+ family: "device-events",
73813
+ label: "Needs attention",
73814
+ kinds: ["device-attention-required", "device-attention-resolved"]
73815
+ },
73787
73816
  {
73788
73817
  id: "nodes",
73789
73818
  family: "system",
@@ -73923,6 +73952,7 @@ var ALERT_EPISODE = [
73923
73952
  "alert-error",
73924
73953
  "alert-critical-resolved"
73925
73954
  ];
73955
+ var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
73926
73956
  var UPDATES = [
73927
73957
  "addon-update-available",
73928
73958
  "server-update-available",
@@ -73952,9 +73982,12 @@ var DEVICE_EVENTS = [
73952
73982
  "stream-online",
73953
73983
  "stream-offline",
73954
73984
  "detection-blind",
73985
+ "motion-noisy",
73986
+ "motion-calm",
73955
73987
  "recording-stalled",
73956
73988
  "recording-healthy",
73957
73989
  "recording-degraded",
73990
+ ...DEVICE_ATTENTION,
73958
73991
  ...ALARM
73959
73992
  ];
73960
73993
  /** Every kind a summary may speak about — the two summarisable families. */
@@ -74122,7 +74155,9 @@ var STATE_SUMMARY_VARS = [
74122
74155
  [...RULE_TEXT],
74123
74156
  [...RULE_TEXT],
74124
74157
  [...RULE_TEXT],
74125
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74158
+ [...RULE_TEXT],
74159
+ [...RULE_TEXT],
74160
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74126
74161
  [...RULE_TEXT],
74127
74162
  [...RULE_TEXT],
74128
74163
  [...RULE_TEXT],
@@ -74144,11 +74179,11 @@ var STATE_SUMMARY_VARS = [
74144
74179
  [...RULE_TEXT],
74145
74180
  [...RULE_TEXT],
74146
74181
  [...RULE_TEXT],
74182
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74147
74183
  ([...RULE_TEXT], [...ALERT_EPISODE]),
74184
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74148
74185
  ([...RULE_TEXT], [...ALERT_EPISODE]),
74149
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74150
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74151
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74186
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74152
74187
  [...RULE_TEXT],
74153
74188
  [...RULE_TEXT],
74154
74189
  [...RULE_TEXT],
@@ -74224,6 +74259,15 @@ new Map([
74224
74259
  snapshotLabel: "Tanks low or full now",
74225
74260
  snapshotSection: "tanks"
74226
74261
  },
74262
+ {
74263
+ id: "motion-noise",
74264
+ family: "device-events",
74265
+ label: "Motion without a subject (constant / calm again)",
74266
+ bad: ["motion-noisy"],
74267
+ recovery: ["motion-calm"],
74268
+ snapshotLabel: "Cameras with constant motion now",
74269
+ snapshotSection: null
74270
+ },
74227
74271
  {
74228
74272
  id: "recording-health",
74229
74273
  family: "device-events",
@@ -74233,6 +74277,15 @@ new Map([
74233
74277
  snapshotLabel: "Recordings stalled now",
74234
74278
  snapshotSection: null
74235
74279
  },
74280
+ {
74281
+ id: "device-attention",
74282
+ family: "device-events",
74283
+ label: "Device needs attention (raised / resolved)",
74284
+ bad: ["device-attention-required"],
74285
+ recovery: ["device-attention-resolved"],
74286
+ snapshotLabel: "Devices needing attention now",
74287
+ snapshotSection: null
74288
+ },
74236
74289
  {
74237
74290
  id: "node-connectivity",
74238
74291
  family: "system",
@@ -73,7 +73,7 @@ function createApiDeviceGateway(deps) {
73
73
  };
74
74
  }
75
75
  //#endregion
76
- //#region ../types/dist/event-category-7pZEBmVg.mjs
76
+ //#region ../types/dist/event-category-BfJwUd2S.mjs
77
77
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
78
78
  EventCategory["SystemBoot"] = "system.boot";
79
79
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -390,6 +390,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
390
390
  */
391
391
  EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
392
392
  /**
393
+ * A camera's motion source has fired constantly with no subject for an hour
394
+ * (motion duty or session count over the bar, zero detections) — it is not
395
+ * blind, its motion zones or sensitivity want tuning (D907). Paired with
396
+ * {@link PipelineMotionCalm}.
397
+ */
398
+ EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
399
+ /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
400
+ EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
401
+ /**
393
402
  * Per-camera pipeline config was mutated by the orchestrator
394
403
  * (3-level settings change via `setAgentAddonDefaults` /
395
404
  * `setCameraStepToggle` / `setCameraPipelineForAgent` or a
@@ -5496,7 +5505,7 @@ var ZodIssueCode = {
5496
5505
  var ZodFirstPartyTypeKind;
5497
5506
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5498
5507
  //#endregion
5499
- //#region ../types/dist/sleep-CueztlR1.mjs
5508
+ //#region ../types/dist/sleep-DJFUfKvA.mjs
5500
5509
  /**
5501
5510
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5502
5511
  * window to float samples (D455).
@@ -7958,7 +7967,7 @@ var EntryDescriptorSchema = object({
7958
7967
  /** JSON Schema of the entry body; `secret: true` marks a password field. */
7959
7968
  fields: record(string(), unknown())
7960
7969
  }).strict();
7961
- /** What crosses the wire and sits in the engine's catalog: JSON only, no Zod. */
7970
+ /** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
7962
7971
  var RecordKindDeclarationSchema = object({
7963
7972
  database: _enum(RECORD_DATABASES).default("settings"),
7964
7973
  class: _enum(RECORD_CLASSES),
@@ -7977,14 +7986,6 @@ var RecordKindDeclarationSchema = object({
7977
7986
  secretPaths: array(string().min(1)).default([]),
7978
7987
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7979
7988
  secretArrayKeys: record(string(), string()).default({}),
7980
- /**
7981
- * RETIRED (D900): the legacy table a kind adopted from during the records
7982
- * migration. Nothing declares it any more and nothing reads it; the schema
7983
- * still ACCEPTS it because the catalog rows the migration wrote carry it
7984
- * (an orphaned kind is never redeclared) and an addon built before the
7985
- * removal still sends it. Never set it.
7986
- */
7987
- adoptsFrom: string().min(1).optional(),
7988
7989
  /** Kinds that must agree through `transact` sit in one file under one family name. */
7989
7990
  transactFamily: string().min(1).optional(),
7990
7991
  entry: EntryDescriptorSchema.optional()
@@ -12804,17 +12805,6 @@ object({
12804
12805
  createdAt: number(),
12805
12806
  updatedAt: number()
12806
12807
  });
12807
- object({
12808
- id: string(),
12809
- label: string(),
12810
- isAdmin: boolean().default(false),
12811
- allowedProviders: AllowedProviderSchema,
12812
- allowedDevices: AllowedDevicesSchema,
12813
- tokenHash: string(),
12814
- tokenPrefix: string(),
12815
- createdAt: number(),
12816
- lastUsedAt: number().optional()
12817
- });
12818
12808
  object({
12819
12809
  id: string(),
12820
12810
  userId: string(),
@@ -16709,16 +16699,36 @@ var RecordKindStateSchema = _enum([
16709
16699
  var DeclareKindResultSchema = object({
16710
16700
  kindId: number().int(),
16711
16701
  state: RecordKindStateSchema,
16712
- createdIndexes: array(string()),
16713
- /**
16714
- * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16715
- * it stays on the wire, null, because an addon built before the removal reads
16716
- * an ABSENT field as "adoption pending" and refuses to start.
16717
- */
16718
- adoptionPending: _null()
16702
+ createdIndexes: array(string())
16719
16703
  });
16720
16704
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16721
16705
  var SecretRefsList = array(string());
16706
+ /**
16707
+ * One op of a `transact`: the single-row writes, each on a kind of the caller.
16708
+ * All ops of one call share ONE database file and ONE `transactFamily`.
16709
+ */
16710
+ var RecordTransactOpSchema = discriminatedUnion("op", [
16711
+ object({
16712
+ op: literal("put"),
16713
+ kind: RecordKindNameSchema,
16714
+ record: RecordInputSchema,
16715
+ ifRev: number().int().min(0).optional()
16716
+ }),
16717
+ object({
16718
+ op: literal("patch"),
16719
+ kind: RecordKindNameSchema,
16720
+ id: RecordIdSchema,
16721
+ data: RecordBodySchema,
16722
+ at: number().int().nullable().optional(),
16723
+ expiresAt: number().int().nullable().optional(),
16724
+ ifRev: number().int().min(1).optional()
16725
+ }),
16726
+ object({
16727
+ op: literal("delete"),
16728
+ kind: RecordKindNameSchema,
16729
+ id: RecordIdSchema
16730
+ })
16731
+ ]);
16722
16732
  var RecordSecretRefsSchema = record(string(), record(string(), string()));
16723
16733
  method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
16724
16734
  kind: "mutation",
@@ -16825,6 +16835,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
16825
16835
  }), {
16826
16836
  kind: "mutation",
16827
16837
  auth: "admin"
16838
+ }), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
16839
+ results: array(object({
16840
+ rev: number().int().nullable(),
16841
+ deleted: boolean()
16842
+ })),
16843
+ releasedRefs: SecretRefsList,
16844
+ secretRefs: SecretRefsList
16845
+ }), {
16846
+ kind: "mutation",
16847
+ auth: "admin"
16828
16848
  }), method(object({
16829
16849
  deviceId: number().int(),
16830
16850
  kinds: array(RecordKindNameSchema).optional()
@@ -42208,9 +42228,13 @@ var NcSystemEventKindSchema = _enum([
42208
42228
  "node-updating",
42209
42229
  "node-inference-unavailable",
42210
42230
  "detection-blind",
42231
+ "motion-noisy",
42232
+ "motion-calm",
42211
42233
  "recording-stalled",
42212
42234
  "recording-healthy",
42213
42235
  "recording-degraded",
42236
+ "device-attention-required",
42237
+ "device-attention-resolved",
42214
42238
  "storage-location-low",
42215
42239
  "storage-location-critical",
42216
42240
  "storage-location-ok",
@@ -54695,6 +54719,16 @@ object({
54695
54719
  powerState: string().nullable(),
54696
54720
  saltLevel: DishwasherConsumableLevelSchema.nullable(),
54697
54721
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54722
+ /**
54723
+ * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54724
+ * combined care-and-filter reminder raised); false when every such reminder reads clear; null
54725
+ * when none is reported. A cleared reminder is not an unknown one.
54726
+ */
54727
+ filterCleaningDue: boolean().nullable(),
54728
+ /** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
54729
+ machineCareDue: boolean().nullable(),
54730
+ /** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
54731
+ machineCareRemainingRuns: number().int().nonnegative().nullable(),
54698
54732
  /** Option states: null when the appliance does not expose the option or has not said. */
54699
54733
  halfLoad: boolean().nullable(),
54700
54734
  hygienePlus: boolean().nullable(),
@@ -61319,16 +61353,6 @@ var UpdateUserInputSchema = object({
61319
61353
  allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
61320
61354
  scopes: array(TokenScopeSchema).optional()
61321
61355
  });
61322
- var ApiKeySummarySchema = object({
61323
- id: string(),
61324
- label: string(),
61325
- isAdmin: boolean().default(false),
61326
- allowedProviders: union([array(string()), literal("*")]).optional(),
61327
- allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
61328
- tokenPrefix: string(),
61329
- createdAt: number(),
61330
- lastUsedAt: number().optional()
61331
- });
61332
61356
  var OauthSessionSummarySchema = object({
61333
61357
  id: string(),
61334
61358
  userId: string(),
@@ -61350,8 +61374,7 @@ var TotpStatusSchema = object({
61350
61374
  confirmedAt: number().nullable()
61351
61375
  });
61352
61376
  /**
61353
- * user-management — singleton capability for user accounts and the
61354
- * legacy API-key rows.
61377
+ * user-management — singleton capability for user accounts.
61355
61378
  *
61356
61379
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
61357
61380
  * — the subset check on `setUserScopes` is moot
@@ -61407,10 +61430,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61407
61430
  }), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
61408
61431
  kind: "mutation",
61409
61432
  access: "view"
61410
- }), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
61411
- kind: "mutation",
61412
- auth: "admin",
61413
- access: "delete"
61414
61433
  }), method(object({ userId: string() }), TotpSetupResultSchema, {
61415
61434
  kind: "mutation",
61416
61435
  auth: "admin",
@@ -68923,6 +68942,12 @@ Object.freeze({
68923
68942
  addonId: null,
68924
68943
  access: "view"
68925
68944
  },
68945
+ "records.transact": {
68946
+ capName: "records",
68947
+ capScope: "system",
68948
+ addonId: null,
68949
+ access: "create"
68950
+ },
68926
68951
  "sceneMonitor.captureReference": {
68927
68952
  capName: "scene-monitor",
68928
68953
  capScope: "device",
@@ -70255,12 +70280,6 @@ Object.freeze({
70255
70280
  addonId: null,
70256
70281
  access: "view"
70257
70282
  },
70258
- "userManagement.listApiKeys": {
70259
- capName: "user-management",
70260
- capScope: "system",
70261
- addonId: null,
70262
- access: "view"
70263
- },
70264
70283
  "userManagement.listExternalIdentities": {
70265
70284
  capName: "user-management",
70266
70285
  capScope: "system",
@@ -70315,12 +70334,6 @@ Object.freeze({
70315
70334
  addonId: null,
70316
70335
  access: "create"
70317
70336
  },
70318
- "userManagement.revokeApiKey": {
70319
- capName: "user-management",
70320
- capScope: "system",
70321
- addonId: null,
70322
- access: "delete"
70323
- },
70324
70337
  "userManagement.revokeOauthSession": {
70325
70338
  capName: "user-management",
70326
70339
  capScope: "system",
@@ -73685,9 +73698,13 @@ new Map(Object.entries({
73685
73698
  "stream-online": "device-events",
73686
73699
  "stream-offline": "device-events",
73687
73700
  "detection-blind": "device-events",
73701
+ "motion-noisy": "device-events",
73702
+ "motion-calm": "device-events",
73688
73703
  "recording-stalled": "device-events",
73689
73704
  "recording-healthy": "device-events",
73690
73705
  "recording-degraded": "device-events",
73706
+ "device-attention-required": "device-events",
73707
+ "device-attention-resolved": "device-events",
73691
73708
  "node-online": "system",
73692
73709
  "node-offline": "system",
73693
73710
  "node-restarting": "system",
@@ -73770,6 +73787,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73770
73787
  label: "Detecting nothing",
73771
73788
  kinds: ["detection-blind"]
73772
73789
  },
73790
+ {
73791
+ id: "motion-noise",
73792
+ family: "device-events",
73793
+ label: "Motion without a subject",
73794
+ kinds: ["motion-noisy", "motion-calm"]
73795
+ },
73773
73796
  {
73774
73797
  id: "recording",
73775
73798
  family: "device-events",
@@ -73780,6 +73803,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73780
73803
  "recording-degraded"
73781
73804
  ]
73782
73805
  },
73806
+ {
73807
+ id: "device-attention",
73808
+ family: "device-events",
73809
+ label: "Needs attention",
73810
+ kinds: ["device-attention-required", "device-attention-resolved"]
73811
+ },
73783
73812
  {
73784
73813
  id: "nodes",
73785
73814
  family: "system",
@@ -73919,6 +73948,7 @@ var ALERT_EPISODE = [
73919
73948
  "alert-error",
73920
73949
  "alert-critical-resolved"
73921
73950
  ];
73951
+ var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
73922
73952
  var UPDATES = [
73923
73953
  "addon-update-available",
73924
73954
  "server-update-available",
@@ -73948,9 +73978,12 @@ var DEVICE_EVENTS = [
73948
73978
  "stream-online",
73949
73979
  "stream-offline",
73950
73980
  "detection-blind",
73981
+ "motion-noisy",
73982
+ "motion-calm",
73951
73983
  "recording-stalled",
73952
73984
  "recording-healthy",
73953
73985
  "recording-degraded",
73986
+ ...DEVICE_ATTENTION,
73954
73987
  ...ALARM
73955
73988
  ];
73956
73989
  /** Every kind a summary may speak about — the two summarisable families. */
@@ -74118,7 +74151,9 @@ var STATE_SUMMARY_VARS = [
74118
74151
  [...RULE_TEXT],
74119
74152
  [...RULE_TEXT],
74120
74153
  [...RULE_TEXT],
74121
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74154
+ [...RULE_TEXT],
74155
+ [...RULE_TEXT],
74156
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74122
74157
  [...RULE_TEXT],
74123
74158
  [...RULE_TEXT],
74124
74159
  [...RULE_TEXT],
@@ -74140,11 +74175,11 @@ var STATE_SUMMARY_VARS = [
74140
74175
  [...RULE_TEXT],
74141
74176
  [...RULE_TEXT],
74142
74177
  [...RULE_TEXT],
74178
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74143
74179
  ([...RULE_TEXT], [...ALERT_EPISODE]),
74180
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74144
74181
  ([...RULE_TEXT], [...ALERT_EPISODE]),
74145
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74146
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74147
- ([...RULE_TEXT], [...ALERT_EPISODE]),
74182
+ ([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
74148
74183
  [...RULE_TEXT],
74149
74184
  [...RULE_TEXT],
74150
74185
  [...RULE_TEXT],
@@ -74220,6 +74255,15 @@ new Map([
74220
74255
  snapshotLabel: "Tanks low or full now",
74221
74256
  snapshotSection: "tanks"
74222
74257
  },
74258
+ {
74259
+ id: "motion-noise",
74260
+ family: "device-events",
74261
+ label: "Motion without a subject (constant / calm again)",
74262
+ bad: ["motion-noisy"],
74263
+ recovery: ["motion-calm"],
74264
+ snapshotLabel: "Cameras with constant motion now",
74265
+ snapshotSection: null
74266
+ },
74223
74267
  {
74224
74268
  id: "recording-health",
74225
74269
  family: "device-events",
@@ -74229,6 +74273,15 @@ new Map([
74229
74273
  snapshotLabel: "Recordings stalled now",
74230
74274
  snapshotSection: null
74231
74275
  },
74276
+ {
74277
+ id: "device-attention",
74278
+ family: "device-events",
74279
+ label: "Device needs attention (raised / resolved)",
74280
+ bad: ["device-attention-required"],
74281
+ recovery: ["device-attention-resolved"],
74282
+ snapshotLabel: "Devices needing attention now",
74283
+ snapshotSection: null
74284
+ },
74232
74285
  {
74233
74286
  id: "node-connectivity",
74234
74287
  family: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.107",
3
+ "version": "0.1.108",
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",