@camstack/addon-mqtt-broker 1.2.129 → 1.2.131
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/mqtt-broker.addon.js +419 -124
- package/dist/mqtt-broker.addon.mjs +419 -124
- package/package.json +1 -1
|
@@ -5594,7 +5594,7 @@ var ZodIssueCode = {
|
|
|
5594
5594
|
var ZodFirstPartyTypeKind;
|
|
5595
5595
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5596
5596
|
//#endregion
|
|
5597
|
-
//#region ../types/dist/sleep-
|
|
5597
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5598
5598
|
/**
|
|
5599
5599
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5600
5600
|
* window to float samples (D455).
|
|
@@ -7977,9 +7977,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7977
7977
|
return result;
|
|
7978
7978
|
}
|
|
7979
7979
|
/**
|
|
7980
|
-
* The share-view scope kinds a
|
|
7981
|
-
* and validates them (`
|
|
7982
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7980
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7981
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7982
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7983
7983
|
*/
|
|
7984
7984
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7985
7985
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12864,7 +12864,7 @@ var ConvertResultSchema = object({
|
|
|
12864
12864
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12865
12865
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12866
12866
|
* distinction was only ever used to route role-specific procedures
|
|
12867
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12867
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12868
12868
|
* with `isAdmin: false` + an explicit scope list.
|
|
12869
12869
|
*/
|
|
12870
12870
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13053,10 +13053,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13053
13053
|
type: literal("addon-routes"),
|
|
13054
13054
|
access: array(MethodAccessSchema).min(1)
|
|
13055
13055
|
});
|
|
13056
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13056
13057
|
var CredentialScopeSchema = union([
|
|
13057
13058
|
literal("*"),
|
|
13058
13059
|
ShareViewScopeSchema,
|
|
13059
13060
|
AddonRoutesScopeSchema,
|
|
13061
|
+
PreferencesSelfScopeSchema,
|
|
13060
13062
|
TokenScopeSchema
|
|
13061
13063
|
]);
|
|
13062
13064
|
object({
|
|
@@ -13065,6 +13067,55 @@ object({
|
|
|
13065
13067
|
jti: string().min(16),
|
|
13066
13068
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13067
13069
|
});
|
|
13070
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13071
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13072
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13073
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13074
|
+
/** A stored row, as the owner reads it. */
|
|
13075
|
+
var PreferenceRowSchema = object({
|
|
13076
|
+
namespace: PreferenceNamespaceSchema,
|
|
13077
|
+
value: PreferenceValueSchema,
|
|
13078
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13079
|
+
revision: number().int().positive(),
|
|
13080
|
+
updatedAt: number().int(),
|
|
13081
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13082
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13083
|
+
});
|
|
13084
|
+
object({
|
|
13085
|
+
/** Absent: every namespace the caller holds. */
|
|
13086
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13087
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13088
|
+
object({
|
|
13089
|
+
namespace: PreferenceNamespaceSchema,
|
|
13090
|
+
value: PreferenceValueSchema,
|
|
13091
|
+
/**
|
|
13092
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13093
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13094
|
+
* revision answers `conflict` and writes nothing.
|
|
13095
|
+
*/
|
|
13096
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13097
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13098
|
+
});
|
|
13099
|
+
discriminatedUnion("status", [object({
|
|
13100
|
+
status: literal("saved"),
|
|
13101
|
+
row: PreferenceRowSchema
|
|
13102
|
+
}), object({
|
|
13103
|
+
status: literal("conflict"),
|
|
13104
|
+
current: PreferenceRowSchema.nullable()
|
|
13105
|
+
})]);
|
|
13106
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13107
|
+
object({
|
|
13108
|
+
/** `false` when the namespace did not exist. */
|
|
13109
|
+
deleted: boolean() });
|
|
13110
|
+
object({
|
|
13111
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13112
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13113
|
+
object({
|
|
13114
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13115
|
+
rows: array(PreferenceRowSchema),
|
|
13116
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13117
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13118
|
+
});
|
|
13068
13119
|
_enum(["new-session", "step-up"]);
|
|
13069
13120
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13070
13121
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17261,7 +17312,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17261
17312
|
kind: literal("node"),
|
|
17262
17313
|
nodeId: string().min(1)
|
|
17263
17314
|
})]);
|
|
17315
|
+
/**
|
|
17316
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17317
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17318
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17319
|
+
*/
|
|
17264
17320
|
var DeviceHistoryKindSchema = _enum([
|
|
17321
|
+
"gauge",
|
|
17322
|
+
"counter",
|
|
17323
|
+
"boolean",
|
|
17324
|
+
"enum"
|
|
17325
|
+
]);
|
|
17326
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17327
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17265
17328
|
"gauge",
|
|
17266
17329
|
"counter",
|
|
17267
17330
|
"boolean"
|
|
@@ -17298,7 +17361,13 @@ var SeriesInfoSchema = object({
|
|
|
17298
17361
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17299
17362
|
unit: string().nullable(),
|
|
17300
17363
|
displayName: string(),
|
|
17301
|
-
source: _enum([
|
|
17364
|
+
source: _enum([
|
|
17365
|
+
"cap",
|
|
17366
|
+
"addon",
|
|
17367
|
+
"derived"
|
|
17368
|
+
]),
|
|
17369
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17370
|
+
values: array(string()).readonly().nullable(),
|
|
17302
17371
|
firstTs: number(),
|
|
17303
17372
|
lastTs: number()
|
|
17304
17373
|
});
|
|
@@ -17312,17 +17381,31 @@ var QueryPointSchema = object({
|
|
|
17312
17381
|
twMean: number().nullable(),
|
|
17313
17382
|
min: number(),
|
|
17314
17383
|
max: number(),
|
|
17315
|
-
/** `null` is unknown, never zero (D393). */
|
|
17316
|
-
last: number().nullable()
|
|
17384
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17385
|
+
last: number().nullable(),
|
|
17386
|
+
/**
|
|
17387
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17388
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17389
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17390
|
+
* every other kind, and when it cannot be known.
|
|
17391
|
+
*/
|
|
17392
|
+
delta: number().nullable(),
|
|
17393
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17394
|
+
state: string().nullable(),
|
|
17395
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17396
|
+
states: record(string(), number()).nullable()
|
|
17317
17397
|
});
|
|
17318
17398
|
var QuerySeriesSchema = object({
|
|
17319
17399
|
scope: string(),
|
|
17320
17400
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17321
17401
|
before: object({
|
|
17322
17402
|
t: number(),
|
|
17323
|
-
value: number().nullable()
|
|
17403
|
+
value: number().nullable(),
|
|
17404
|
+
state: string().nullable()
|
|
17324
17405
|
}).nullable(),
|
|
17325
|
-
points: array(QueryPointSchema).readonly()
|
|
17406
|
+
points: array(QueryPointSchema).readonly(),
|
|
17407
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17408
|
+
derivedFrom: string().nullable()
|
|
17326
17409
|
});
|
|
17327
17410
|
/** The window part of a query, shared by the device and node forms. */
|
|
17328
17411
|
var QueryWindowShape = {
|
|
@@ -17338,6 +17421,23 @@ var QueryResultSchema = object({
|
|
|
17338
17421
|
series: array(QuerySeriesSchema).readonly(),
|
|
17339
17422
|
truncated: boolean()
|
|
17340
17423
|
});
|
|
17424
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17425
|
+
var QueryManyItemSchema = union([object({
|
|
17426
|
+
deviceId: number().int(),
|
|
17427
|
+
key: string(),
|
|
17428
|
+
scope: string().optional()
|
|
17429
|
+
}), object({
|
|
17430
|
+
forNodeId: string().min(1),
|
|
17431
|
+
key: string(),
|
|
17432
|
+
scope: string().optional()
|
|
17433
|
+
})]);
|
|
17434
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17435
|
+
ok: literal(true),
|
|
17436
|
+
result: QueryResultSchema
|
|
17437
|
+
}), object({
|
|
17438
|
+
ok: literal(false),
|
|
17439
|
+
error: string()
|
|
17440
|
+
})]);
|
|
17341
17441
|
var TierStatusSchema = object({
|
|
17342
17442
|
tier: DeviceHistoryResolutionSchema,
|
|
17343
17443
|
/** `null` until the first background count answered. */
|
|
@@ -17393,16 +17493,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17393
17493
|
lastRefreshAt: number().nullable()
|
|
17394
17494
|
})
|
|
17395
17495
|
});
|
|
17396
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17496
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17397
17497
|
deviceId: number().int(),
|
|
17398
17498
|
...QueryWindowShape
|
|
17399
17499
|
}), QueryResultSchema), method(object({
|
|
17400
|
-
|
|
17500
|
+
forNodeId: string().min(1),
|
|
17401
17501
|
...QueryWindowShape
|
|
17402
17502
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17503
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17504
|
+
from: QueryWindowShape.from,
|
|
17505
|
+
to: QueryWindowShape.to,
|
|
17506
|
+
resolution: QueryWindowShape.resolution,
|
|
17507
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17508
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17403
17509
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17404
17510
|
subjectKind: _enum(["device", "node"]),
|
|
17405
|
-
kind:
|
|
17511
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17406
17512
|
unit: string().optional(),
|
|
17407
17513
|
displayName: string().min(1),
|
|
17408
17514
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39992,38 +40098,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39992
40098
|
auth: "admin",
|
|
39993
40099
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39994
40100
|
});
|
|
40101
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40102
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40103
|
+
var LlmModelFeaturesSchema = object({
|
|
40104
|
+
vision: boolean(),
|
|
40105
|
+
tools: boolean(),
|
|
40106
|
+
streaming: boolean()
|
|
40107
|
+
});
|
|
40108
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40109
|
+
var LlmModelInfoSchema = object({
|
|
40110
|
+
id: string(),
|
|
40111
|
+
label: string().optional(),
|
|
40112
|
+
contextLength: number().int().positive().optional(),
|
|
40113
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40114
|
+
});
|
|
39995
40115
|
/**
|
|
39996
|
-
*
|
|
39997
|
-
*
|
|
39998
|
-
*
|
|
39999
|
-
*
|
|
40000
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40001
|
-
*
|
|
40002
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40003
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40004
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40116
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40117
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40118
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40119
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40005
40120
|
*/
|
|
40006
|
-
var
|
|
40007
|
-
"openai-compatible",
|
|
40008
|
-
"openai",
|
|
40009
|
-
"anthropic",
|
|
40010
|
-
"google",
|
|
40011
|
-
"managed-local",
|
|
40012
|
-
"apple-foundation"
|
|
40013
|
-
]);
|
|
40121
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40014
40122
|
var LlmProfileSchema = object({
|
|
40015
40123
|
id: string(),
|
|
40016
40124
|
name: string(),
|
|
40125
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40017
40126
|
kind: LlmProfileKindSchema,
|
|
40018
40127
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40019
40128
|
addonId: string(),
|
|
40020
40129
|
enabled: boolean(),
|
|
40021
40130
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40022
40131
|
model: string(),
|
|
40023
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40024
|
-
baseUrl: string().optional(),
|
|
40025
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40026
|
-
apiKey: string().optional(),
|
|
40027
40132
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40028
40133
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40029
40134
|
* question about a picture nobody sent. */
|
|
@@ -40031,15 +40136,11 @@ var LlmProfileSchema = object({
|
|
|
40031
40136
|
temperature: number().min(0).max(2).optional(),
|
|
40032
40137
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40033
40138
|
topP: number().min(0).max(1).optional(),
|
|
40034
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40035
|
-
*
|
|
40036
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40037
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40139
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40140
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40038
40141
|
topK: number().int().positive().optional(),
|
|
40039
40142
|
maxTokens: number().int().positive().optional(),
|
|
40040
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40041
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40042
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40143
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40043
40144
|
contextLength: number().int().positive().optional(),
|
|
40044
40145
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40045
40146
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40065,16 +40166,37 @@ var LlmProfileSchema = object({
|
|
|
40065
40166
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40066
40167
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40067
40168
|
toolsEnabled: boolean().default(false),
|
|
40068
|
-
|
|
40069
|
-
|
|
40070
|
-
|
|
40071
|
-
|
|
40072
|
-
|
|
40073
|
-
|
|
40074
|
-
|
|
40075
|
-
|
|
40076
|
-
|
|
40077
|
-
|
|
40169
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40170
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40171
|
+
});
|
|
40172
|
+
/**
|
|
40173
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40174
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40175
|
+
*/
|
|
40176
|
+
var LlmProfileFieldSchema = _enum([
|
|
40177
|
+
"temperature",
|
|
40178
|
+
"topP",
|
|
40179
|
+
"topK",
|
|
40180
|
+
"maxTokens",
|
|
40181
|
+
"contextLength",
|
|
40182
|
+
"systemPrompt",
|
|
40183
|
+
"timeoutMs",
|
|
40184
|
+
"connectTimeoutMs",
|
|
40185
|
+
"firstTokenTimeoutMs",
|
|
40186
|
+
"idleTimeoutMs",
|
|
40187
|
+
"retry",
|
|
40188
|
+
"toolsEnabled"
|
|
40189
|
+
]);
|
|
40190
|
+
/**
|
|
40191
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40192
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40193
|
+
* picker: that widget owns the model choice.
|
|
40194
|
+
*/
|
|
40195
|
+
var LlmProviderWidgetSchema = object({
|
|
40196
|
+
id: string(),
|
|
40197
|
+
placement: _enum(["connection", "model"]),
|
|
40198
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40199
|
+
requires: array(string()).optional()
|
|
40078
40200
|
});
|
|
40079
40201
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40080
40202
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40083,11 +40205,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40083
40205
|
var LlmProfileKindDescriptorSchema = object({
|
|
40084
40206
|
kind: LlmProfileKindSchema,
|
|
40085
40207
|
label: string(),
|
|
40208
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40086
40209
|
icon: string(),
|
|
40087
40210
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40088
40211
|
addonId: string(),
|
|
40089
|
-
|
|
40212
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40213
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40214
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40215
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40216
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40217
|
+
features: LlmModelFeaturesSchema,
|
|
40218
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40219
|
+
visionEditable: boolean(),
|
|
40220
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40221
|
+
modelCatalog: _enum([
|
|
40222
|
+
"fetch",
|
|
40223
|
+
"static",
|
|
40224
|
+
"none"
|
|
40225
|
+
]),
|
|
40226
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40227
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40228
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40229
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40230
|
+
});
|
|
40231
|
+
/**
|
|
40232
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40233
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40234
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40235
|
+
* stored profile — the browser never receives it.
|
|
40236
|
+
*/
|
|
40237
|
+
var LlmListModelsInputSchema = object({
|
|
40238
|
+
addonId: string(),
|
|
40239
|
+
kind: LlmProfileKindSchema,
|
|
40240
|
+
profileId: string().optional(),
|
|
40241
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40090
40242
|
});
|
|
40243
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40244
|
+
"auth",
|
|
40245
|
+
"network",
|
|
40246
|
+
"unsupported",
|
|
40247
|
+
"invalid"
|
|
40248
|
+
]);
|
|
40249
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40250
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40251
|
+
ok: literal(true),
|
|
40252
|
+
models: array(LlmModelInfoSchema)
|
|
40253
|
+
}), object({
|
|
40254
|
+
ok: literal(false),
|
|
40255
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40256
|
+
message: string()
|
|
40257
|
+
})]);
|
|
40091
40258
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40092
40259
|
var LlmDefaultSchema = object({
|
|
40093
40260
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40187,7 +40354,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40187
40354
|
kind: "mutation",
|
|
40188
40355
|
auth: "admin",
|
|
40189
40356
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40190
|
-
}), method(
|
|
40357
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40358
|
+
kind: "mutation",
|
|
40359
|
+
auth: "admin"
|
|
40360
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40191
40361
|
selector: LlmDefaultSelectorSchema,
|
|
40192
40362
|
profileId: string().nullable()
|
|
40193
40363
|
}), _void(), {
|
|
@@ -40355,14 +40525,106 @@ var LogEntrySchema = object({
|
|
|
40355
40525
|
meta: record(string(), unknown()).optional(),
|
|
40356
40526
|
tags: record(string(), string()).optional()
|
|
40357
40527
|
});
|
|
40358
|
-
|
|
40359
|
-
|
|
40528
|
+
/**
|
|
40529
|
+
* A history READ against one destination (D898).
|
|
40530
|
+
*
|
|
40531
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40532
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40533
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40534
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40535
|
+
* nanosecond timestamp for Loki.
|
|
40536
|
+
*
|
|
40537
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40538
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40539
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40540
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40541
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40542
|
+
*/
|
|
40543
|
+
var LogReadQuerySchema = object({
|
|
40544
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40545
|
+
requestId: string().min(1).max(64).optional(),
|
|
40546
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40547
|
+
deviceId: number().int().optional(),
|
|
40548
|
+
/**
|
|
40549
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40550
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40551
|
+
*/
|
|
40552
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40553
|
+
/**
|
|
40554
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40555
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40556
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40557
|
+
* name as "which node's provider".
|
|
40558
|
+
*/
|
|
40559
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40560
|
+
/** Any other tag, exact match (AND). */
|
|
40561
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40562
|
+
/** Severity FLOOR: this level and above. */
|
|
40360
40563
|
level: LogLevelSchema.optional(),
|
|
40361
|
-
|
|
40362
|
-
|
|
40363
|
-
|
|
40364
|
-
|
|
40365
|
-
|
|
40564
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40565
|
+
text: string().min(1).max(200).optional(),
|
|
40566
|
+
/** Epoch ms, inclusive. */
|
|
40567
|
+
since: number().optional(),
|
|
40568
|
+
/** Epoch ms, inclusive. */
|
|
40569
|
+
until: number().optional(),
|
|
40570
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40571
|
+
before: string().min(1).max(1024).optional(),
|
|
40572
|
+
/** Newer than this cursor (exclusive). */
|
|
40573
|
+
after: string().min(1).max(1024).optional(),
|
|
40574
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40575
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40576
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40577
|
+
});
|
|
40578
|
+
var LogReadResultSchema = object({
|
|
40579
|
+
/** Newest first. */
|
|
40580
|
+
entries: array(object({
|
|
40581
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40582
|
+
id: string().optional(),
|
|
40583
|
+
/** Epoch ms. */
|
|
40584
|
+
timestamp: number(),
|
|
40585
|
+
level: LogLevelSchema,
|
|
40586
|
+
scope: string().optional(),
|
|
40587
|
+
message: string(),
|
|
40588
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40589
|
+
meta: record(string(), unknown()).optional()
|
|
40590
|
+
})),
|
|
40591
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40592
|
+
nextBefore: string().nullable(),
|
|
40593
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40594
|
+
nextAfter: string().nullable(),
|
|
40595
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40596
|
+
scannedBytes: number().int().nonnegative(),
|
|
40597
|
+
/**
|
|
40598
|
+
* True when the scan in this direction reached the end of the store.
|
|
40599
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40600
|
+
* call again with `nextBefore` to go on.
|
|
40601
|
+
*/
|
|
40602
|
+
done: boolean(),
|
|
40603
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40604
|
+
cancelled: boolean().optional()
|
|
40605
|
+
});
|
|
40606
|
+
var LogReadCapabilitiesSchema = object({
|
|
40607
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40608
|
+
readable: boolean(),
|
|
40609
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40610
|
+
reason: string().nullable(),
|
|
40611
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40612
|
+
filters: object({
|
|
40613
|
+
deviceId: boolean(),
|
|
40614
|
+
addonId: boolean(),
|
|
40615
|
+
nodeId: boolean(),
|
|
40616
|
+
tags: boolean(),
|
|
40617
|
+
level: boolean(),
|
|
40618
|
+
text: boolean(),
|
|
40619
|
+
timeRange: boolean()
|
|
40620
|
+
}),
|
|
40621
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40622
|
+
retentionDays: number().nullable()
|
|
40623
|
+
});
|
|
40624
|
+
method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
|
|
40625
|
+
kind: "mutation",
|
|
40626
|
+
auth: "admin"
|
|
40627
|
+
});
|
|
40366
40628
|
/**
|
|
40367
40629
|
* `login-method` — collection cap through which auth addons contribute
|
|
40368
40630
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42937,6 +43199,33 @@ var NcRuleTargetSchema = object({
|
|
|
42937
43199
|
params: record(string(), unknown()).optional()
|
|
42938
43200
|
});
|
|
42939
43201
|
/**
|
|
43202
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43203
|
+
*
|
|
43204
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43205
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43206
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43207
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43208
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43209
|
+
* labelled with class and confidence ("dog 87%").
|
|
43210
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43211
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43212
|
+
* - `none` — no picture.
|
|
43213
|
+
*
|
|
43214
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43215
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43216
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43217
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43218
|
+
* stored kind had landed.
|
|
43219
|
+
*/
|
|
43220
|
+
var NcMediaImageSchema = _enum([
|
|
43221
|
+
"scene-boxes",
|
|
43222
|
+
"crop",
|
|
43223
|
+
"clean",
|
|
43224
|
+
"none"
|
|
43225
|
+
]);
|
|
43226
|
+
/**
|
|
43227
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43228
|
+
*
|
|
42940
43229
|
* Media attachment policy (P1 still-image subset).
|
|
42941
43230
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42942
43231
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42950,6 +43239,8 @@ var NcRuleTargetSchema = object({
|
|
|
42950
43239
|
* - `none` — no attachment.
|
|
42951
43240
|
*/
|
|
42952
43241
|
/**
|
|
43242
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43243
|
+
*
|
|
42953
43244
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42954
43245
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42955
43246
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42978,16 +43269,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42978
43269
|
*/
|
|
42979
43270
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42980
43271
|
var NcMediaPolicySchema = object({
|
|
43272
|
+
/**
|
|
43273
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43274
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43275
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43276
|
+
*/
|
|
43277
|
+
image: NcMediaImageSchema.optional(),
|
|
43278
|
+
/**
|
|
43279
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43280
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43281
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43282
|
+
* Replaces `zoneCrop`.
|
|
43283
|
+
*/
|
|
43284
|
+
showTriggerZone: boolean().optional(),
|
|
43285
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42981
43286
|
attach: _enum([
|
|
42982
43287
|
"best",
|
|
42983
43288
|
"best-matching",
|
|
42984
43289
|
"keyFrame",
|
|
42985
43290
|
"none"
|
|
42986
|
-
]).
|
|
42987
|
-
/**
|
|
43291
|
+
]).optional(),
|
|
43292
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42988
43293
|
frame: NcMediaFrameSchema.optional(),
|
|
42989
|
-
/**
|
|
42990
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43294
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42991
43295
|
zoneCrop: boolean().optional(),
|
|
42992
43296
|
/**
|
|
42993
43297
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43159,7 +43463,9 @@ var NcRuleInputSchema = object({
|
|
|
43159
43463
|
* targets.
|
|
43160
43464
|
*/
|
|
43161
43465
|
targetUsers: array(string()).optional(),
|
|
43162
|
-
|
|
43466
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43467
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43468
|
+
media: NcMediaPolicySchema.default({}),
|
|
43163
43469
|
throttle: NcThrottleSchema.default({
|
|
43164
43470
|
cooldownSec: 60,
|
|
43165
43471
|
scope: "rule-device"
|
|
@@ -44096,13 +44402,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44096
44402
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44097
44403
|
unknown: array(number().int())
|
|
44098
44404
|
});
|
|
44405
|
+
/**
|
|
44406
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44407
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44408
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44409
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44410
|
+
*/
|
|
44411
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44412
|
+
ruleId: string(),
|
|
44413
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44414
|
+
ruleName: string(),
|
|
44415
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44416
|
+
deviceId: number().int(),
|
|
44417
|
+
/** The input's current name. */
|
|
44418
|
+
name: string(),
|
|
44419
|
+
/** When it was bypassed (ms epoch). */
|
|
44420
|
+
since: number(),
|
|
44421
|
+
/** Triggers from this input dropped since. */
|
|
44422
|
+
dropped: number().int().min(0)
|
|
44423
|
+
});
|
|
44099
44424
|
var NcAlarmLiveSchema = object({
|
|
44100
44425
|
state: AlarmStateSchema,
|
|
44101
44426
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44102
44427
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44103
44428
|
availableModes: array(AlarmArmModeSchema),
|
|
44104
44429
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44105
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44430
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44431
|
+
/**
|
|
44432
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44433
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44434
|
+
*/
|
|
44435
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44106
44436
|
});
|
|
44107
44437
|
var NcAlarmConfigSchema = object({
|
|
44108
44438
|
/**
|
|
@@ -61201,26 +61531,6 @@ var ApiKeySummarySchema = object({
|
|
|
61201
61531
|
createdAt: number(),
|
|
61202
61532
|
lastUsedAt: number().optional()
|
|
61203
61533
|
});
|
|
61204
|
-
var ScopedTokenSummarySchema = object({
|
|
61205
|
-
id: string(),
|
|
61206
|
-
userId: string(),
|
|
61207
|
-
name: string(),
|
|
61208
|
-
tokenPrefix: string(),
|
|
61209
|
-
scopes: array(TokenScopeSchema),
|
|
61210
|
-
expiresAt: number().nullish(),
|
|
61211
|
-
lastUsedAt: number().nullish(),
|
|
61212
|
-
createdAt: number()
|
|
61213
|
-
});
|
|
61214
|
-
var CreateScopedTokenInputSchema = object({
|
|
61215
|
-
userId: string(),
|
|
61216
|
-
name: string(),
|
|
61217
|
-
scopes: array(TokenScopeSchema),
|
|
61218
|
-
expiresAt: number().optional()
|
|
61219
|
-
});
|
|
61220
|
-
var CreateScopedTokenResultSchema = object({
|
|
61221
|
-
token: string(),
|
|
61222
|
-
record: ScopedTokenSummarySchema
|
|
61223
|
-
});
|
|
61224
61534
|
var OauthSessionSummarySchema = object({
|
|
61225
61535
|
id: string(),
|
|
61226
61536
|
userId: string(),
|
|
@@ -61242,11 +61552,11 @@ var TotpStatusSchema = object({
|
|
|
61242
61552
|
confirmedAt: number().nullable()
|
|
61243
61553
|
});
|
|
61244
61554
|
/**
|
|
61245
|
-
* user-management — singleton capability for user accounts
|
|
61246
|
-
*
|
|
61555
|
+
* user-management — singleton capability for user accounts and the
|
|
61556
|
+
* legacy API-key rows.
|
|
61247
61557
|
*
|
|
61248
61558
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61249
|
-
* — the subset check on `setUserScopes`
|
|
61559
|
+
* — the subset check on `setUserScopes` is moot
|
|
61250
61560
|
* because non-admins never reach these. If/when we open non-admin
|
|
61251
61561
|
* delegation, structural caller-scope subset check goes inside the
|
|
61252
61562
|
* provider.
|
|
@@ -61303,15 +61613,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61303
61613
|
kind: "mutation",
|
|
61304
61614
|
auth: "admin",
|
|
61305
61615
|
access: "delete"
|
|
61306
|
-
}), method(
|
|
61307
|
-
kind: "mutation",
|
|
61308
|
-
auth: "admin",
|
|
61309
|
-
access: "create"
|
|
61310
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61311
|
-
kind: "mutation",
|
|
61312
|
-
auth: "admin",
|
|
61313
|
-
access: "delete"
|
|
61314
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61616
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61315
61617
|
kind: "mutation",
|
|
61316
61618
|
auth: "admin",
|
|
61317
61619
|
access: "create"
|
|
@@ -65467,7 +65769,7 @@ Object.freeze({
|
|
|
65467
65769
|
capName: "llm",
|
|
65468
65770
|
capScope: "system",
|
|
65469
65771
|
addonId: null,
|
|
65470
|
-
access: "
|
|
65772
|
+
access: "create"
|
|
65471
65773
|
},
|
|
65472
65774
|
"llm.listNodeModels": {
|
|
65473
65775
|
capName: "llm",
|
|
@@ -65769,7 +66071,19 @@ Object.freeze({
|
|
|
65769
66071
|
addonId: null,
|
|
65770
66072
|
access: "view"
|
|
65771
66073
|
},
|
|
65772
|
-
"logDestination.
|
|
66074
|
+
"logDestination.cancelRead": {
|
|
66075
|
+
capName: "log-destination",
|
|
66076
|
+
capScope: "system",
|
|
66077
|
+
addonId: null,
|
|
66078
|
+
access: "create"
|
|
66079
|
+
},
|
|
66080
|
+
"logDestination.describeRead": {
|
|
66081
|
+
capName: "log-destination",
|
|
66082
|
+
capScope: "system",
|
|
66083
|
+
addonId: null,
|
|
66084
|
+
access: "view"
|
|
66085
|
+
},
|
|
66086
|
+
"logDestination.read": {
|
|
65773
66087
|
capName: "log-destination",
|
|
65774
66088
|
capScope: "system",
|
|
65775
66089
|
addonId: null,
|
|
@@ -70131,12 +70445,6 @@ Object.freeze({
|
|
|
70131
70445
|
addonId: null,
|
|
70132
70446
|
access: "create"
|
|
70133
70447
|
},
|
|
70134
|
-
"userManagement.createScopedToken": {
|
|
70135
|
-
capName: "user-management",
|
|
70136
|
-
capScope: "system",
|
|
70137
|
-
addonId: null,
|
|
70138
|
-
access: "create"
|
|
70139
|
-
},
|
|
70140
70448
|
"userManagement.createUser": {
|
|
70141
70449
|
capName: "user-management",
|
|
70142
70450
|
capScope: "system",
|
|
@@ -70185,12 +70493,6 @@ Object.freeze({
|
|
|
70185
70493
|
addonId: null,
|
|
70186
70494
|
access: "view"
|
|
70187
70495
|
},
|
|
70188
|
-
"userManagement.listScopedTokens": {
|
|
70189
|
-
capName: "user-management",
|
|
70190
|
-
capScope: "system",
|
|
70191
|
-
addonId: null,
|
|
70192
|
-
access: "view"
|
|
70193
|
-
},
|
|
70194
70496
|
"userManagement.listUsers": {
|
|
70195
70497
|
capName: "user-management",
|
|
70196
70498
|
capScope: "system",
|
|
@@ -70245,12 +70547,6 @@ Object.freeze({
|
|
|
70245
70547
|
addonId: null,
|
|
70246
70548
|
access: "delete"
|
|
70247
70549
|
},
|
|
70248
|
-
"userManagement.revokeScopedToken": {
|
|
70249
|
-
capName: "user-management",
|
|
70250
|
-
capScope: "system",
|
|
70251
|
-
addonId: null,
|
|
70252
|
-
access: "delete"
|
|
70253
|
-
},
|
|
70254
70550
|
"userManagement.setupTotp": {
|
|
70255
70551
|
capName: "user-management",
|
|
70256
70552
|
capScope: "system",
|
|
@@ -70281,12 +70577,6 @@ Object.freeze({
|
|
|
70281
70577
|
addonId: null,
|
|
70282
70578
|
access: "view"
|
|
70283
70579
|
},
|
|
70284
|
-
"userManagement.validateScopedToken": {
|
|
70285
|
-
capName: "user-management",
|
|
70286
|
-
capScope: "system",
|
|
70287
|
-
addonId: null,
|
|
70288
|
-
access: "view"
|
|
70289
|
-
},
|
|
70290
70580
|
"userManagement.verifyTotp": {
|
|
70291
70581
|
capName: "user-management",
|
|
70292
70582
|
capScope: "system",
|
|
@@ -71800,6 +72090,11 @@ Object.freeze({
|
|
|
71800
72090
|
form: "single",
|
|
71801
72091
|
optional: false
|
|
71802
72092
|
}],
|
|
72093
|
+
"logDestination.read": [{
|
|
72094
|
+
name: "deviceId",
|
|
72095
|
+
form: "single",
|
|
72096
|
+
optional: true
|
|
72097
|
+
}],
|
|
71803
72098
|
"mediaPlayer.getStatus": [{
|
|
71804
72099
|
name: "deviceId",
|
|
71805
72100
|
form: "single",
|