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