@camstack/types 0.1.35 → 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/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 +18 -11
- package/dist/capabilities/index.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/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 +1175 -51
- 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 -4
- 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 +4 -4
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-BkSgJYP7.js → index-BblD92Si.js} +600 -98
- package/dist/index-BblD92Si.js.map +1 -0
- package/dist/{index-CWhQOnm9.mjs → index-CgPd35k5.mjs} +949 -447
- 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 +313 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +587 -281
- 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 +6 -23
- 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/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/index-BkSgJYP7.js.map +0 -1
- package/dist/index-CWhQOnm9.mjs.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, p as ptzAutotrackCapability, m as motionTriggerCapability,
|
|
2
|
-
import {
|
|
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,
|
|
@@ -3303,6 +3326,9 @@ function createSystemProxy(api) {
|
|
|
3303
3326
|
pushPacket: (input) => dispatch("decoder", "pushPacket", "query", input),
|
|
3304
3327
|
openStream: (input) => dispatch("decoder", "openStream", "query", input),
|
|
3305
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),
|
|
3306
3332
|
updateConfig: (input) => dispatch("decoder", "updateConfig", "query", input),
|
|
3307
3333
|
getStats: (input) => dispatch("decoder", "getStats", "query", input),
|
|
3308
3334
|
listActiveSessions: (input) => dispatch("decoder", "listActiveSessions", "query", input),
|
|
@@ -3422,6 +3448,7 @@ function createSystemProxy(api) {
|
|
|
3422
3448
|
shutdownNode: (input) => dispatch("nodes", "shutdownNode", "mutation", input),
|
|
3423
3449
|
renameNode: (input) => dispatch("nodes", "renameNode", "mutation", input),
|
|
3424
3450
|
clusterAddonStatus: (input) => dispatch("nodes", "clusterAddonStatus", "query", input),
|
|
3451
|
+
getCapUsageGraph: (input) => dispatch("nodes", "getCapUsageGraph", "query", input),
|
|
3425
3452
|
getNodeAddons: (input) => dispatch("nodes", "getNodeAddons", "query", input),
|
|
3426
3453
|
setProcessLogLevel: (input) => dispatch("nodes", "setProcessLogLevel", "mutation", input),
|
|
3427
3454
|
executeQuery: (input) => dispatch("nodes", "executeQuery", "mutation", input)
|
|
@@ -3561,7 +3588,12 @@ function createSystemProxy(api) {
|
|
|
3561
3588
|
getStreamUrl: (input) => dispatch("streamBroker", "getStreamUrl", "query", input),
|
|
3562
3589
|
getStreamWithCodec: (input) => dispatch("streamBroker", "getStreamWithCodec", "mutation", input),
|
|
3563
3590
|
releaseStreamWithCodec: (input) => dispatch("streamBroker", "releaseStreamWithCodec", "mutation", input),
|
|
3564
|
-
|
|
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),
|
|
3565
3597
|
setPreBufferDuration: (input) => dispatch("streamBroker", "setPreBufferDuration", "mutation", input),
|
|
3566
3598
|
getPreBufferInfo: (input) => dispatch("streamBroker", "getPreBufferInfo", "query", input),
|
|
3567
3599
|
getRtspPort: (input) => dispatch("streamBroker", "getRtspPort", "query", input),
|
|
@@ -3606,7 +3638,13 @@ function createSystemProxy(api) {
|
|
|
3606
3638
|
confirmTotp: (input) => dispatch("userManagement", "confirmTotp", "mutation", input),
|
|
3607
3639
|
disableTotp: (input) => dispatch("userManagement", "disableTotp", "mutation", input),
|
|
3608
3640
|
getTotpStatus: (input) => dispatch("userManagement", "getTotpStatus", "query", input),
|
|
3609
|
-
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)
|
|
3610
3648
|
};
|
|
3611
3649
|
return {
|
|
3612
3650
|
addonPages: addonPagesInterface,
|
|
@@ -4397,6 +4435,205 @@ function customAction(input, output, options) {
|
|
|
4397
4435
|
scope: options?.scope ?? { kind: "system" }
|
|
4398
4436
|
};
|
|
4399
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
|
+
}
|
|
4400
4637
|
const CAPABILITY_NAMES = {
|
|
4401
4638
|
accessories: "accessories",
|
|
4402
4639
|
addonPages: "addon-pages",
|
|
@@ -4441,12 +4678,14 @@ const CAPABILITY_NAMES = {
|
|
|
4441
4678
|
motion: "motion",
|
|
4442
4679
|
motionDetection: "motion-detection",
|
|
4443
4680
|
motionTrigger: "motion-trigger",
|
|
4681
|
+
motionZones: "motion-zones",
|
|
4444
4682
|
mqttBroker: "mqtt-broker",
|
|
4445
4683
|
nativeObjectDetection: "native-object-detection",
|
|
4446
4684
|
networkAccess: "network-access",
|
|
4447
4685
|
networkQuality: "network-quality",
|
|
4448
4686
|
nodes: "nodes",
|
|
4449
4687
|
notificationOutput: "notification-output",
|
|
4688
|
+
oauthIntegration: "oauth-integration",
|
|
4450
4689
|
osd: "osd",
|
|
4451
4690
|
pipelineAnalytics: "pipeline-analytics",
|
|
4452
4691
|
pipelineExecutor: "pipeline-executor",
|
|
@@ -4467,6 +4706,7 @@ const CAPABILITY_NAMES = {
|
|
|
4467
4706
|
storage: "storage",
|
|
4468
4707
|
storageProvider: "storage-provider",
|
|
4469
4708
|
streamBroker: "stream-broker",
|
|
4709
|
+
streamParams: "stream-params",
|
|
4470
4710
|
streamingEngine: "streaming-engine",
|
|
4471
4711
|
switch: "switch",
|
|
4472
4712
|
system: "system",
|
|
@@ -4524,12 +4764,14 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4524
4764
|
{ key: "motion", name: "motion" },
|
|
4525
4765
|
{ key: "motionDetection", name: "motion-detection" },
|
|
4526
4766
|
{ key: "motionTrigger", name: "motion-trigger" },
|
|
4767
|
+
{ key: "motionZones", name: "motion-zones" },
|
|
4527
4768
|
{ key: "mqttBroker", name: "mqtt-broker" },
|
|
4528
4769
|
{ key: "nativeObjectDetection", name: "native-object-detection" },
|
|
4529
4770
|
{ key: "networkAccess", name: "network-access" },
|
|
4530
4771
|
{ key: "networkQuality", name: "network-quality" },
|
|
4531
4772
|
{ key: "nodes", name: "nodes" },
|
|
4532
4773
|
{ key: "notificationOutput", name: "notification-output" },
|
|
4774
|
+
{ key: "oauthIntegration", name: "oauth-integration" },
|
|
4533
4775
|
{ key: "osd", name: "osd" },
|
|
4534
4776
|
{ key: "pipelineAnalytics", name: "pipeline-analytics" },
|
|
4535
4777
|
{ key: "pipelineExecutor", name: "pipeline-executor" },
|
|
@@ -4550,6 +4792,7 @@ const CAPABILITY_ROUTER_KEYS = [
|
|
|
4550
4792
|
{ key: "storage", name: "storage" },
|
|
4551
4793
|
{ key: "storageProvider", name: "storage-provider" },
|
|
4552
4794
|
{ key: "streamBroker", name: "stream-broker" },
|
|
4795
|
+
{ key: "streamParams", name: "stream-params" },
|
|
4553
4796
|
{ key: "streamingEngine", name: "streaming-engine" },
|
|
4554
4797
|
{ key: "switch", name: "switch" },
|
|
4555
4798
|
{ key: "system", name: "system" },
|
|
@@ -4607,12 +4850,14 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4607
4850
|
motionCapability,
|
|
4608
4851
|
motionDetectionCapability,
|
|
4609
4852
|
motionTriggerCapability,
|
|
4853
|
+
motionZonesCapability,
|
|
4610
4854
|
mqttBrokerCapability,
|
|
4611
4855
|
nativeObjectDetectionCapability,
|
|
4612
4856
|
networkAccessCapability,
|
|
4613
4857
|
networkQualityCapability,
|
|
4614
4858
|
nodesCapability,
|
|
4615
4859
|
notificationOutputCapability,
|
|
4860
|
+
oauthIntegrationCapability,
|
|
4616
4861
|
osdCapability,
|
|
4617
4862
|
pipelineAnalyticsCapability,
|
|
4618
4863
|
pipelineExecutorCapability,
|
|
@@ -4633,6 +4878,7 @@ const ALL_CAPABILITY_DEFINITIONS = [
|
|
|
4633
4878
|
storageCapability,
|
|
4634
4879
|
storageProviderCapability,
|
|
4635
4880
|
streamBrokerCapability,
|
|
4881
|
+
streamParamsCapability,
|
|
4636
4882
|
streamingEngineCapability,
|
|
4637
4883
|
switchCapability,
|
|
4638
4884
|
systemCapability,
|
|
@@ -4659,12 +4905,14 @@ const CAP_NAMES_WITH_STATUS = [
|
|
|
4659
4905
|
"intercom",
|
|
4660
4906
|
"motion",
|
|
4661
4907
|
"motion-trigger",
|
|
4908
|
+
"motion-zones",
|
|
4662
4909
|
"mqtt-broker",
|
|
4663
4910
|
"native-object-detection",
|
|
4664
4911
|
"osd",
|
|
4665
4912
|
"ptz",
|
|
4666
4913
|
"ptz-autotrack",
|
|
4667
4914
|
"snapshot",
|
|
4915
|
+
"stream-params",
|
|
4668
4916
|
"switch"
|
|
4669
4917
|
];
|
|
4670
4918
|
const METHOD_ACCESS_MAP = Object.freeze({
|
|
@@ -4762,11 +5010,14 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4762
5010
|
"cameraStreams.getRtspEntries": { capName: "camera-streams", capScope: "device", addonId: null, access: "view" },
|
|
4763
5011
|
"decoder.createSession": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4764
5012
|
"decoder.destroySession": { capName: "decoder", capScope: "system", addonId: null, access: "delete" },
|
|
5013
|
+
"decoder.getFrame": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4765
5014
|
"decoder.getInfo": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
5015
|
+
"decoder.getShmStats": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4766
5016
|
"decoder.getStats": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4767
5017
|
"decoder.listActiveSessions": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4768
5018
|
"decoder.openStream": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4769
5019
|
"decoder.pullFrames": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
5020
|
+
"decoder.pullHandles": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4770
5021
|
"decoder.pushPacket": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
4771
5022
|
"decoder.reprobeHwaccel": { capName: "decoder", capScope: "system", addonId: null, access: "create" },
|
|
4772
5023
|
"decoder.supportsCodec": { capName: "decoder", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4898,6 +5149,8 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4898
5149
|
"motionDetection.removeCamera": { capName: "motion-detection", capScope: "device", addonId: null, access: "delete" },
|
|
4899
5150
|
"motionDetection.reset": { capName: "motion-detection", capScope: "device", addonId: null, access: "delete" },
|
|
4900
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" },
|
|
4901
5154
|
"mqttBroker.addBroker": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "create" },
|
|
4902
5155
|
"mqttBroker.getBrokerConfig": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "view" },
|
|
4903
5156
|
"mqttBroker.getStatus": { capName: "mqtt-broker", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4917,6 +5170,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4917
5170
|
"nodes.clusterAddonStatus": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4918
5171
|
"nodes.deployAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4919
5172
|
"nodes.executeQuery": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
5173
|
+
"nodes.getCapUsageGraph": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4920
5174
|
"nodes.getNodeAddons": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4921
5175
|
"nodes.renameNode": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4922
5176
|
"nodes.restartAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
@@ -4928,6 +5182,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4928
5182
|
"nodes.undeployAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4929
5183
|
"notificationOutput.send": { capName: "notification-output", capScope: "system", addonId: null, access: "create" },
|
|
4930
5184
|
"notificationOutput.sendTest": { capName: "notification-output", capScope: "system", addonId: null, access: "create" },
|
|
5185
|
+
"oauthIntegration.getDescriptor": { capName: "oauth-integration", capScope: "system", addonId: null, access: "view" },
|
|
4931
5186
|
"osd.setOverlay": { capName: "osd", capScope: "device", addonId: null, access: "create" },
|
|
4932
5187
|
"pipelineAnalytics.clearTracks": { capName: "pipeline-analytics", capScope: "device", addonId: null, access: "delete" },
|
|
4933
5188
|
"pipelineAnalytics.getActiveTracks": { capName: "pipeline-analytics", capScope: "device", addonId: null, access: "view" },
|
|
@@ -5021,11 +5276,15 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5021
5276
|
"platformProbe.resolveHwAccel": { capName: "platform-probe", capScope: "system", addonId: null, access: "view" },
|
|
5022
5277
|
"platformProbe.resolveInferenceConfig": { capName: "platform-probe", capScope: "system", addonId: null, access: "view" },
|
|
5023
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" },
|
|
5024
5281
|
"ptz.getPosition": { capName: "ptz", capScope: "device", addonId: null, access: "view" },
|
|
5025
5282
|
"ptz.getPresets": { capName: "ptz", capScope: "device", addonId: null, access: "view" },
|
|
5026
5283
|
"ptz.goHome": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5027
5284
|
"ptz.goToPreset": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5028
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" },
|
|
5029
5288
|
"ptz.stop": { capName: "ptz", capScope: "device", addonId: null, access: "create" },
|
|
5030
5289
|
"ptzAutotrack.getSettings": { capName: "ptz-autotrack", capScope: "device", addonId: null, access: "view" },
|
|
5031
5290
|
"ptzAutotrack.getStatus": { capName: "ptz-autotrack", capScope: "device", addonId: null, access: "view" },
|
|
@@ -5113,7 +5372,6 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5113
5372
|
"storageProvider.writeChunk": { capName: "storage-provider", capScope: "system", addonId: null, access: "create" },
|
|
5114
5373
|
"streamBroker.assignProfile": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5115
5374
|
"streamBroker.getAllRtspEntries": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5116
|
-
"streamBroker.getBroker": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5117
5375
|
"streamBroker.getBrokerStats": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5118
5376
|
"streamBroker.getPreBufferInfo": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5119
5377
|
"streamBroker.getRtspEntry": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
@@ -5126,17 +5384,26 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5126
5384
|
"streamBroker.listAllProfileSlots": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5127
5385
|
"streamBroker.listClients": { capName: "stream-broker", capScope: "system", addonId: null, access: "view" },
|
|
5128
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" },
|
|
5129
5389
|
"streamBroker.regenerateRtspToken": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5130
5390
|
"streamBroker.releaseStreamWithCodec": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5131
5391
|
"streamBroker.restartProfile": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5132
5392
|
"streamBroker.retractCameraStream": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5133
5393
|
"streamBroker.setPreBufferDuration": { capName: "stream-broker", capScope: "system", addonId: null, access: "create" },
|
|
5134
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" },
|
|
5135
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" },
|
|
5136
5400
|
"streamingEngine.getStreamUrl": { capName: "streaming-engine", capScope: "system", addonId: null, access: "view" },
|
|
5137
5401
|
"streamingEngine.listStreams": { capName: "streaming-engine", capScope: "system", addonId: null, access: "view" },
|
|
5138
5402
|
"streamingEngine.registerStream": { capName: "streaming-engine", capScope: "system", addonId: null, access: "create" },
|
|
5139
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" },
|
|
5140
5407
|
"switch.setState": { capName: "switch", capScope: "device", addonId: null, access: "create" },
|
|
5141
5408
|
"system.featureFlags": { capName: "system", capScope: "system", addonId: null, access: "view" },
|
|
5142
5409
|
"system.forceRetentionCleanup": { capName: "system", capScope: "system", addonId: null, access: "create" },
|
|
@@ -5155,10 +5422,16 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
5155
5422
|
"userManagement.disableTotp": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5156
5423
|
"userManagement.getTotpStatus": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5157
5424
|
"userManagement.listApiKeys": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5425
|
+
"userManagement.listOauthSessions": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5158
5426
|
"userManagement.listScopedTokens": { capName: "user-management", capScope: "system", addonId: null, access: "view" },
|
|
5159
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" },
|
|
5160
5432
|
"userManagement.resetPassword": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5161
5433
|
"userManagement.revokeApiKey": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5434
|
+
"userManagement.revokeOauthSession": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5162
5435
|
"userManagement.revokeScopedToken": { capName: "user-management", capScope: "system", addonId: null, access: "delete" },
|
|
5163
5436
|
"userManagement.setupTotp": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
5164
5437
|
"userManagement.setUserScopes": { capName: "user-management", capScope: "system", addonId: null, access: "create" },
|
|
@@ -5236,11 +5509,13 @@ const KNOWN_CAP_NAMES = [
|
|
|
5236
5509
|
"motion",
|
|
5237
5510
|
"motion-detection",
|
|
5238
5511
|
"motion-trigger",
|
|
5512
|
+
"motion-zones",
|
|
5239
5513
|
"mqtt-broker",
|
|
5240
5514
|
"network-access",
|
|
5241
5515
|
"network-quality",
|
|
5242
5516
|
"nodes",
|
|
5243
5517
|
"notification-output",
|
|
5518
|
+
"oauth-integration",
|
|
5244
5519
|
"osd",
|
|
5245
5520
|
"pipeline-analytics",
|
|
5246
5521
|
"pipeline-executor",
|
|
@@ -5261,6 +5536,7 @@ const KNOWN_CAP_NAMES = [
|
|
|
5261
5536
|
"storage",
|
|
5262
5537
|
"storage-provider",
|
|
5263
5538
|
"stream-broker",
|
|
5539
|
+
"stream-params",
|
|
5264
5540
|
"streaming-engine",
|
|
5265
5541
|
"switch",
|
|
5266
5542
|
"system",
|
|
@@ -5287,6 +5563,7 @@ const DEVICE_CAP_NAMES = [
|
|
|
5287
5563
|
"motion",
|
|
5288
5564
|
"motion-detection",
|
|
5289
5565
|
"motion-trigger",
|
|
5566
|
+
"motion-zones",
|
|
5290
5567
|
"osd",
|
|
5291
5568
|
"pipeline-analytics",
|
|
5292
5569
|
"ptz",
|
|
@@ -5294,6 +5571,7 @@ const DEVICE_CAP_NAMES = [
|
|
|
5294
5571
|
"reboot",
|
|
5295
5572
|
"recording",
|
|
5296
5573
|
"snapshot",
|
|
5574
|
+
"stream-params",
|
|
5297
5575
|
"switch",
|
|
5298
5576
|
"webrtc-session",
|
|
5299
5577
|
"zone-analytics",
|
|
@@ -5331,6 +5609,7 @@ const SYSTEM_CAP_NAMES = [
|
|
|
5331
5609
|
"network-quality",
|
|
5332
5610
|
"nodes",
|
|
5333
5611
|
"notification-output",
|
|
5612
|
+
"oauth-integration",
|
|
5334
5613
|
"pipeline-executor",
|
|
5335
5614
|
"pipeline-orchestrator",
|
|
5336
5615
|
"pipeline-runner",
|
|
@@ -5464,315 +5743,335 @@ function bindAddonActions(api, addonId, catalog) {
|
|
|
5464
5743
|
return out;
|
|
5465
5744
|
}
|
|
5466
5745
|
export {
|
|
5467
|
-
|
|
5746
|
+
aw as ACCESSORY_LABEL,
|
|
5468
5747
|
ALL_CAPABILITY_DEFINITIONS,
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
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,
|
|
5507
5786
|
BACKEND_TO_FORMAT,
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5787
|
+
b7 as BATTERY_DEVICE_PROFILE,
|
|
5788
|
+
b8 as BackupDestinationInfoSchema,
|
|
5789
|
+
b9 as BackupEntrySchema,
|
|
5511
5790
|
BaseAddon,
|
|
5512
5791
|
BaseDevice,
|
|
5513
5792
|
BaseDeviceProvider,
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
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,
|
|
5526
5805
|
CAPABILITY_NAMES,
|
|
5527
5806
|
CAPABILITY_ROUTER_KEYS,
|
|
5528
5807
|
CAP_NAMES_WITH_STATUS,
|
|
5529
5808
|
CAP_PROVIDER_KIND_MAP,
|
|
5530
5809
|
COCO_80_LABELS,
|
|
5531
5810
|
COCO_TO_MACRO,
|
|
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
|
-
|
|
5558
|
-
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,
|
|
5559
5837
|
DEFAULT_ADDON_PLACEMENT,
|
|
5560
|
-
|
|
5561
|
-
|
|
5838
|
+
bM as DEFAULT_AUDIO_ANALYZER_CONFIG,
|
|
5839
|
+
bN as DEFAULT_DECODER_HWACCEL_CONFIG,
|
|
5562
5840
|
DEFAULT_FEATURES,
|
|
5563
5841
|
DEFAULT_LOCATION_SUBDIRS,
|
|
5564
5842
|
DEFAULT_RETENTION,
|
|
5565
5843
|
DEVICE_CAP_NAMES,
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5844
|
+
bO as DEVICE_PROFILES,
|
|
5845
|
+
bP as DEVICE_SETTINGS_CONTRIBUTION_METHODS,
|
|
5846
|
+
bQ as DEVICE_STATUS_METHOD,
|
|
5569
5847
|
DEVICE_TYPE_INFO,
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
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,
|
|
5576
5855
|
DeviceConfig,
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
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,
|
|
5585
5864
|
DeviceRuntimeState,
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5865
|
+
c4 as DeviceStatusSchema,
|
|
5866
|
+
c5 as DeviceType,
|
|
5867
|
+
c6 as DiscoveredChildDeviceSchema,
|
|
5868
|
+
c7 as DiscoveredChildStatusSchema,
|
|
5869
|
+
c8 as DiscoveredDeviceSchema,
|
|
5591
5870
|
DisposerChain,
|
|
5592
|
-
|
|
5593
|
-
|
|
5871
|
+
c9 as DoorbellPressEventSchema,
|
|
5872
|
+
ca as DoorbellStatusSchema,
|
|
5594
5873
|
ElementConfigStore,
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5874
|
+
cb as EmbeddingInfoSchema,
|
|
5875
|
+
cc as EmbeddingResultSchema,
|
|
5876
|
+
cd as EncodedPacketSchema,
|
|
5877
|
+
ce as EnrichedWidgetMetadataSchema,
|
|
5599
5878
|
EventCategory,
|
|
5600
|
-
|
|
5601
|
-
|
|
5879
|
+
cf as EventItemSchema,
|
|
5880
|
+
cg as EventKindSchema,
|
|
5602
5881
|
EventSourceType,
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
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,
|
|
5612
5893
|
HF_BASE_URL,
|
|
5613
5894
|
HF_REPO,
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
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,
|
|
5623
5904
|
KNOWN_CAP_NAMES,
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5905
|
+
cB as LocationStatSchema,
|
|
5906
|
+
cC as LogEntrySchema,
|
|
5907
|
+
cD as LogLevelSchema,
|
|
5908
|
+
cE as LogStreamEntrySchema,
|
|
5628
5909
|
MACRO_LABELS,
|
|
5629
5910
|
METHOD_ACCESS_MAP,
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
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,
|
|
5663
5948
|
PROVIDER_KIND_CAP_NAMES,
|
|
5664
5949
|
PYTHON_SCRIPT,
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
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,
|
|
5688
5974
|
RECOGNITION_TYPES,
|
|
5689
5975
|
RUNTIME_DEFAULTS,
|
|
5690
5976
|
RUNTIME_TO_FORMAT,
|
|
5691
5977
|
ReadinessRegistry,
|
|
5692
5978
|
ReadinessTimeoutError,
|
|
5693
|
-
|
|
5694
|
-
|
|
5979
|
+
dD as RegisteredStreamSchema,
|
|
5980
|
+
dE as ReportMotionInputSchema,
|
|
5695
5981
|
RingBuffer,
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5982
|
+
dF as RtpSourceSchema,
|
|
5983
|
+
dG as RtspRestreamEntrySchema,
|
|
5984
|
+
dH as RunnerCameraConfigSchema,
|
|
5985
|
+
dI as RunnerCameraDeviceUIFields,
|
|
5986
|
+
dJ as RunnerLocalLoadSchema,
|
|
5987
|
+
dK as RunnerLocalMetricsSchema,
|
|
5702
5988
|
SCOPE_PRESETS,
|
|
5703
|
-
|
|
5989
|
+
dL as STORAGE_LOCATION_CARDINALITY,
|
|
5704
5990
|
STORAGE_LOCATION_TYPES,
|
|
5991
|
+
STREAM_PROFILE_META,
|
|
5705
5992
|
STREAM_QUALITY_LABELS,
|
|
5706
5993
|
SUB_DETECTION_TYPES,
|
|
5707
5994
|
SYSTEM_CAP_NAMES,
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
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,
|
|
5744
6042
|
SystemMirror,
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
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,
|
|
5774
6073
|
accessoriesCapability,
|
|
5775
|
-
|
|
6074
|
+
eZ as accessoryStableId,
|
|
5776
6075
|
addonPagesCapability,
|
|
5777
6076
|
addonPagesSourceCapability,
|
|
5778
6077
|
addonRoutesCapability,
|
|
@@ -5799,6 +6098,7 @@ export {
|
|
|
5799
6098
|
bindAddonActions,
|
|
5800
6099
|
brightnessCapability,
|
|
5801
6100
|
buildAddonRouteProvider,
|
|
6101
|
+
buildStreamParamsConfigSchema,
|
|
5802
6102
|
cameraCredentialsCapability,
|
|
5803
6103
|
cameraStreamsCapability,
|
|
5804
6104
|
classifyStream,
|
|
@@ -5818,7 +6118,7 @@ export {
|
|
|
5818
6118
|
deviceDiscoveryCapability,
|
|
5819
6119
|
deviceExportCapability,
|
|
5820
6120
|
deviceManagerCapability,
|
|
5821
|
-
|
|
6121
|
+
e_ as deviceMatchesProfile,
|
|
5822
6122
|
deviceOpsCapability,
|
|
5823
6123
|
deviceProviderCapability,
|
|
5824
6124
|
deviceStateCapability,
|
|
@@ -5829,13 +6129,13 @@ export {
|
|
|
5829
6129
|
emitReadiness,
|
|
5830
6130
|
errMsg,
|
|
5831
6131
|
evaluateZoneRules,
|
|
5832
|
-
|
|
6132
|
+
e$ as event,
|
|
5833
6133
|
eventsCapability,
|
|
5834
|
-
|
|
6134
|
+
f0 as expandCapMethods,
|
|
5835
6135
|
featureProbeCapability,
|
|
5836
6136
|
formatForBackend,
|
|
5837
6137
|
formatForRuntime,
|
|
5838
|
-
|
|
6138
|
+
f1 as getAudioMacroClassIds,
|
|
5839
6139
|
getCapsByProviderKind,
|
|
5840
6140
|
hfModelUrl,
|
|
5841
6141
|
hydrateSchema,
|
|
@@ -5843,17 +6143,19 @@ export {
|
|
|
5843
6143
|
intercomCapability,
|
|
5844
6144
|
isAgentOnlyPlacement,
|
|
5845
6145
|
isDeployableToAgent,
|
|
6146
|
+
f2 as isDeviceConfigCap,
|
|
5846
6147
|
isEvent,
|
|
5847
6148
|
localNetworkCapability,
|
|
5848
6149
|
logDestinationCapability,
|
|
5849
|
-
|
|
6150
|
+
f3 as mapAudioLabelToMacro,
|
|
5850
6151
|
maskUrlCredentials,
|
|
5851
6152
|
meshNetworkCapability,
|
|
5852
|
-
|
|
6153
|
+
f4 as method,
|
|
5853
6154
|
metricsProviderCapability,
|
|
5854
6155
|
motionCapability,
|
|
5855
6156
|
motionDetectionCapability,
|
|
5856
6157
|
motionTriggerCapability,
|
|
6158
|
+
motionZonesCapability,
|
|
5857
6159
|
mqttBrokerCapability,
|
|
5858
6160
|
nativeObjectDetectionCapability,
|
|
5859
6161
|
networkAccessCapability,
|
|
@@ -5861,11 +6163,13 @@ export {
|
|
|
5861
6163
|
nodesCapability,
|
|
5862
6164
|
normalizeAddonInitResult,
|
|
5863
6165
|
notificationOutputCapability,
|
|
6166
|
+
oauthIntegrationCapability,
|
|
5864
6167
|
osdCapability,
|
|
5865
6168
|
parseCameraStreamConfig,
|
|
5866
6169
|
parseJsonArray,
|
|
5867
6170
|
parseJsonObject,
|
|
5868
6171
|
parseJsonUnknown,
|
|
6172
|
+
parseStreamParamsFormPatch,
|
|
5869
6173
|
pipelineAnalyticsCapability,
|
|
5870
6174
|
pipelineExecutorCapability,
|
|
5871
6175
|
pipelineOrchestratorCapability,
|
|
@@ -5884,8 +6188,9 @@ export {
|
|
|
5884
6188
|
resolveAddonPlacement,
|
|
5885
6189
|
resolveAddonRuntime,
|
|
5886
6190
|
resolveDetectionRuntime,
|
|
5887
|
-
|
|
6191
|
+
f5 as resolveDeviceProfile,
|
|
5888
6192
|
resolveModelFormat,
|
|
6193
|
+
resolveRunnerId,
|
|
5889
6194
|
restreamerCapability,
|
|
5890
6195
|
runInferenceStep,
|
|
5891
6196
|
scopeKey,
|
|
@@ -5897,6 +6202,7 @@ export {
|
|
|
5897
6202
|
storageCapability,
|
|
5898
6203
|
storageProviderCapability,
|
|
5899
6204
|
streamBrokerCapability,
|
|
6205
|
+
streamParamsCapability,
|
|
5900
6206
|
streamPixels,
|
|
5901
6207
|
streamQualityLabel,
|
|
5902
6208
|
streamingEngineCapability,
|
|
@@ -5909,7 +6215,7 @@ export {
|
|
|
5909
6215
|
userManagementCapability,
|
|
5910
6216
|
userPasskeysCapability,
|
|
5911
6217
|
webrtcCapability,
|
|
5912
|
-
|
|
6218
|
+
f6 as webrtcClientHintsSchema,
|
|
5913
6219
|
webrtcSessionCapability,
|
|
5914
6220
|
zodEntriesToConfigUI,
|
|
5915
6221
|
zoneAnalyticsCapability,
|