@camstack/types 0.1.34 → 0.1.36
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/capabilities/addon-widgets-source.cap.d.ts +73 -5
- package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -1
- package/dist/capabilities/addon-widgets.cap.d.ts +22 -4
- package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -1
- package/dist/capabilities/addons.cap.d.ts +21 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/audio-analysis.cap.d.ts +7 -4
- package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -1
- package/dist/capabilities/camera-streams.cap.d.ts +7 -5
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -1
- package/dist/capabilities/capability-definition.d.ts +114 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -1
- package/dist/capabilities/decoder.cap.d.ts +90 -0
- package/dist/capabilities/decoder.cap.d.ts.map +1 -1
- package/dist/capabilities/detection-pipeline.cap.d.ts +6 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -1
- package/dist/capabilities/device-manager.cap.d.ts +3 -3
- package/dist/capabilities/device-ops.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +20 -20
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/local-network.cap.d.ts +5 -5
- package/dist/capabilities/mesh-network.cap.d.ts +4 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/motion-detection.cap.d.ts +2 -0
- package/dist/capabilities/motion-detection.cap.d.ts.map +1 -1
- package/dist/capabilities/motion-zones.cap.d.ts +83 -0
- package/dist/capabilities/motion-zones.cap.d.ts.map +1 -0
- package/dist/capabilities/network-access.cap.d.ts +5 -4
- package/dist/capabilities/network-access.cap.d.ts.map +1 -1
- package/dist/capabilities/nodes.cap.d.ts +9 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/capabilities/oauth-integration.cap.d.ts +103 -0
- package/dist/capabilities/oauth-integration.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +2 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz.cap.d.ts +57 -1
- package/dist/capabilities/ptz.cap.d.ts.map +1 -1
- package/dist/capabilities/schemas/streaming-shared.d.ts +110 -3
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -1
- package/dist/capabilities/snapshot.cap.d.ts +2 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -1
- package/dist/capabilities/sso-bridge.cap.d.ts +120 -0
- package/dist/capabilities/sso-bridge.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +97 -4
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-params-config-schema.d.ts +56 -0
- package/dist/capabilities/stream-params-config-schema.d.ts.map +1 -0
- package/dist/capabilities/stream-params.cap.d.ts +482 -0
- package/dist/capabilities/stream-params.cap.d.ts.map +1 -0
- package/dist/capabilities/user-management.cap.d.ts +198 -1
- package/dist/capabilities/user-management.cap.d.ts.map +1 -1
- package/dist/capabilities/webrtc-session.cap.d.ts +2 -0
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +1396 -544
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +7 -3
- package/dist/generated/cap-status-types.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +13 -16
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/device-local-state.d.ts +6 -0
- package/dist/generated/device-local-state.d.ts.map +1 -1
- package/dist/generated/device-proxy.d.ts +6 -0
- package/dist/generated/device-proxy.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +7 -13
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-DS7418lf.js → index-BblD92Si.js} +630 -349
- package/dist/index-BblD92Si.js.map +1 -0
- package/dist/{index-Ce7RZWP4.mjs → index-CgPd35k5.mjs} +957 -676
- package/dist/index-CgPd35k5.mjs.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +325 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +597 -347
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +123 -29
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +7 -29
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +4 -101
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/decoder.d.ts +12 -0
- package/dist/interfaces/decoder.d.ts.map +1 -1
- package/dist/interfaces/device-provider.d.ts +0 -4
- package/dist/interfaces/device-provider.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +15 -0
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/frame-handle.d.ts +40 -0
- package/dist/interfaces/frame-handle.d.ts.map +1 -0
- package/dist/interfaces/kernel-abstractions.d.ts +6 -0
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -1
- package/dist/interfaces/server-network.d.ts +8 -33
- package/dist/interfaces/server-network.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +40 -21
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
- package/dist/capabilities/authentication.cap.d.ts +0 -73
- package/dist/capabilities/authentication.cap.d.ts.map +0 -1
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +0 -151
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +0 -1
- package/dist/capabilities/remote-access.cap.d.ts +0 -91
- package/dist/capabilities/remote-access.cap.d.ts.map +0 -1
- package/dist/capabilities/turn-orchestrator.cap.d.ts +0 -64
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +0 -1
- package/dist/index-Ce7RZWP4.mjs.map +0 -1
- package/dist/index-DS7418lf.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as hydrateSchema, e as errMsg, z as zonesCapability, a as zoneRulesCapability, b as zoneAnalyticsCapability, s as switchCapability,
|
|
2
|
-
import { ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, da, db, dc, dd, de, df, dg, dh, di, dj, dk, dl, dm, dn, dp, dq, dr, ds, dt, du, dv, dw, dx, dy, dz, dA, dB, dC, dD, dE, dF, dG, dH, dI, dJ, dK, dL, dM, dN, dO, dP, dQ, dR, dS, dT, dU, dV, dW, dX, dY, dZ, d_, d$, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, ea, eb, ec, ed, ee, ef, eg, eh, ei, ej, ek, el, em, en, eo, ep, eq, er, es, et, eu, ev, ew, ex, ey, ez, eA, eB, eC, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ } from "./index-
|
|
1
|
+
import { h as hydrateSchema, e as errMsg, z as zonesCapability, a as zoneRulesCapability, b as zoneAnalyticsCapability, s as switchCapability, c as streamParamsCapability, p as ptzAutotrackCapability, m as motionZonesCapability, d as motionTriggerCapability, f as motionCapability, g as featureProbeCapability, i as doorbellCapability, j as deviceStatusCapability, k as deviceDiscoveryCapability, l as cameraStreamsCapability, n as brightnessCapability, o as batteryCapability, q as audioMetricsCapability, r as deviceProviderCapability, t as accessoriesCapability, u as addonPagesCapability, v as addonPagesSourceCapability, w as addonRoutesCapability, x as addonSettingsCapability, y as addonWidgetsCapability, A as addonWidgetsSourceCapability, B as addonsCapability, C as adminUiCapability, D as advancedNotifierCapability, E as alertsCapability, F as audioAnalysisCapability, G as audioAnalyzerCapability, H as audioCodecCapability, I as authProviderCapability, J as backupCapability, K as cameraCredentialsCapability, L as decoderCapability, M as detectionPipelineCapability, N as deviceExportCapability, O as deviceManagerCapability, P as deviceOpsCapability, Q as deviceStateCapability, R as embeddingEncoderCapability, S as eventsCapability, T as integrationsCapability, U as intercomCapability, V as localNetworkCapability, W as logDestinationCapability, X as meshNetworkCapability, Y as metricsProviderCapability, Z as motionDetectionCapability, _ as mqttBrokerCapability, $ as nativeObjectDetectionCapability, a0 as networkAccessCapability, a1 as networkQualityCapability, a2 as nodesCapability, a3 as notificationOutputCapability, a4 as oauthIntegrationCapability, a5 as osdCapability, a6 as pipelineAnalyticsCapability, a7 as pipelineExecutorCapability, a8 as pipelineOrchestratorCapability, a9 as pipelineRunnerCapability, aa as platformProbeCapability, ab as ptzCapability, ac as rebootCapability, ad as recordingCapability, ae as recordingEngineCapability, af as restreamerCapability, ag as settingsStoreCapability, ah as smtpProviderCapability, ai as snapshotCapability, aj as snapshotProviderCapability, ak as ssoBridgeCapability, al as storageCapability, am as storageProviderCapability, an as streamBrokerCapability, ao as streamingEngineCapability, ap as systemCapability, aq as toastCapability, ar as turnProviderCapability, as as userManagementCapability, at as userPasskeysCapability, au as webrtcCapability, av as webrtcSessionCapability } from "./index-CgPd35k5.mjs";
|
|
2
|
+
import { aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, da, db, dc, dd, de, df, dg, dh, di, dj, dk, dl, dm, dn, dp, dq, dr, ds, dt, du, dv, dw, dx, dy, dz, dA, dB, dC, dD, dE, dF, dG, dH, dI, dJ, dK, dL, dM, dN, dO, dP, dQ, dR, dS, dT, dU, dV, dW, dX, dY, dZ, d_, d$, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, ea, eb, ec, ed, ee, ef, eg, eh, ei, ej, ek, el, em, en, eo, ep, eq, er, es, et, eu, ev, ew, ex, ey, ez, eA, eB, eC, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, eR, eS, eT, eU, eV, eW, eX, eY, eZ, e_, e$, f0, f1, f2, f3, f4, f5, f6 } from "./index-CgPd35k5.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
class DisposerChain {
|
|
5
5
|
disposers = [];
|
|
@@ -69,12 +69,11 @@ class DisposerChain {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
const DEFAULT_ADDON_GROUP = "main-group";
|
|
73
72
|
const DEFAULT_ADDON_PLACEMENT = "hub-only";
|
|
74
73
|
function resolveAddonExecution(decl) {
|
|
75
74
|
return {
|
|
76
75
|
placement: decl.execution?.placement ?? DEFAULT_ADDON_PLACEMENT,
|
|
77
|
-
group: decl.execution?.group
|
|
76
|
+
group: decl.execution?.group
|
|
78
77
|
};
|
|
79
78
|
}
|
|
80
79
|
function isDeployableToAgent(decl) {
|
|
@@ -87,6 +86,9 @@ function isAgentOnlyPlacement(decl) {
|
|
|
87
86
|
function resolveAddonGroup(decl) {
|
|
88
87
|
return resolveAddonExecution(decl).group;
|
|
89
88
|
}
|
|
89
|
+
function resolveRunnerId(decl, addonId) {
|
|
90
|
+
return decl.execution?.group ?? addonId;
|
|
91
|
+
}
|
|
90
92
|
function resolveAddonPlacement(decl) {
|
|
91
93
|
return resolveAddonExecution(decl).placement;
|
|
92
94
|
}
|
|
@@ -1931,7 +1933,9 @@ const DEVICE_LOCAL_STATE_CAPS = {
|
|
|
1931
1933
|
featureProbe: featureProbeCapability,
|
|
1932
1934
|
motion: motionCapability,
|
|
1933
1935
|
motionTrigger: motionTriggerCapability,
|
|
1936
|
+
motionZones: motionZonesCapability,
|
|
1934
1937
|
ptzAutotrack: ptzAutotrackCapability,
|
|
1938
|
+
streamParams: streamParamsCapability,
|
|
1935
1939
|
switch: switchCapability,
|
|
1936
1940
|
zoneAnalytics: zoneAnalyticsCapability,
|
|
1937
1941
|
zoneRules: zoneRulesCapability,
|
|
@@ -2913,6 +2917,11 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
2913
2917
|
setMotionTrigger: (input) => dispatch("motion-trigger", "motionTrigger", "setMotionTrigger", "mutation", input),
|
|
2914
2918
|
getStatus: (input) => dispatch("motion-trigger", "motionTrigger", "getStatus", "query", input)
|
|
2915
2919
|
};
|
|
2920
|
+
const motionZonesInterface = {
|
|
2921
|
+
getOptions: (input) => dispatch("motion-zones", "motionZones", "getOptions", "query", input),
|
|
2922
|
+
setZone: (input) => dispatch("motion-zones", "motionZones", "setZone", "mutation", input),
|
|
2923
|
+
getStatus: (input) => dispatch("motion-zones", "motionZones", "getStatus", "query", input)
|
|
2924
|
+
};
|
|
2916
2925
|
const nativeObjectDetectionInterface = {
|
|
2917
2926
|
getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
|
|
2918
2927
|
};
|
|
@@ -2940,8 +2949,12 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
2940
2949
|
stop: (input) => dispatch("ptz", "ptz", "stop", "mutation", input),
|
|
2941
2950
|
getPresets: (input) => dispatch("ptz", "ptz", "getPresets", "query", input),
|
|
2942
2951
|
goToPreset: (input) => dispatch("ptz", "ptz", "goToPreset", "mutation", input),
|
|
2952
|
+
savePreset: (input) => dispatch("ptz", "ptz", "savePreset", "mutation", input),
|
|
2953
|
+
deletePreset: (input) => dispatch("ptz", "ptz", "deletePreset", "mutation", input),
|
|
2954
|
+
getOptions: (input) => dispatch("ptz", "ptz", "getOptions", "query", input),
|
|
2943
2955
|
goHome: (input) => dispatch("ptz", "ptz", "goHome", "mutation", input),
|
|
2944
2956
|
getPosition: (input) => dispatch("ptz", "ptz", "getPosition", "query", input),
|
|
2957
|
+
setAutofocus: (input) => dispatch("ptz", "ptz", "setAutofocus", "mutation", input),
|
|
2945
2958
|
getStatus: (input) => dispatch("ptz", "ptz", "getStatus", "query", input)
|
|
2946
2959
|
};
|
|
2947
2960
|
const ptzAutotrackInterface = {
|
|
@@ -2966,6 +2979,12 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
2966
2979
|
getDeviceLiveContribution: (input) => dispatch("snapshot", "snapshot", "getDeviceLiveContribution", "query", input),
|
|
2967
2980
|
applyDeviceSettingsPatch: (input) => dispatch("snapshot", "snapshot", "applyDeviceSettingsPatch", "mutation", input)
|
|
2968
2981
|
};
|
|
2982
|
+
const streamParamsInterface = {
|
|
2983
|
+
getOptions: (input) => dispatch("stream-params", "streamParams", "getOptions", "query", input),
|
|
2984
|
+
setProfile: (input) => dispatch("stream-params", "streamParams", "setProfile", "mutation", input),
|
|
2985
|
+
getConfigSchema: (input) => dispatch("stream-params", "streamParams", "getConfigSchema", "query", input),
|
|
2986
|
+
getStatus: (input) => dispatch("stream-params", "streamParams", "getStatus", "query", input)
|
|
2987
|
+
};
|
|
2969
2988
|
const switchInterface = {
|
|
2970
2989
|
setState: (input) => dispatch("switch", "switch", "setState", "mutation", input),
|
|
2971
2990
|
getStatus: (input) => dispatch("switch", "switch", "getStatus", "query", input)
|
|
@@ -3103,7 +3122,9 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3103
3122
|
featureProbe: createSliceHandle(stateSource, binding.deviceId, "feature-probe"),
|
|
3104
3123
|
motion: createSliceHandle(stateSource, binding.deviceId, "motion"),
|
|
3105
3124
|
motionTrigger: createSliceHandle(stateSource, binding.deviceId, "motion-trigger"),
|
|
3125
|
+
motionZones: createSliceHandle(stateSource, binding.deviceId, "motion-zones"),
|
|
3106
3126
|
ptzAutotrack: createSliceHandle(stateSource, binding.deviceId, "ptz-autotrack"),
|
|
3127
|
+
streamParams: createSliceHandle(stateSource, binding.deviceId, "stream-params"),
|
|
3107
3128
|
switch: createSliceHandle(stateSource, binding.deviceId, "switch"),
|
|
3108
3129
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
3109
3130
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
@@ -3127,6 +3148,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3127
3148
|
motion: motionInterface,
|
|
3128
3149
|
motionDetection: motionDetectionInterface,
|
|
3129
3150
|
motionTrigger: motionTriggerInterface,
|
|
3151
|
+
motionZones: motionZonesInterface,
|
|
3130
3152
|
nativeObjectDetection: nativeObjectDetectionInterface,
|
|
3131
3153
|
osd: osdInterface,
|
|
3132
3154
|
pipelineAnalytics: pipelineAnalyticsInterface,
|
|
@@ -3135,6 +3157,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3135
3157
|
reboot: rebootInterface,
|
|
3136
3158
|
recording: recordingInterface,
|
|
3137
3159
|
snapshot: snapshotInterface,
|
|
3160
|
+
streamParams: streamParamsInterface,
|
|
3138
3161
|
switch: switchInterface,
|
|
3139
3162
|
webrtcSession: webrtcSessionInterface,
|
|
3140
3163
|
zoneAnalytics: zoneAnalyticsInterface,
|
|
@@ -3234,6 +3257,7 @@ function createSystemProxy(api) {
|
|
|
3234
3257
|
getLastRestart: (input) => dispatch("addons", "getLastRestart", "query", input),
|
|
3235
3258
|
listFrameworkPackages: (input) => dispatch("addons", "listFrameworkPackages", "query", input),
|
|
3236
3259
|
listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
|
|
3260
|
+
setCapabilityProviderEnabled: (input) => dispatch("addons", "setCapabilityProviderEnabled", "mutation", input),
|
|
3237
3261
|
updateFrameworkPackage: (input) => dispatch("addons", "updateFrameworkPackage", "mutation", input),
|
|
3238
3262
|
getVersions: (input) => dispatch("addons", "getVersions", "query", input),
|
|
3239
3263
|
restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
|
|
@@ -3282,10 +3306,6 @@ function createSystemProxy(api) {
|
|
|
3282
3306
|
flushEncode: (input) => dispatch("audioCodec", "flushEncode", "mutation", input),
|
|
3283
3307
|
listActiveSessions: (input) => dispatch("audioCodec", "listActiveSessions", "query", input)
|
|
3284
3308
|
};
|
|
3285
|
-
const authenticationInterface = {
|
|
3286
|
-
listProviders: (input) => dispatch("authentication", "listProviders", "query", input),
|
|
3287
|
-
setProviderEnabled: (input) => dispatch("authentication", "setProviderEnabled", "mutation", input)
|
|
3288
|
-
};
|
|
3289
3309
|
const backupInterface = {
|
|
3290
3310
|
listDestinations: (input) => dispatch("backup", "listDestinations", "query", input),
|
|
3291
3311
|
trigger: (input) => dispatch("backup", "trigger", "mutation", input),
|
|
@@ -3306,6 +3326,9 @@ function createSystemProxy(api) {
|
|
|
3306
3326
|
pushPacket: (input) => dispatch("decoder", "pushPacket", "query", input),
|
|
3307
3327
|
openStream: (input) => dispatch("decoder", "openStream", "query", input),
|
|
3308
3328
|
pullFrames: (input) => dispatch("decoder", "pullFrames", "query", input),
|
|
3329
|
+
pullHandles: (input) => dispatch("decoder", "pullHandles", "query", input),
|
|
3330
|
+
getFrame: (input) => dispatch("decoder", "getFrame", "query", input),
|
|
3331
|
+
getShmStats: (input) => dispatch("decoder", "getShmStats", "query", input),
|
|
3309
3332
|
updateConfig: (input) => dispatch("decoder", "updateConfig", "query", input),
|
|
3310
3333
|
getStats: (input) => dispatch("decoder", "getStats", "query", input),
|
|
3311
3334
|
listActiveSessions: (input) => dispatch("decoder", "listActiveSessions", "query", input),
|
|
@@ -3382,14 +3405,6 @@ function createSystemProxy(api) {
|
|
|
3382
3405
|
listPeers: (input) => dispatch("meshNetwork", "listPeers", "query", input),
|
|
3383
3406
|
testConnection: (input) => dispatch("meshNetwork", "testConnection", "mutation", input)
|
|
3384
3407
|
};
|
|
3385
|
-
const meshOrchestratorInterface = {
|
|
3386
|
-
listProviders: (input) => dispatch("meshOrchestrator", "listProviders", "query", input),
|
|
3387
|
-
joinProvider: (input) => dispatch("meshOrchestrator", "joinProvider", "mutation", input),
|
|
3388
|
-
leaveProvider: (input) => dispatch("meshOrchestrator", "leaveProvider", "mutation", input),
|
|
3389
|
-
startLoginProvider: (input) => dispatch("meshOrchestrator", "startLoginProvider", "mutation", input),
|
|
3390
|
-
logoutProvider: (input) => dispatch("meshOrchestrator", "logoutProvider", "mutation", input),
|
|
3391
|
-
listProviderPeers: (input) => dispatch("meshOrchestrator", "listProviderPeers", "query", input)
|
|
3392
|
-
};
|
|
3393
3408
|
const metricsProviderInterface = {
|
|
3394
3409
|
collectSnapshot: (input) => dispatch("metricsProvider", "collectSnapshot", "query", input),
|
|
3395
3410
|
getCached: (input) => dispatch("metricsProvider", "getCached", "query", input),
|
|
@@ -3413,6 +3428,13 @@ function createSystemProxy(api) {
|
|
|
3413
3428
|
stopEmbeddedBroker: (input) => dispatch("mqttBroker", "stopEmbeddedBroker", "mutation", input),
|
|
3414
3429
|
getStatus: (input) => dispatch("mqttBroker", "getStatus", "query", input)
|
|
3415
3430
|
};
|
|
3431
|
+
const networkAccessInterface = {
|
|
3432
|
+
start: (input) => dispatch("networkAccess", "start", "mutation", input),
|
|
3433
|
+
stop: (input) => dispatch("networkAccess", "stop", "mutation", input),
|
|
3434
|
+
getEndpoint: (input) => dispatch("networkAccess", "getEndpoint", "query", input),
|
|
3435
|
+
getStatus: (input) => dispatch("networkAccess", "getStatus", "query", input),
|
|
3436
|
+
listEndpoints: (input) => dispatch("networkAccess", "listEndpoints", "query", input)
|
|
3437
|
+
};
|
|
3416
3438
|
const networkQualityInterface = {
|
|
3417
3439
|
getAllStats: (input) => dispatch("networkQuality", "getAllStats", "query", input)
|
|
3418
3440
|
};
|
|
@@ -3426,6 +3448,7 @@ function createSystemProxy(api) {
|
|
|
3426
3448
|
shutdownNode: (input) => dispatch("nodes", "shutdownNode", "mutation", input),
|
|
3427
3449
|
renameNode: (input) => dispatch("nodes", "renameNode", "mutation", input),
|
|
3428
3450
|
clusterAddonStatus: (input) => dispatch("nodes", "clusterAddonStatus", "query", input),
|
|
3451
|
+
getCapUsageGraph: (input) => dispatch("nodes", "getCapUsageGraph", "query", input),
|
|
3429
3452
|
getNodeAddons: (input) => dispatch("nodes", "getNodeAddons", "query", input),
|
|
3430
3453
|
setProcessLogLevel: (input) => dispatch("nodes", "setProcessLogLevel", "mutation", input),
|
|
3431
3454
|
executeQuery: (input) => dispatch("nodes", "executeQuery", "mutation", input)
|
|
@@ -3522,11 +3545,6 @@ function createSystemProxy(api) {
|
|
|
3522
3545
|
updateRetentionConfig: (input) => dispatch("recordingEngine", "updateRetentionConfig", "mutation", input),
|
|
3523
3546
|
getMotionStats: (input) => dispatch("recordingEngine", "getMotionStats", "query", input)
|
|
3524
3547
|
};
|
|
3525
|
-
const remoteAccessInterface = {
|
|
3526
|
-
listProviders: (input) => dispatch("remoteAccess", "listProviders", "query", input),
|
|
3527
|
-
startProvider: (input) => dispatch("remoteAccess", "startProvider", "mutation", input),
|
|
3528
|
-
stopProvider: (input) => dispatch("remoteAccess", "stopProvider", "mutation", input)
|
|
3529
|
-
};
|
|
3530
3548
|
const settingsStoreInterface = {
|
|
3531
3549
|
get: (input) => dispatch("settingsStore", "get", "query", input),
|
|
3532
3550
|
set: (input) => dispatch("settingsStore", "set", "mutation", input),
|
|
@@ -3570,7 +3588,12 @@ function createSystemProxy(api) {
|
|
|
3570
3588
|
getStreamUrl: (input) => dispatch("streamBroker", "getStreamUrl", "query", input),
|
|
3571
3589
|
getStreamWithCodec: (input) => dispatch("streamBroker", "getStreamWithCodec", "mutation", input),
|
|
3572
3590
|
releaseStreamWithCodec: (input) => dispatch("streamBroker", "releaseStreamWithCodec", "mutation", input),
|
|
3573
|
-
|
|
3591
|
+
subscribeAudioChunks: (input) => dispatch("streamBroker", "subscribeAudioChunks", "mutation", input),
|
|
3592
|
+
pullAudioChunks: (input) => dispatch("streamBroker", "pullAudioChunks", "query", input),
|
|
3593
|
+
unsubscribeAudioChunks: (input) => dispatch("streamBroker", "unsubscribeAudioChunks", "mutation", input),
|
|
3594
|
+
subscribeFrames: (input) => dispatch("streamBroker", "subscribeFrames", "mutation", input),
|
|
3595
|
+
pullFrameHandles: (input) => dispatch("streamBroker", "pullFrameHandles", "query", input),
|
|
3596
|
+
unsubscribeFrames: (input) => dispatch("streamBroker", "unsubscribeFrames", "mutation", input),
|
|
3574
3597
|
setPreBufferDuration: (input) => dispatch("streamBroker", "setPreBufferDuration", "mutation", input),
|
|
3575
3598
|
getPreBufferInfo: (input) => dispatch("streamBroker", "getPreBufferInfo", "query", input),
|
|
3576
3599
|
getRtspPort: (input) => dispatch("streamBroker", "getRtspPort", "query", input),
|
|
@@ -3592,11 +3615,6 @@ function createSystemProxy(api) {
|
|
|
3592
3615
|
const toastInterface = {
|
|
3593
3616
|
onToast: (input, push) => dispatch("toast", "onToast", "subscription", input, push)
|
|
3594
3617
|
};
|
|
3595
|
-
const turnOrchestratorInterface = {
|
|
3596
|
-
listProviders: (input) => dispatch("turnOrchestrator", "listProviders", "query", input),
|
|
3597
|
-
getAllServers: (input) => dispatch("turnOrchestrator", "getAllServers", "query", input),
|
|
3598
|
-
setProviderEnabled: (input) => dispatch("turnOrchestrator", "setProviderEnabled", "mutation", input)
|
|
3599
|
-
};
|
|
3600
3618
|
const turnProviderInterface = {
|
|
3601
3619
|
getTurnServers: (input) => dispatch("turnProvider", "getTurnServers", "query", input)
|
|
3602
3620
|
};
|
|
@@ -3620,7 +3638,13 @@ function createSystemProxy(api) {
|
|
|
3620
3638
|
confirmTotp: (input) => dispatch("userManagement", "confirmTotp", "mutation", input),
|
|
3621
3639
|
disableTotp: (input) => dispatch("userManagement", "disableTotp", "mutation", input),
|
|
3622
3640
|
getTotpStatus: (input) => dispatch("userManagement", "getTotpStatus", "query", input),
|
|
3623
|
-
verifyTotp: (input) => dispatch("userManagement", "verifyTotp", "mutation", input)
|
|
3641
|
+
verifyTotp: (input) => dispatch("userManagement", "verifyTotp", "mutation", input),
|
|
3642
|
+
oauthIssueCode: (input) => dispatch("userManagement", "oauthIssueCode", "mutation", input),
|
|
3643
|
+
oauthExchangeCode: (input) => dispatch("userManagement", "oauthExchangeCode", "mutation", input),
|
|
3644
|
+
oauthRefresh: (input) => dispatch("userManagement", "oauthRefresh", "mutation", input),
|
|
3645
|
+
oauthVerifyAccessToken: (input) => dispatch("userManagement", "oauthVerifyAccessToken", "query", input),
|
|
3646
|
+
listOauthSessions: (input) => dispatch("userManagement", "listOauthSessions", "query", input),
|
|
3647
|
+
revokeOauthSession: (input) => dispatch("userManagement", "revokeOauthSession", "mutation", input)
|
|
3624
3648
|
};
|
|
3625
3649
|
return {
|
|
3626
3650
|
addonPages: addonPagesInterface,
|
|
@@ -3630,7 +3654,6 @@ function createSystemProxy(api) {
|
|
|
3630
3654
|
alerts: alertsInterface,
|
|
3631
3655
|
audioAnalyzer: audioAnalyzerInterface,
|
|
3632
3656
|
audioCodec: audioCodecInterface,
|
|
3633
|
-
authentication: authenticationInterface,
|
|
3634
3657
|
backup: backupInterface,
|
|
3635
3658
|
decoder: decoderInterface,
|
|
3636
3659
|
deviceExport: deviceExportInterface,
|
|
@@ -3640,9 +3663,9 @@ function createSystemProxy(api) {
|
|
|
3640
3663
|
integrations: integrationsInterface,
|
|
3641
3664
|
localNetwork: localNetworkInterface,
|
|
3642
3665
|
meshNetwork: meshNetworkInterface,
|
|
3643
|
-
meshOrchestrator: meshOrchestratorInterface,
|
|
3644
3666
|
metricsProvider: metricsProviderInterface,
|
|
3645
3667
|
mqttBroker: mqttBrokerInterface,
|
|
3668
|
+
networkAccess: networkAccessInterface,
|
|
3646
3669
|
networkQuality: networkQualityInterface,
|
|
3647
3670
|
nodes: nodesInterface,
|
|
3648
3671
|
notificationOutput: notificationOutputInterface,
|
|
@@ -3651,13 +3674,11 @@ function createSystemProxy(api) {
|
|
|
3651
3674
|
pipelineRunner: pipelineRunnerInterface,
|
|
3652
3675
|
platformProbe: platformProbeInterface,
|
|
3653
3676
|
recordingEngine: recordingEngineInterface,
|
|
3654
|
-
remoteAccess: remoteAccessInterface,
|
|
3655
3677
|
settingsStore: settingsStoreInterface,
|
|
3656
3678
|
storage: storageInterface,
|
|
3657
3679
|
streamBroker: streamBrokerInterface,
|
|
3658
3680
|
system: systemInterface,
|
|
3659
3681
|
toast: toastInterface,
|
|
3660
|
-
turnOrchestrator: turnOrchestratorInterface,
|
|
3661
3682
|
turnProvider: turnProviderInterface,
|
|
3662
3683
|
userManagement: userManagementInterface
|
|
3663
3684
|
};
|
|
@@ -4414,6 +4435,205 @@ function customAction(input, output, options) {
|
|
|
4414
4435
|
scope: options?.scope ?? { kind: "system" }
|
|
4415
4436
|
};
|
|
4416
4437
|
}
|
|
4438
|
+
const STREAM_PROFILE_META = [
|
|
4439
|
+
{ profile: "main", prefix: "streamMain", label: "Main stream" },
|
|
4440
|
+
{ profile: "sub", prefix: "streamSub", label: "Sub stream" },
|
|
4441
|
+
{ profile: "ext", prefix: "streamExt", label: "Third stream" }
|
|
4442
|
+
];
|
|
4443
|
+
function buildProfileSection(meta, opt, cur) {
|
|
4444
|
+
const fields = [];
|
|
4445
|
+
if (opt.resolutions.length > 0) {
|
|
4446
|
+
const resOptions = opt.resolutions.map((r) => ({
|
|
4447
|
+
value: `${String(r.width)}x${String(r.height)}`,
|
|
4448
|
+
label: `${String(r.width)}×${String(r.height)}`
|
|
4449
|
+
}));
|
|
4450
|
+
const curResValue = cur ? `${String(cur.width)}x${String(cur.height)}` : void 0;
|
|
4451
|
+
if (curResValue && !resOptions.some((o) => o.value === curResValue)) {
|
|
4452
|
+
resOptions.unshift({ value: curResValue, label: `${curResValue.replace("x", "×")} (current)` });
|
|
4453
|
+
}
|
|
4454
|
+
fields.push({
|
|
4455
|
+
type: "select",
|
|
4456
|
+
key: `${meta.prefix}_resolution`,
|
|
4457
|
+
label: "Resolution",
|
|
4458
|
+
options: resOptions,
|
|
4459
|
+
default: curResValue ?? resOptions[0]?.value ?? ""
|
|
4460
|
+
});
|
|
4461
|
+
}
|
|
4462
|
+
if (opt.codecs.length > 0) {
|
|
4463
|
+
fields.push({
|
|
4464
|
+
type: "select",
|
|
4465
|
+
key: `${meta.prefix}_codec`,
|
|
4466
|
+
label: "Codec",
|
|
4467
|
+
options: opt.codecs.map((c) => ({ value: c, label: c === "h264" ? "H.264" : "H.265" })),
|
|
4468
|
+
default: cur?.codec ?? opt.codecs[0]
|
|
4469
|
+
});
|
|
4470
|
+
}
|
|
4471
|
+
if (opt.framerates.length > 0) {
|
|
4472
|
+
const fpsOptions = opt.framerates.map((f) => ({ value: String(f), label: `${String(f)} fps` }));
|
|
4473
|
+
const curFps = cur?.framerate;
|
|
4474
|
+
if (curFps !== void 0 && !opt.framerates.includes(curFps)) {
|
|
4475
|
+
fpsOptions.unshift({ value: String(curFps), label: `${String(curFps)} fps (current)` });
|
|
4476
|
+
}
|
|
4477
|
+
fields.push({
|
|
4478
|
+
type: "select",
|
|
4479
|
+
key: `${meta.prefix}_framerate`,
|
|
4480
|
+
label: "Frame rate",
|
|
4481
|
+
options: fpsOptions,
|
|
4482
|
+
default: curFps !== void 0 ? String(curFps) : fpsOptions[0]?.value ?? ""
|
|
4483
|
+
});
|
|
4484
|
+
}
|
|
4485
|
+
if (opt.bitrates.length > 0) {
|
|
4486
|
+
const brOptions = opt.bitrates.map((b) => ({ value: String(b), label: `${String(b)} kbps` }));
|
|
4487
|
+
const curBr = cur?.bitrate;
|
|
4488
|
+
if (curBr !== void 0 && !opt.bitrates.includes(curBr)) {
|
|
4489
|
+
brOptions.unshift({ value: String(curBr), label: `${String(curBr)} kbps (current)` });
|
|
4490
|
+
}
|
|
4491
|
+
fields.push({
|
|
4492
|
+
type: "select",
|
|
4493
|
+
key: `${meta.prefix}_bitrate`,
|
|
4494
|
+
label: "Bitrate",
|
|
4495
|
+
options: brOptions,
|
|
4496
|
+
default: curBr !== void 0 ? String(curBr) : brOptions[0]?.value ?? ""
|
|
4497
|
+
});
|
|
4498
|
+
} else {
|
|
4499
|
+
const range = opt.bitrateRange;
|
|
4500
|
+
fields.push({
|
|
4501
|
+
type: "number",
|
|
4502
|
+
key: `${meta.prefix}_bitrate`,
|
|
4503
|
+
label: "Bitrate",
|
|
4504
|
+
unit: "kbps",
|
|
4505
|
+
...range ? { min: range[0], max: range[1] } : {},
|
|
4506
|
+
default: cur?.bitrate ?? range?.[0] ?? 0
|
|
4507
|
+
});
|
|
4508
|
+
}
|
|
4509
|
+
if (opt.supportsBitrateMode) {
|
|
4510
|
+
fields.push({
|
|
4511
|
+
type: "select",
|
|
4512
|
+
key: `${meta.prefix}_bitrateMode`,
|
|
4513
|
+
label: "Bitrate mode",
|
|
4514
|
+
options: [
|
|
4515
|
+
{ value: "vbr", label: "VBR (variable)" },
|
|
4516
|
+
{ value: "cbr", label: "CBR (constant)" }
|
|
4517
|
+
],
|
|
4518
|
+
default: cur?.bitrateMode ?? "vbr"
|
|
4519
|
+
});
|
|
4520
|
+
}
|
|
4521
|
+
if (opt.supportsEncoderProfile) {
|
|
4522
|
+
fields.push({
|
|
4523
|
+
type: "select",
|
|
4524
|
+
key: `${meta.prefix}_encoderProfile`,
|
|
4525
|
+
label: "Encoder profile",
|
|
4526
|
+
options: [
|
|
4527
|
+
{ value: "baseline", label: "Baseline" },
|
|
4528
|
+
{ value: "main", label: "Main" },
|
|
4529
|
+
{ value: "high", label: "High" }
|
|
4530
|
+
],
|
|
4531
|
+
default: cur?.encoderProfile ?? "main"
|
|
4532
|
+
});
|
|
4533
|
+
}
|
|
4534
|
+
if (opt.supportsGop) {
|
|
4535
|
+
const range = opt.gop;
|
|
4536
|
+
if (range) {
|
|
4537
|
+
const gopOptions = [];
|
|
4538
|
+
for (let v = range.min; v <= range.max; v += range.step) {
|
|
4539
|
+
gopOptions.push({ value: String(v), label: `${String(v)} s` });
|
|
4540
|
+
}
|
|
4541
|
+
const curGop = cur?.gop;
|
|
4542
|
+
if (curGop !== void 0 && !gopOptions.some((o) => o.value === String(curGop))) {
|
|
4543
|
+
gopOptions.unshift({ value: String(curGop), label: `${String(curGop)} s (current)` });
|
|
4544
|
+
}
|
|
4545
|
+
fields.push({
|
|
4546
|
+
type: "select",
|
|
4547
|
+
key: `${meta.prefix}_gop`,
|
|
4548
|
+
label: "I-frame interval (GOP)",
|
|
4549
|
+
options: gopOptions,
|
|
4550
|
+
default: curGop !== void 0 ? String(curGop) : gopOptions[0]?.value ?? ""
|
|
4551
|
+
});
|
|
4552
|
+
} else {
|
|
4553
|
+
fields.push({
|
|
4554
|
+
type: "number",
|
|
4555
|
+
key: `${meta.prefix}_gop`,
|
|
4556
|
+
label: "I-frame interval (GOP)",
|
|
4557
|
+
unit: "s",
|
|
4558
|
+
min: 1,
|
|
4559
|
+
default: cur?.gop ?? 1
|
|
4560
|
+
});
|
|
4561
|
+
}
|
|
4562
|
+
}
|
|
4563
|
+
if (fields.length === 0) return null;
|
|
4564
|
+
return {
|
|
4565
|
+
id: `stream-${meta.profile}`,
|
|
4566
|
+
tab: "streaming",
|
|
4567
|
+
title: meta.label,
|
|
4568
|
+
description: "Encoder parameters pushed to the camera. Option lists are read live from the camera — fields the firmware doesn't expose are hidden.",
|
|
4569
|
+
columns: 2,
|
|
4570
|
+
fields
|
|
4571
|
+
};
|
|
4572
|
+
}
|
|
4573
|
+
function buildStreamParamsConfigSchema(options, status) {
|
|
4574
|
+
const sections = [];
|
|
4575
|
+
for (const meta of STREAM_PROFILE_META) {
|
|
4576
|
+
const opt = options[meta.profile];
|
|
4577
|
+
if (!opt) continue;
|
|
4578
|
+
const section = buildProfileSection(meta, opt, status?.[meta.profile]);
|
|
4579
|
+
if (section) sections.push(section);
|
|
4580
|
+
}
|
|
4581
|
+
if (sections.length === 0) return null;
|
|
4582
|
+
return { sections };
|
|
4583
|
+
}
|
|
4584
|
+
function parseStreamParamsFormPatch(patch, prefix) {
|
|
4585
|
+
const out = {};
|
|
4586
|
+
let touched = false;
|
|
4587
|
+
const resKey = `${prefix}_resolution`;
|
|
4588
|
+
if (resKey in patch && typeof patch[resKey] === "string") {
|
|
4589
|
+
const [w, h] = patch[resKey].split("x").map(Number);
|
|
4590
|
+
if (Number.isFinite(w) && Number.isFinite(h)) {
|
|
4591
|
+
out.width = w;
|
|
4592
|
+
out.height = h;
|
|
4593
|
+
touched = true;
|
|
4594
|
+
}
|
|
4595
|
+
}
|
|
4596
|
+
const codecKey = `${prefix}_codec`;
|
|
4597
|
+
if (codecKey in patch && (patch[codecKey] === "h264" || patch[codecKey] === "h265")) {
|
|
4598
|
+
out.codec = patch[codecKey];
|
|
4599
|
+
touched = true;
|
|
4600
|
+
}
|
|
4601
|
+
const fpsKey = `${prefix}_framerate`;
|
|
4602
|
+
if (fpsKey in patch) {
|
|
4603
|
+
const fps = Number(patch[fpsKey]);
|
|
4604
|
+
if (Number.isFinite(fps)) {
|
|
4605
|
+
out.framerate = fps;
|
|
4606
|
+
touched = true;
|
|
4607
|
+
}
|
|
4608
|
+
}
|
|
4609
|
+
const brKey = `${prefix}_bitrate`;
|
|
4610
|
+
if (brKey in patch) {
|
|
4611
|
+
const br2 = Number(patch[brKey]);
|
|
4612
|
+
if (Number.isFinite(br2)) {
|
|
4613
|
+
out.bitrate = br2;
|
|
4614
|
+
touched = true;
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
const modeKey = `${prefix}_bitrateMode`;
|
|
4618
|
+
if (modeKey in patch && (patch[modeKey] === "vbr" || patch[modeKey] === "cbr")) {
|
|
4619
|
+
out.bitrateMode = patch[modeKey];
|
|
4620
|
+
touched = true;
|
|
4621
|
+
}
|
|
4622
|
+
const profKey = `${prefix}_encoderProfile`;
|
|
4623
|
+
if (profKey in patch && (patch[profKey] === "high" || patch[profKey] === "main" || patch[profKey] === "baseline")) {
|
|
4624
|
+
out.encoderProfile = patch[profKey];
|
|
4625
|
+
touched = true;
|
|
4626
|
+
}
|
|
4627
|
+
const gopKey = `${prefix}_gop`;
|
|
4628
|
+
if (gopKey in patch) {
|
|
4629
|
+
const gop = Number(patch[gopKey]);
|
|
4630
|
+
if (Number.isFinite(gop)) {
|
|
4631
|
+
out.gop = gop;
|
|
4632
|
+
touched = true;
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
return touched ? out : null;
|
|
4636
|
+
}
|
|
4417
4637
|
const CAPABILITY_NAMES = {
|
|
4418
4638
|
accessories: "accessories",
|
|
4419
4639
|
addonPages: "addon-pages",
|
|
@@ -4431,7 +4651,6 @@ const CAPABILITY_NAMES = {
|
|
|
4431
4651
|
audioCodec: "audio-codec",
|
|
4432
4652
|
audioMetrics: "audio-metrics",
|
|
4433
4653
|
authProvider: "auth-provider",
|
|
4434
|
-
authentication: "authentication",
|
|
4435
4654
|
backup: "backup",
|
|
4436
4655
|
battery: "battery",
|
|
4437
4656
|
brightness: "brightness",
|
|
@@ -4455,17 +4674,18 @@ const CAPABILITY_NAMES = {
|
|
|
4455
4674
|
localNetwork: "local-network",
|
|
4456
4675
|
logDestination: "log-destination",
|
|
4457
4676
|
meshNetwork: "mesh-network",
|
|
4458
|
-
meshOrchestrator: "mesh-orchestrator",
|
|
4459
4677
|
metricsProvider: "metrics-provider",
|
|
4460
4678
|
motion: "motion",
|
|
4461
4679
|
motionDetection: "motion-detection",
|
|
4462
4680
|
motionTrigger: "motion-trigger",
|
|
4681
|
+
motionZones: "motion-zones",
|
|
4463
4682
|
mqttBroker: "mqtt-broker",
|
|
4464
4683
|
nativeObjectDetection: "native-object-detection",
|
|
4465
4684
|
networkAccess: "network-access",
|
|
4466
4685
|
networkQuality: "network-quality",
|
|
4467
4686
|
nodes: "nodes",
|
|
4468
4687
|
notificationOutput: "notification-output",
|
|
4688
|
+
oauthIntegration: "oauth-integration",
|
|
4469
4689
|
osd: "osd",
|
|
4470
4690
|
pipelineAnalytics: "pipeline-analytics",
|
|
4471
4691
|
pipelineExecutor: "pipeline-executor",
|
|
@@ -4477,7 +4697,6 @@ const CAPABILITY_NAMES = {
|
|
|
4477
4697
|
reboot: "reboot",
|
|
4478
4698
|
recording: "recording",
|
|
4479
4699
|
recordingEngine: "recording-engine",
|
|
4480
|
-
remoteAccess: "remote-access",
|
|
4481
4700
|
restreamer: "restreamer",
|
|
4482
4701
|
settingsStore: "settings-store",
|
|
4483
4702
|
smtpProvider: "smtp-provider",
|
|
@@ -4487,11 +4706,11 @@ const CAPABILITY_NAMES = {
|
|
|
4487
4706
|
storage: "storage",
|
|
4488
4707
|
storageProvider: "storage-provider",
|
|
4489
4708
|
streamBroker: "stream-broker",
|
|
4709
|
+
streamParams: "stream-params",
|
|
4490
4710
|
streamingEngine: "streaming-engine",
|
|
4491
4711
|
switch: "switch",
|
|
4492
4712
|
system: "system",
|
|
4493
4713
|
toast: "toast",
|
|
4494
|
-
turnOrchestrator: "turn-orchestrator",
|
|
4495
4714
|
turnProvider: "turn-provider",
|
|
4496
4715
|
userManagement: "user-management",
|
|
4497
4716
|
userPasskeys: "user-passkeys",
|
|
@@ -4518,7 +4737,6 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4518
4737
|
{ key: "audioCodec", name: "audio-codec" },
|
|
4519
4738
|
{ key: "audioMetrics", name: "audio-metrics" },
|
|
4520
4739
|
{ key: "authProvider", name: "auth-provider" },
|
|
4521
|
-
{ key: "authentication", name: "authentication" },
|
|
4522
4740
|
{ key: "backup", name: "backup" },
|
|
4523
4741
|
{ key: "battery", name: "battery" },
|
|
4524
4742
|
{ key: "brightness", name: "brightness" },
|
|
@@ -4542,17 +4760,18 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4542
4760
|
{ key: "localNetwork", name: "local-network" },
|
|
4543
4761
|
{ key: "logDestination", name: "log-destination" },
|
|
4544
4762
|
{ key: "meshNetwork", name: "mesh-network" },
|
|
4545
|
-
{ key: "meshOrchestrator", name: "mesh-orchestrator" },
|
|
4546
4763
|
{ key: "metricsProvider", name: "metrics-provider" },
|
|
4547
4764
|
{ key: "motion", name: "motion" },
|
|
4548
4765
|
{ key: "motionDetection", name: "motion-detection" },
|
|
4549
4766
|
{ key: "motionTrigger", name: "motion-trigger" },
|
|
4767
|
+
{ key: "motionZones", name: "motion-zones" },
|
|
4550
4768
|
{ key: "mqttBroker", name: "mqtt-broker" },
|
|
4551
4769
|
{ key: "nativeObjectDetection", name: "native-object-detection" },
|
|
4552
4770
|
{ key: "networkAccess", name: "network-access" },
|
|
4553
4771
|
{ key: "networkQuality", name: "network-quality" },
|
|
4554
4772
|
{ key: "nodes", name: "nodes" },
|
|
4555
4773
|
{ key: "notificationOutput", name: "notification-output" },
|
|
4774
|
+
{ key: "oauthIntegration", name: "oauth-integration" },
|
|
4556
4775
|
{ key: "osd", name: "osd" },
|
|
4557
4776
|
{ key: "pipelineAnalytics", name: "pipeline-analytics" },
|
|
4558
4777
|
{ key: "pipelineExecutor", name: "pipeline-executor" },
|
|
@@ -4564,7 +4783,6 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4564
4783
|
{ key: "reboot", name: "reboot" },
|
|
4565
4784
|
{ key: "recording", name: "recording" },
|
|
4566
4785
|
{ key: "recordingEngine", name: "recording-engine" },
|
|
4567
|
-
{ key: "remoteAccess", name: "remote-access" },
|
|
4568
4786
|
{ key: "restreamer", name: "restreamer" },
|
|
4569
4787
|
{ key: "settingsStore", name: "settings-store" },
|
|
4570
4788
|
{ key: "smtpProvider", name: "smtp-provider" },
|
|
@@ -4574,11 +4792,11 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4574
4792
|
{ key: "storage", name: "storage" },
|
|
4575
4793
|
{ key: "storageProvider", name: "storage-provider" },
|
|
4576
4794
|
{ key: "streamBroker", name: "stream-broker" },
|
|
4795
|
+
{ key: "streamParams", name: "stream-params" },
|
|
4577
4796
|
{ key: "streamingEngine", name: "streaming-engine" },
|
|
4578
4797
|
{ key: "switch", name: "switch" },
|
|
4579
4798
|
{ key: "system", name: "system" },
|
|
4580
4799
|
{ key: "toast", name: "toast" },
|
|
4581
|
-
{ key: "turnOrchestrator", name: "turn-orchestrator" },
|
|
4582
4800
|
{ key: "turnProvider", name: "turn-provider" },
|
|
4583
4801
|
{ key: "userManagement", name: "user-management" },
|
|
4584
4802
|
{ key: "userPasskeys", name: "user-passkeys" },
|
|
@@ -4605,7 +4823,6 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4605
4823
|
audioCodecCapability,
|
|
4606
4824
|
audioMetricsCapability,
|
|
4607
4825
|
authProviderCapability,
|
|
4608
|
-
authenticationCapability,
|
|
4609
4826
|
backupCapability,
|
|
4610
4827
|
batteryCapability,
|
|
4611
4828
|
brightnessCapability,
|
|
@@ -4629,17 +4846,18 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4629
4846
|
localNetworkCapability,
|
|
4630
4847
|
logDestinationCapability,
|
|
4631
4848
|
meshNetworkCapability,
|
|
4632
|
-
meshOrchestratorCapability,
|
|
4633
4849
|
metricsProviderCapability,
|
|
4634
4850
|
motionCapability,
|
|
4635
4851
|
motionDetectionCapability,
|
|
4636
4852
|
motionTriggerCapability,
|
|
4853
|
+
motionZonesCapability,
|
|
4637
4854
|
mqttBrokerCapability,
|
|
4638
4855
|
nativeObjectDetectionCapability,
|
|
4639
4856
|
networkAccessCapability,
|
|
4640
4857
|
networkQualityCapability,
|
|
4641
4858
|
nodesCapability,
|
|
4642
4859
|
notificationOutputCapability,
|
|
4860
|
+
oauthIntegrationCapability,
|
|
4643
4861
|
osdCapability,
|
|
4644
4862
|
pipelineAnalyticsCapability,
|
|
4645
4863
|
pipelineExecutorCapability,
|
|
@@ -4651,7 +4869,6 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4651
4869
|
rebootCapability,
|
|
4652
4870
|
recordingCapability,
|
|
4653
4871
|
recordingEngineCapability,
|
|
4654
|
-
remoteAccessCapability,
|
|
4655
4872
|
restreamerCapability,
|
|
4656
4873
|
settingsStoreCapability,
|
|
4657
4874
|
smtpProviderCapability,
|
|
@@ -4661,11 +4878,11 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4661
4878
|
storageCapability,
|
|
4662
4879
|
storageProviderCapability,
|
|
4663
4880
|
streamBrokerCapability,
|
|
4881
|
+
streamParamsCapability,
|
|
4664
4882
|
streamingEngineCapability,
|
|
4665
4883
|
switchCapability,
|
|
4666
4884
|
systemCapability,
|
|
4667
4885
|
toastCapability,
|
|
4668
|
-
turnOrchestratorCapability,
|
|
4669
4886
|
turnProviderCapability,
|
|
4670
4887
|
userManagementCapability,
|
|
4671
4888
|
userPasskeysCapability,
|
|
@@ -4688,12 +4905,14 @@ const CAP_NAMES_WITH_STATUS = [
|
|
|
4688
4905
|
"intercom",
|
|
4689
4906
|
"motion",
|
|
4690
4907
|
"motion-trigger",
|
|
4908
|
+
"motion-zones",
|
|
4691
4909
|
"mqtt-broker",
|
|
4692
4910
|
"native-object-detection",
|
|
4693
4911
|
"osd",
|
|
4694
4912
|
"ptz",
|
|
4695
4913
|
"ptz-autotrack",
|
|
4696
4914
|
"snapshot",
|
|
4915
|
+
"stream-params",
|
|
4697
4916
|
"switch"
|
|
4698
4917
|
];
|
|
4699
4918
|
const METHOD_ACCESS_MAP = Object.freeze({
|
|
@@ -4727,6 +4946,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4727
4946
|
"addons.searchAvailable": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4728
4947
|
"addons.setAddonAutoUpdate": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4729
4948
|
"addons.setAutoUpdateSettings": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4949
|
+
"addons.setCapabilityProviderEnabled": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4730
4950
|
"addons.uninstallPackage": { capName: "addons", capScope: "system", addonId: null, access: "delete" },
|
|
4731
4951
|
"addons.updateFrameworkPackage": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4732
4952
|
"addons.updatePackage": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
@@ -4769,8 +4989,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4769
4989
|
"audioCodec.pushPcm": { capName: "audio-codec", capScope: "system", addonId: null, access: "create" },
|
|
4770
4990
|
"audioMetrics.getCurrentSnapshot": { capName: "audio-metrics", capScope: "device", addonId: null, access: "view" },
|
|
4771
4991
|
"audioMetrics.getHistory": { capName: "audio-metrics", capScope: "device", addonId: null, access: "view" },
|
|
4772
|
-
"authentication.listProviders": { capName: "authentication", capScope: "system", addonId: null, access: "view" },
|
|
4773
|
-
"authentication.setProviderEnabled": { capName: "authentication", capScope: "system", addonId: null, access: "create" },
|
|
4774
4992
|
"authProvider.getLoginUrl": { capName: "auth-provider", capScope: "system", addonId: null, access: "view" },
|
|
4775
4993
|
"authProvider.handleCallback": { capName: "auth-provider", capScope: "system", addonId: null, access: "create" },
|
|
4776
4994
|
"authProvider.validateCredentials": { capName: "auth-provider", capScope: "system", addonId: null, access: "create" },
|
|
@@ -4792,11 +5010,14 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4792
5010
|
"cameraStreams.getRtspEntries": { capName: "camera-streams", capScope: "device", addonId: null, access: "view" },
|
|
4793
5011
|
"decoder.createSession": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4794
5012
|
"decoder.destroySession": { capName: "decoder", capScope: "system", addonId: null, access: "delete" },
|
|
5013
|
+
"decoder.getFrame": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4795
5014
|
"decoder.getInfo": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
5015
|
+
"decoder.getShmStats": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4796
5016
|
"decoder.getStats": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4797
5017
|
"decoder.listActiveSessions": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4798
5018
|
"decoder.openStream": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4799
5019
|
"decoder.pullFrames": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
5020
|
+
"decoder.pullHandles": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4800
5021
|
"decoder.pushPacket": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4801
5022
|
"decoder.reprobeHwaccel": { capName: "decoder", capScope: "system", addonId: null, access: "create" },
|
|
4802
5023
|
"decoder.supportsCodec": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4912,12 +5133,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4912
5133
|
"meshNetwork.logout": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4913
5134
|
"meshNetwork.startLogin": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4914
5135
|
"meshNetwork.testConnection": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4915
|
-
"meshOrchestrator.joinProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4916
|
-
"meshOrchestrator.leaveProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4917
|
-
"meshOrchestrator.listProviderPeers": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
4918
|
-
"meshOrchestrator.listProviders": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
4919
|
-
"meshOrchestrator.logoutProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4920
|
-
"meshOrchestrator.startLoginProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4921
5136
|
"metricsProvider.collectSnapshot": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
4922
5137
|
"metricsProvider.getAddonStats": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
4923
5138
|
"metricsProvider.getCached": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4934,6 +5149,8 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4934
5149
|
"motionDetection.removeCamera": { capName: "motion-detection", capScope: "device", addonId: null, access: "delete" },
|
|
4935
5150
|
"motionDetection.reset": { capName: "motion-detection", capScope: "device", addonId: null, access: "delete" },
|
|
4936
5151
|
"motionTrigger.setMotionTrigger": { capName: "motion-trigger", capScope: "device", addonId: null, access: "create" },
|
|
5152
|
+
"motionZones.getOptions": { capName: "motion-zones", capScope: "device", addonId: null, access: "view" },
|
|
5153
|
+
"motionZones.setZone": { capName: "motion-zones", capScope: "device", addonId: null, access: "create" },
|
|
4937
5154
|
"mqttBroker.addBroker": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "create" },
|
|
4938
5155
|
"mqttBroker.getBrokerConfig": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "view" },
|
|
4939
5156
|
"mqttBroker.getStatus": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4953,6 +5170,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4953
5170
|
"nodes.clusterAddonStatus": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4954
5171
|
"nodes.deployAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4955
5172
|
"nodes.executeQuery": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
5173
|
+
"nodes.getCapUsageGraph": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4956
5174
|
"nodes.getNodeAddons": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4957
5175
|
"nodes.renameNode": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4958
5176
|
"nodes.restartAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
@@ -4964,6 +5182,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4964
5182
|
"nodes.undeployAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4965
5183
|
"notificationOutput.send": { capName: "notification-output", capScope: "system", addonId: null, access: "create" },
|
|
4966
5184
|
"notificationOutput.sendTest": { capName: "notification-output", capScope: "system", addonId: null, access: "create" },
|
|
5185
|
+
"oauthIntegration.getDescriptor": { capName: "oauth-integration", capScope: "system", addonId: null, access: "view" },
|
|
4967
5186
|
"osd.setOverlay": { capName: "osd", capScope: "device", addonId: null, access: "create" },
|
|
4968
5187
|
"pipelineAnalytics.clearTracks": { capName: "pipeline-analytics", capScope: "device", addonId: null, access: "delete" },
|
|
4969
5188
|
"pipelineAnalytics.getActiveTracks": { capName: "pipeline-analytics", capScope: "device", addonId: null, access: "view" },
|
|
@@ -5057,11 +5276,15 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5057
5276
|
"platformProbe.resolveHwAccel": { capName: "platform-probe", capScope: "system", addonId: null, access: "view" },
|
|
5058
5277
|
"platformProbe.resolveInferenceConfig": { capName: "platform-probe", capScope: "system", addonId: null, access: "view" },
|
|
5059
5278
|
"ptz.continuousMove": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5279
|
+
"ptz.deletePreset": { capName: "ptz", capScope: "device", addonId: null, access: "delete" },
|
|
5280
|
+
"ptz.getOptions": { capName: "ptz", capScope: "device", addonId: null, access: "view" },
|
|
5060
5281
|
"ptz.getPosition": { capName: "ptz", capScope: "device", addonId: null, access: "view" },
|
|
5061
5282
|
"ptz.getPresets": { capName: "ptz", capScope: "device", addonId: null, access: "view" },
|
|
5062
5283
|
"ptz.goHome": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5063
5284
|
"ptz.goToPreset": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5064
5285
|
"ptz.move": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5286
|
+
"ptz.savePreset": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5287
|
+
"ptz.setAutofocus": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5065
5288
|
"ptz.stop": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5066
5289
|
"ptzAutotrack.getSettings": { capName: "ptz-autotrack", capScope: "device", addonId: null, access: "view" },
|
|
5067
5290
|
"ptzAutotrack.getStatus": { capName: "ptz-autotrack", capScope: "device", addonId: null, access: "view" },
|
|
@@ -5089,9 +5312,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5089
5312
|
"recordingEngine.setPolicy": { capName: "recording-engine", capScope: "system", addonId: null, access: "create" },
|
|
5090
5313
|
"recordingEngine.updateConfig": { capName: "recording-engine", capScope: "system", addonId: null, access: "create" },
|
|
5091
5314
|
"recordingEngine.updateRetentionConfig": { capName: "recording-engine", capScope: "system", addonId: null, access: "create" },
|
|
5092
|
-
"remoteAccess.listProviders": { capName: "remote-access", capScope: "system", addonId: null, access: "view" },
|
|
5093
|
-
"remoteAccess.startProvider": { capName: "remote-access", capScope: "system", addonId: null, access: "create" },
|
|
5094
|
-
"remoteAccess.stopProvider": { capName: "remote-access", capScope: "system", addonId: null, access: "create" },
|
|
5095
5315
|
"restreamer.getExposedResources": { capName: "restreamer", capScope: "system", addonId: null, access: "view" },
|
|
5096
5316
|
"restreamer.registerDevice": { capName: "restreamer", capScope: "system", addonId: null, access: "create" },
|
|
5097
5317
|
"restreamer.unregisterDevice": { capName: "restreamer", capScope: "system", addonId: null, access: "delete" },
|
|
@@ -5152,7 +5372,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5152
5372
|
"storageProvider.writeChunk": { capName: "storage-provider", capScope: "system", addonId: null, access: "create" },
|
|
5153
5373
|
"streamBroker.assignProfile": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5154
5374
|
"streamBroker.getAllRtspEntries": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5155
|
-
"streamBroker.getBroker": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5156
5375
|
"streamBroker.getBrokerStats": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5157
5376
|
"streamBroker.getPreBufferInfo": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5158
5377
|
"streamBroker.getRtspEntry": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
@@ -5165,17 +5384,26 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5165
5384
|
"streamBroker.listAllProfileSlots": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5166
5385
|
"streamBroker.listClients": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5167
5386
|
"streamBroker.publishCameraStream": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5387
|
+
"streamBroker.pullAudioChunks": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5388
|
+
"streamBroker.pullFrameHandles": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5168
5389
|
"streamBroker.regenerateRtspToken": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5169
5390
|
"streamBroker.releaseStreamWithCodec": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5170
5391
|
"streamBroker.restartProfile": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5171
5392
|
"streamBroker.retractCameraStream": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5172
5393
|
"streamBroker.setPreBufferDuration": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5173
5394
|
"streamBroker.setRtspEnabled": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5395
|
+
"streamBroker.subscribeAudioChunks": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5396
|
+
"streamBroker.subscribeFrames": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5174
5397
|
"streamBroker.unassignProfile": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5398
|
+
"streamBroker.unsubscribeAudioChunks": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5399
|
+
"streamBroker.unsubscribeFrames": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5175
5400
|
"streamingEngine.getStreamUrl": { capName: "streaming-engine", capScope: "system", addonId: null, access: "view" },
|
|
5176
5401
|
"streamingEngine.listStreams": { capName: "streaming-engine", capScope: "system", addonId: null, access: "view" },
|
|
5177
5402
|
"streamingEngine.registerStream": { capName: "streaming-engine", capScope: "system", addonId: null, access: "create" },
|
|
5178
5403
|
"streamingEngine.unregisterStream": { capName: "streaming-engine", capScope: "system", addonId: null, access: "delete" },
|
|
5404
|
+
"streamParams.getConfigSchema": { capName: "stream-params", capScope: "device", addonId: null, access: "view" },
|
|
5405
|
+
"streamParams.getOptions": { capName: "stream-params", capScope: "device", addonId: null, access: "view" },
|
|
5406
|
+
"streamParams.setProfile": { capName: "stream-params", capScope: "device", addonId: null, access: "create" },
|
|
5179
5407
|
"switch.setState": { capName: "switch", capScope: "device", addonId: null, access: "create" },
|
|
5180
5408
|
"system.featureFlags": { capName: "system", capScope: "system", addonId: null, access: "view" },
|
|
5181
5409
|
"system.forceRetentionCleanup": { capName: "system", capScope: "system", addonId: null, access: "create" },
|
|
@@ -5185,9 +5413,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5185
5413
|
"system.networkAddresses": { capName: "system", capScope: "system", addonId: null, access: "view" },
|
|
5186
5414
|
"system.setRetentionConfig": { capName: "system", capScope: "system", addonId: null, access: "create" },
|
|
5187
5415
|
"toast.onToast": { capName: "toast", capScope: "system", addonId: null, access: "view" },
|
|
5188
|
-
"turnOrchestrator.getAllServers": { capName: "turn-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
5189
|
-
"turnOrchestrator.listProviders": { capName: "turn-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
5190
|
-
"turnOrchestrator.setProviderEnabled": { capName: "turn-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
5191
5416
|
"turnProvider.getTurnServers": { capName: "turn-provider", capScope: "system", addonId: null, access: "view" },
|
|
5192
5417
|
"userManagement.confirmTotp": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5193
5418
|
"userManagement.createApiKey": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
@@ -5197,10 +5422,16 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5197
5422
|
"userManagement.disableTotp": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5198
5423
|
"userManagement.getTotpStatus": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5199
5424
|
"userManagement.listApiKeys": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5425
|
+
"userManagement.listOauthSessions": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5200
5426
|
"userManagement.listScopedTokens": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5201
5427
|
"userManagement.listUsers": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5428
|
+
"userManagement.oauthExchangeCode": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5429
|
+
"userManagement.oauthIssueCode": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5430
|
+
"userManagement.oauthRefresh": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5431
|
+
"userManagement.oauthVerifyAccessToken": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5202
5432
|
"userManagement.resetPassword": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5203
5433
|
"userManagement.revokeApiKey": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5434
|
+
"userManagement.revokeOauthSession": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5204
5435
|
"userManagement.revokeScopedToken": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5205
5436
|
"userManagement.setupTotp": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5206
5437
|
"userManagement.setUserScopes": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
@@ -5256,7 +5487,6 @@ const KNOWN_CAP_NAMES = [
|
|
|
5256
5487
|
"audio-codec",
|
|
5257
5488
|
"audio-metrics",
|
|
5258
5489
|
"auth-provider",
|
|
5259
|
-
"authentication",
|
|
5260
5490
|
"backup",
|
|
5261
5491
|
"brightness",
|
|
5262
5492
|
"camera-credentials",
|
|
@@ -5275,16 +5505,17 @@ const KNOWN_CAP_NAMES = [
|
|
|
5275
5505
|
"local-network",
|
|
5276
5506
|
"log-destination",
|
|
5277
5507
|
"mesh-network",
|
|
5278
|
-
"mesh-orchestrator",
|
|
5279
5508
|
"metrics-provider",
|
|
5280
5509
|
"motion",
|
|
5281
5510
|
"motion-detection",
|
|
5282
5511
|
"motion-trigger",
|
|
5512
|
+
"motion-zones",
|
|
5283
5513
|
"mqtt-broker",
|
|
5284
5514
|
"network-access",
|
|
5285
5515
|
"network-quality",
|
|
5286
5516
|
"nodes",
|
|
5287
5517
|
"notification-output",
|
|
5518
|
+
"oauth-integration",
|
|
5288
5519
|
"osd",
|
|
5289
5520
|
"pipeline-analytics",
|
|
5290
5521
|
"pipeline-executor",
|
|
@@ -5296,7 +5527,6 @@ const KNOWN_CAP_NAMES = [
|
|
|
5296
5527
|
"reboot",
|
|
5297
5528
|
"recording",
|
|
5298
5529
|
"recording-engine",
|
|
5299
|
-
"remote-access",
|
|
5300
5530
|
"restreamer",
|
|
5301
5531
|
"settings-store",
|
|
5302
5532
|
"smtp-provider",
|
|
@@ -5306,11 +5536,11 @@ const KNOWN_CAP_NAMES = [
|
|
|
5306
5536
|
"storage",
|
|
5307
5537
|
"storage-provider",
|
|
5308
5538
|
"stream-broker",
|
|
5539
|
+
"stream-params",
|
|
5309
5540
|
"streaming-engine",
|
|
5310
5541
|
"switch",
|
|
5311
5542
|
"system",
|
|
5312
5543
|
"toast",
|
|
5313
|
-
"turn-orchestrator",
|
|
5314
5544
|
"turn-provider",
|
|
5315
5545
|
"user-management",
|
|
5316
5546
|
"user-passkeys",
|
|
@@ -5333,6 +5563,7 @@ const DEVICE_CAP_NAMES = [
|
|
|
5333
5563
|
"motion",
|
|
5334
5564
|
"motion-detection",
|
|
5335
5565
|
"motion-trigger",
|
|
5566
|
+
"motion-zones",
|
|
5336
5567
|
"osd",
|
|
5337
5568
|
"pipeline-analytics",
|
|
5338
5569
|
"ptz",
|
|
@@ -5340,6 +5571,7 @@ const DEVICE_CAP_NAMES = [
|
|
|
5340
5571
|
"reboot",
|
|
5341
5572
|
"recording",
|
|
5342
5573
|
"snapshot",
|
|
5574
|
+
"stream-params",
|
|
5343
5575
|
"switch",
|
|
5344
5576
|
"webrtc-session",
|
|
5345
5577
|
"zone-analytics",
|
|
@@ -5360,7 +5592,6 @@ const SYSTEM_CAP_NAMES = [
|
|
|
5360
5592
|
"audio-analyzer",
|
|
5361
5593
|
"audio-codec",
|
|
5362
5594
|
"auth-provider",
|
|
5363
|
-
"authentication",
|
|
5364
5595
|
"backup",
|
|
5365
5596
|
"decoder",
|
|
5366
5597
|
"device-export",
|
|
@@ -5372,19 +5603,18 @@ const SYSTEM_CAP_NAMES = [
|
|
|
5372
5603
|
"local-network",
|
|
5373
5604
|
"log-destination",
|
|
5374
5605
|
"mesh-network",
|
|
5375
|
-
"mesh-orchestrator",
|
|
5376
5606
|
"metrics-provider",
|
|
5377
5607
|
"mqtt-broker",
|
|
5378
5608
|
"network-access",
|
|
5379
5609
|
"network-quality",
|
|
5380
5610
|
"nodes",
|
|
5381
5611
|
"notification-output",
|
|
5612
|
+
"oauth-integration",
|
|
5382
5613
|
"pipeline-executor",
|
|
5383
5614
|
"pipeline-orchestrator",
|
|
5384
5615
|
"pipeline-runner",
|
|
5385
5616
|
"platform-probe",
|
|
5386
5617
|
"recording-engine",
|
|
5387
|
-
"remote-access",
|
|
5388
5618
|
"restreamer",
|
|
5389
5619
|
"settings-store",
|
|
5390
5620
|
"smtp-provider",
|
|
@@ -5396,7 +5626,6 @@ const SYSTEM_CAP_NAMES = [
|
|
|
5396
5626
|
"streaming-engine",
|
|
5397
5627
|
"system",
|
|
5398
5628
|
"toast",
|
|
5399
|
-
"turn-orchestrator",
|
|
5400
5629
|
"turn-provider",
|
|
5401
5630
|
"user-management",
|
|
5402
5631
|
"user-passkeys",
|
|
@@ -5514,317 +5743,335 @@ function bindAddonActions(api, addonId, catalog) {
|
|
|
5514
5743
|
return out;
|
|
5515
5744
|
}
|
|
5516
5745
|
export {
|
|
5517
|
-
|
|
5746
|
+
aw as ACCESSORY_LABEL,
|
|
5518
5747
|
ALL_CAPABILITY_DEFINITIONS,
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
b8 as AvailableIntegrationTypeSchema,
|
|
5748
|
+
ax as APPLE_SA_TO_MACRO,
|
|
5749
|
+
ay as AUDIO_BACKEND_CHOICES,
|
|
5750
|
+
az as AUDIO_MACRO_LABELS,
|
|
5751
|
+
aA as AccessoriesStatusSchema,
|
|
5752
|
+
aB as AccessoryKind,
|
|
5753
|
+
aC as AddBrokerInputSchema,
|
|
5754
|
+
aD as AddonAutoUpdateSchema,
|
|
5755
|
+
aE as AddonListItemSchema,
|
|
5756
|
+
aF as AddonPageDeclarationSchema,
|
|
5757
|
+
aG as AddonPageInfoSchema,
|
|
5758
|
+
aH as AgentLoadSummarySchema,
|
|
5759
|
+
aI as AlertSchema,
|
|
5760
|
+
aJ as AlertSeveritySchema,
|
|
5761
|
+
aK as AlertSourceSchema,
|
|
5762
|
+
aL as AlertStatusSchema,
|
|
5763
|
+
aM as ApiKeyRecordSchema,
|
|
5764
|
+
aN as ApiKeySummarySchema,
|
|
5765
|
+
aO as ArchiveEntrySchema,
|
|
5766
|
+
aP as ArchiveManifestSchema,
|
|
5767
|
+
aQ as AudioAnalysisResultSchema,
|
|
5768
|
+
aR as AudioAnalysisSettingsSchema,
|
|
5769
|
+
aS as AudioChunkInputSchema,
|
|
5770
|
+
aT as AudioClassSummarySchema,
|
|
5771
|
+
aU as AudioClassificationLabelSchema,
|
|
5772
|
+
aV as AudioClassificationResultSchema,
|
|
5773
|
+
aW as AudioCodecInfoSchema,
|
|
5774
|
+
aX as AudioDecodeSessionConfigSchema,
|
|
5775
|
+
aY as AudioEncodeSessionConfigSchema,
|
|
5776
|
+
aZ as AudioEncodedChunkSchema,
|
|
5777
|
+
a_ as AudioEventSchema,
|
|
5778
|
+
a$ as AudioLevelSchema,
|
|
5779
|
+
b0 as AudioMetricsHistoryPointSchema,
|
|
5780
|
+
b1 as AudioMetricsHistorySchema,
|
|
5781
|
+
b2 as AudioMetricsSnapshotSchema,
|
|
5782
|
+
b3 as AudioPcmChunkSchema,
|
|
5783
|
+
b4 as AuthResultSchema,
|
|
5784
|
+
b5 as AutoUpdateSettingsSchema,
|
|
5785
|
+
b6 as AvailableIntegrationTypeSchema,
|
|
5558
5786
|
BACKEND_TO_FORMAT,
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5787
|
+
b7 as BATTERY_DEVICE_PROFILE,
|
|
5788
|
+
b8 as BackupDestinationInfoSchema,
|
|
5789
|
+
b9 as BackupEntrySchema,
|
|
5562
5790
|
BaseAddon,
|
|
5563
5791
|
BaseDevice,
|
|
5564
5792
|
BaseDeviceProvider,
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5793
|
+
ba as BatteryStatusSchema,
|
|
5794
|
+
bb as BoundingBoxSchema,
|
|
5795
|
+
bc as BrightnessStatusSchema,
|
|
5796
|
+
bd as BrokerAudioClientSchema,
|
|
5797
|
+
be as BrokerClientsSchema,
|
|
5798
|
+
bf as BrokerConnectionDetailsSchema,
|
|
5799
|
+
bg as BrokerDecodedClientSchema,
|
|
5800
|
+
bh as BrokerInfoSchema,
|
|
5801
|
+
bi as BrokerRtspClientSchema,
|
|
5802
|
+
bj as BrokerStatsSchema,
|
|
5803
|
+
bk as BrokerStatusSchema,
|
|
5804
|
+
bl as CAM_PROFILE_ORDER,
|
|
5577
5805
|
CAPABILITY_NAMES,
|
|
5578
5806
|
CAPABILITY_ROUTER_KEYS,
|
|
5579
5807
|
CAP_NAMES_WITH_STATUS,
|
|
5580
5808
|
CAP_PROVIDER_KIND_MAP,
|
|
5581
5809
|
COCO_80_LABELS,
|
|
5582
5810
|
COCO_TO_MACRO,
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
DEFAULT_ADDON_GROUP,
|
|
5811
|
+
bm as CamProfileSchema,
|
|
5812
|
+
bn as CamStreamKindSchema,
|
|
5813
|
+
bo as CamStreamResolutionSchema,
|
|
5814
|
+
bp as CameraCredentialsSchema,
|
|
5815
|
+
bq as CameraCredentialsStatusSchema,
|
|
5816
|
+
br as CameraMetricsSchema,
|
|
5817
|
+
bs as CameraMetricsWithDeviceIdSchema,
|
|
5818
|
+
bt as CameraStreamSchema,
|
|
5819
|
+
bu as CapScopeSchema,
|
|
5820
|
+
bv as CapabilityBindingsSchema,
|
|
5821
|
+
bw as ChargingStatus,
|
|
5822
|
+
bx as ClientNetworkStatsSchema,
|
|
5823
|
+
by as ClusterAddonNodeDeploymentSchema,
|
|
5824
|
+
bz as ClusterAddonStatusEntrySchema,
|
|
5825
|
+
bA as CollectionColumnSchema,
|
|
5826
|
+
bB as CollectionIndexSchema,
|
|
5827
|
+
bC as ConfigEntrySchema,
|
|
5828
|
+
bD as ConfigSectionWithValuesSchema,
|
|
5829
|
+
bE as ConfigTabDeclarationSchema,
|
|
5830
|
+
bF as CreateApiKeyInputSchema,
|
|
5831
|
+
bG as CreateApiKeyResultSchema,
|
|
5832
|
+
bH as CreateIntegrationInputSchema,
|
|
5833
|
+
bI as CreateScopedTokenInputSchema,
|
|
5834
|
+
bJ as CreateScopedTokenResultSchema,
|
|
5835
|
+
bK as CreateUserInputSchema,
|
|
5836
|
+
bL as CustomActionInputSchema,
|
|
5610
5837
|
DEFAULT_ADDON_PLACEMENT,
|
|
5611
|
-
|
|
5612
|
-
|
|
5838
|
+
bM as DEFAULT_AUDIO_ANALYZER_CONFIG,
|
|
5839
|
+
bN as DEFAULT_DECODER_HWACCEL_CONFIG,
|
|
5613
5840
|
DEFAULT_FEATURES,
|
|
5614
5841
|
DEFAULT_LOCATION_SUBDIRS,
|
|
5615
5842
|
DEFAULT_RETENTION,
|
|
5616
5843
|
DEVICE_CAP_NAMES,
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5844
|
+
bO as DEVICE_PROFILES,
|
|
5845
|
+
bP as DEVICE_SETTINGS_CONTRIBUTION_METHODS,
|
|
5846
|
+
bQ as DEVICE_STATUS_METHOD,
|
|
5620
5847
|
DEVICE_TYPE_INFO,
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5848
|
+
bR as DecodedAudioChunkSchema,
|
|
5849
|
+
bS as DecodedFrameSchema,
|
|
5850
|
+
bT as DecoderAssignmentSchema,
|
|
5851
|
+
bU as DecoderSessionConfigSchema,
|
|
5852
|
+
bV as DecoderStatsSchema,
|
|
5853
|
+
bW as DeleteIntegrationResultSchema,
|
|
5854
|
+
bX as DetectorOutputSchema,
|
|
5627
5855
|
DeviceConfig,
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5856
|
+
bY as DeviceDiscoveryStatusSchema,
|
|
5857
|
+
bZ as DeviceExportExposeInputSchema,
|
|
5858
|
+
b_ as DeviceExportStatusSchema,
|
|
5859
|
+
b$ as DeviceExportUnexposeInputSchema,
|
|
5860
|
+
c0 as DeviceFeature,
|
|
5861
|
+
c1 as DeviceInfoSchema,
|
|
5862
|
+
c2 as DeviceNetworkStatsSchema,
|
|
5863
|
+
c3 as DeviceRole,
|
|
5636
5864
|
DeviceRuntimeState,
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5865
|
+
c4 as DeviceStatusSchema,
|
|
5866
|
+
c5 as DeviceType,
|
|
5867
|
+
c6 as DiscoveredChildDeviceSchema,
|
|
5868
|
+
c7 as DiscoveredChildStatusSchema,
|
|
5869
|
+
c8 as DiscoveredDeviceSchema,
|
|
5642
5870
|
DisposerChain,
|
|
5643
|
-
|
|
5644
|
-
|
|
5871
|
+
c9 as DoorbellPressEventSchema,
|
|
5872
|
+
ca as DoorbellStatusSchema,
|
|
5645
5873
|
ElementConfigStore,
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5874
|
+
cb as EmbeddingInfoSchema,
|
|
5875
|
+
cc as EmbeddingResultSchema,
|
|
5876
|
+
cd as EncodedPacketSchema,
|
|
5877
|
+
ce as EnrichedWidgetMetadataSchema,
|
|
5650
5878
|
EventCategory,
|
|
5651
|
-
|
|
5652
|
-
|
|
5879
|
+
cf as EventItemSchema,
|
|
5880
|
+
cg as EventKindSchema,
|
|
5653
5881
|
EventSourceType,
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5882
|
+
ch as ExportSetupFieldSchema,
|
|
5883
|
+
ci as ExportSetupSchema,
|
|
5884
|
+
cj as ExposedDeviceSchema,
|
|
5885
|
+
ck as ExposedResourceSchema,
|
|
5886
|
+
cl as FeatureManifestSchema,
|
|
5887
|
+
cm as FeatureProbeStatusSchema,
|
|
5888
|
+
cn as FrameHandleFormatSchema,
|
|
5889
|
+
co as FrameHandleSchema,
|
|
5890
|
+
cp as FrameInputSchema,
|
|
5891
|
+
cq as GetStreamWithCodecInputSchema,
|
|
5892
|
+
cr as GlobalMetricsSchema,
|
|
5663
5893
|
HF_BASE_URL,
|
|
5664
5894
|
HF_REPO,
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5895
|
+
cs as HWACCEL_OPTIONS,
|
|
5896
|
+
ct as HealthStatusSchema,
|
|
5897
|
+
cu as HistoryPointSchema,
|
|
5898
|
+
cv as HistoryResolutionEnum,
|
|
5899
|
+
cw as InstalledPackageSchema,
|
|
5900
|
+
cx as IntegrationLiteSchema,
|
|
5901
|
+
cy as IntegrationWithStateSchema,
|
|
5902
|
+
cz as IntercomAbilitySchema,
|
|
5903
|
+
cA as IntercomStatusSchema,
|
|
5674
5904
|
KNOWN_CAP_NAMES,
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5905
|
+
cB as LocationStatSchema,
|
|
5906
|
+
cC as LogEntrySchema,
|
|
5907
|
+
cD as LogLevelSchema,
|
|
5908
|
+
cE as LogStreamEntrySchema,
|
|
5679
5909
|
MACRO_LABELS,
|
|
5680
5910
|
METHOD_ACCESS_MAP,
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5911
|
+
cF as MODEL_FORMATS,
|
|
5912
|
+
cG as MediaFileSchema,
|
|
5913
|
+
cH as MeshPeerSchema,
|
|
5914
|
+
cI as MeshStatusSchema,
|
|
5915
|
+
cJ as MethodAccessSchema,
|
|
5916
|
+
cK as MotionAnalysisResultSchema,
|
|
5917
|
+
cL as MotionEventSchema,
|
|
5918
|
+
cM as MotionOnMotionChangedDataSchema,
|
|
5919
|
+
cN as MotionRegionSchema,
|
|
5920
|
+
cO as MotionSourceEnum,
|
|
5921
|
+
cP as MotionSourcesSchema,
|
|
5922
|
+
cQ as MotionStatusSchema,
|
|
5923
|
+
cR as MotionTriggerRuntimeStateSchema,
|
|
5924
|
+
cS as MotionTriggerStatusSchema,
|
|
5925
|
+
cT as MotionZoneOptionsSchema,
|
|
5926
|
+
cU as MotionZonePatchSchema,
|
|
5927
|
+
cV as MotionZoneStatusSchema,
|
|
5928
|
+
cW as MqttBrokerStatusSchema,
|
|
5929
|
+
cX as NativeDetectionSchema,
|
|
5930
|
+
cY as NativeObjectClassEnum,
|
|
5931
|
+
cZ as NativeObjectDetectionStatusSchema,
|
|
5932
|
+
c_ as NetworkAccessStatusSchema,
|
|
5933
|
+
c$ as NetworkAddressSchema,
|
|
5934
|
+
d0 as NetworkEndpointSchema,
|
|
5935
|
+
d1 as NotificationHistoryEntrySchema,
|
|
5936
|
+
d2 as NotificationRuleSchema,
|
|
5937
|
+
d3 as NotificationSchema,
|
|
5938
|
+
d4 as OauthIntegrationDescriptorSchema,
|
|
5939
|
+
d5 as ObjectEventSchema,
|
|
5940
|
+
d6 as OrchestratorMetricsSchema,
|
|
5941
|
+
d7 as OsdOverlayKindEnum,
|
|
5942
|
+
d8 as OsdOverlayPatchSchema,
|
|
5943
|
+
d9 as OsdOverlaySchema,
|
|
5944
|
+
da as OsdPositionEnum,
|
|
5945
|
+
db as OsdStatusSchema,
|
|
5946
|
+
dc as PIPELINE_FLOW_CAPABILITY_NAMES,
|
|
5947
|
+
dd as PIPELINE_OWNER_CAPABILITY_NAMES,
|
|
5712
5948
|
PROVIDER_KIND_CAP_NAMES,
|
|
5713
5949
|
PYTHON_SCRIPT,
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5950
|
+
de as PackageUpdateSchema,
|
|
5951
|
+
df as PackageVersionInfoSchema,
|
|
5952
|
+
dg as PasskeySummarySchema,
|
|
5953
|
+
dh as PcmSampleFormatSchema,
|
|
5954
|
+
di as PerScopeBreakdownSchema,
|
|
5955
|
+
dj as PipelineAssignmentSchema,
|
|
5956
|
+
dk as PipelineDefaultStepSchema,
|
|
5957
|
+
dl as PipelineEngineChoiceSchema,
|
|
5958
|
+
dm as PipelineRunResultBridge,
|
|
5959
|
+
dn as PipelineStepInputSchema,
|
|
5960
|
+
dp as PlaceholderReasonSchema,
|
|
5961
|
+
dq as PolygonPointSchema,
|
|
5962
|
+
dr as ProfileSlotSchema,
|
|
5963
|
+
ds as ProfileSlotStatusSchema,
|
|
5964
|
+
dt as ProviderStatusSchema,
|
|
5965
|
+
du as PtzAutotrackRuntimeStateSchema,
|
|
5966
|
+
dv as PtzAutotrackSettingsSchema,
|
|
5967
|
+
dw as PtzAutotrackStatusSchema,
|
|
5968
|
+
dx as PtzAutotrackTargetOptionSchema,
|
|
5969
|
+
dy as PtzMoveCommandSchema,
|
|
5970
|
+
dz as PtzPositionSchema,
|
|
5971
|
+
dA as PtzPresetSchema,
|
|
5972
|
+
dB as PtzStatusSchema,
|
|
5973
|
+
dC as QueryFilterSchema,
|
|
5737
5974
|
RECOGNITION_TYPES,
|
|
5738
5975
|
RUNTIME_DEFAULTS,
|
|
5739
5976
|
RUNTIME_TO_FORMAT,
|
|
5740
5977
|
ReadinessRegistry,
|
|
5741
5978
|
ReadinessTimeoutError,
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
dx as RemoteAccessProviderInfoSchema,
|
|
5745
|
-
dy as ReportMotionInputSchema,
|
|
5979
|
+
dD as RegisteredStreamSchema,
|
|
5980
|
+
dE as ReportMotionInputSchema,
|
|
5746
5981
|
RingBuffer,
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5982
|
+
dF as RtpSourceSchema,
|
|
5983
|
+
dG as RtspRestreamEntrySchema,
|
|
5984
|
+
dH as RunnerCameraConfigSchema,
|
|
5985
|
+
dI as RunnerCameraDeviceUIFields,
|
|
5986
|
+
dJ as RunnerLocalLoadSchema,
|
|
5987
|
+
dK as RunnerLocalMetricsSchema,
|
|
5753
5988
|
SCOPE_PRESETS,
|
|
5754
|
-
|
|
5989
|
+
dL as STORAGE_LOCATION_CARDINALITY,
|
|
5755
5990
|
STORAGE_LOCATION_TYPES,
|
|
5991
|
+
STREAM_PROFILE_META,
|
|
5756
5992
|
STREAM_QUALITY_LABELS,
|
|
5757
5993
|
SUB_DETECTION_TYPES,
|
|
5758
5994
|
SYSTEM_CAP_NAMES,
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5995
|
+
dM as ScopedTokenSchema,
|
|
5996
|
+
dN as ScopedTokenSummarySchema,
|
|
5997
|
+
dO as SearchResultSchema,
|
|
5998
|
+
dP as SegmentSchema,
|
|
5999
|
+
dQ as SendEmailInputSchema,
|
|
6000
|
+
dR as SendEmailResultSchema,
|
|
6001
|
+
dS as SettingsPatchSchema,
|
|
6002
|
+
dT as SettingsRecordSchema,
|
|
6003
|
+
dU as SettingsSchemaWithValuesSchema,
|
|
6004
|
+
dV as SettingsUpdateResultSchema,
|
|
6005
|
+
dW as ShmRingStatsSchema,
|
|
6006
|
+
dX as SmtpStatusSchema,
|
|
6007
|
+
dY as SnapshotImageSchema,
|
|
6008
|
+
dZ as SpatialDetectionSchema,
|
|
6009
|
+
d_ as SsoBridgeClaimsSchema,
|
|
6010
|
+
d$ as StartEmbeddedInputSchema,
|
|
6011
|
+
e0 as StorageAbortUploadInputSchema,
|
|
6012
|
+
e1 as StorageBeginDownloadInputSchema,
|
|
6013
|
+
e2 as StorageBeginDownloadResultSchema,
|
|
6014
|
+
e3 as StorageBeginUploadInputSchema,
|
|
6015
|
+
e4 as StorageBeginUploadResultSchema,
|
|
6016
|
+
e5 as StorageEndDownloadInputSchema,
|
|
6017
|
+
e6 as StorageFinalizeUploadInputSchema,
|
|
6018
|
+
e7 as StorageLocationRefSchema,
|
|
6019
|
+
e8 as StorageLocationSchema,
|
|
6020
|
+
e9 as StorageLocationTypeSchema,
|
|
6021
|
+
ea as StorageProviderInfoSchema,
|
|
6022
|
+
eb as StorageReadChunkInputSchema,
|
|
6023
|
+
ec as StorageTestLocationResultSchema,
|
|
6024
|
+
ed as StorageWriteChunkInputSchema,
|
|
6025
|
+
ee as StreamFormatSchema,
|
|
6026
|
+
ef as StreamInfoSchema,
|
|
6027
|
+
eg as StreamNetworkStatsSchema,
|
|
6028
|
+
eh as StreamParamsOptionsSchema,
|
|
6029
|
+
ei as StreamParamsStatusSchema,
|
|
6030
|
+
ej as StreamProfileConfigSchema,
|
|
6031
|
+
ek as StreamProfileOptionsSchema,
|
|
6032
|
+
el as StreamProfilePatchSchema,
|
|
6033
|
+
em as StreamProfileSchema,
|
|
6034
|
+
en as StreamSourceEntrySchema,
|
|
6035
|
+
eo as StreamSourceSchema,
|
|
6036
|
+
ep as SubscribeAudioChunksInputSchema,
|
|
6037
|
+
eq as SubscribeAudioChunksResultSchema,
|
|
6038
|
+
er as SubscribeFramesInputSchema,
|
|
6039
|
+
es as SubscribeFramesResultSchema,
|
|
6040
|
+
et as SwitchStatusSchema,
|
|
6041
|
+
eu as SystemMetricsSchema,
|
|
5795
6042
|
SystemMirror,
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
6043
|
+
ev as TestConnectionResultSchema,
|
|
6044
|
+
ew as ToastSchema,
|
|
6045
|
+
ex as TokenScopeSchema,
|
|
6046
|
+
ey as TopologyNodeSchema,
|
|
6047
|
+
ez as TopologyProcessSchema,
|
|
6048
|
+
eA as TopologyServiceSchema,
|
|
6049
|
+
eB as TrackSchema,
|
|
6050
|
+
eC as TrackStateSchema,
|
|
6051
|
+
eD as TrackedDetectionSchema,
|
|
6052
|
+
eE as TurnServerSchema,
|
|
6053
|
+
eF as UpdateIntegrationInputSchema,
|
|
6054
|
+
eG as UpdateUserInputSchema,
|
|
6055
|
+
eH as UserRecordSchema,
|
|
6056
|
+
eI as UserSummarySchema,
|
|
6057
|
+
eJ as WELL_KNOWN_TABS,
|
|
6058
|
+
eK as WELL_KNOWN_TAB_MAP,
|
|
6059
|
+
eL as WebrtcStreamChoiceSchema,
|
|
6060
|
+
eM as WebrtcStreamTargetSchema,
|
|
6061
|
+
eN as WidgetHostEnum,
|
|
6062
|
+
eO as WidgetMetadataSchema,
|
|
6063
|
+
eP as WidgetRemoteSchema,
|
|
6064
|
+
eQ as WidgetSizeEnum,
|
|
6065
|
+
eR as YAMNET_TO_MACRO,
|
|
6066
|
+
eS as ZoneKindEnum,
|
|
6067
|
+
eT as ZoneRuleModeEnum,
|
|
6068
|
+
eU as ZoneRuleSchema,
|
|
6069
|
+
eV as ZoneRuleStageEnum,
|
|
6070
|
+
eW as ZoneRulesArraySchema,
|
|
6071
|
+
eX as ZoneSchema,
|
|
6072
|
+
eY as ZoneScopeBreakdownSchema,
|
|
5826
6073
|
accessoriesCapability,
|
|
5827
|
-
|
|
6074
|
+
eZ as accessoryStableId,
|
|
5828
6075
|
addonPagesCapability,
|
|
5829
6076
|
addonPagesSourceCapability,
|
|
5830
6077
|
addonRoutesCapability,
|
|
@@ -5845,13 +6092,13 @@ export {
|
|
|
5845
6092
|
audioCodecCapability,
|
|
5846
6093
|
audioMetricsCapability,
|
|
5847
6094
|
authProviderCapability,
|
|
5848
|
-
authenticationCapability,
|
|
5849
6095
|
autoAssignProfiles,
|
|
5850
6096
|
backupCapability,
|
|
5851
6097
|
batteryCapability,
|
|
5852
6098
|
bindAddonActions,
|
|
5853
6099
|
brightnessCapability,
|
|
5854
6100
|
buildAddonRouteProvider,
|
|
6101
|
+
buildStreamParamsConfigSchema,
|
|
5855
6102
|
cameraCredentialsCapability,
|
|
5856
6103
|
cameraStreamsCapability,
|
|
5857
6104
|
classifyStream,
|
|
@@ -5871,7 +6118,7 @@ export {
|
|
|
5871
6118
|
deviceDiscoveryCapability,
|
|
5872
6119
|
deviceExportCapability,
|
|
5873
6120
|
deviceManagerCapability,
|
|
5874
|
-
|
|
6121
|
+
e_ as deviceMatchesProfile,
|
|
5875
6122
|
deviceOpsCapability,
|
|
5876
6123
|
deviceProviderCapability,
|
|
5877
6124
|
deviceStateCapability,
|
|
@@ -5882,13 +6129,13 @@ export {
|
|
|
5882
6129
|
emitReadiness,
|
|
5883
6130
|
errMsg,
|
|
5884
6131
|
evaluateZoneRules,
|
|
5885
|
-
|
|
6132
|
+
e$ as event,
|
|
5886
6133
|
eventsCapability,
|
|
5887
|
-
|
|
6134
|
+
f0 as expandCapMethods,
|
|
5888
6135
|
featureProbeCapability,
|
|
5889
6136
|
formatForBackend,
|
|
5890
6137
|
formatForRuntime,
|
|
5891
|
-
|
|
6138
|
+
f1 as getAudioMacroClassIds,
|
|
5892
6139
|
getCapsByProviderKind,
|
|
5893
6140
|
hfModelUrl,
|
|
5894
6141
|
hydrateSchema,
|
|
@@ -5896,18 +6143,19 @@ export {
|
|
|
5896
6143
|
intercomCapability,
|
|
5897
6144
|
isAgentOnlyPlacement,
|
|
5898
6145
|
isDeployableToAgent,
|
|
6146
|
+
f2 as isDeviceConfigCap,
|
|
5899
6147
|
isEvent,
|
|
5900
6148
|
localNetworkCapability,
|
|
5901
6149
|
logDestinationCapability,
|
|
5902
|
-
|
|
6150
|
+
f3 as mapAudioLabelToMacro,
|
|
5903
6151
|
maskUrlCredentials,
|
|
5904
6152
|
meshNetworkCapability,
|
|
5905
|
-
|
|
5906
|
-
eO as method,
|
|
6153
|
+
f4 as method,
|
|
5907
6154
|
metricsProviderCapability,
|
|
5908
6155
|
motionCapability,
|
|
5909
6156
|
motionDetectionCapability,
|
|
5910
6157
|
motionTriggerCapability,
|
|
6158
|
+
motionZonesCapability,
|
|
5911
6159
|
mqttBrokerCapability,
|
|
5912
6160
|
nativeObjectDetectionCapability,
|
|
5913
6161
|
networkAccessCapability,
|
|
@@ -5915,11 +6163,13 @@ export {
|
|
|
5915
6163
|
nodesCapability,
|
|
5916
6164
|
normalizeAddonInitResult,
|
|
5917
6165
|
notificationOutputCapability,
|
|
6166
|
+
oauthIntegrationCapability,
|
|
5918
6167
|
osdCapability,
|
|
5919
6168
|
parseCameraStreamConfig,
|
|
5920
6169
|
parseJsonArray,
|
|
5921
6170
|
parseJsonObject,
|
|
5922
6171
|
parseJsonUnknown,
|
|
6172
|
+
parseStreamParamsFormPatch,
|
|
5923
6173
|
pipelineAnalyticsCapability,
|
|
5924
6174
|
pipelineExecutorCapability,
|
|
5925
6175
|
pipelineOrchestratorCapability,
|
|
@@ -5932,15 +6182,15 @@ export {
|
|
|
5932
6182
|
rebootCapability,
|
|
5933
6183
|
recordingCapability,
|
|
5934
6184
|
recordingEngineCapability,
|
|
5935
|
-
remoteAccessCapability,
|
|
5936
6185
|
requiresPython,
|
|
5937
6186
|
resolveAddonExecution,
|
|
5938
6187
|
resolveAddonGroup,
|
|
5939
6188
|
resolveAddonPlacement,
|
|
5940
6189
|
resolveAddonRuntime,
|
|
5941
6190
|
resolveDetectionRuntime,
|
|
5942
|
-
|
|
6191
|
+
f5 as resolveDeviceProfile,
|
|
5943
6192
|
resolveModelFormat,
|
|
6193
|
+
resolveRunnerId,
|
|
5944
6194
|
restreamerCapability,
|
|
5945
6195
|
runInferenceStep,
|
|
5946
6196
|
scopeKey,
|
|
@@ -5952,6 +6202,7 @@ export {
|
|
|
5952
6202
|
storageCapability,
|
|
5953
6203
|
storageProviderCapability,
|
|
5954
6204
|
streamBrokerCapability,
|
|
6205
|
+
streamParamsCapability,
|
|
5955
6206
|
streamPixels,
|
|
5956
6207
|
streamQualityLabel,
|
|
5957
6208
|
streamingEngineCapability,
|
|
@@ -5960,12 +6211,11 @@ export {
|
|
|
5960
6211
|
toDeviceSummary,
|
|
5961
6212
|
toStreamSourceEntry,
|
|
5962
6213
|
toastCapability,
|
|
5963
|
-
turnOrchestratorCapability,
|
|
5964
6214
|
turnProviderCapability,
|
|
5965
6215
|
userManagementCapability,
|
|
5966
6216
|
userPasskeysCapability,
|
|
5967
6217
|
webrtcCapability,
|
|
5968
|
-
|
|
6218
|
+
f6 as webrtcClientHintsSchema,
|
|
5969
6219
|
webrtcSessionCapability,
|
|
5970
6220
|
zodEntriesToConfigUI,
|
|
5971
6221
|
zoneAnalyticsCapability,
|