@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
|
@@ -5420,7 +5420,7 @@ var ZodIssueCode = {
|
|
|
5420
5420
|
var ZodFirstPartyTypeKind;
|
|
5421
5421
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5422
5422
|
//#endregion
|
|
5423
|
-
//#region ../types/dist/sleep-
|
|
5423
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5424
5424
|
/**
|
|
5425
5425
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5426
5426
|
* window to float samples (D455).
|
|
@@ -7803,9 +7803,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7803
7803
|
return result;
|
|
7804
7804
|
}
|
|
7805
7805
|
/**
|
|
7806
|
-
* The share-view scope kinds a
|
|
7807
|
-
* and validates them (`
|
|
7808
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7806
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7807
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7808
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7809
7809
|
*/
|
|
7810
7810
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7811
7811
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12710,7 +12710,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12710
12710
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12711
12711
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12712
12712
|
* distinction was only ever used to route role-specific procedures
|
|
12713
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12713
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12714
12714
|
* with `isAdmin: false` + an explicit scope list.
|
|
12715
12715
|
*/
|
|
12716
12716
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12899,10 +12899,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12899
12899
|
type: literal("addon-routes"),
|
|
12900
12900
|
access: array(MethodAccessSchema).min(1)
|
|
12901
12901
|
});
|
|
12902
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12902
12903
|
var CredentialScopeSchema = union([
|
|
12903
12904
|
literal("*"),
|
|
12904
12905
|
ShareViewScopeSchema,
|
|
12905
12906
|
AddonRoutesScopeSchema,
|
|
12907
|
+
PreferencesSelfScopeSchema,
|
|
12906
12908
|
TokenScopeSchema
|
|
12907
12909
|
]);
|
|
12908
12910
|
object({
|
|
@@ -12911,6 +12913,55 @@ object({
|
|
|
12911
12913
|
jti: string().min(16),
|
|
12912
12914
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12913
12915
|
});
|
|
12916
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12917
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12918
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12919
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12920
|
+
/** A stored row, as the owner reads it. */
|
|
12921
|
+
var PreferenceRowSchema = object({
|
|
12922
|
+
namespace: PreferenceNamespaceSchema,
|
|
12923
|
+
value: PreferenceValueSchema,
|
|
12924
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12925
|
+
revision: number().int().positive(),
|
|
12926
|
+
updatedAt: number().int(),
|
|
12927
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12928
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12929
|
+
});
|
|
12930
|
+
object({
|
|
12931
|
+
/** Absent: every namespace the caller holds. */
|
|
12932
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12933
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12934
|
+
object({
|
|
12935
|
+
namespace: PreferenceNamespaceSchema,
|
|
12936
|
+
value: PreferenceValueSchema,
|
|
12937
|
+
/**
|
|
12938
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12939
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12940
|
+
* revision answers `conflict` and writes nothing.
|
|
12941
|
+
*/
|
|
12942
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12943
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12944
|
+
});
|
|
12945
|
+
discriminatedUnion("status", [object({
|
|
12946
|
+
status: literal("saved"),
|
|
12947
|
+
row: PreferenceRowSchema
|
|
12948
|
+
}), object({
|
|
12949
|
+
status: literal("conflict"),
|
|
12950
|
+
current: PreferenceRowSchema.nullable()
|
|
12951
|
+
})]);
|
|
12952
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12953
|
+
object({
|
|
12954
|
+
/** `false` when the namespace did not exist. */
|
|
12955
|
+
deleted: boolean() });
|
|
12956
|
+
object({
|
|
12957
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12958
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12959
|
+
object({
|
|
12960
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12961
|
+
rows: array(PreferenceRowSchema),
|
|
12962
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12963
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12964
|
+
});
|
|
12914
12965
|
_enum(["new-session", "step-up"]);
|
|
12915
12966
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12916
12967
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17077,7 +17128,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17077
17128
|
kind: literal("node"),
|
|
17078
17129
|
nodeId: string().min(1)
|
|
17079
17130
|
})]);
|
|
17131
|
+
/**
|
|
17132
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17133
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17134
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17135
|
+
*/
|
|
17080
17136
|
var DeviceHistoryKindSchema = _enum([
|
|
17137
|
+
"gauge",
|
|
17138
|
+
"counter",
|
|
17139
|
+
"boolean",
|
|
17140
|
+
"enum"
|
|
17141
|
+
]);
|
|
17142
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17143
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17081
17144
|
"gauge",
|
|
17082
17145
|
"counter",
|
|
17083
17146
|
"boolean"
|
|
@@ -17114,7 +17177,13 @@ var SeriesInfoSchema = object({
|
|
|
17114
17177
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17115
17178
|
unit: string().nullable(),
|
|
17116
17179
|
displayName: string(),
|
|
17117
|
-
source: _enum([
|
|
17180
|
+
source: _enum([
|
|
17181
|
+
"cap",
|
|
17182
|
+
"addon",
|
|
17183
|
+
"derived"
|
|
17184
|
+
]),
|
|
17185
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17186
|
+
values: array(string()).readonly().nullable(),
|
|
17118
17187
|
firstTs: number(),
|
|
17119
17188
|
lastTs: number()
|
|
17120
17189
|
});
|
|
@@ -17128,17 +17197,31 @@ var QueryPointSchema = object({
|
|
|
17128
17197
|
twMean: number().nullable(),
|
|
17129
17198
|
min: number(),
|
|
17130
17199
|
max: number(),
|
|
17131
|
-
/** `null` is unknown, never zero (D393). */
|
|
17132
|
-
last: number().nullable()
|
|
17200
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17201
|
+
last: number().nullable(),
|
|
17202
|
+
/**
|
|
17203
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17204
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17205
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17206
|
+
* every other kind, and when it cannot be known.
|
|
17207
|
+
*/
|
|
17208
|
+
delta: number().nullable(),
|
|
17209
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17210
|
+
state: string().nullable(),
|
|
17211
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17212
|
+
states: record(string(), number()).nullable()
|
|
17133
17213
|
});
|
|
17134
17214
|
var QuerySeriesSchema = object({
|
|
17135
17215
|
scope: string(),
|
|
17136
17216
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17137
17217
|
before: object({
|
|
17138
17218
|
t: number(),
|
|
17139
|
-
value: number().nullable()
|
|
17219
|
+
value: number().nullable(),
|
|
17220
|
+
state: string().nullable()
|
|
17140
17221
|
}).nullable(),
|
|
17141
|
-
points: array(QueryPointSchema).readonly()
|
|
17222
|
+
points: array(QueryPointSchema).readonly(),
|
|
17223
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17224
|
+
derivedFrom: string().nullable()
|
|
17142
17225
|
});
|
|
17143
17226
|
/** The window part of a query, shared by the device and node forms. */
|
|
17144
17227
|
var QueryWindowShape = {
|
|
@@ -17154,6 +17237,23 @@ var QueryResultSchema = object({
|
|
|
17154
17237
|
series: array(QuerySeriesSchema).readonly(),
|
|
17155
17238
|
truncated: boolean()
|
|
17156
17239
|
});
|
|
17240
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17241
|
+
var QueryManyItemSchema = union([object({
|
|
17242
|
+
deviceId: number().int(),
|
|
17243
|
+
key: string(),
|
|
17244
|
+
scope: string().optional()
|
|
17245
|
+
}), object({
|
|
17246
|
+
forNodeId: string().min(1),
|
|
17247
|
+
key: string(),
|
|
17248
|
+
scope: string().optional()
|
|
17249
|
+
})]);
|
|
17250
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17251
|
+
ok: literal(true),
|
|
17252
|
+
result: QueryResultSchema
|
|
17253
|
+
}), object({
|
|
17254
|
+
ok: literal(false),
|
|
17255
|
+
error: string()
|
|
17256
|
+
})]);
|
|
17157
17257
|
var TierStatusSchema = object({
|
|
17158
17258
|
tier: DeviceHistoryResolutionSchema,
|
|
17159
17259
|
/** `null` until the first background count answered. */
|
|
@@ -17209,16 +17309,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17209
17309
|
lastRefreshAt: number().nullable()
|
|
17210
17310
|
})
|
|
17211
17311
|
});
|
|
17212
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17312
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17213
17313
|
deviceId: number().int(),
|
|
17214
17314
|
...QueryWindowShape
|
|
17215
17315
|
}), QueryResultSchema), method(object({
|
|
17216
|
-
|
|
17316
|
+
forNodeId: string().min(1),
|
|
17217
17317
|
...QueryWindowShape
|
|
17218
17318
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17319
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17320
|
+
from: QueryWindowShape.from,
|
|
17321
|
+
to: QueryWindowShape.to,
|
|
17322
|
+
resolution: QueryWindowShape.resolution,
|
|
17323
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17324
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17219
17325
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17220
17326
|
subjectKind: _enum(["device", "node"]),
|
|
17221
|
-
kind:
|
|
17327
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17222
17328
|
unit: string().optional(),
|
|
17223
17329
|
displayName: string().min(1),
|
|
17224
17330
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39833,38 +39939,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39833
39939
|
auth: "admin",
|
|
39834
39940
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39835
39941
|
});
|
|
39942
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39943
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39944
|
+
var LlmModelFeaturesSchema = object({
|
|
39945
|
+
vision: boolean(),
|
|
39946
|
+
tools: boolean(),
|
|
39947
|
+
streaming: boolean()
|
|
39948
|
+
});
|
|
39949
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39950
|
+
var LlmModelInfoSchema = object({
|
|
39951
|
+
id: string(),
|
|
39952
|
+
label: string().optional(),
|
|
39953
|
+
contextLength: number().int().positive().optional(),
|
|
39954
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39955
|
+
});
|
|
39836
39956
|
/**
|
|
39837
|
-
*
|
|
39838
|
-
*
|
|
39839
|
-
*
|
|
39840
|
-
*
|
|
39841
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39842
|
-
*
|
|
39843
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39844
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39845
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39957
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39958
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39959
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39960
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39846
39961
|
*/
|
|
39847
|
-
var
|
|
39848
|
-
"openai-compatible",
|
|
39849
|
-
"openai",
|
|
39850
|
-
"anthropic",
|
|
39851
|
-
"google",
|
|
39852
|
-
"managed-local",
|
|
39853
|
-
"apple-foundation"
|
|
39854
|
-
]);
|
|
39962
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39855
39963
|
var LlmProfileSchema = object({
|
|
39856
39964
|
id: string(),
|
|
39857
39965
|
name: string(),
|
|
39966
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39858
39967
|
kind: LlmProfileKindSchema,
|
|
39859
39968
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39860
39969
|
addonId: string(),
|
|
39861
39970
|
enabled: boolean(),
|
|
39862
39971
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39863
39972
|
model: string(),
|
|
39864
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39865
|
-
baseUrl: string().optional(),
|
|
39866
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39867
|
-
apiKey: string().optional(),
|
|
39868
39973
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39869
39974
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39870
39975
|
* question about a picture nobody sent. */
|
|
@@ -39872,15 +39977,11 @@ var LlmProfileSchema = object({
|
|
|
39872
39977
|
temperature: number().min(0).max(2).optional(),
|
|
39873
39978
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39874
39979
|
topP: number().min(0).max(1).optional(),
|
|
39875
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39876
|
-
*
|
|
39877
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39878
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39980
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39981
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39879
39982
|
topK: number().int().positive().optional(),
|
|
39880
39983
|
maxTokens: number().int().positive().optional(),
|
|
39881
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39882
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39883
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39984
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39884
39985
|
contextLength: number().int().positive().optional(),
|
|
39885
39986
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39886
39987
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39906,16 +40007,37 @@ var LlmProfileSchema = object({
|
|
|
39906
40007
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39907
40008
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39908
40009
|
toolsEnabled: boolean().default(false),
|
|
39909
|
-
|
|
39910
|
-
|
|
39911
|
-
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
|
-
|
|
39916
|
-
|
|
39917
|
-
|
|
39918
|
-
|
|
40010
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40011
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40012
|
+
});
|
|
40013
|
+
/**
|
|
40014
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40015
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40016
|
+
*/
|
|
40017
|
+
var LlmProfileFieldSchema = _enum([
|
|
40018
|
+
"temperature",
|
|
40019
|
+
"topP",
|
|
40020
|
+
"topK",
|
|
40021
|
+
"maxTokens",
|
|
40022
|
+
"contextLength",
|
|
40023
|
+
"systemPrompt",
|
|
40024
|
+
"timeoutMs",
|
|
40025
|
+
"connectTimeoutMs",
|
|
40026
|
+
"firstTokenTimeoutMs",
|
|
40027
|
+
"idleTimeoutMs",
|
|
40028
|
+
"retry",
|
|
40029
|
+
"toolsEnabled"
|
|
40030
|
+
]);
|
|
40031
|
+
/**
|
|
40032
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40033
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40034
|
+
* picker: that widget owns the model choice.
|
|
40035
|
+
*/
|
|
40036
|
+
var LlmProviderWidgetSchema = object({
|
|
40037
|
+
id: string(),
|
|
40038
|
+
placement: _enum(["connection", "model"]),
|
|
40039
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40040
|
+
requires: array(string()).optional()
|
|
39919
40041
|
});
|
|
39920
40042
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39921
40043
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39924,11 +40046,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39924
40046
|
var LlmProfileKindDescriptorSchema = object({
|
|
39925
40047
|
kind: LlmProfileKindSchema,
|
|
39926
40048
|
label: string(),
|
|
40049
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39927
40050
|
icon: string(),
|
|
39928
40051
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39929
40052
|
addonId: string(),
|
|
39930
|
-
|
|
40053
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40054
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40055
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40056
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40057
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40058
|
+
features: LlmModelFeaturesSchema,
|
|
40059
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40060
|
+
visionEditable: boolean(),
|
|
40061
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40062
|
+
modelCatalog: _enum([
|
|
40063
|
+
"fetch",
|
|
40064
|
+
"static",
|
|
40065
|
+
"none"
|
|
40066
|
+
]),
|
|
40067
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40068
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40069
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40070
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40071
|
+
});
|
|
40072
|
+
/**
|
|
40073
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40074
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40075
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40076
|
+
* stored profile — the browser never receives it.
|
|
40077
|
+
*/
|
|
40078
|
+
var LlmListModelsInputSchema = object({
|
|
40079
|
+
addonId: string(),
|
|
40080
|
+
kind: LlmProfileKindSchema,
|
|
40081
|
+
profileId: string().optional(),
|
|
40082
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39931
40083
|
});
|
|
40084
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40085
|
+
"auth",
|
|
40086
|
+
"network",
|
|
40087
|
+
"unsupported",
|
|
40088
|
+
"invalid"
|
|
40089
|
+
]);
|
|
40090
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40091
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40092
|
+
ok: literal(true),
|
|
40093
|
+
models: array(LlmModelInfoSchema)
|
|
40094
|
+
}), object({
|
|
40095
|
+
ok: literal(false),
|
|
40096
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40097
|
+
message: string()
|
|
40098
|
+
})]);
|
|
39932
40099
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39933
40100
|
var LlmDefaultSchema = object({
|
|
39934
40101
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40028,7 +40195,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40028
40195
|
kind: "mutation",
|
|
40029
40196
|
auth: "admin",
|
|
40030
40197
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40031
|
-
}), method(
|
|
40198
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40199
|
+
kind: "mutation",
|
|
40200
|
+
auth: "admin"
|
|
40201
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40032
40202
|
selector: LlmDefaultSelectorSchema,
|
|
40033
40203
|
profileId: string().nullable()
|
|
40034
40204
|
}), _void(), {
|
|
@@ -40196,14 +40366,106 @@ var LogEntrySchema = object({
|
|
|
40196
40366
|
meta: record(string(), unknown()).optional(),
|
|
40197
40367
|
tags: record(string(), string()).optional()
|
|
40198
40368
|
});
|
|
40199
|
-
|
|
40200
|
-
|
|
40369
|
+
/**
|
|
40370
|
+
* A history READ against one destination (D898).
|
|
40371
|
+
*
|
|
40372
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40373
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40374
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40375
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40376
|
+
* nanosecond timestamp for Loki.
|
|
40377
|
+
*
|
|
40378
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40379
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40380
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40381
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40382
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40383
|
+
*/
|
|
40384
|
+
var LogReadQuerySchema = object({
|
|
40385
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40386
|
+
requestId: string().min(1).max(64).optional(),
|
|
40387
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40388
|
+
deviceId: number().int().optional(),
|
|
40389
|
+
/**
|
|
40390
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40391
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40392
|
+
*/
|
|
40393
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40394
|
+
/**
|
|
40395
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40396
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40397
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40398
|
+
* name as "which node's provider".
|
|
40399
|
+
*/
|
|
40400
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40401
|
+
/** Any other tag, exact match (AND). */
|
|
40402
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40403
|
+
/** Severity FLOOR: this level and above. */
|
|
40201
40404
|
level: LogLevelSchema.optional(),
|
|
40202
|
-
|
|
40203
|
-
|
|
40204
|
-
|
|
40205
|
-
|
|
40206
|
-
|
|
40405
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40406
|
+
text: string().min(1).max(200).optional(),
|
|
40407
|
+
/** Epoch ms, inclusive. */
|
|
40408
|
+
since: number().optional(),
|
|
40409
|
+
/** Epoch ms, inclusive. */
|
|
40410
|
+
until: number().optional(),
|
|
40411
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40412
|
+
before: string().min(1).max(1024).optional(),
|
|
40413
|
+
/** Newer than this cursor (exclusive). */
|
|
40414
|
+
after: string().min(1).max(1024).optional(),
|
|
40415
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40416
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40417
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40418
|
+
});
|
|
40419
|
+
var LogReadResultSchema = object({
|
|
40420
|
+
/** Newest first. */
|
|
40421
|
+
entries: array(object({
|
|
40422
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40423
|
+
id: string().optional(),
|
|
40424
|
+
/** Epoch ms. */
|
|
40425
|
+
timestamp: number(),
|
|
40426
|
+
level: LogLevelSchema,
|
|
40427
|
+
scope: string().optional(),
|
|
40428
|
+
message: string(),
|
|
40429
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40430
|
+
meta: record(string(), unknown()).optional()
|
|
40431
|
+
})),
|
|
40432
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40433
|
+
nextBefore: string().nullable(),
|
|
40434
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40435
|
+
nextAfter: string().nullable(),
|
|
40436
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40437
|
+
scannedBytes: number().int().nonnegative(),
|
|
40438
|
+
/**
|
|
40439
|
+
* True when the scan in this direction reached the end of the store.
|
|
40440
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40441
|
+
* call again with `nextBefore` to go on.
|
|
40442
|
+
*/
|
|
40443
|
+
done: boolean(),
|
|
40444
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40445
|
+
cancelled: boolean().optional()
|
|
40446
|
+
});
|
|
40447
|
+
var LogReadCapabilitiesSchema = object({
|
|
40448
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40449
|
+
readable: boolean(),
|
|
40450
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40451
|
+
reason: string().nullable(),
|
|
40452
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40453
|
+
filters: object({
|
|
40454
|
+
deviceId: boolean(),
|
|
40455
|
+
addonId: boolean(),
|
|
40456
|
+
nodeId: boolean(),
|
|
40457
|
+
tags: boolean(),
|
|
40458
|
+
level: boolean(),
|
|
40459
|
+
text: boolean(),
|
|
40460
|
+
timeRange: boolean()
|
|
40461
|
+
}),
|
|
40462
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40463
|
+
retentionDays: number().nullable()
|
|
40464
|
+
});
|
|
40465
|
+
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() }), {
|
|
40466
|
+
kind: "mutation",
|
|
40467
|
+
auth: "admin"
|
|
40468
|
+
});
|
|
40207
40469
|
/**
|
|
40208
40470
|
* `login-method` — collection cap through which auth addons contribute
|
|
40209
40471
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42759,6 +43021,33 @@ var NcRuleTargetSchema = object({
|
|
|
42759
43021
|
params: record(string(), unknown()).optional()
|
|
42760
43022
|
});
|
|
42761
43023
|
/**
|
|
43024
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43025
|
+
*
|
|
43026
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43027
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43028
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43029
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43030
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43031
|
+
* labelled with class and confidence ("dog 87%").
|
|
43032
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43033
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43034
|
+
* - `none` — no picture.
|
|
43035
|
+
*
|
|
43036
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43037
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43038
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43039
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43040
|
+
* stored kind had landed.
|
|
43041
|
+
*/
|
|
43042
|
+
var NcMediaImageSchema = _enum([
|
|
43043
|
+
"scene-boxes",
|
|
43044
|
+
"crop",
|
|
43045
|
+
"clean",
|
|
43046
|
+
"none"
|
|
43047
|
+
]);
|
|
43048
|
+
/**
|
|
43049
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43050
|
+
*
|
|
42762
43051
|
* Media attachment policy (P1 still-image subset).
|
|
42763
43052
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42764
43053
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42772,6 +43061,8 @@ var NcRuleTargetSchema = object({
|
|
|
42772
43061
|
* - `none` — no attachment.
|
|
42773
43062
|
*/
|
|
42774
43063
|
/**
|
|
43064
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43065
|
+
*
|
|
42775
43066
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42776
43067
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42777
43068
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42800,16 +43091,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42800
43091
|
*/
|
|
42801
43092
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42802
43093
|
var NcMediaPolicySchema = object({
|
|
43094
|
+
/**
|
|
43095
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43096
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43097
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43098
|
+
*/
|
|
43099
|
+
image: NcMediaImageSchema.optional(),
|
|
43100
|
+
/**
|
|
43101
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43102
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43103
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43104
|
+
* Replaces `zoneCrop`.
|
|
43105
|
+
*/
|
|
43106
|
+
showTriggerZone: boolean().optional(),
|
|
43107
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42803
43108
|
attach: _enum([
|
|
42804
43109
|
"best",
|
|
42805
43110
|
"best-matching",
|
|
42806
43111
|
"keyFrame",
|
|
42807
43112
|
"none"
|
|
42808
|
-
]).
|
|
42809
|
-
/**
|
|
43113
|
+
]).optional(),
|
|
43114
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42810
43115
|
frame: NcMediaFrameSchema.optional(),
|
|
42811
|
-
/**
|
|
42812
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43116
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42813
43117
|
zoneCrop: boolean().optional(),
|
|
42814
43118
|
/**
|
|
42815
43119
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -42981,7 +43285,9 @@ var NcRuleInputSchema = object({
|
|
|
42981
43285
|
* targets.
|
|
42982
43286
|
*/
|
|
42983
43287
|
targetUsers: array(string()).optional(),
|
|
42984
|
-
|
|
43288
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43289
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43290
|
+
media: NcMediaPolicySchema.default({}),
|
|
42985
43291
|
throttle: NcThrottleSchema.default({
|
|
42986
43292
|
cooldownSec: 60,
|
|
42987
43293
|
scope: "rule-device"
|
|
@@ -43918,13 +44224,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
43918
44224
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
43919
44225
|
unknown: array(number().int())
|
|
43920
44226
|
});
|
|
44227
|
+
/**
|
|
44228
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44229
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44230
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44231
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44232
|
+
*/
|
|
44233
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44234
|
+
ruleId: string(),
|
|
44235
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44236
|
+
ruleName: string(),
|
|
44237
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44238
|
+
deviceId: number().int(),
|
|
44239
|
+
/** The input's current name. */
|
|
44240
|
+
name: string(),
|
|
44241
|
+
/** When it was bypassed (ms epoch). */
|
|
44242
|
+
since: number(),
|
|
44243
|
+
/** Triggers from this input dropped since. */
|
|
44244
|
+
dropped: number().int().min(0)
|
|
44245
|
+
});
|
|
43921
44246
|
var NcAlarmLiveSchema = object({
|
|
43922
44247
|
state: AlarmStateSchema,
|
|
43923
44248
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
43924
44249
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
43925
44250
|
availableModes: array(AlarmArmModeSchema),
|
|
43926
44251
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
43927
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44252
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44253
|
+
/**
|
|
44254
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44255
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44256
|
+
*/
|
|
44257
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
43928
44258
|
});
|
|
43929
44259
|
var NcAlarmConfigSchema = object({
|
|
43930
44260
|
/**
|
|
@@ -61094,26 +61424,6 @@ var ApiKeySummarySchema = object({
|
|
|
61094
61424
|
createdAt: number(),
|
|
61095
61425
|
lastUsedAt: number().optional()
|
|
61096
61426
|
});
|
|
61097
|
-
var ScopedTokenSummarySchema = object({
|
|
61098
|
-
id: string(),
|
|
61099
|
-
userId: string(),
|
|
61100
|
-
name: string(),
|
|
61101
|
-
tokenPrefix: string(),
|
|
61102
|
-
scopes: array(TokenScopeSchema),
|
|
61103
|
-
expiresAt: number().nullish(),
|
|
61104
|
-
lastUsedAt: number().nullish(),
|
|
61105
|
-
createdAt: number()
|
|
61106
|
-
});
|
|
61107
|
-
var CreateScopedTokenInputSchema = object({
|
|
61108
|
-
userId: string(),
|
|
61109
|
-
name: string(),
|
|
61110
|
-
scopes: array(TokenScopeSchema),
|
|
61111
|
-
expiresAt: number().optional()
|
|
61112
|
-
});
|
|
61113
|
-
var CreateScopedTokenResultSchema = object({
|
|
61114
|
-
token: string(),
|
|
61115
|
-
record: ScopedTokenSummarySchema
|
|
61116
|
-
});
|
|
61117
61427
|
var OauthSessionSummarySchema = object({
|
|
61118
61428
|
id: string(),
|
|
61119
61429
|
userId: string(),
|
|
@@ -61135,11 +61445,11 @@ var TotpStatusSchema = object({
|
|
|
61135
61445
|
confirmedAt: number().nullable()
|
|
61136
61446
|
});
|
|
61137
61447
|
/**
|
|
61138
|
-
* user-management — singleton capability for user accounts
|
|
61139
|
-
*
|
|
61448
|
+
* user-management — singleton capability for user accounts and the
|
|
61449
|
+
* legacy API-key rows.
|
|
61140
61450
|
*
|
|
61141
61451
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61142
|
-
* — the subset check on `setUserScopes`
|
|
61452
|
+
* — the subset check on `setUserScopes` is moot
|
|
61143
61453
|
* because non-admins never reach these. If/when we open non-admin
|
|
61144
61454
|
* delegation, structural caller-scope subset check goes inside the
|
|
61145
61455
|
* provider.
|
|
@@ -61196,15 +61506,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61196
61506
|
kind: "mutation",
|
|
61197
61507
|
auth: "admin",
|
|
61198
61508
|
access: "delete"
|
|
61199
|
-
}), method(
|
|
61200
|
-
kind: "mutation",
|
|
61201
|
-
auth: "admin",
|
|
61202
|
-
access: "create"
|
|
61203
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61204
|
-
kind: "mutation",
|
|
61205
|
-
auth: "admin",
|
|
61206
|
-
access: "delete"
|
|
61207
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61509
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61208
61510
|
kind: "mutation",
|
|
61209
61511
|
auth: "admin",
|
|
61210
61512
|
access: "create"
|
|
@@ -65360,7 +65662,7 @@ Object.freeze({
|
|
|
65360
65662
|
capName: "llm",
|
|
65361
65663
|
capScope: "system",
|
|
65362
65664
|
addonId: null,
|
|
65363
|
-
access: "
|
|
65665
|
+
access: "create"
|
|
65364
65666
|
},
|
|
65365
65667
|
"llm.listNodeModels": {
|
|
65366
65668
|
capName: "llm",
|
|
@@ -65662,7 +65964,19 @@ Object.freeze({
|
|
|
65662
65964
|
addonId: null,
|
|
65663
65965
|
access: "view"
|
|
65664
65966
|
},
|
|
65665
|
-
"logDestination.
|
|
65967
|
+
"logDestination.cancelRead": {
|
|
65968
|
+
capName: "log-destination",
|
|
65969
|
+
capScope: "system",
|
|
65970
|
+
addonId: null,
|
|
65971
|
+
access: "create"
|
|
65972
|
+
},
|
|
65973
|
+
"logDestination.describeRead": {
|
|
65974
|
+
capName: "log-destination",
|
|
65975
|
+
capScope: "system",
|
|
65976
|
+
addonId: null,
|
|
65977
|
+
access: "view"
|
|
65978
|
+
},
|
|
65979
|
+
"logDestination.read": {
|
|
65666
65980
|
capName: "log-destination",
|
|
65667
65981
|
capScope: "system",
|
|
65668
65982
|
addonId: null,
|
|
@@ -70024,12 +70338,6 @@ Object.freeze({
|
|
|
70024
70338
|
addonId: null,
|
|
70025
70339
|
access: "create"
|
|
70026
70340
|
},
|
|
70027
|
-
"userManagement.createScopedToken": {
|
|
70028
|
-
capName: "user-management",
|
|
70029
|
-
capScope: "system",
|
|
70030
|
-
addonId: null,
|
|
70031
|
-
access: "create"
|
|
70032
|
-
},
|
|
70033
70341
|
"userManagement.createUser": {
|
|
70034
70342
|
capName: "user-management",
|
|
70035
70343
|
capScope: "system",
|
|
@@ -70078,12 +70386,6 @@ Object.freeze({
|
|
|
70078
70386
|
addonId: null,
|
|
70079
70387
|
access: "view"
|
|
70080
70388
|
},
|
|
70081
|
-
"userManagement.listScopedTokens": {
|
|
70082
|
-
capName: "user-management",
|
|
70083
|
-
capScope: "system",
|
|
70084
|
-
addonId: null,
|
|
70085
|
-
access: "view"
|
|
70086
|
-
},
|
|
70087
70389
|
"userManagement.listUsers": {
|
|
70088
70390
|
capName: "user-management",
|
|
70089
70391
|
capScope: "system",
|
|
@@ -70138,12 +70440,6 @@ Object.freeze({
|
|
|
70138
70440
|
addonId: null,
|
|
70139
70441
|
access: "delete"
|
|
70140
70442
|
},
|
|
70141
|
-
"userManagement.revokeScopedToken": {
|
|
70142
|
-
capName: "user-management",
|
|
70143
|
-
capScope: "system",
|
|
70144
|
-
addonId: null,
|
|
70145
|
-
access: "delete"
|
|
70146
|
-
},
|
|
70147
70443
|
"userManagement.setupTotp": {
|
|
70148
70444
|
capName: "user-management",
|
|
70149
70445
|
capScope: "system",
|
|
@@ -70174,12 +70470,6 @@ Object.freeze({
|
|
|
70174
70470
|
addonId: null,
|
|
70175
70471
|
access: "view"
|
|
70176
70472
|
},
|
|
70177
|
-
"userManagement.validateScopedToken": {
|
|
70178
|
-
capName: "user-management",
|
|
70179
|
-
capScope: "system",
|
|
70180
|
-
addonId: null,
|
|
70181
|
-
access: "view"
|
|
70182
|
-
},
|
|
70183
70473
|
"userManagement.verifyTotp": {
|
|
70184
70474
|
capName: "user-management",
|
|
70185
70475
|
capScope: "system",
|
|
@@ -71693,6 +71983,11 @@ Object.freeze({
|
|
|
71693
71983
|
form: "single",
|
|
71694
71984
|
optional: false
|
|
71695
71985
|
}],
|
|
71986
|
+
"logDestination.read": [{
|
|
71987
|
+
name: "deviceId",
|
|
71988
|
+
form: "single",
|
|
71989
|
+
optional: true
|
|
71990
|
+
}],
|
|
71696
71991
|
"mediaPlayer.getStatus": [{
|
|
71697
71992
|
name: "deviceId",
|
|
71698
71993
|
form: "single",
|