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