@camstack/addon-auth 1.2.161 → 1.2.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dist-DW1QwbXC.js → dist-C4tUr6eU.js} +237 -61
- package/dist/{dist-B1PH_8Mk.mjs → dist-CqlWph3N.mjs} +237 -61
- package/dist/oidc/auth-oidc.addon.js +1 -1
- package/dist/oidc/auth-oidc.addon.mjs +1 -1
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-B6wzUVWM.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets--WbC3KrX.mjs} +3 -3
- package/dist/webauthn/{_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bra4KCeA.mjs → _virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bdn-Q3of.mjs} +1 -1
- package/dist/webauthn/auth-webauthn.addon.js +1 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +1 -1
- package/dist/webauthn/{hostInit-BkwK87dz.mjs → hostInit-C1WVUEdc.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-BfJwUd2S.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -315,6 +315,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
315
315
|
*/
|
|
316
316
|
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
317
317
|
/**
|
|
318
|
+
* A camera's motion source has fired constantly with no subject for an hour
|
|
319
|
+
* (motion duty or session count over the bar, zero detections) — it is not
|
|
320
|
+
* blind, its motion zones or sensitivity want tuning (D907). Paired with
|
|
321
|
+
* {@link PipelineMotionCalm}.
|
|
322
|
+
*/
|
|
323
|
+
EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
|
|
324
|
+
/** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
|
|
325
|
+
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
326
|
+
/**
|
|
318
327
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
319
328
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
320
329
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -686,6 +695,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
686
695
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
687
696
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
688
697
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
698
|
+
/**
|
|
699
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
700
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
701
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
702
|
+
*/
|
|
703
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
704
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
705
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
689
706
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
690
707
|
/**
|
|
691
708
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -5546,7 +5563,7 @@ var ZodIssueCode = {
|
|
|
5546
5563
|
var ZodFirstPartyTypeKind;
|
|
5547
5564
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5548
5565
|
//#endregion
|
|
5549
|
-
//#region ../types/dist/sleep-
|
|
5566
|
+
//#region ../types/dist/sleep-DJFUfKvA.mjs
|
|
5550
5567
|
/**
|
|
5551
5568
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5552
5569
|
* window to float samples (D455).
|
|
@@ -8145,7 +8162,7 @@ var EntryDescriptorSchema = object({
|
|
|
8145
8162
|
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
8146
8163
|
fields: record(string(), unknown())
|
|
8147
8164
|
}).strict();
|
|
8148
|
-
/** What crosses the wire
|
|
8165
|
+
/** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
|
|
8149
8166
|
var RecordKindDeclarationSchema = object({
|
|
8150
8167
|
database: _enum(RECORD_DATABASES).default("settings"),
|
|
8151
8168
|
class: _enum(RECORD_CLASSES),
|
|
@@ -8164,14 +8181,6 @@ var RecordKindDeclarationSchema = object({
|
|
|
8164
8181
|
secretPaths: array(string().min(1)).default([]),
|
|
8165
8182
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8166
8183
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8167
|
-
/**
|
|
8168
|
-
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8169
|
-
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8170
|
-
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8171
|
-
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8172
|
-
* removal still sends it. Never set it.
|
|
8173
|
-
*/
|
|
8174
|
-
adoptsFrom: string().min(1).optional(),
|
|
8175
8184
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8176
8185
|
transactFamily: string().min(1).optional(),
|
|
8177
8186
|
entry: EntryDescriptorSchema.optional()
|
|
@@ -13066,17 +13075,6 @@ object({
|
|
|
13066
13075
|
createdAt: number(),
|
|
13067
13076
|
updatedAt: number()
|
|
13068
13077
|
});
|
|
13069
|
-
object({
|
|
13070
|
-
id: string(),
|
|
13071
|
-
label: string(),
|
|
13072
|
-
isAdmin: boolean().default(false),
|
|
13073
|
-
allowedProviders: AllowedProviderSchema,
|
|
13074
|
-
allowedDevices: AllowedDevicesSchema,
|
|
13075
|
-
tokenHash: string(),
|
|
13076
|
-
tokenPrefix: string(),
|
|
13077
|
-
createdAt: number(),
|
|
13078
|
-
lastUsedAt: number().optional()
|
|
13079
|
-
});
|
|
13080
13078
|
object({
|
|
13081
13079
|
id: string(),
|
|
13082
13080
|
userId: string(),
|
|
@@ -17211,16 +17209,36 @@ var RecordKindStateSchema = _enum([
|
|
|
17211
17209
|
var DeclareKindResultSchema = object({
|
|
17212
17210
|
kindId: number().int(),
|
|
17213
17211
|
state: RecordKindStateSchema,
|
|
17214
|
-
createdIndexes: array(string())
|
|
17215
|
-
/**
|
|
17216
|
-
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
17217
|
-
* it stays on the wire, null, because an addon built before the removal reads
|
|
17218
|
-
* an ABSENT field as "adoption pending" and refuses to start.
|
|
17219
|
-
*/
|
|
17220
|
-
adoptionPending: _null()
|
|
17212
|
+
createdIndexes: array(string())
|
|
17221
17213
|
});
|
|
17222
17214
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
17223
17215
|
var SecretRefsList = array(string());
|
|
17216
|
+
/**
|
|
17217
|
+
* One op of a `transact`: the single-row writes, each on a kind of the caller.
|
|
17218
|
+
* All ops of one call share ONE database file and ONE `transactFamily`.
|
|
17219
|
+
*/
|
|
17220
|
+
var RecordTransactOpSchema = discriminatedUnion("op", [
|
|
17221
|
+
object({
|
|
17222
|
+
op: literal("put"),
|
|
17223
|
+
kind: RecordKindNameSchema,
|
|
17224
|
+
record: RecordInputSchema,
|
|
17225
|
+
ifRev: number().int().min(0).optional()
|
|
17226
|
+
}),
|
|
17227
|
+
object({
|
|
17228
|
+
op: literal("patch"),
|
|
17229
|
+
kind: RecordKindNameSchema,
|
|
17230
|
+
id: RecordIdSchema,
|
|
17231
|
+
data: RecordBodySchema,
|
|
17232
|
+
at: number().int().nullable().optional(),
|
|
17233
|
+
expiresAt: number().int().nullable().optional(),
|
|
17234
|
+
ifRev: number().int().min(1).optional()
|
|
17235
|
+
}),
|
|
17236
|
+
object({
|
|
17237
|
+
op: literal("delete"),
|
|
17238
|
+
kind: RecordKindNameSchema,
|
|
17239
|
+
id: RecordIdSchema
|
|
17240
|
+
})
|
|
17241
|
+
]);
|
|
17224
17242
|
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
17225
17243
|
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
17226
17244
|
kind: "mutation",
|
|
@@ -17327,6 +17345,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
17327
17345
|
}), {
|
|
17328
17346
|
kind: "mutation",
|
|
17329
17347
|
auth: "admin"
|
|
17348
|
+
}), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
|
|
17349
|
+
results: array(object({
|
|
17350
|
+
rev: number().int().nullable(),
|
|
17351
|
+
deleted: boolean()
|
|
17352
|
+
})),
|
|
17353
|
+
releasedRefs: SecretRefsList,
|
|
17354
|
+
secretRefs: SecretRefsList
|
|
17355
|
+
}), {
|
|
17356
|
+
kind: "mutation",
|
|
17357
|
+
auth: "admin"
|
|
17330
17358
|
}), method(object({
|
|
17331
17359
|
deviceId: number().int(),
|
|
17332
17360
|
kinds: array(RecordKindNameSchema).optional()
|
|
@@ -42711,9 +42739,13 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42711
42739
|
"node-updating",
|
|
42712
42740
|
"node-inference-unavailable",
|
|
42713
42741
|
"detection-blind",
|
|
42742
|
+
"motion-noisy",
|
|
42743
|
+
"motion-calm",
|
|
42714
42744
|
"recording-stalled",
|
|
42715
42745
|
"recording-healthy",
|
|
42716
42746
|
"recording-degraded",
|
|
42747
|
+
"device-attention-required",
|
|
42748
|
+
"device-attention-resolved",
|
|
42717
42749
|
"storage-location-low",
|
|
42718
42750
|
"storage-location-critical",
|
|
42719
42751
|
"storage-location-ok",
|
|
@@ -42737,6 +42769,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42737
42769
|
"alert-critical",
|
|
42738
42770
|
"alert-error",
|
|
42739
42771
|
"alert-critical-resolved",
|
|
42772
|
+
"rule-broken",
|
|
42773
|
+
"rule-repaired",
|
|
42740
42774
|
"camera-online",
|
|
42741
42775
|
"camera-offline",
|
|
42742
42776
|
"camera-disabled",
|
|
@@ -55219,6 +55253,16 @@ object({
|
|
|
55219
55253
|
powerState: string().nullable(),
|
|
55220
55254
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55221
55255
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55256
|
+
/**
|
|
55257
|
+
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55258
|
+
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
55259
|
+
* when none is reported. A cleared reminder is not an unknown one.
|
|
55260
|
+
*/
|
|
55261
|
+
filterCleaningDue: boolean().nullable(),
|
|
55262
|
+
/** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
|
|
55263
|
+
machineCareDue: boolean().nullable(),
|
|
55264
|
+
/** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
|
|
55265
|
+
machineCareRemainingRuns: number().int().nonnegative().nullable(),
|
|
55222
55266
|
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
55223
55267
|
halfLoad: boolean().nullable(),
|
|
55224
55268
|
hygienePlus: boolean().nullable(),
|
|
@@ -61836,16 +61880,6 @@ var UpdateUserInputSchema = object({
|
|
|
61836
61880
|
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
61837
61881
|
scopes: array(TokenScopeSchema).optional()
|
|
61838
61882
|
});
|
|
61839
|
-
var ApiKeySummarySchema = object({
|
|
61840
|
-
id: string(),
|
|
61841
|
-
label: string(),
|
|
61842
|
-
isAdmin: boolean().default(false),
|
|
61843
|
-
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
61844
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
61845
|
-
tokenPrefix: string(),
|
|
61846
|
-
createdAt: number(),
|
|
61847
|
-
lastUsedAt: number().optional()
|
|
61848
|
-
});
|
|
61849
61883
|
var OauthSessionSummarySchema = object({
|
|
61850
61884
|
id: string(),
|
|
61851
61885
|
userId: string(),
|
|
@@ -61867,8 +61901,7 @@ var TotpStatusSchema = object({
|
|
|
61867
61901
|
confirmedAt: number().nullable()
|
|
61868
61902
|
});
|
|
61869
61903
|
/**
|
|
61870
|
-
* user-management — singleton capability for user accounts
|
|
61871
|
-
* legacy API-key rows.
|
|
61904
|
+
* user-management — singleton capability for user accounts.
|
|
61872
61905
|
*
|
|
61873
61906
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61874
61907
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -61924,10 +61957,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61924
61957
|
}), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
|
|
61925
61958
|
kind: "mutation",
|
|
61926
61959
|
access: "view"
|
|
61927
|
-
}), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61928
|
-
kind: "mutation",
|
|
61929
|
-
auth: "admin",
|
|
61930
|
-
access: "delete"
|
|
61931
61960
|
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61932
61961
|
kind: "mutation",
|
|
61933
61962
|
auth: "admin",
|
|
@@ -69440,6 +69469,12 @@ Object.freeze({
|
|
|
69440
69469
|
addonId: null,
|
|
69441
69470
|
access: "view"
|
|
69442
69471
|
},
|
|
69472
|
+
"records.transact": {
|
|
69473
|
+
capName: "records",
|
|
69474
|
+
capScope: "system",
|
|
69475
|
+
addonId: null,
|
|
69476
|
+
access: "create"
|
|
69477
|
+
},
|
|
69443
69478
|
"sceneMonitor.captureReference": {
|
|
69444
69479
|
capName: "scene-monitor",
|
|
69445
69480
|
capScope: "device",
|
|
@@ -70772,12 +70807,6 @@ Object.freeze({
|
|
|
70772
70807
|
addonId: null,
|
|
70773
70808
|
access: "view"
|
|
70774
70809
|
},
|
|
70775
|
-
"userManagement.listApiKeys": {
|
|
70776
|
-
capName: "user-management",
|
|
70777
|
-
capScope: "system",
|
|
70778
|
-
addonId: null,
|
|
70779
|
-
access: "view"
|
|
70780
|
-
},
|
|
70781
70810
|
"userManagement.listExternalIdentities": {
|
|
70782
70811
|
capName: "user-management",
|
|
70783
70812
|
capScope: "system",
|
|
@@ -70832,12 +70861,6 @@ Object.freeze({
|
|
|
70832
70861
|
addonId: null,
|
|
70833
70862
|
access: "create"
|
|
70834
70863
|
},
|
|
70835
|
-
"userManagement.revokeApiKey": {
|
|
70836
|
-
capName: "user-management",
|
|
70837
|
-
capScope: "system",
|
|
70838
|
-
addonId: null,
|
|
70839
|
-
access: "delete"
|
|
70840
|
-
},
|
|
70841
70864
|
"userManagement.revokeOauthSession": {
|
|
70842
70865
|
capName: "user-management",
|
|
70843
70866
|
capScope: "system",
|
|
@@ -74202,9 +74225,13 @@ new Map(Object.entries({
|
|
|
74202
74225
|
"stream-online": "device-events",
|
|
74203
74226
|
"stream-offline": "device-events",
|
|
74204
74227
|
"detection-blind": "device-events",
|
|
74228
|
+
"motion-noisy": "device-events",
|
|
74229
|
+
"motion-calm": "device-events",
|
|
74205
74230
|
"recording-stalled": "device-events",
|
|
74206
74231
|
"recording-healthy": "device-events",
|
|
74207
74232
|
"recording-degraded": "device-events",
|
|
74233
|
+
"device-attention-required": "device-events",
|
|
74234
|
+
"device-attention-resolved": "device-events",
|
|
74208
74235
|
"node-online": "system",
|
|
74209
74236
|
"node-offline": "system",
|
|
74210
74237
|
"node-restarting": "system",
|
|
@@ -74221,6 +74248,8 @@ new Map(Object.entries({
|
|
|
74221
74248
|
"alert-critical": "system",
|
|
74222
74249
|
"alert-error": "system",
|
|
74223
74250
|
"alert-critical-resolved": "system",
|
|
74251
|
+
"rule-broken": "system",
|
|
74252
|
+
"rule-repaired": "system",
|
|
74224
74253
|
"storage-location-low": "system",
|
|
74225
74254
|
"storage-location-critical": "system",
|
|
74226
74255
|
"storage-location-ok": "system",
|
|
@@ -74285,6 +74314,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74285
74314
|
label: "Detecting nothing",
|
|
74286
74315
|
kinds: ["detection-blind"]
|
|
74287
74316
|
},
|
|
74317
|
+
{
|
|
74318
|
+
id: "motion-noise",
|
|
74319
|
+
family: "device-events",
|
|
74320
|
+
label: "Motion without a subject",
|
|
74321
|
+
kinds: ["motion-noisy", "motion-calm"]
|
|
74322
|
+
},
|
|
74288
74323
|
{
|
|
74289
74324
|
id: "recording",
|
|
74290
74325
|
family: "device-events",
|
|
@@ -74295,6 +74330,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74295
74330
|
"recording-degraded"
|
|
74296
74331
|
]
|
|
74297
74332
|
},
|
|
74333
|
+
{
|
|
74334
|
+
id: "device-attention",
|
|
74335
|
+
family: "device-events",
|
|
74336
|
+
label: "Needs attention",
|
|
74337
|
+
kinds: ["device-attention-required", "device-attention-resolved"]
|
|
74338
|
+
},
|
|
74298
74339
|
{
|
|
74299
74340
|
id: "nodes",
|
|
74300
74341
|
family: "system",
|
|
@@ -74355,6 +74396,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74355
74396
|
"alert-critical-resolved"
|
|
74356
74397
|
]
|
|
74357
74398
|
},
|
|
74399
|
+
{
|
|
74400
|
+
id: "rule-health",
|
|
74401
|
+
family: "system",
|
|
74402
|
+
label: "Notification rules",
|
|
74403
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
74404
|
+
},
|
|
74358
74405
|
{
|
|
74359
74406
|
id: "alarm",
|
|
74360
74407
|
family: "alarm",
|
|
@@ -74428,6 +74475,7 @@ var ALERT_EPISODE = [
|
|
|
74428
74475
|
"alert-error",
|
|
74429
74476
|
"alert-critical-resolved"
|
|
74430
74477
|
];
|
|
74478
|
+
var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
|
|
74431
74479
|
var UPDATES = [
|
|
74432
74480
|
"addon-update-available",
|
|
74433
74481
|
"server-update-available",
|
|
@@ -74457,9 +74505,12 @@ var DEVICE_EVENTS = [
|
|
|
74457
74505
|
"stream-online",
|
|
74458
74506
|
"stream-offline",
|
|
74459
74507
|
"detection-blind",
|
|
74508
|
+
"motion-noisy",
|
|
74509
|
+
"motion-calm",
|
|
74460
74510
|
"recording-stalled",
|
|
74461
74511
|
"recording-healthy",
|
|
74462
74512
|
"recording-degraded",
|
|
74513
|
+
...DEVICE_ATTENTION,
|
|
74463
74514
|
...ALARM
|
|
74464
74515
|
];
|
|
74465
74516
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -74627,7 +74678,13 @@ var STATE_SUMMARY_VARS = [
|
|
|
74627
74678
|
[...RULE_TEXT],
|
|
74628
74679
|
[...RULE_TEXT],
|
|
74629
74680
|
[...RULE_TEXT],
|
|
74630
|
-
|
|
74681
|
+
[...RULE_TEXT],
|
|
74682
|
+
[...RULE_TEXT],
|
|
74683
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74684
|
+
[...RULE_TEXT],
|
|
74685
|
+
[...RULE_TEXT],
|
|
74686
|
+
[...RULE_TEXT],
|
|
74687
|
+
[...RULE_TEXT],
|
|
74631
74688
|
[...RULE_TEXT],
|
|
74632
74689
|
[...RULE_TEXT],
|
|
74633
74690
|
[...RULE_TEXT],
|
|
@@ -74645,11 +74702,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
74645
74702
|
[...RULE_TEXT],
|
|
74646
74703
|
[...RULE_TEXT],
|
|
74647
74704
|
[...RULE_TEXT],
|
|
74705
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74648
74706
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74707
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74649
74708
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74650
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74651
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74652
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74709
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74653
74710
|
[...RULE_TEXT],
|
|
74654
74711
|
[...RULE_TEXT],
|
|
74655
74712
|
[...RULE_TEXT],
|
|
@@ -74670,6 +74727,125 @@ var STATE_SUMMARY_VARS = [
|
|
|
74670
74727
|
[...RULE_TEXT],
|
|
74671
74728
|
...STATE_SUMMARY_VARS
|
|
74672
74729
|
];
|
|
74730
|
+
new Map([
|
|
74731
|
+
{
|
|
74732
|
+
id: "device-connectivity",
|
|
74733
|
+
family: "device-events",
|
|
74734
|
+
label: "Device connectivity (offline / back online)",
|
|
74735
|
+
bad: ["device-offline"],
|
|
74736
|
+
recovery: ["device-online"],
|
|
74737
|
+
snapshotLabel: "Devices offline now",
|
|
74738
|
+
snapshotSection: "device-state"
|
|
74739
|
+
},
|
|
74740
|
+
{
|
|
74741
|
+
id: "device-switch",
|
|
74742
|
+
family: "device-events",
|
|
74743
|
+
label: "Device switched off / back on",
|
|
74744
|
+
bad: ["device-disabled"],
|
|
74745
|
+
recovery: ["device-enabled"],
|
|
74746
|
+
snapshotLabel: "Devices switched off now",
|
|
74747
|
+
snapshotSection: "device-state"
|
|
74748
|
+
},
|
|
74749
|
+
{
|
|
74750
|
+
id: "stream-connectivity",
|
|
74751
|
+
family: "device-events",
|
|
74752
|
+
label: "Stream connectivity (offline / back online)",
|
|
74753
|
+
bad: ["stream-offline"],
|
|
74754
|
+
recovery: ["stream-online"],
|
|
74755
|
+
snapshotLabel: "Streams offline now",
|
|
74756
|
+
snapshotSection: "streams"
|
|
74757
|
+
},
|
|
74758
|
+
{
|
|
74759
|
+
id: "battery",
|
|
74760
|
+
family: "device-events",
|
|
74761
|
+
label: "Battery (low / back to normal)",
|
|
74762
|
+
bad: ["device-battery-low"],
|
|
74763
|
+
recovery: ["device-battery-normal"],
|
|
74764
|
+
snapshotLabel: "Batteries low now",
|
|
74765
|
+
snapshotSection: "battery"
|
|
74766
|
+
},
|
|
74767
|
+
{
|
|
74768
|
+
id: "consumables",
|
|
74769
|
+
family: "device-events",
|
|
74770
|
+
label: "Consumables (low / replaced)",
|
|
74771
|
+
bad: ["device-consumable-low"],
|
|
74772
|
+
recovery: ["device-consumable-normal"],
|
|
74773
|
+
snapshotLabel: "Consumables low now",
|
|
74774
|
+
snapshotSection: "consumables"
|
|
74775
|
+
},
|
|
74776
|
+
{
|
|
74777
|
+
id: "tanks",
|
|
74778
|
+
family: "device-events",
|
|
74779
|
+
label: "Tanks (low or full / back to normal)",
|
|
74780
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
74781
|
+
recovery: ["device-tank-normal"],
|
|
74782
|
+
snapshotLabel: "Tanks low or full now",
|
|
74783
|
+
snapshotSection: "tanks"
|
|
74784
|
+
},
|
|
74785
|
+
{
|
|
74786
|
+
id: "motion-noise",
|
|
74787
|
+
family: "device-events",
|
|
74788
|
+
label: "Motion without a subject (constant / calm again)",
|
|
74789
|
+
bad: ["motion-noisy"],
|
|
74790
|
+
recovery: ["motion-calm"],
|
|
74791
|
+
snapshotLabel: "Cameras with constant motion now",
|
|
74792
|
+
snapshotSection: null
|
|
74793
|
+
},
|
|
74794
|
+
{
|
|
74795
|
+
id: "recording-health",
|
|
74796
|
+
family: "device-events",
|
|
74797
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
74798
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
74799
|
+
recovery: ["recording-healthy"],
|
|
74800
|
+
snapshotLabel: "Recordings stalled now",
|
|
74801
|
+
snapshotSection: null
|
|
74802
|
+
},
|
|
74803
|
+
{
|
|
74804
|
+
id: "device-attention",
|
|
74805
|
+
family: "device-events",
|
|
74806
|
+
label: "Device needs attention (raised / resolved)",
|
|
74807
|
+
bad: ["device-attention-required"],
|
|
74808
|
+
recovery: ["device-attention-resolved"],
|
|
74809
|
+
snapshotLabel: "Devices needing attention now",
|
|
74810
|
+
snapshotSection: null
|
|
74811
|
+
},
|
|
74812
|
+
{
|
|
74813
|
+
id: "node-connectivity",
|
|
74814
|
+
family: "system",
|
|
74815
|
+
label: "Node connectivity (offline / back online)",
|
|
74816
|
+
bad: ["node-offline"],
|
|
74817
|
+
recovery: ["node-online"],
|
|
74818
|
+
snapshotLabel: "Nodes offline now",
|
|
74819
|
+
snapshotSection: "nodes"
|
|
74820
|
+
},
|
|
74821
|
+
{
|
|
74822
|
+
id: "storage-space",
|
|
74823
|
+
family: "system",
|
|
74824
|
+
label: "Storage space (low or critical / ok again)",
|
|
74825
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
74826
|
+
recovery: ["storage-location-ok"],
|
|
74827
|
+
snapshotLabel: "Storage locations low now",
|
|
74828
|
+
snapshotSection: null
|
|
74829
|
+
},
|
|
74830
|
+
{
|
|
74831
|
+
id: "critical-alerts",
|
|
74832
|
+
family: "system",
|
|
74833
|
+
label: "Critical alerts (raised / resolved)",
|
|
74834
|
+
bad: ["alert-critical"],
|
|
74835
|
+
recovery: ["alert-critical-resolved"],
|
|
74836
|
+
snapshotLabel: "Critical alerts open now",
|
|
74837
|
+
snapshotSection: null
|
|
74838
|
+
},
|
|
74839
|
+
{
|
|
74840
|
+
id: "rule-health",
|
|
74841
|
+
family: "system",
|
|
74842
|
+
label: "Rule health (broken / repaired)",
|
|
74843
|
+
bad: ["rule-broken"],
|
|
74844
|
+
recovery: ["rule-repaired"],
|
|
74845
|
+
snapshotLabel: "Notification rules broken now",
|
|
74846
|
+
snapshotSection: null
|
|
74847
|
+
}
|
|
74848
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
74673
74849
|
new Set([
|
|
74674
74850
|
"disarmed",
|
|
74675
74851
|
"armed_home",
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-C4tUr6eU.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
node_crypto = require_dist.__toESM(node_crypto);
|
|
8
8
|
//#region ../../node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as toSecretFieldView, C as SECRET_CLEAR, D as globalSecretScope, F as object, I as string, O as isSecretClear, S as RecordSecretUnavailableError, T as defineEntryKind, _ as requestMountPrefix, b as errMsg, c as authProviderCapability, d as loginMethodCapability, f as normalizeOrigin, g as pickRequestOrigin, h as parseAppPageLang, i as addonRoutesCapability, j as _enum, k as isSecretMarker, l as buildAddonRouteProvider, m as parseAppFlowRequest, n as APP_REFUSED_PATH, o as advertisedHubOrigins, p as oidcConnectionsCapability, r as SSO_STATE_COOKIE, s as appFlowLocation, t as APP_FLOW_DEFAULT_REDIRECT, u as claimedRequestOrigins, v as resolveIconKey, w as arrayItemFieldPath, x as BaseAddon } from "../dist-
|
|
1
|
+
import { A as toSecretFieldView, C as SECRET_CLEAR, D as globalSecretScope, F as object, I as string, O as isSecretClear, S as RecordSecretUnavailableError, T as defineEntryKind, _ as requestMountPrefix, b as errMsg, c as authProviderCapability, d as loginMethodCapability, f as normalizeOrigin, g as pickRequestOrigin, h as parseAppPageLang, i as addonRoutesCapability, j as _enum, k as isSecretMarker, l as buildAddonRouteProvider, m as parseAppFlowRequest, n as APP_REFUSED_PATH, o as advertisedHubOrigins, p as oidcConnectionsCapability, r as SSO_STATE_COOKIE, s as appFlowLocation, t as APP_FLOW_DEFAULT_REDIRECT, u as claimedRequestOrigins, v as resolveIconKey, w as arrayItemFieldPath, x as BaseAddon } from "../dist-CqlWph3N.mjs";
|
|
2
2
|
import * as crypto$1 from "node:crypto";
|
|
3
3
|
//#region ../../node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
4
4
|
var encoder = new TextEncoder(), decoder = new TextDecoder(), strictDecoder = new TextDecoder("utf-8", { fatal: !0 });
|
package/dist/webauthn/_stub.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare__react__loadShare__.js-BIIa6vDX.mjs";
|
|
2
2
|
import { n as r, t as i } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CQ-aEQ9b.mjs";
|
|
3
|
-
import { n as a, t as o } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { n as a, t as o } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bdn-Q3of.mjs";
|
|
4
4
|
import { n as s, r as c, t as l } from "./_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-BL2etuqg.mjs";
|
|
5
5
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
6
6
|
var u = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), d = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), f = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), p = (e) => {
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.148",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_auth_webauthn_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.398",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_auth_webauthn_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.315",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_auth_webauthn_widgets",
|