@camstack/addon-export-alexa 1.2.149 → 1.2.151
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/export-alexa.addon.js +419 -124
- package/dist/export-alexa.addon.mjs +419 -124
- package/package.json +1 -1
|
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
|
|
|
5449
5449
|
var ZodFirstPartyTypeKind;
|
|
5450
5450
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5451
5451
|
//#endregion
|
|
5452
|
-
//#region ../types/dist/sleep-
|
|
5452
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5453
5453
|
/**
|
|
5454
5454
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5455
5455
|
* window to float samples (D455).
|
|
@@ -7832,9 +7832,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7832
7832
|
return result;
|
|
7833
7833
|
}
|
|
7834
7834
|
/**
|
|
7835
|
-
* The share-view scope kinds a
|
|
7836
|
-
* and validates them (`
|
|
7837
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7835
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7836
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7837
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7838
7838
|
*/
|
|
7839
7839
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7840
7840
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12739,7 +12739,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12739
12739
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12740
12740
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12741
12741
|
* distinction was only ever used to route role-specific procedures
|
|
12742
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12742
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12743
12743
|
* with `isAdmin: false` + an explicit scope list.
|
|
12744
12744
|
*/
|
|
12745
12745
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12928,10 +12928,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12928
12928
|
type: literal("addon-routes"),
|
|
12929
12929
|
access: array(MethodAccessSchema).min(1)
|
|
12930
12930
|
});
|
|
12931
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12931
12932
|
var CredentialScopeSchema = union([
|
|
12932
12933
|
literal("*"),
|
|
12933
12934
|
ShareViewScopeSchema,
|
|
12934
12935
|
AddonRoutesScopeSchema,
|
|
12936
|
+
PreferencesSelfScopeSchema,
|
|
12935
12937
|
TokenScopeSchema
|
|
12936
12938
|
]);
|
|
12937
12939
|
object({
|
|
@@ -12940,6 +12942,55 @@ object({
|
|
|
12940
12942
|
jti: string().min(16),
|
|
12941
12943
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12942
12944
|
});
|
|
12945
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12946
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12947
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12948
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12949
|
+
/** A stored row, as the owner reads it. */
|
|
12950
|
+
var PreferenceRowSchema = object({
|
|
12951
|
+
namespace: PreferenceNamespaceSchema,
|
|
12952
|
+
value: PreferenceValueSchema,
|
|
12953
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12954
|
+
revision: number().int().positive(),
|
|
12955
|
+
updatedAt: number().int(),
|
|
12956
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12957
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12958
|
+
});
|
|
12959
|
+
object({
|
|
12960
|
+
/** Absent: every namespace the caller holds. */
|
|
12961
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12962
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12963
|
+
object({
|
|
12964
|
+
namespace: PreferenceNamespaceSchema,
|
|
12965
|
+
value: PreferenceValueSchema,
|
|
12966
|
+
/**
|
|
12967
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12968
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12969
|
+
* revision answers `conflict` and writes nothing.
|
|
12970
|
+
*/
|
|
12971
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12972
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12973
|
+
});
|
|
12974
|
+
discriminatedUnion("status", [object({
|
|
12975
|
+
status: literal("saved"),
|
|
12976
|
+
row: PreferenceRowSchema
|
|
12977
|
+
}), object({
|
|
12978
|
+
status: literal("conflict"),
|
|
12979
|
+
current: PreferenceRowSchema.nullable()
|
|
12980
|
+
})]);
|
|
12981
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12982
|
+
object({
|
|
12983
|
+
/** `false` when the namespace did not exist. */
|
|
12984
|
+
deleted: boolean() });
|
|
12985
|
+
object({
|
|
12986
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12987
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12988
|
+
object({
|
|
12989
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12990
|
+
rows: array(PreferenceRowSchema),
|
|
12991
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12992
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12993
|
+
});
|
|
12943
12994
|
_enum(["new-session", "step-up"]);
|
|
12944
12995
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12945
12996
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17106,7 +17157,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17106
17157
|
kind: literal("node"),
|
|
17107
17158
|
nodeId: string().min(1)
|
|
17108
17159
|
})]);
|
|
17160
|
+
/**
|
|
17161
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17162
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17163
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17164
|
+
*/
|
|
17109
17165
|
var DeviceHistoryKindSchema = _enum([
|
|
17166
|
+
"gauge",
|
|
17167
|
+
"counter",
|
|
17168
|
+
"boolean",
|
|
17169
|
+
"enum"
|
|
17170
|
+
]);
|
|
17171
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17172
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17110
17173
|
"gauge",
|
|
17111
17174
|
"counter",
|
|
17112
17175
|
"boolean"
|
|
@@ -17143,7 +17206,13 @@ var SeriesInfoSchema = object({
|
|
|
17143
17206
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17144
17207
|
unit: string().nullable(),
|
|
17145
17208
|
displayName: string(),
|
|
17146
|
-
source: _enum([
|
|
17209
|
+
source: _enum([
|
|
17210
|
+
"cap",
|
|
17211
|
+
"addon",
|
|
17212
|
+
"derived"
|
|
17213
|
+
]),
|
|
17214
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17215
|
+
values: array(string()).readonly().nullable(),
|
|
17147
17216
|
firstTs: number(),
|
|
17148
17217
|
lastTs: number()
|
|
17149
17218
|
});
|
|
@@ -17157,17 +17226,31 @@ var QueryPointSchema = object({
|
|
|
17157
17226
|
twMean: number().nullable(),
|
|
17158
17227
|
min: number(),
|
|
17159
17228
|
max: number(),
|
|
17160
|
-
/** `null` is unknown, never zero (D393). */
|
|
17161
|
-
last: number().nullable()
|
|
17229
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17230
|
+
last: number().nullable(),
|
|
17231
|
+
/**
|
|
17232
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17233
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17234
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17235
|
+
* every other kind, and when it cannot be known.
|
|
17236
|
+
*/
|
|
17237
|
+
delta: number().nullable(),
|
|
17238
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17239
|
+
state: string().nullable(),
|
|
17240
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17241
|
+
states: record(string(), number()).nullable()
|
|
17162
17242
|
});
|
|
17163
17243
|
var QuerySeriesSchema = object({
|
|
17164
17244
|
scope: string(),
|
|
17165
17245
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17166
17246
|
before: object({
|
|
17167
17247
|
t: number(),
|
|
17168
|
-
value: number().nullable()
|
|
17248
|
+
value: number().nullable(),
|
|
17249
|
+
state: string().nullable()
|
|
17169
17250
|
}).nullable(),
|
|
17170
|
-
points: array(QueryPointSchema).readonly()
|
|
17251
|
+
points: array(QueryPointSchema).readonly(),
|
|
17252
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17253
|
+
derivedFrom: string().nullable()
|
|
17171
17254
|
});
|
|
17172
17255
|
/** The window part of a query, shared by the device and node forms. */
|
|
17173
17256
|
var QueryWindowShape = {
|
|
@@ -17183,6 +17266,23 @@ var QueryResultSchema = object({
|
|
|
17183
17266
|
series: array(QuerySeriesSchema).readonly(),
|
|
17184
17267
|
truncated: boolean()
|
|
17185
17268
|
});
|
|
17269
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17270
|
+
var QueryManyItemSchema = union([object({
|
|
17271
|
+
deviceId: number().int(),
|
|
17272
|
+
key: string(),
|
|
17273
|
+
scope: string().optional()
|
|
17274
|
+
}), object({
|
|
17275
|
+
forNodeId: string().min(1),
|
|
17276
|
+
key: string(),
|
|
17277
|
+
scope: string().optional()
|
|
17278
|
+
})]);
|
|
17279
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17280
|
+
ok: literal(true),
|
|
17281
|
+
result: QueryResultSchema
|
|
17282
|
+
}), object({
|
|
17283
|
+
ok: literal(false),
|
|
17284
|
+
error: string()
|
|
17285
|
+
})]);
|
|
17186
17286
|
var TierStatusSchema = object({
|
|
17187
17287
|
tier: DeviceHistoryResolutionSchema,
|
|
17188
17288
|
/** `null` until the first background count answered. */
|
|
@@ -17238,16 +17338,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17238
17338
|
lastRefreshAt: number().nullable()
|
|
17239
17339
|
})
|
|
17240
17340
|
});
|
|
17241
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17341
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17242
17342
|
deviceId: number().int(),
|
|
17243
17343
|
...QueryWindowShape
|
|
17244
17344
|
}), QueryResultSchema), method(object({
|
|
17245
|
-
|
|
17345
|
+
forNodeId: string().min(1),
|
|
17246
17346
|
...QueryWindowShape
|
|
17247
17347
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17348
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17349
|
+
from: QueryWindowShape.from,
|
|
17350
|
+
to: QueryWindowShape.to,
|
|
17351
|
+
resolution: QueryWindowShape.resolution,
|
|
17352
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17353
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17248
17354
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17249
17355
|
subjectKind: _enum(["device", "node"]),
|
|
17250
|
-
kind:
|
|
17356
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17251
17357
|
unit: string().optional(),
|
|
17252
17358
|
displayName: string().min(1),
|
|
17253
17359
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39862,38 +39968,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39862
39968
|
auth: "admin",
|
|
39863
39969
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39864
39970
|
});
|
|
39971
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39972
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39973
|
+
var LlmModelFeaturesSchema = object({
|
|
39974
|
+
vision: boolean(),
|
|
39975
|
+
tools: boolean(),
|
|
39976
|
+
streaming: boolean()
|
|
39977
|
+
});
|
|
39978
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39979
|
+
var LlmModelInfoSchema = object({
|
|
39980
|
+
id: string(),
|
|
39981
|
+
label: string().optional(),
|
|
39982
|
+
contextLength: number().int().positive().optional(),
|
|
39983
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39984
|
+
});
|
|
39865
39985
|
/**
|
|
39866
|
-
*
|
|
39867
|
-
*
|
|
39868
|
-
*
|
|
39869
|
-
*
|
|
39870
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39871
|
-
*
|
|
39872
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39873
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39874
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39986
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39987
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39988
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39989
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39875
39990
|
*/
|
|
39876
|
-
var
|
|
39877
|
-
"openai-compatible",
|
|
39878
|
-
"openai",
|
|
39879
|
-
"anthropic",
|
|
39880
|
-
"google",
|
|
39881
|
-
"managed-local",
|
|
39882
|
-
"apple-foundation"
|
|
39883
|
-
]);
|
|
39991
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39884
39992
|
var LlmProfileSchema = object({
|
|
39885
39993
|
id: string(),
|
|
39886
39994
|
name: string(),
|
|
39995
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39887
39996
|
kind: LlmProfileKindSchema,
|
|
39888
39997
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39889
39998
|
addonId: string(),
|
|
39890
39999
|
enabled: boolean(),
|
|
39891
40000
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39892
40001
|
model: string(),
|
|
39893
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39894
|
-
baseUrl: string().optional(),
|
|
39895
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39896
|
-
apiKey: string().optional(),
|
|
39897
40002
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39898
40003
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39899
40004
|
* question about a picture nobody sent. */
|
|
@@ -39901,15 +40006,11 @@ var LlmProfileSchema = object({
|
|
|
39901
40006
|
temperature: number().min(0).max(2).optional(),
|
|
39902
40007
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39903
40008
|
topP: number().min(0).max(1).optional(),
|
|
39904
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39905
|
-
*
|
|
39906
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39907
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40009
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40010
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39908
40011
|
topK: number().int().positive().optional(),
|
|
39909
40012
|
maxTokens: number().int().positive().optional(),
|
|
39910
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39911
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39912
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40013
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39913
40014
|
contextLength: number().int().positive().optional(),
|
|
39914
40015
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39915
40016
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39935,16 +40036,37 @@ var LlmProfileSchema = object({
|
|
|
39935
40036
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39936
40037
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39937
40038
|
toolsEnabled: boolean().default(false),
|
|
39938
|
-
|
|
39939
|
-
|
|
39940
|
-
|
|
39941
|
-
|
|
39942
|
-
|
|
39943
|
-
|
|
39944
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
40039
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40040
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40041
|
+
});
|
|
40042
|
+
/**
|
|
40043
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40044
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40045
|
+
*/
|
|
40046
|
+
var LlmProfileFieldSchema = _enum([
|
|
40047
|
+
"temperature",
|
|
40048
|
+
"topP",
|
|
40049
|
+
"topK",
|
|
40050
|
+
"maxTokens",
|
|
40051
|
+
"contextLength",
|
|
40052
|
+
"systemPrompt",
|
|
40053
|
+
"timeoutMs",
|
|
40054
|
+
"connectTimeoutMs",
|
|
40055
|
+
"firstTokenTimeoutMs",
|
|
40056
|
+
"idleTimeoutMs",
|
|
40057
|
+
"retry",
|
|
40058
|
+
"toolsEnabled"
|
|
40059
|
+
]);
|
|
40060
|
+
/**
|
|
40061
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40062
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40063
|
+
* picker: that widget owns the model choice.
|
|
40064
|
+
*/
|
|
40065
|
+
var LlmProviderWidgetSchema = object({
|
|
40066
|
+
id: string(),
|
|
40067
|
+
placement: _enum(["connection", "model"]),
|
|
40068
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40069
|
+
requires: array(string()).optional()
|
|
39948
40070
|
});
|
|
39949
40071
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39950
40072
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39953,11 +40075,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39953
40075
|
var LlmProfileKindDescriptorSchema = object({
|
|
39954
40076
|
kind: LlmProfileKindSchema,
|
|
39955
40077
|
label: string(),
|
|
40078
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39956
40079
|
icon: string(),
|
|
39957
40080
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39958
40081
|
addonId: string(),
|
|
39959
|
-
|
|
40082
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40083
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40084
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40085
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40086
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40087
|
+
features: LlmModelFeaturesSchema,
|
|
40088
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40089
|
+
visionEditable: boolean(),
|
|
40090
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40091
|
+
modelCatalog: _enum([
|
|
40092
|
+
"fetch",
|
|
40093
|
+
"static",
|
|
40094
|
+
"none"
|
|
40095
|
+
]),
|
|
40096
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40097
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40098
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40099
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40100
|
+
});
|
|
40101
|
+
/**
|
|
40102
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40103
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40104
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40105
|
+
* stored profile — the browser never receives it.
|
|
40106
|
+
*/
|
|
40107
|
+
var LlmListModelsInputSchema = object({
|
|
40108
|
+
addonId: string(),
|
|
40109
|
+
kind: LlmProfileKindSchema,
|
|
40110
|
+
profileId: string().optional(),
|
|
40111
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39960
40112
|
});
|
|
40113
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40114
|
+
"auth",
|
|
40115
|
+
"network",
|
|
40116
|
+
"unsupported",
|
|
40117
|
+
"invalid"
|
|
40118
|
+
]);
|
|
40119
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40120
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40121
|
+
ok: literal(true),
|
|
40122
|
+
models: array(LlmModelInfoSchema)
|
|
40123
|
+
}), object({
|
|
40124
|
+
ok: literal(false),
|
|
40125
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40126
|
+
message: string()
|
|
40127
|
+
})]);
|
|
39961
40128
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39962
40129
|
var LlmDefaultSchema = object({
|
|
39963
40130
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40057,7 +40224,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40057
40224
|
kind: "mutation",
|
|
40058
40225
|
auth: "admin",
|
|
40059
40226
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40060
|
-
}), method(
|
|
40227
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40228
|
+
kind: "mutation",
|
|
40229
|
+
auth: "admin"
|
|
40230
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40061
40231
|
selector: LlmDefaultSelectorSchema,
|
|
40062
40232
|
profileId: string().nullable()
|
|
40063
40233
|
}), _void(), {
|
|
@@ -40225,14 +40395,106 @@ var LogEntrySchema = object({
|
|
|
40225
40395
|
meta: record(string(), unknown()).optional(),
|
|
40226
40396
|
tags: record(string(), string()).optional()
|
|
40227
40397
|
});
|
|
40228
|
-
|
|
40229
|
-
|
|
40398
|
+
/**
|
|
40399
|
+
* A history READ against one destination (D898).
|
|
40400
|
+
*
|
|
40401
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40402
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40403
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40404
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40405
|
+
* nanosecond timestamp for Loki.
|
|
40406
|
+
*
|
|
40407
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40408
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40409
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40410
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40411
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40412
|
+
*/
|
|
40413
|
+
var LogReadQuerySchema = object({
|
|
40414
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40415
|
+
requestId: string().min(1).max(64).optional(),
|
|
40416
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40417
|
+
deviceId: number().int().optional(),
|
|
40418
|
+
/**
|
|
40419
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40420
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40421
|
+
*/
|
|
40422
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40423
|
+
/**
|
|
40424
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40425
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40426
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40427
|
+
* name as "which node's provider".
|
|
40428
|
+
*/
|
|
40429
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40430
|
+
/** Any other tag, exact match (AND). */
|
|
40431
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40432
|
+
/** Severity FLOOR: this level and above. */
|
|
40230
40433
|
level: LogLevelSchema.optional(),
|
|
40231
|
-
|
|
40232
|
-
|
|
40233
|
-
|
|
40234
|
-
|
|
40235
|
-
|
|
40434
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40435
|
+
text: string().min(1).max(200).optional(),
|
|
40436
|
+
/** Epoch ms, inclusive. */
|
|
40437
|
+
since: number().optional(),
|
|
40438
|
+
/** Epoch ms, inclusive. */
|
|
40439
|
+
until: number().optional(),
|
|
40440
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40441
|
+
before: string().min(1).max(1024).optional(),
|
|
40442
|
+
/** Newer than this cursor (exclusive). */
|
|
40443
|
+
after: string().min(1).max(1024).optional(),
|
|
40444
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40445
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40446
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40447
|
+
});
|
|
40448
|
+
var LogReadResultSchema = object({
|
|
40449
|
+
/** Newest first. */
|
|
40450
|
+
entries: array(object({
|
|
40451
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40452
|
+
id: string().optional(),
|
|
40453
|
+
/** Epoch ms. */
|
|
40454
|
+
timestamp: number(),
|
|
40455
|
+
level: LogLevelSchema,
|
|
40456
|
+
scope: string().optional(),
|
|
40457
|
+
message: string(),
|
|
40458
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40459
|
+
meta: record(string(), unknown()).optional()
|
|
40460
|
+
})),
|
|
40461
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40462
|
+
nextBefore: string().nullable(),
|
|
40463
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40464
|
+
nextAfter: string().nullable(),
|
|
40465
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40466
|
+
scannedBytes: number().int().nonnegative(),
|
|
40467
|
+
/**
|
|
40468
|
+
* True when the scan in this direction reached the end of the store.
|
|
40469
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40470
|
+
* call again with `nextBefore` to go on.
|
|
40471
|
+
*/
|
|
40472
|
+
done: boolean(),
|
|
40473
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40474
|
+
cancelled: boolean().optional()
|
|
40475
|
+
});
|
|
40476
|
+
var LogReadCapabilitiesSchema = object({
|
|
40477
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40478
|
+
readable: boolean(),
|
|
40479
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40480
|
+
reason: string().nullable(),
|
|
40481
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40482
|
+
filters: object({
|
|
40483
|
+
deviceId: boolean(),
|
|
40484
|
+
addonId: boolean(),
|
|
40485
|
+
nodeId: boolean(),
|
|
40486
|
+
tags: boolean(),
|
|
40487
|
+
level: boolean(),
|
|
40488
|
+
text: boolean(),
|
|
40489
|
+
timeRange: boolean()
|
|
40490
|
+
}),
|
|
40491
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40492
|
+
retentionDays: number().nullable()
|
|
40493
|
+
});
|
|
40494
|
+
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() }), {
|
|
40495
|
+
kind: "mutation",
|
|
40496
|
+
auth: "admin"
|
|
40497
|
+
});
|
|
40236
40498
|
/**
|
|
40237
40499
|
* `login-method` — collection cap through which auth addons contribute
|
|
40238
40500
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42788,6 +43050,33 @@ var NcRuleTargetSchema = object({
|
|
|
42788
43050
|
params: record(string(), unknown()).optional()
|
|
42789
43051
|
});
|
|
42790
43052
|
/**
|
|
43053
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43054
|
+
*
|
|
43055
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43056
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43057
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43058
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43059
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43060
|
+
* labelled with class and confidence ("dog 87%").
|
|
43061
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43062
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43063
|
+
* - `none` — no picture.
|
|
43064
|
+
*
|
|
43065
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43066
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43067
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43068
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43069
|
+
* stored kind had landed.
|
|
43070
|
+
*/
|
|
43071
|
+
var NcMediaImageSchema = _enum([
|
|
43072
|
+
"scene-boxes",
|
|
43073
|
+
"crop",
|
|
43074
|
+
"clean",
|
|
43075
|
+
"none"
|
|
43076
|
+
]);
|
|
43077
|
+
/**
|
|
43078
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43079
|
+
*
|
|
42791
43080
|
* Media attachment policy (P1 still-image subset).
|
|
42792
43081
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42793
43082
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42801,6 +43090,8 @@ var NcRuleTargetSchema = object({
|
|
|
42801
43090
|
* - `none` — no attachment.
|
|
42802
43091
|
*/
|
|
42803
43092
|
/**
|
|
43093
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43094
|
+
*
|
|
42804
43095
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42805
43096
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42806
43097
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42829,16 +43120,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42829
43120
|
*/
|
|
42830
43121
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42831
43122
|
var NcMediaPolicySchema = object({
|
|
43123
|
+
/**
|
|
43124
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43125
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43126
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43127
|
+
*/
|
|
43128
|
+
image: NcMediaImageSchema.optional(),
|
|
43129
|
+
/**
|
|
43130
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43131
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43132
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43133
|
+
* Replaces `zoneCrop`.
|
|
43134
|
+
*/
|
|
43135
|
+
showTriggerZone: boolean().optional(),
|
|
43136
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42832
43137
|
attach: _enum([
|
|
42833
43138
|
"best",
|
|
42834
43139
|
"best-matching",
|
|
42835
43140
|
"keyFrame",
|
|
42836
43141
|
"none"
|
|
42837
|
-
]).
|
|
42838
|
-
/**
|
|
43142
|
+
]).optional(),
|
|
43143
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42839
43144
|
frame: NcMediaFrameSchema.optional(),
|
|
42840
|
-
/**
|
|
42841
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43145
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42842
43146
|
zoneCrop: boolean().optional(),
|
|
42843
43147
|
/**
|
|
42844
43148
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43010,7 +43314,9 @@ var NcRuleInputSchema = object({
|
|
|
43010
43314
|
* targets.
|
|
43011
43315
|
*/
|
|
43012
43316
|
targetUsers: array(string()).optional(),
|
|
43013
|
-
|
|
43317
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43318
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43319
|
+
media: NcMediaPolicySchema.default({}),
|
|
43014
43320
|
throttle: NcThrottleSchema.default({
|
|
43015
43321
|
cooldownSec: 60,
|
|
43016
43322
|
scope: "rule-device"
|
|
@@ -43947,13 +44253,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
43947
44253
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
43948
44254
|
unknown: array(number().int())
|
|
43949
44255
|
});
|
|
44256
|
+
/**
|
|
44257
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44258
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44259
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44260
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44261
|
+
*/
|
|
44262
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44263
|
+
ruleId: string(),
|
|
44264
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44265
|
+
ruleName: string(),
|
|
44266
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44267
|
+
deviceId: number().int(),
|
|
44268
|
+
/** The input's current name. */
|
|
44269
|
+
name: string(),
|
|
44270
|
+
/** When it was bypassed (ms epoch). */
|
|
44271
|
+
since: number(),
|
|
44272
|
+
/** Triggers from this input dropped since. */
|
|
44273
|
+
dropped: number().int().min(0)
|
|
44274
|
+
});
|
|
43950
44275
|
var NcAlarmLiveSchema = object({
|
|
43951
44276
|
state: AlarmStateSchema,
|
|
43952
44277
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
43953
44278
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
43954
44279
|
availableModes: array(AlarmArmModeSchema),
|
|
43955
44280
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
43956
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44281
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44282
|
+
/**
|
|
44283
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44284
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44285
|
+
*/
|
|
44286
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
43957
44287
|
});
|
|
43958
44288
|
var NcAlarmConfigSchema = object({
|
|
43959
44289
|
/**
|
|
@@ -61123,26 +61453,6 @@ var ApiKeySummarySchema = object({
|
|
|
61123
61453
|
createdAt: number(),
|
|
61124
61454
|
lastUsedAt: number().optional()
|
|
61125
61455
|
});
|
|
61126
|
-
var ScopedTokenSummarySchema = object({
|
|
61127
|
-
id: string(),
|
|
61128
|
-
userId: string(),
|
|
61129
|
-
name: string(),
|
|
61130
|
-
tokenPrefix: string(),
|
|
61131
|
-
scopes: array(TokenScopeSchema),
|
|
61132
|
-
expiresAt: number().nullish(),
|
|
61133
|
-
lastUsedAt: number().nullish(),
|
|
61134
|
-
createdAt: number()
|
|
61135
|
-
});
|
|
61136
|
-
var CreateScopedTokenInputSchema = object({
|
|
61137
|
-
userId: string(),
|
|
61138
|
-
name: string(),
|
|
61139
|
-
scopes: array(TokenScopeSchema),
|
|
61140
|
-
expiresAt: number().optional()
|
|
61141
|
-
});
|
|
61142
|
-
var CreateScopedTokenResultSchema = object({
|
|
61143
|
-
token: string(),
|
|
61144
|
-
record: ScopedTokenSummarySchema
|
|
61145
|
-
});
|
|
61146
61456
|
var OauthSessionSummarySchema = object({
|
|
61147
61457
|
id: string(),
|
|
61148
61458
|
userId: string(),
|
|
@@ -61164,11 +61474,11 @@ var TotpStatusSchema = object({
|
|
|
61164
61474
|
confirmedAt: number().nullable()
|
|
61165
61475
|
});
|
|
61166
61476
|
/**
|
|
61167
|
-
* user-management — singleton capability for user accounts
|
|
61168
|
-
*
|
|
61477
|
+
* user-management — singleton capability for user accounts and the
|
|
61478
|
+
* legacy API-key rows.
|
|
61169
61479
|
*
|
|
61170
61480
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61171
|
-
* — the subset check on `setUserScopes`
|
|
61481
|
+
* — the subset check on `setUserScopes` is moot
|
|
61172
61482
|
* because non-admins never reach these. If/when we open non-admin
|
|
61173
61483
|
* delegation, structural caller-scope subset check goes inside the
|
|
61174
61484
|
* provider.
|
|
@@ -61225,15 +61535,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61225
61535
|
kind: "mutation",
|
|
61226
61536
|
auth: "admin",
|
|
61227
61537
|
access: "delete"
|
|
61228
|
-
}), method(
|
|
61229
|
-
kind: "mutation",
|
|
61230
|
-
auth: "admin",
|
|
61231
|
-
access: "create"
|
|
61232
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61233
|
-
kind: "mutation",
|
|
61234
|
-
auth: "admin",
|
|
61235
|
-
access: "delete"
|
|
61236
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61538
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61237
61539
|
kind: "mutation",
|
|
61238
61540
|
auth: "admin",
|
|
61239
61541
|
access: "create"
|
|
@@ -65389,7 +65691,7 @@ Object.freeze({
|
|
|
65389
65691
|
capName: "llm",
|
|
65390
65692
|
capScope: "system",
|
|
65391
65693
|
addonId: null,
|
|
65392
|
-
access: "
|
|
65694
|
+
access: "create"
|
|
65393
65695
|
},
|
|
65394
65696
|
"llm.listNodeModels": {
|
|
65395
65697
|
capName: "llm",
|
|
@@ -65691,7 +65993,19 @@ Object.freeze({
|
|
|
65691
65993
|
addonId: null,
|
|
65692
65994
|
access: "view"
|
|
65693
65995
|
},
|
|
65694
|
-
"logDestination.
|
|
65996
|
+
"logDestination.cancelRead": {
|
|
65997
|
+
capName: "log-destination",
|
|
65998
|
+
capScope: "system",
|
|
65999
|
+
addonId: null,
|
|
66000
|
+
access: "create"
|
|
66001
|
+
},
|
|
66002
|
+
"logDestination.describeRead": {
|
|
66003
|
+
capName: "log-destination",
|
|
66004
|
+
capScope: "system",
|
|
66005
|
+
addonId: null,
|
|
66006
|
+
access: "view"
|
|
66007
|
+
},
|
|
66008
|
+
"logDestination.read": {
|
|
65695
66009
|
capName: "log-destination",
|
|
65696
66010
|
capScope: "system",
|
|
65697
66011
|
addonId: null,
|
|
@@ -70053,12 +70367,6 @@ Object.freeze({
|
|
|
70053
70367
|
addonId: null,
|
|
70054
70368
|
access: "create"
|
|
70055
70369
|
},
|
|
70056
|
-
"userManagement.createScopedToken": {
|
|
70057
|
-
capName: "user-management",
|
|
70058
|
-
capScope: "system",
|
|
70059
|
-
addonId: null,
|
|
70060
|
-
access: "create"
|
|
70061
|
-
},
|
|
70062
70370
|
"userManagement.createUser": {
|
|
70063
70371
|
capName: "user-management",
|
|
70064
70372
|
capScope: "system",
|
|
@@ -70107,12 +70415,6 @@ Object.freeze({
|
|
|
70107
70415
|
addonId: null,
|
|
70108
70416
|
access: "view"
|
|
70109
70417
|
},
|
|
70110
|
-
"userManagement.listScopedTokens": {
|
|
70111
|
-
capName: "user-management",
|
|
70112
|
-
capScope: "system",
|
|
70113
|
-
addonId: null,
|
|
70114
|
-
access: "view"
|
|
70115
|
-
},
|
|
70116
70418
|
"userManagement.listUsers": {
|
|
70117
70419
|
capName: "user-management",
|
|
70118
70420
|
capScope: "system",
|
|
@@ -70167,12 +70469,6 @@ Object.freeze({
|
|
|
70167
70469
|
addonId: null,
|
|
70168
70470
|
access: "delete"
|
|
70169
70471
|
},
|
|
70170
|
-
"userManagement.revokeScopedToken": {
|
|
70171
|
-
capName: "user-management",
|
|
70172
|
-
capScope: "system",
|
|
70173
|
-
addonId: null,
|
|
70174
|
-
access: "delete"
|
|
70175
|
-
},
|
|
70176
70472
|
"userManagement.setupTotp": {
|
|
70177
70473
|
capName: "user-management",
|
|
70178
70474
|
capScope: "system",
|
|
@@ -70203,12 +70499,6 @@ Object.freeze({
|
|
|
70203
70499
|
addonId: null,
|
|
70204
70500
|
access: "view"
|
|
70205
70501
|
},
|
|
70206
|
-
"userManagement.validateScopedToken": {
|
|
70207
|
-
capName: "user-management",
|
|
70208
|
-
capScope: "system",
|
|
70209
|
-
addonId: null,
|
|
70210
|
-
access: "view"
|
|
70211
|
-
},
|
|
70212
70502
|
"userManagement.verifyTotp": {
|
|
70213
70503
|
capName: "user-management",
|
|
70214
70504
|
capScope: "system",
|
|
@@ -71722,6 +72012,11 @@ Object.freeze({
|
|
|
71722
72012
|
form: "single",
|
|
71723
72013
|
optional: false
|
|
71724
72014
|
}],
|
|
72015
|
+
"logDestination.read": [{
|
|
72016
|
+
name: "deviceId",
|
|
72017
|
+
form: "single",
|
|
72018
|
+
optional: true
|
|
72019
|
+
}],
|
|
71725
72020
|
"mediaPlayer.getStatus": [{
|
|
71726
72021
|
name: "deviceId",
|
|
71727
72022
|
form: "single",
|