@camstack/addon-waste-collections 0.1.11 → 0.1.13
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/waste-collections.addon.js +419 -124
- package/dist/waste-collections.addon.mjs +419 -124
- package/package.json +1 -1
|
@@ -5550,7 +5550,7 @@ var ZodIssueCode = {
|
|
|
5550
5550
|
var ZodFirstPartyTypeKind;
|
|
5551
5551
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5552
5552
|
//#endregion
|
|
5553
|
-
//#region ../types/dist/sleep-
|
|
5553
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5554
5554
|
/**
|
|
5555
5555
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5556
5556
|
* window to float samples (D455).
|
|
@@ -7943,9 +7943,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7943
7943
|
return result;
|
|
7944
7944
|
}
|
|
7945
7945
|
/**
|
|
7946
|
-
* The share-view scope kinds a
|
|
7947
|
-
* and validates them (`
|
|
7948
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7946
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7947
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7948
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7949
7949
|
*/
|
|
7950
7950
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7951
7951
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12842,7 +12842,7 @@ var ConvertResultSchema = object({
|
|
|
12842
12842
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12843
12843
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12844
12844
|
* distinction was only ever used to route role-specific procedures
|
|
12845
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12845
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12846
12846
|
* with `isAdmin: false` + an explicit scope list.
|
|
12847
12847
|
*/
|
|
12848
12848
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13031,10 +13031,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13031
13031
|
type: literal("addon-routes"),
|
|
13032
13032
|
access: array(MethodAccessSchema).min(1)
|
|
13033
13033
|
});
|
|
13034
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13034
13035
|
var CredentialScopeSchema = union([
|
|
13035
13036
|
literal("*"),
|
|
13036
13037
|
ShareViewScopeSchema,
|
|
13037
13038
|
AddonRoutesScopeSchema,
|
|
13039
|
+
PreferencesSelfScopeSchema,
|
|
13038
13040
|
TokenScopeSchema
|
|
13039
13041
|
]);
|
|
13040
13042
|
object({
|
|
@@ -13043,6 +13045,55 @@ object({
|
|
|
13043
13045
|
jti: string().min(16),
|
|
13044
13046
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13045
13047
|
});
|
|
13048
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13049
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13050
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13051
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13052
|
+
/** A stored row, as the owner reads it. */
|
|
13053
|
+
var PreferenceRowSchema = object({
|
|
13054
|
+
namespace: PreferenceNamespaceSchema,
|
|
13055
|
+
value: PreferenceValueSchema,
|
|
13056
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13057
|
+
revision: number().int().positive(),
|
|
13058
|
+
updatedAt: number().int(),
|
|
13059
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13060
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13061
|
+
});
|
|
13062
|
+
object({
|
|
13063
|
+
/** Absent: every namespace the caller holds. */
|
|
13064
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13065
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13066
|
+
object({
|
|
13067
|
+
namespace: PreferenceNamespaceSchema,
|
|
13068
|
+
value: PreferenceValueSchema,
|
|
13069
|
+
/**
|
|
13070
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13071
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13072
|
+
* revision answers `conflict` and writes nothing.
|
|
13073
|
+
*/
|
|
13074
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13075
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13076
|
+
});
|
|
13077
|
+
discriminatedUnion("status", [object({
|
|
13078
|
+
status: literal("saved"),
|
|
13079
|
+
row: PreferenceRowSchema
|
|
13080
|
+
}), object({
|
|
13081
|
+
status: literal("conflict"),
|
|
13082
|
+
current: PreferenceRowSchema.nullable()
|
|
13083
|
+
})]);
|
|
13084
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13085
|
+
object({
|
|
13086
|
+
/** `false` when the namespace did not exist. */
|
|
13087
|
+
deleted: boolean() });
|
|
13088
|
+
object({
|
|
13089
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13090
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13091
|
+
object({
|
|
13092
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13093
|
+
rows: array(PreferenceRowSchema),
|
|
13094
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13095
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13096
|
+
});
|
|
13046
13097
|
_enum(["new-session", "step-up"]);
|
|
13047
13098
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13048
13099
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17190,7 +17241,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17190
17241
|
kind: literal("node"),
|
|
17191
17242
|
nodeId: string().min(1)
|
|
17192
17243
|
})]);
|
|
17244
|
+
/**
|
|
17245
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17246
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17247
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17248
|
+
*/
|
|
17193
17249
|
var DeviceHistoryKindSchema = _enum([
|
|
17250
|
+
"gauge",
|
|
17251
|
+
"counter",
|
|
17252
|
+
"boolean",
|
|
17253
|
+
"enum"
|
|
17254
|
+
]);
|
|
17255
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17256
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17194
17257
|
"gauge",
|
|
17195
17258
|
"counter",
|
|
17196
17259
|
"boolean"
|
|
@@ -17227,7 +17290,13 @@ var SeriesInfoSchema = object({
|
|
|
17227
17290
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17228
17291
|
unit: string().nullable(),
|
|
17229
17292
|
displayName: string(),
|
|
17230
|
-
source: _enum([
|
|
17293
|
+
source: _enum([
|
|
17294
|
+
"cap",
|
|
17295
|
+
"addon",
|
|
17296
|
+
"derived"
|
|
17297
|
+
]),
|
|
17298
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17299
|
+
values: array(string()).readonly().nullable(),
|
|
17231
17300
|
firstTs: number(),
|
|
17232
17301
|
lastTs: number()
|
|
17233
17302
|
});
|
|
@@ -17241,17 +17310,31 @@ var QueryPointSchema = object({
|
|
|
17241
17310
|
twMean: number().nullable(),
|
|
17242
17311
|
min: number(),
|
|
17243
17312
|
max: number(),
|
|
17244
|
-
/** `null` is unknown, never zero (D393). */
|
|
17245
|
-
last: number().nullable()
|
|
17313
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17314
|
+
last: number().nullable(),
|
|
17315
|
+
/**
|
|
17316
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17317
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17318
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17319
|
+
* every other kind, and when it cannot be known.
|
|
17320
|
+
*/
|
|
17321
|
+
delta: number().nullable(),
|
|
17322
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17323
|
+
state: string().nullable(),
|
|
17324
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17325
|
+
states: record(string(), number()).nullable()
|
|
17246
17326
|
});
|
|
17247
17327
|
var QuerySeriesSchema = object({
|
|
17248
17328
|
scope: string(),
|
|
17249
17329
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17250
17330
|
before: object({
|
|
17251
17331
|
t: number(),
|
|
17252
|
-
value: number().nullable()
|
|
17332
|
+
value: number().nullable(),
|
|
17333
|
+
state: string().nullable()
|
|
17253
17334
|
}).nullable(),
|
|
17254
|
-
points: array(QueryPointSchema).readonly()
|
|
17335
|
+
points: array(QueryPointSchema).readonly(),
|
|
17336
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17337
|
+
derivedFrom: string().nullable()
|
|
17255
17338
|
});
|
|
17256
17339
|
/** The window part of a query, shared by the device and node forms. */
|
|
17257
17340
|
var QueryWindowShape = {
|
|
@@ -17267,6 +17350,23 @@ var QueryResultSchema = object({
|
|
|
17267
17350
|
series: array(QuerySeriesSchema).readonly(),
|
|
17268
17351
|
truncated: boolean()
|
|
17269
17352
|
});
|
|
17353
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17354
|
+
var QueryManyItemSchema = union([object({
|
|
17355
|
+
deviceId: number().int(),
|
|
17356
|
+
key: string(),
|
|
17357
|
+
scope: string().optional()
|
|
17358
|
+
}), object({
|
|
17359
|
+
forNodeId: string().min(1),
|
|
17360
|
+
key: string(),
|
|
17361
|
+
scope: string().optional()
|
|
17362
|
+
})]);
|
|
17363
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17364
|
+
ok: literal(true),
|
|
17365
|
+
result: QueryResultSchema
|
|
17366
|
+
}), object({
|
|
17367
|
+
ok: literal(false),
|
|
17368
|
+
error: string()
|
|
17369
|
+
})]);
|
|
17270
17370
|
var TierStatusSchema = object({
|
|
17271
17371
|
tier: DeviceHistoryResolutionSchema,
|
|
17272
17372
|
/** `null` until the first background count answered. */
|
|
@@ -17322,16 +17422,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17322
17422
|
lastRefreshAt: number().nullable()
|
|
17323
17423
|
})
|
|
17324
17424
|
});
|
|
17325
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17425
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17326
17426
|
deviceId: number().int(),
|
|
17327
17427
|
...QueryWindowShape
|
|
17328
17428
|
}), QueryResultSchema), method(object({
|
|
17329
|
-
|
|
17429
|
+
forNodeId: string().min(1),
|
|
17330
17430
|
...QueryWindowShape
|
|
17331
17431
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17432
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17433
|
+
from: QueryWindowShape.from,
|
|
17434
|
+
to: QueryWindowShape.to,
|
|
17435
|
+
resolution: QueryWindowShape.resolution,
|
|
17436
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17437
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17332
17438
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17333
17439
|
subjectKind: _enum(["device", "node"]),
|
|
17334
|
-
kind:
|
|
17440
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17335
17441
|
unit: string().optional(),
|
|
17336
17442
|
displayName: string().min(1),
|
|
17337
17443
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39921,38 +40027,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39921
40027
|
auth: "admin",
|
|
39922
40028
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39923
40029
|
});
|
|
40030
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40031
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40032
|
+
var LlmModelFeaturesSchema = object({
|
|
40033
|
+
vision: boolean(),
|
|
40034
|
+
tools: boolean(),
|
|
40035
|
+
streaming: boolean()
|
|
40036
|
+
});
|
|
40037
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40038
|
+
var LlmModelInfoSchema = object({
|
|
40039
|
+
id: string(),
|
|
40040
|
+
label: string().optional(),
|
|
40041
|
+
contextLength: number().int().positive().optional(),
|
|
40042
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40043
|
+
});
|
|
39924
40044
|
/**
|
|
39925
|
-
*
|
|
39926
|
-
*
|
|
39927
|
-
*
|
|
39928
|
-
*
|
|
39929
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39930
|
-
*
|
|
39931
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39932
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39933
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40045
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40046
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40047
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40048
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39934
40049
|
*/
|
|
39935
|
-
var
|
|
39936
|
-
"openai-compatible",
|
|
39937
|
-
"openai",
|
|
39938
|
-
"anthropic",
|
|
39939
|
-
"google",
|
|
39940
|
-
"managed-local",
|
|
39941
|
-
"apple-foundation"
|
|
39942
|
-
]);
|
|
40050
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39943
40051
|
var LlmProfileSchema = object({
|
|
39944
40052
|
id: string(),
|
|
39945
40053
|
name: string(),
|
|
40054
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39946
40055
|
kind: LlmProfileKindSchema,
|
|
39947
40056
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39948
40057
|
addonId: string(),
|
|
39949
40058
|
enabled: boolean(),
|
|
39950
40059
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39951
40060
|
model: string(),
|
|
39952
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39953
|
-
baseUrl: string().optional(),
|
|
39954
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39955
|
-
apiKey: string().optional(),
|
|
39956
40061
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39957
40062
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39958
40063
|
* question about a picture nobody sent. */
|
|
@@ -39960,15 +40065,11 @@ var LlmProfileSchema = object({
|
|
|
39960
40065
|
temperature: number().min(0).max(2).optional(),
|
|
39961
40066
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39962
40067
|
topP: number().min(0).max(1).optional(),
|
|
39963
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39964
|
-
*
|
|
39965
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39966
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40068
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40069
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39967
40070
|
topK: number().int().positive().optional(),
|
|
39968
40071
|
maxTokens: number().int().positive().optional(),
|
|
39969
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39970
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39971
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40072
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39972
40073
|
contextLength: number().int().positive().optional(),
|
|
39973
40074
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39974
40075
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39994,16 +40095,37 @@ var LlmProfileSchema = object({
|
|
|
39994
40095
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39995
40096
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39996
40097
|
toolsEnabled: boolean().default(false),
|
|
39997
|
-
|
|
39998
|
-
|
|
39999
|
-
|
|
40000
|
-
|
|
40001
|
-
|
|
40002
|
-
|
|
40003
|
-
|
|
40004
|
-
|
|
40005
|
-
|
|
40006
|
-
|
|
40098
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40099
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40100
|
+
});
|
|
40101
|
+
/**
|
|
40102
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40103
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40104
|
+
*/
|
|
40105
|
+
var LlmProfileFieldSchema = _enum([
|
|
40106
|
+
"temperature",
|
|
40107
|
+
"topP",
|
|
40108
|
+
"topK",
|
|
40109
|
+
"maxTokens",
|
|
40110
|
+
"contextLength",
|
|
40111
|
+
"systemPrompt",
|
|
40112
|
+
"timeoutMs",
|
|
40113
|
+
"connectTimeoutMs",
|
|
40114
|
+
"firstTokenTimeoutMs",
|
|
40115
|
+
"idleTimeoutMs",
|
|
40116
|
+
"retry",
|
|
40117
|
+
"toolsEnabled"
|
|
40118
|
+
]);
|
|
40119
|
+
/**
|
|
40120
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40121
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40122
|
+
* picker: that widget owns the model choice.
|
|
40123
|
+
*/
|
|
40124
|
+
var LlmProviderWidgetSchema = object({
|
|
40125
|
+
id: string(),
|
|
40126
|
+
placement: _enum(["connection", "model"]),
|
|
40127
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40128
|
+
requires: array(string()).optional()
|
|
40007
40129
|
});
|
|
40008
40130
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40009
40131
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40012,11 +40134,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40012
40134
|
var LlmProfileKindDescriptorSchema = object({
|
|
40013
40135
|
kind: LlmProfileKindSchema,
|
|
40014
40136
|
label: string(),
|
|
40137
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40015
40138
|
icon: string(),
|
|
40016
40139
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40017
40140
|
addonId: string(),
|
|
40018
|
-
|
|
40141
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40142
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40143
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40144
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40145
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40146
|
+
features: LlmModelFeaturesSchema,
|
|
40147
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40148
|
+
visionEditable: boolean(),
|
|
40149
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40150
|
+
modelCatalog: _enum([
|
|
40151
|
+
"fetch",
|
|
40152
|
+
"static",
|
|
40153
|
+
"none"
|
|
40154
|
+
]),
|
|
40155
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40156
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40157
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40158
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40159
|
+
});
|
|
40160
|
+
/**
|
|
40161
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40162
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40163
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40164
|
+
* stored profile — the browser never receives it.
|
|
40165
|
+
*/
|
|
40166
|
+
var LlmListModelsInputSchema = object({
|
|
40167
|
+
addonId: string(),
|
|
40168
|
+
kind: LlmProfileKindSchema,
|
|
40169
|
+
profileId: string().optional(),
|
|
40170
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40019
40171
|
});
|
|
40172
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40173
|
+
"auth",
|
|
40174
|
+
"network",
|
|
40175
|
+
"unsupported",
|
|
40176
|
+
"invalid"
|
|
40177
|
+
]);
|
|
40178
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40179
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40180
|
+
ok: literal(true),
|
|
40181
|
+
models: array(LlmModelInfoSchema)
|
|
40182
|
+
}), object({
|
|
40183
|
+
ok: literal(false),
|
|
40184
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40185
|
+
message: string()
|
|
40186
|
+
})]);
|
|
40020
40187
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40021
40188
|
var LlmDefaultSchema = object({
|
|
40022
40189
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40116,7 +40283,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40116
40283
|
kind: "mutation",
|
|
40117
40284
|
auth: "admin",
|
|
40118
40285
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40119
|
-
}), method(
|
|
40286
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40287
|
+
kind: "mutation",
|
|
40288
|
+
auth: "admin"
|
|
40289
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40120
40290
|
selector: LlmDefaultSelectorSchema,
|
|
40121
40291
|
profileId: string().nullable()
|
|
40122
40292
|
}), _void(), {
|
|
@@ -40284,14 +40454,106 @@ var LogEntrySchema = object({
|
|
|
40284
40454
|
meta: record(string(), unknown()).optional(),
|
|
40285
40455
|
tags: record(string(), string()).optional()
|
|
40286
40456
|
});
|
|
40287
|
-
|
|
40288
|
-
|
|
40457
|
+
/**
|
|
40458
|
+
* A history READ against one destination (D898).
|
|
40459
|
+
*
|
|
40460
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40461
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40462
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40463
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40464
|
+
* nanosecond timestamp for Loki.
|
|
40465
|
+
*
|
|
40466
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40467
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40468
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40469
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40470
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40471
|
+
*/
|
|
40472
|
+
var LogReadQuerySchema = object({
|
|
40473
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40474
|
+
requestId: string().min(1).max(64).optional(),
|
|
40475
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40476
|
+
deviceId: number().int().optional(),
|
|
40477
|
+
/**
|
|
40478
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40479
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40480
|
+
*/
|
|
40481
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40482
|
+
/**
|
|
40483
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40484
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40485
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40486
|
+
* name as "which node's provider".
|
|
40487
|
+
*/
|
|
40488
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40489
|
+
/** Any other tag, exact match (AND). */
|
|
40490
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40491
|
+
/** Severity FLOOR: this level and above. */
|
|
40289
40492
|
level: LogLevelSchema.optional(),
|
|
40290
|
-
|
|
40291
|
-
|
|
40292
|
-
|
|
40293
|
-
|
|
40294
|
-
|
|
40493
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40494
|
+
text: string().min(1).max(200).optional(),
|
|
40495
|
+
/** Epoch ms, inclusive. */
|
|
40496
|
+
since: number().optional(),
|
|
40497
|
+
/** Epoch ms, inclusive. */
|
|
40498
|
+
until: number().optional(),
|
|
40499
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40500
|
+
before: string().min(1).max(1024).optional(),
|
|
40501
|
+
/** Newer than this cursor (exclusive). */
|
|
40502
|
+
after: string().min(1).max(1024).optional(),
|
|
40503
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40504
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40505
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40506
|
+
});
|
|
40507
|
+
var LogReadResultSchema = object({
|
|
40508
|
+
/** Newest first. */
|
|
40509
|
+
entries: array(object({
|
|
40510
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40511
|
+
id: string().optional(),
|
|
40512
|
+
/** Epoch ms. */
|
|
40513
|
+
timestamp: number(),
|
|
40514
|
+
level: LogLevelSchema,
|
|
40515
|
+
scope: string().optional(),
|
|
40516
|
+
message: string(),
|
|
40517
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40518
|
+
meta: record(string(), unknown()).optional()
|
|
40519
|
+
})),
|
|
40520
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40521
|
+
nextBefore: string().nullable(),
|
|
40522
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40523
|
+
nextAfter: string().nullable(),
|
|
40524
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40525
|
+
scannedBytes: number().int().nonnegative(),
|
|
40526
|
+
/**
|
|
40527
|
+
* True when the scan in this direction reached the end of the store.
|
|
40528
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40529
|
+
* call again with `nextBefore` to go on.
|
|
40530
|
+
*/
|
|
40531
|
+
done: boolean(),
|
|
40532
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40533
|
+
cancelled: boolean().optional()
|
|
40534
|
+
});
|
|
40535
|
+
var LogReadCapabilitiesSchema = object({
|
|
40536
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40537
|
+
readable: boolean(),
|
|
40538
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40539
|
+
reason: string().nullable(),
|
|
40540
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40541
|
+
filters: object({
|
|
40542
|
+
deviceId: boolean(),
|
|
40543
|
+
addonId: boolean(),
|
|
40544
|
+
nodeId: boolean(),
|
|
40545
|
+
tags: boolean(),
|
|
40546
|
+
level: boolean(),
|
|
40547
|
+
text: boolean(),
|
|
40548
|
+
timeRange: boolean()
|
|
40549
|
+
}),
|
|
40550
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40551
|
+
retentionDays: number().nullable()
|
|
40552
|
+
});
|
|
40553
|
+
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() }), {
|
|
40554
|
+
kind: "mutation",
|
|
40555
|
+
auth: "admin"
|
|
40556
|
+
});
|
|
40295
40557
|
/**
|
|
40296
40558
|
* `login-method` — collection cap through which auth addons contribute
|
|
40297
40559
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42847,6 +43109,33 @@ var NcRuleTargetSchema = object({
|
|
|
42847
43109
|
params: record(string(), unknown()).optional()
|
|
42848
43110
|
});
|
|
42849
43111
|
/**
|
|
43112
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43113
|
+
*
|
|
43114
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43115
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43116
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43117
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43118
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43119
|
+
* labelled with class and confidence ("dog 87%").
|
|
43120
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43121
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43122
|
+
* - `none` — no picture.
|
|
43123
|
+
*
|
|
43124
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43125
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43126
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43127
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43128
|
+
* stored kind had landed.
|
|
43129
|
+
*/
|
|
43130
|
+
var NcMediaImageSchema = _enum([
|
|
43131
|
+
"scene-boxes",
|
|
43132
|
+
"crop",
|
|
43133
|
+
"clean",
|
|
43134
|
+
"none"
|
|
43135
|
+
]);
|
|
43136
|
+
/**
|
|
43137
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43138
|
+
*
|
|
42850
43139
|
* Media attachment policy (P1 still-image subset).
|
|
42851
43140
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42852
43141
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42860,6 +43149,8 @@ var NcRuleTargetSchema = object({
|
|
|
42860
43149
|
* - `none` — no attachment.
|
|
42861
43150
|
*/
|
|
42862
43151
|
/**
|
|
43152
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43153
|
+
*
|
|
42863
43154
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42864
43155
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42865
43156
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42888,16 +43179,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42888
43179
|
*/
|
|
42889
43180
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42890
43181
|
var NcMediaPolicySchema = object({
|
|
43182
|
+
/**
|
|
43183
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43184
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43185
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43186
|
+
*/
|
|
43187
|
+
image: NcMediaImageSchema.optional(),
|
|
43188
|
+
/**
|
|
43189
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43190
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43191
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43192
|
+
* Replaces `zoneCrop`.
|
|
43193
|
+
*/
|
|
43194
|
+
showTriggerZone: boolean().optional(),
|
|
43195
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42891
43196
|
attach: _enum([
|
|
42892
43197
|
"best",
|
|
42893
43198
|
"best-matching",
|
|
42894
43199
|
"keyFrame",
|
|
42895
43200
|
"none"
|
|
42896
|
-
]).
|
|
42897
|
-
/**
|
|
43201
|
+
]).optional(),
|
|
43202
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42898
43203
|
frame: NcMediaFrameSchema.optional(),
|
|
42899
|
-
/**
|
|
42900
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43204
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42901
43205
|
zoneCrop: boolean().optional(),
|
|
42902
43206
|
/**
|
|
42903
43207
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43069,7 +43373,9 @@ var NcRuleInputSchema = object({
|
|
|
43069
43373
|
* targets.
|
|
43070
43374
|
*/
|
|
43071
43375
|
targetUsers: array(string()).optional(),
|
|
43072
|
-
|
|
43376
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43377
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43378
|
+
media: NcMediaPolicySchema.default({}),
|
|
43073
43379
|
throttle: NcThrottleSchema.default({
|
|
43074
43380
|
cooldownSec: 60,
|
|
43075
43381
|
scope: "rule-device"
|
|
@@ -44006,13 +44312,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44006
44312
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44007
44313
|
unknown: array(number().int())
|
|
44008
44314
|
});
|
|
44315
|
+
/**
|
|
44316
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44317
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44318
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44319
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44320
|
+
*/
|
|
44321
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44322
|
+
ruleId: string(),
|
|
44323
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44324
|
+
ruleName: string(),
|
|
44325
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44326
|
+
deviceId: number().int(),
|
|
44327
|
+
/** The input's current name. */
|
|
44328
|
+
name: string(),
|
|
44329
|
+
/** When it was bypassed (ms epoch). */
|
|
44330
|
+
since: number(),
|
|
44331
|
+
/** Triggers from this input dropped since. */
|
|
44332
|
+
dropped: number().int().min(0)
|
|
44333
|
+
});
|
|
44009
44334
|
var NcAlarmLiveSchema = object({
|
|
44010
44335
|
state: AlarmStateSchema,
|
|
44011
44336
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44012
44337
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44013
44338
|
availableModes: array(AlarmArmModeSchema),
|
|
44014
44339
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44015
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44340
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44341
|
+
/**
|
|
44342
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44343
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44344
|
+
*/
|
|
44345
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44016
44346
|
});
|
|
44017
44347
|
var NcAlarmConfigSchema = object({
|
|
44018
44348
|
/**
|
|
@@ -61121,26 +61451,6 @@ var ApiKeySummarySchema = object({
|
|
|
61121
61451
|
createdAt: number(),
|
|
61122
61452
|
lastUsedAt: number().optional()
|
|
61123
61453
|
});
|
|
61124
|
-
var ScopedTokenSummarySchema = object({
|
|
61125
|
-
id: string(),
|
|
61126
|
-
userId: string(),
|
|
61127
|
-
name: string(),
|
|
61128
|
-
tokenPrefix: string(),
|
|
61129
|
-
scopes: array(TokenScopeSchema),
|
|
61130
|
-
expiresAt: number().nullish(),
|
|
61131
|
-
lastUsedAt: number().nullish(),
|
|
61132
|
-
createdAt: number()
|
|
61133
|
-
});
|
|
61134
|
-
var CreateScopedTokenInputSchema = object({
|
|
61135
|
-
userId: string(),
|
|
61136
|
-
name: string(),
|
|
61137
|
-
scopes: array(TokenScopeSchema),
|
|
61138
|
-
expiresAt: number().optional()
|
|
61139
|
-
});
|
|
61140
|
-
var CreateScopedTokenResultSchema = object({
|
|
61141
|
-
token: string(),
|
|
61142
|
-
record: ScopedTokenSummarySchema
|
|
61143
|
-
});
|
|
61144
61454
|
var OauthSessionSummarySchema = object({
|
|
61145
61455
|
id: string(),
|
|
61146
61456
|
userId: string(),
|
|
@@ -61162,11 +61472,11 @@ var TotpStatusSchema = object({
|
|
|
61162
61472
|
confirmedAt: number().nullable()
|
|
61163
61473
|
});
|
|
61164
61474
|
/**
|
|
61165
|
-
* user-management — singleton capability for user accounts
|
|
61166
|
-
*
|
|
61475
|
+
* user-management — singleton capability for user accounts and the
|
|
61476
|
+
* legacy API-key rows.
|
|
61167
61477
|
*
|
|
61168
61478
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61169
|
-
* — the subset check on `setUserScopes`
|
|
61479
|
+
* — the subset check on `setUserScopes` is moot
|
|
61170
61480
|
* because non-admins never reach these. If/when we open non-admin
|
|
61171
61481
|
* delegation, structural caller-scope subset check goes inside the
|
|
61172
61482
|
* provider.
|
|
@@ -61223,15 +61533,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61223
61533
|
kind: "mutation",
|
|
61224
61534
|
auth: "admin",
|
|
61225
61535
|
access: "delete"
|
|
61226
|
-
}), method(
|
|
61227
|
-
kind: "mutation",
|
|
61228
|
-
auth: "admin",
|
|
61229
|
-
access: "create"
|
|
61230
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61231
|
-
kind: "mutation",
|
|
61232
|
-
auth: "admin",
|
|
61233
|
-
access: "delete"
|
|
61234
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61536
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61235
61537
|
kind: "mutation",
|
|
61236
61538
|
auth: "admin",
|
|
61237
61539
|
access: "create"
|
|
@@ -65387,7 +65689,7 @@ Object.freeze({
|
|
|
65387
65689
|
capName: "llm",
|
|
65388
65690
|
capScope: "system",
|
|
65389
65691
|
addonId: null,
|
|
65390
|
-
access: "
|
|
65692
|
+
access: "create"
|
|
65391
65693
|
},
|
|
65392
65694
|
"llm.listNodeModels": {
|
|
65393
65695
|
capName: "llm",
|
|
@@ -65689,7 +65991,19 @@ Object.freeze({
|
|
|
65689
65991
|
addonId: null,
|
|
65690
65992
|
access: "view"
|
|
65691
65993
|
},
|
|
65692
|
-
"logDestination.
|
|
65994
|
+
"logDestination.cancelRead": {
|
|
65995
|
+
capName: "log-destination",
|
|
65996
|
+
capScope: "system",
|
|
65997
|
+
addonId: null,
|
|
65998
|
+
access: "create"
|
|
65999
|
+
},
|
|
66000
|
+
"logDestination.describeRead": {
|
|
66001
|
+
capName: "log-destination",
|
|
66002
|
+
capScope: "system",
|
|
66003
|
+
addonId: null,
|
|
66004
|
+
access: "view"
|
|
66005
|
+
},
|
|
66006
|
+
"logDestination.read": {
|
|
65693
66007
|
capName: "log-destination",
|
|
65694
66008
|
capScope: "system",
|
|
65695
66009
|
addonId: null,
|
|
@@ -70051,12 +70365,6 @@ Object.freeze({
|
|
|
70051
70365
|
addonId: null,
|
|
70052
70366
|
access: "create"
|
|
70053
70367
|
},
|
|
70054
|
-
"userManagement.createScopedToken": {
|
|
70055
|
-
capName: "user-management",
|
|
70056
|
-
capScope: "system",
|
|
70057
|
-
addonId: null,
|
|
70058
|
-
access: "create"
|
|
70059
|
-
},
|
|
70060
70368
|
"userManagement.createUser": {
|
|
70061
70369
|
capName: "user-management",
|
|
70062
70370
|
capScope: "system",
|
|
@@ -70105,12 +70413,6 @@ Object.freeze({
|
|
|
70105
70413
|
addonId: null,
|
|
70106
70414
|
access: "view"
|
|
70107
70415
|
},
|
|
70108
|
-
"userManagement.listScopedTokens": {
|
|
70109
|
-
capName: "user-management",
|
|
70110
|
-
capScope: "system",
|
|
70111
|
-
addonId: null,
|
|
70112
|
-
access: "view"
|
|
70113
|
-
},
|
|
70114
70416
|
"userManagement.listUsers": {
|
|
70115
70417
|
capName: "user-management",
|
|
70116
70418
|
capScope: "system",
|
|
@@ -70165,12 +70467,6 @@ Object.freeze({
|
|
|
70165
70467
|
addonId: null,
|
|
70166
70468
|
access: "delete"
|
|
70167
70469
|
},
|
|
70168
|
-
"userManagement.revokeScopedToken": {
|
|
70169
|
-
capName: "user-management",
|
|
70170
|
-
capScope: "system",
|
|
70171
|
-
addonId: null,
|
|
70172
|
-
access: "delete"
|
|
70173
|
-
},
|
|
70174
70470
|
"userManagement.setupTotp": {
|
|
70175
70471
|
capName: "user-management",
|
|
70176
70472
|
capScope: "system",
|
|
@@ -70201,12 +70497,6 @@ Object.freeze({
|
|
|
70201
70497
|
addonId: null,
|
|
70202
70498
|
access: "view"
|
|
70203
70499
|
},
|
|
70204
|
-
"userManagement.validateScopedToken": {
|
|
70205
|
-
capName: "user-management",
|
|
70206
|
-
capScope: "system",
|
|
70207
|
-
addonId: null,
|
|
70208
|
-
access: "view"
|
|
70209
|
-
},
|
|
70210
70500
|
"userManagement.verifyTotp": {
|
|
70211
70501
|
capName: "user-management",
|
|
70212
70502
|
capScope: "system",
|
|
@@ -71720,6 +72010,11 @@ Object.freeze({
|
|
|
71720
72010
|
form: "single",
|
|
71721
72011
|
optional: false
|
|
71722
72012
|
}],
|
|
72013
|
+
"logDestination.read": [{
|
|
72014
|
+
name: "deviceId",
|
|
72015
|
+
form: "single",
|
|
72016
|
+
optional: true
|
|
72017
|
+
}],
|
|
71723
72018
|
"mediaPlayer.getStatus": [{
|
|
71724
72019
|
name: "deviceId",
|
|
71725
72020
|
form: "single",
|