@camstack/addon-decoder-nodeav 1.2.126 → 1.2.128
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/index.js +419 -124
- package/dist/index.mjs +419 -124
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5418,7 +5418,7 @@ var ZodIssueCode = {
|
|
|
5418
5418
|
var ZodFirstPartyTypeKind;
|
|
5419
5419
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5420
5420
|
//#endregion
|
|
5421
|
-
//#region ../types/dist/sleep-
|
|
5421
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5422
5422
|
/**
|
|
5423
5423
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5424
5424
|
* window to float samples (D455).
|
|
@@ -7801,9 +7801,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7801
7801
|
return result;
|
|
7802
7802
|
}
|
|
7803
7803
|
/**
|
|
7804
|
-
* The share-view scope kinds a
|
|
7805
|
-
* and validates them (`
|
|
7806
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7804
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7805
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7806
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7807
7807
|
*/
|
|
7808
7808
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7809
7809
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12422,7 +12422,7 @@ var ConvertResultSchema = object({
|
|
|
12422
12422
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12423
12423
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12424
12424
|
* distinction was only ever used to route role-specific procedures
|
|
12425
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12425
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12426
12426
|
* with `isAdmin: false` + an explicit scope list.
|
|
12427
12427
|
*/
|
|
12428
12428
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12611,10 +12611,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12611
12611
|
type: literal("addon-routes"),
|
|
12612
12612
|
access: array(MethodAccessSchema).min(1)
|
|
12613
12613
|
});
|
|
12614
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12614
12615
|
var CredentialScopeSchema = union([
|
|
12615
12616
|
literal("*"),
|
|
12616
12617
|
ShareViewScopeSchema,
|
|
12617
12618
|
AddonRoutesScopeSchema,
|
|
12619
|
+
PreferencesSelfScopeSchema,
|
|
12618
12620
|
TokenScopeSchema
|
|
12619
12621
|
]);
|
|
12620
12622
|
object({
|
|
@@ -12623,6 +12625,55 @@ object({
|
|
|
12623
12625
|
jti: string().min(16),
|
|
12624
12626
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12625
12627
|
});
|
|
12628
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12629
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12630
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12631
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12632
|
+
/** A stored row, as the owner reads it. */
|
|
12633
|
+
var PreferenceRowSchema = object({
|
|
12634
|
+
namespace: PreferenceNamespaceSchema,
|
|
12635
|
+
value: PreferenceValueSchema,
|
|
12636
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12637
|
+
revision: number().int().positive(),
|
|
12638
|
+
updatedAt: number().int(),
|
|
12639
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12640
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12641
|
+
});
|
|
12642
|
+
object({
|
|
12643
|
+
/** Absent: every namespace the caller holds. */
|
|
12644
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12645
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12646
|
+
object({
|
|
12647
|
+
namespace: PreferenceNamespaceSchema,
|
|
12648
|
+
value: PreferenceValueSchema,
|
|
12649
|
+
/**
|
|
12650
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12651
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12652
|
+
* revision answers `conflict` and writes nothing.
|
|
12653
|
+
*/
|
|
12654
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12655
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12656
|
+
});
|
|
12657
|
+
discriminatedUnion("status", [object({
|
|
12658
|
+
status: literal("saved"),
|
|
12659
|
+
row: PreferenceRowSchema
|
|
12660
|
+
}), object({
|
|
12661
|
+
status: literal("conflict"),
|
|
12662
|
+
current: PreferenceRowSchema.nullable()
|
|
12663
|
+
})]);
|
|
12664
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12665
|
+
object({
|
|
12666
|
+
/** `false` when the namespace did not exist. */
|
|
12667
|
+
deleted: boolean() });
|
|
12668
|
+
object({
|
|
12669
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12670
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12671
|
+
object({
|
|
12672
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12673
|
+
rows: array(PreferenceRowSchema),
|
|
12674
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12675
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12676
|
+
});
|
|
12626
12677
|
_enum(["new-session", "step-up"]);
|
|
12627
12678
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12628
12679
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -16807,7 +16858,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
16807
16858
|
kind: literal("node"),
|
|
16808
16859
|
nodeId: string().min(1)
|
|
16809
16860
|
})]);
|
|
16861
|
+
/**
|
|
16862
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
16863
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
16864
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
16865
|
+
*/
|
|
16810
16866
|
var DeviceHistoryKindSchema = _enum([
|
|
16867
|
+
"gauge",
|
|
16868
|
+
"counter",
|
|
16869
|
+
"boolean",
|
|
16870
|
+
"enum"
|
|
16871
|
+
]);
|
|
16872
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
16873
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
16811
16874
|
"gauge",
|
|
16812
16875
|
"counter",
|
|
16813
16876
|
"boolean"
|
|
@@ -16844,7 +16907,13 @@ var SeriesInfoSchema = object({
|
|
|
16844
16907
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
16845
16908
|
unit: string().nullable(),
|
|
16846
16909
|
displayName: string(),
|
|
16847
|
-
source: _enum([
|
|
16910
|
+
source: _enum([
|
|
16911
|
+
"cap",
|
|
16912
|
+
"addon",
|
|
16913
|
+
"derived"
|
|
16914
|
+
]),
|
|
16915
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
16916
|
+
values: array(string()).readonly().nullable(),
|
|
16848
16917
|
firstTs: number(),
|
|
16849
16918
|
lastTs: number()
|
|
16850
16919
|
});
|
|
@@ -16858,17 +16927,31 @@ var QueryPointSchema = object({
|
|
|
16858
16927
|
twMean: number().nullable(),
|
|
16859
16928
|
min: number(),
|
|
16860
16929
|
max: number(),
|
|
16861
|
-
/** `null` is unknown, never zero (D393). */
|
|
16862
|
-
last: number().nullable()
|
|
16930
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
16931
|
+
last: number().nullable(),
|
|
16932
|
+
/**
|
|
16933
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
16934
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
16935
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
16936
|
+
* every other kind, and when it cannot be known.
|
|
16937
|
+
*/
|
|
16938
|
+
delta: number().nullable(),
|
|
16939
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
16940
|
+
state: string().nullable(),
|
|
16941
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
16942
|
+
states: record(string(), number()).nullable()
|
|
16863
16943
|
});
|
|
16864
16944
|
var QuerySeriesSchema = object({
|
|
16865
16945
|
scope: string(),
|
|
16866
16946
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
16867
16947
|
before: object({
|
|
16868
16948
|
t: number(),
|
|
16869
|
-
value: number().nullable()
|
|
16949
|
+
value: number().nullable(),
|
|
16950
|
+
state: string().nullable()
|
|
16870
16951
|
}).nullable(),
|
|
16871
|
-
points: array(QueryPointSchema).readonly()
|
|
16952
|
+
points: array(QueryPointSchema).readonly(),
|
|
16953
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
16954
|
+
derivedFrom: string().nullable()
|
|
16872
16955
|
});
|
|
16873
16956
|
/** The window part of a query, shared by the device and node forms. */
|
|
16874
16957
|
var QueryWindowShape = {
|
|
@@ -16884,6 +16967,23 @@ var QueryResultSchema = object({
|
|
|
16884
16967
|
series: array(QuerySeriesSchema).readonly(),
|
|
16885
16968
|
truncated: boolean()
|
|
16886
16969
|
});
|
|
16970
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
16971
|
+
var QueryManyItemSchema = union([object({
|
|
16972
|
+
deviceId: number().int(),
|
|
16973
|
+
key: string(),
|
|
16974
|
+
scope: string().optional()
|
|
16975
|
+
}), object({
|
|
16976
|
+
forNodeId: string().min(1),
|
|
16977
|
+
key: string(),
|
|
16978
|
+
scope: string().optional()
|
|
16979
|
+
})]);
|
|
16980
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
16981
|
+
ok: literal(true),
|
|
16982
|
+
result: QueryResultSchema
|
|
16983
|
+
}), object({
|
|
16984
|
+
ok: literal(false),
|
|
16985
|
+
error: string()
|
|
16986
|
+
})]);
|
|
16887
16987
|
var TierStatusSchema = object({
|
|
16888
16988
|
tier: DeviceHistoryResolutionSchema,
|
|
16889
16989
|
/** `null` until the first background count answered. */
|
|
@@ -16939,16 +17039,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
16939
17039
|
lastRefreshAt: number().nullable()
|
|
16940
17040
|
})
|
|
16941
17041
|
});
|
|
16942
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17042
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
16943
17043
|
deviceId: number().int(),
|
|
16944
17044
|
...QueryWindowShape
|
|
16945
17045
|
}), QueryResultSchema), method(object({
|
|
16946
|
-
|
|
17046
|
+
forNodeId: string().min(1),
|
|
16947
17047
|
...QueryWindowShape
|
|
16948
17048
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17049
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17050
|
+
from: QueryWindowShape.from,
|
|
17051
|
+
to: QueryWindowShape.to,
|
|
17052
|
+
resolution: QueryWindowShape.resolution,
|
|
17053
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17054
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
16949
17055
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
16950
17056
|
subjectKind: _enum(["device", "node"]),
|
|
16951
|
-
kind:
|
|
17057
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
16952
17058
|
unit: string().optional(),
|
|
16953
17059
|
displayName: string().min(1),
|
|
16954
17060
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39619,38 +39725,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39619
39725
|
auth: "admin",
|
|
39620
39726
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39621
39727
|
});
|
|
39728
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39729
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39730
|
+
var LlmModelFeaturesSchema = object({
|
|
39731
|
+
vision: boolean(),
|
|
39732
|
+
tools: boolean(),
|
|
39733
|
+
streaming: boolean()
|
|
39734
|
+
});
|
|
39735
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39736
|
+
var LlmModelInfoSchema = object({
|
|
39737
|
+
id: string(),
|
|
39738
|
+
label: string().optional(),
|
|
39739
|
+
contextLength: number().int().positive().optional(),
|
|
39740
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39741
|
+
});
|
|
39622
39742
|
/**
|
|
39623
|
-
*
|
|
39624
|
-
*
|
|
39625
|
-
*
|
|
39626
|
-
*
|
|
39627
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39628
|
-
*
|
|
39629
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39630
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39631
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39743
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39744
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39745
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39746
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39632
39747
|
*/
|
|
39633
|
-
var
|
|
39634
|
-
"openai-compatible",
|
|
39635
|
-
"openai",
|
|
39636
|
-
"anthropic",
|
|
39637
|
-
"google",
|
|
39638
|
-
"managed-local",
|
|
39639
|
-
"apple-foundation"
|
|
39640
|
-
]);
|
|
39748
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39641
39749
|
var LlmProfileSchema = object({
|
|
39642
39750
|
id: string(),
|
|
39643
39751
|
name: string(),
|
|
39752
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39644
39753
|
kind: LlmProfileKindSchema,
|
|
39645
39754
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39646
39755
|
addonId: string(),
|
|
39647
39756
|
enabled: boolean(),
|
|
39648
39757
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39649
39758
|
model: string(),
|
|
39650
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39651
|
-
baseUrl: string().optional(),
|
|
39652
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39653
|
-
apiKey: string().optional(),
|
|
39654
39759
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39655
39760
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39656
39761
|
* question about a picture nobody sent. */
|
|
@@ -39658,15 +39763,11 @@ var LlmProfileSchema = object({
|
|
|
39658
39763
|
temperature: number().min(0).max(2).optional(),
|
|
39659
39764
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39660
39765
|
topP: number().min(0).max(1).optional(),
|
|
39661
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39662
|
-
*
|
|
39663
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39664
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39766
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39767
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39665
39768
|
topK: number().int().positive().optional(),
|
|
39666
39769
|
maxTokens: number().int().positive().optional(),
|
|
39667
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39668
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39669
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39770
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39670
39771
|
contextLength: number().int().positive().optional(),
|
|
39671
39772
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39672
39773
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39692,16 +39793,37 @@ var LlmProfileSchema = object({
|
|
|
39692
39793
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39693
39794
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39694
39795
|
toolsEnabled: boolean().default(false),
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39701
|
-
|
|
39702
|
-
|
|
39703
|
-
|
|
39704
|
-
|
|
39796
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39797
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39798
|
+
});
|
|
39799
|
+
/**
|
|
39800
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39801
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39802
|
+
*/
|
|
39803
|
+
var LlmProfileFieldSchema = _enum([
|
|
39804
|
+
"temperature",
|
|
39805
|
+
"topP",
|
|
39806
|
+
"topK",
|
|
39807
|
+
"maxTokens",
|
|
39808
|
+
"contextLength",
|
|
39809
|
+
"systemPrompt",
|
|
39810
|
+
"timeoutMs",
|
|
39811
|
+
"connectTimeoutMs",
|
|
39812
|
+
"firstTokenTimeoutMs",
|
|
39813
|
+
"idleTimeoutMs",
|
|
39814
|
+
"retry",
|
|
39815
|
+
"toolsEnabled"
|
|
39816
|
+
]);
|
|
39817
|
+
/**
|
|
39818
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39819
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39820
|
+
* picker: that widget owns the model choice.
|
|
39821
|
+
*/
|
|
39822
|
+
var LlmProviderWidgetSchema = object({
|
|
39823
|
+
id: string(),
|
|
39824
|
+
placement: _enum(["connection", "model"]),
|
|
39825
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39826
|
+
requires: array(string()).optional()
|
|
39705
39827
|
});
|
|
39706
39828
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39707
39829
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39710,11 +39832,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39710
39832
|
var LlmProfileKindDescriptorSchema = object({
|
|
39711
39833
|
kind: LlmProfileKindSchema,
|
|
39712
39834
|
label: string(),
|
|
39835
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39713
39836
|
icon: string(),
|
|
39714
39837
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39715
39838
|
addonId: string(),
|
|
39716
|
-
|
|
39839
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39840
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39841
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39842
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39843
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39844
|
+
features: LlmModelFeaturesSchema,
|
|
39845
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39846
|
+
visionEditable: boolean(),
|
|
39847
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39848
|
+
modelCatalog: _enum([
|
|
39849
|
+
"fetch",
|
|
39850
|
+
"static",
|
|
39851
|
+
"none"
|
|
39852
|
+
]),
|
|
39853
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39854
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39855
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39856
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39857
|
+
});
|
|
39858
|
+
/**
|
|
39859
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39860
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39861
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39862
|
+
* stored profile — the browser never receives it.
|
|
39863
|
+
*/
|
|
39864
|
+
var LlmListModelsInputSchema = object({
|
|
39865
|
+
addonId: string(),
|
|
39866
|
+
kind: LlmProfileKindSchema,
|
|
39867
|
+
profileId: string().optional(),
|
|
39868
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39717
39869
|
});
|
|
39870
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39871
|
+
"auth",
|
|
39872
|
+
"network",
|
|
39873
|
+
"unsupported",
|
|
39874
|
+
"invalid"
|
|
39875
|
+
]);
|
|
39876
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39877
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39878
|
+
ok: literal(true),
|
|
39879
|
+
models: array(LlmModelInfoSchema)
|
|
39880
|
+
}), object({
|
|
39881
|
+
ok: literal(false),
|
|
39882
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39883
|
+
message: string()
|
|
39884
|
+
})]);
|
|
39718
39885
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39719
39886
|
var LlmDefaultSchema = object({
|
|
39720
39887
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39814,7 +39981,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39814
39981
|
kind: "mutation",
|
|
39815
39982
|
auth: "admin",
|
|
39816
39983
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39817
|
-
}), method(
|
|
39984
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
39985
|
+
kind: "mutation",
|
|
39986
|
+
auth: "admin"
|
|
39987
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39818
39988
|
selector: LlmDefaultSelectorSchema,
|
|
39819
39989
|
profileId: string().nullable()
|
|
39820
39990
|
}), _void(), {
|
|
@@ -39982,14 +40152,106 @@ var LogEntrySchema = object({
|
|
|
39982
40152
|
meta: record(string(), unknown()).optional(),
|
|
39983
40153
|
tags: record(string(), string()).optional()
|
|
39984
40154
|
});
|
|
39985
|
-
|
|
39986
|
-
|
|
40155
|
+
/**
|
|
40156
|
+
* A history READ against one destination (D898).
|
|
40157
|
+
*
|
|
40158
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40159
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40160
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40161
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40162
|
+
* nanosecond timestamp for Loki.
|
|
40163
|
+
*
|
|
40164
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40165
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40166
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40167
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40168
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40169
|
+
*/
|
|
40170
|
+
var LogReadQuerySchema = object({
|
|
40171
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40172
|
+
requestId: string().min(1).max(64).optional(),
|
|
40173
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40174
|
+
deviceId: number().int().optional(),
|
|
40175
|
+
/**
|
|
40176
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40177
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40178
|
+
*/
|
|
40179
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40180
|
+
/**
|
|
40181
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40182
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40183
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40184
|
+
* name as "which node's provider".
|
|
40185
|
+
*/
|
|
40186
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40187
|
+
/** Any other tag, exact match (AND). */
|
|
40188
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40189
|
+
/** Severity FLOOR: this level and above. */
|
|
39987
40190
|
level: LogLevelSchema.optional(),
|
|
39988
|
-
|
|
39989
|
-
|
|
39990
|
-
|
|
39991
|
-
|
|
39992
|
-
|
|
40191
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40192
|
+
text: string().min(1).max(200).optional(),
|
|
40193
|
+
/** Epoch ms, inclusive. */
|
|
40194
|
+
since: number().optional(),
|
|
40195
|
+
/** Epoch ms, inclusive. */
|
|
40196
|
+
until: number().optional(),
|
|
40197
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40198
|
+
before: string().min(1).max(1024).optional(),
|
|
40199
|
+
/** Newer than this cursor (exclusive). */
|
|
40200
|
+
after: string().min(1).max(1024).optional(),
|
|
40201
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40202
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40203
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40204
|
+
});
|
|
40205
|
+
var LogReadResultSchema = object({
|
|
40206
|
+
/** Newest first. */
|
|
40207
|
+
entries: array(object({
|
|
40208
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40209
|
+
id: string().optional(),
|
|
40210
|
+
/** Epoch ms. */
|
|
40211
|
+
timestamp: number(),
|
|
40212
|
+
level: LogLevelSchema,
|
|
40213
|
+
scope: string().optional(),
|
|
40214
|
+
message: string(),
|
|
40215
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40216
|
+
meta: record(string(), unknown()).optional()
|
|
40217
|
+
})),
|
|
40218
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40219
|
+
nextBefore: string().nullable(),
|
|
40220
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40221
|
+
nextAfter: string().nullable(),
|
|
40222
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40223
|
+
scannedBytes: number().int().nonnegative(),
|
|
40224
|
+
/**
|
|
40225
|
+
* True when the scan in this direction reached the end of the store.
|
|
40226
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40227
|
+
* call again with `nextBefore` to go on.
|
|
40228
|
+
*/
|
|
40229
|
+
done: boolean(),
|
|
40230
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40231
|
+
cancelled: boolean().optional()
|
|
40232
|
+
});
|
|
40233
|
+
var LogReadCapabilitiesSchema = object({
|
|
40234
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40235
|
+
readable: boolean(),
|
|
40236
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40237
|
+
reason: string().nullable(),
|
|
40238
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40239
|
+
filters: object({
|
|
40240
|
+
deviceId: boolean(),
|
|
40241
|
+
addonId: boolean(),
|
|
40242
|
+
nodeId: boolean(),
|
|
40243
|
+
tags: boolean(),
|
|
40244
|
+
level: boolean(),
|
|
40245
|
+
text: boolean(),
|
|
40246
|
+
timeRange: boolean()
|
|
40247
|
+
}),
|
|
40248
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40249
|
+
retentionDays: number().nullable()
|
|
40250
|
+
});
|
|
40251
|
+
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() }), {
|
|
40252
|
+
kind: "mutation",
|
|
40253
|
+
auth: "admin"
|
|
40254
|
+
});
|
|
39993
40255
|
/**
|
|
39994
40256
|
* `login-method` — collection cap through which auth addons contribute
|
|
39995
40257
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42545,6 +42807,33 @@ var NcRuleTargetSchema = object({
|
|
|
42545
42807
|
params: record(string(), unknown()).optional()
|
|
42546
42808
|
});
|
|
42547
42809
|
/**
|
|
42810
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
42811
|
+
*
|
|
42812
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
42813
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
42814
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
42815
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
42816
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
42817
|
+
* labelled with class and confidence ("dog 87%").
|
|
42818
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
42819
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
42820
|
+
* - `none` — no picture.
|
|
42821
|
+
*
|
|
42822
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
42823
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
42824
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
42825
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
42826
|
+
* stored kind had landed.
|
|
42827
|
+
*/
|
|
42828
|
+
var NcMediaImageSchema = _enum([
|
|
42829
|
+
"scene-boxes",
|
|
42830
|
+
"crop",
|
|
42831
|
+
"clean",
|
|
42832
|
+
"none"
|
|
42833
|
+
]);
|
|
42834
|
+
/**
|
|
42835
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42836
|
+
*
|
|
42548
42837
|
* Media attachment policy (P1 still-image subset).
|
|
42549
42838
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42550
42839
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42558,6 +42847,8 @@ var NcRuleTargetSchema = object({
|
|
|
42558
42847
|
* - `none` — no attachment.
|
|
42559
42848
|
*/
|
|
42560
42849
|
/**
|
|
42850
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42851
|
+
*
|
|
42561
42852
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42562
42853
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42563
42854
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42586,16 +42877,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42586
42877
|
*/
|
|
42587
42878
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42588
42879
|
var NcMediaPolicySchema = object({
|
|
42880
|
+
/**
|
|
42881
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
42882
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
42883
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
42884
|
+
*/
|
|
42885
|
+
image: NcMediaImageSchema.optional(),
|
|
42886
|
+
/**
|
|
42887
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
42888
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
42889
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
42890
|
+
* Replaces `zoneCrop`.
|
|
42891
|
+
*/
|
|
42892
|
+
showTriggerZone: boolean().optional(),
|
|
42893
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42589
42894
|
attach: _enum([
|
|
42590
42895
|
"best",
|
|
42591
42896
|
"best-matching",
|
|
42592
42897
|
"keyFrame",
|
|
42593
42898
|
"none"
|
|
42594
|
-
]).
|
|
42595
|
-
/**
|
|
42899
|
+
]).optional(),
|
|
42900
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42596
42901
|
frame: NcMediaFrameSchema.optional(),
|
|
42597
|
-
/**
|
|
42598
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
42902
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42599
42903
|
zoneCrop: boolean().optional(),
|
|
42600
42904
|
/**
|
|
42601
42905
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -42767,7 +43071,9 @@ var NcRuleInputSchema = object({
|
|
|
42767
43071
|
* targets.
|
|
42768
43072
|
*/
|
|
42769
43073
|
targetUsers: array(string()).optional(),
|
|
42770
|
-
|
|
43074
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43075
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43076
|
+
media: NcMediaPolicySchema.default({}),
|
|
42771
43077
|
throttle: NcThrottleSchema.default({
|
|
42772
43078
|
cooldownSec: 60,
|
|
42773
43079
|
scope: "rule-device"
|
|
@@ -43704,13 +44010,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
43704
44010
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
43705
44011
|
unknown: array(number().int())
|
|
43706
44012
|
});
|
|
44013
|
+
/**
|
|
44014
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44015
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44016
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44017
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44018
|
+
*/
|
|
44019
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44020
|
+
ruleId: string(),
|
|
44021
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44022
|
+
ruleName: string(),
|
|
44023
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44024
|
+
deviceId: number().int(),
|
|
44025
|
+
/** The input's current name. */
|
|
44026
|
+
name: string(),
|
|
44027
|
+
/** When it was bypassed (ms epoch). */
|
|
44028
|
+
since: number(),
|
|
44029
|
+
/** Triggers from this input dropped since. */
|
|
44030
|
+
dropped: number().int().min(0)
|
|
44031
|
+
});
|
|
43707
44032
|
var NcAlarmLiveSchema = object({
|
|
43708
44033
|
state: AlarmStateSchema,
|
|
43709
44034
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
43710
44035
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
43711
44036
|
availableModes: array(AlarmArmModeSchema),
|
|
43712
44037
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
43713
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44038
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44039
|
+
/**
|
|
44040
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44041
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44042
|
+
*/
|
|
44043
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
43714
44044
|
});
|
|
43715
44045
|
var NcAlarmConfigSchema = object({
|
|
43716
44046
|
/**
|
|
@@ -60809,26 +61139,6 @@ var ApiKeySummarySchema = object({
|
|
|
60809
61139
|
createdAt: number(),
|
|
60810
61140
|
lastUsedAt: number().optional()
|
|
60811
61141
|
});
|
|
60812
|
-
var ScopedTokenSummarySchema = object({
|
|
60813
|
-
id: string(),
|
|
60814
|
-
userId: string(),
|
|
60815
|
-
name: string(),
|
|
60816
|
-
tokenPrefix: string(),
|
|
60817
|
-
scopes: array(TokenScopeSchema),
|
|
60818
|
-
expiresAt: number().nullish(),
|
|
60819
|
-
lastUsedAt: number().nullish(),
|
|
60820
|
-
createdAt: number()
|
|
60821
|
-
});
|
|
60822
|
-
var CreateScopedTokenInputSchema = object({
|
|
60823
|
-
userId: string(),
|
|
60824
|
-
name: string(),
|
|
60825
|
-
scopes: array(TokenScopeSchema),
|
|
60826
|
-
expiresAt: number().optional()
|
|
60827
|
-
});
|
|
60828
|
-
var CreateScopedTokenResultSchema = object({
|
|
60829
|
-
token: string(),
|
|
60830
|
-
record: ScopedTokenSummarySchema
|
|
60831
|
-
});
|
|
60832
61142
|
var OauthSessionSummarySchema = object({
|
|
60833
61143
|
id: string(),
|
|
60834
61144
|
userId: string(),
|
|
@@ -60850,11 +61160,11 @@ var TotpStatusSchema = object({
|
|
|
60850
61160
|
confirmedAt: number().nullable()
|
|
60851
61161
|
});
|
|
60852
61162
|
/**
|
|
60853
|
-
* user-management — singleton capability for user accounts
|
|
60854
|
-
*
|
|
61163
|
+
* user-management — singleton capability for user accounts and the
|
|
61164
|
+
* legacy API-key rows.
|
|
60855
61165
|
*
|
|
60856
61166
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
60857
|
-
* — the subset check on `setUserScopes`
|
|
61167
|
+
* — the subset check on `setUserScopes` is moot
|
|
60858
61168
|
* because non-admins never reach these. If/when we open non-admin
|
|
60859
61169
|
* delegation, structural caller-scope subset check goes inside the
|
|
60860
61170
|
* provider.
|
|
@@ -60911,15 +61221,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
60911
61221
|
kind: "mutation",
|
|
60912
61222
|
auth: "admin",
|
|
60913
61223
|
access: "delete"
|
|
60914
|
-
}), method(
|
|
60915
|
-
kind: "mutation",
|
|
60916
|
-
auth: "admin",
|
|
60917
|
-
access: "create"
|
|
60918
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
60919
|
-
kind: "mutation",
|
|
60920
|
-
auth: "admin",
|
|
60921
|
-
access: "delete"
|
|
60922
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61224
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
60923
61225
|
kind: "mutation",
|
|
60924
61226
|
auth: "admin",
|
|
60925
61227
|
access: "create"
|
|
@@ -65075,7 +65377,7 @@ Object.freeze({
|
|
|
65075
65377
|
capName: "llm",
|
|
65076
65378
|
capScope: "system",
|
|
65077
65379
|
addonId: null,
|
|
65078
|
-
access: "
|
|
65380
|
+
access: "create"
|
|
65079
65381
|
},
|
|
65080
65382
|
"llm.listNodeModels": {
|
|
65081
65383
|
capName: "llm",
|
|
@@ -65377,7 +65679,19 @@ Object.freeze({
|
|
|
65377
65679
|
addonId: null,
|
|
65378
65680
|
access: "view"
|
|
65379
65681
|
},
|
|
65380
|
-
"logDestination.
|
|
65682
|
+
"logDestination.cancelRead": {
|
|
65683
|
+
capName: "log-destination",
|
|
65684
|
+
capScope: "system",
|
|
65685
|
+
addonId: null,
|
|
65686
|
+
access: "create"
|
|
65687
|
+
},
|
|
65688
|
+
"logDestination.describeRead": {
|
|
65689
|
+
capName: "log-destination",
|
|
65690
|
+
capScope: "system",
|
|
65691
|
+
addonId: null,
|
|
65692
|
+
access: "view"
|
|
65693
|
+
},
|
|
65694
|
+
"logDestination.read": {
|
|
65381
65695
|
capName: "log-destination",
|
|
65382
65696
|
capScope: "system",
|
|
65383
65697
|
addonId: null,
|
|
@@ -69739,12 +70053,6 @@ Object.freeze({
|
|
|
69739
70053
|
addonId: null,
|
|
69740
70054
|
access: "create"
|
|
69741
70055
|
},
|
|
69742
|
-
"userManagement.createScopedToken": {
|
|
69743
|
-
capName: "user-management",
|
|
69744
|
-
capScope: "system",
|
|
69745
|
-
addonId: null,
|
|
69746
|
-
access: "create"
|
|
69747
|
-
},
|
|
69748
70056
|
"userManagement.createUser": {
|
|
69749
70057
|
capName: "user-management",
|
|
69750
70058
|
capScope: "system",
|
|
@@ -69793,12 +70101,6 @@ Object.freeze({
|
|
|
69793
70101
|
addonId: null,
|
|
69794
70102
|
access: "view"
|
|
69795
70103
|
},
|
|
69796
|
-
"userManagement.listScopedTokens": {
|
|
69797
|
-
capName: "user-management",
|
|
69798
|
-
capScope: "system",
|
|
69799
|
-
addonId: null,
|
|
69800
|
-
access: "view"
|
|
69801
|
-
},
|
|
69802
70104
|
"userManagement.listUsers": {
|
|
69803
70105
|
capName: "user-management",
|
|
69804
70106
|
capScope: "system",
|
|
@@ -69853,12 +70155,6 @@ Object.freeze({
|
|
|
69853
70155
|
addonId: null,
|
|
69854
70156
|
access: "delete"
|
|
69855
70157
|
},
|
|
69856
|
-
"userManagement.revokeScopedToken": {
|
|
69857
|
-
capName: "user-management",
|
|
69858
|
-
capScope: "system",
|
|
69859
|
-
addonId: null,
|
|
69860
|
-
access: "delete"
|
|
69861
|
-
},
|
|
69862
70158
|
"userManagement.setupTotp": {
|
|
69863
70159
|
capName: "user-management",
|
|
69864
70160
|
capScope: "system",
|
|
@@ -69889,12 +70185,6 @@ Object.freeze({
|
|
|
69889
70185
|
addonId: null,
|
|
69890
70186
|
access: "view"
|
|
69891
70187
|
},
|
|
69892
|
-
"userManagement.validateScopedToken": {
|
|
69893
|
-
capName: "user-management",
|
|
69894
|
-
capScope: "system",
|
|
69895
|
-
addonId: null,
|
|
69896
|
-
access: "view"
|
|
69897
|
-
},
|
|
69898
70188
|
"userManagement.verifyTotp": {
|
|
69899
70189
|
capName: "user-management",
|
|
69900
70190
|
capScope: "system",
|
|
@@ -71408,6 +71698,11 @@ Object.freeze({
|
|
|
71408
71698
|
form: "single",
|
|
71409
71699
|
optional: false
|
|
71410
71700
|
}],
|
|
71701
|
+
"logDestination.read": [{
|
|
71702
|
+
name: "deviceId",
|
|
71703
|
+
form: "single",
|
|
71704
|
+
optional: true
|
|
71705
|
+
}],
|
|
71411
71706
|
"mediaPlayer.getStatus": [{
|
|
71412
71707
|
name: "deviceId",
|
|
71413
71708
|
form: "single",
|