@camstack/types 1.2.290 → 1.2.293
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/addon.js +13 -7
- package/dist/addon.mjs +13 -7
- package/dist/capabilities/index.d.ts +4 -4
- package/dist/capabilities/osd-manager.cap.d.ts +108 -21
- package/dist/capabilities/pipeline-analytics.cap.d.ts +28 -0
- package/dist/composition/index.d.ts +1 -0
- package/dist/composition/presets/numeric-transforms.d.ts +19 -0
- package/dist/{composition-DexM_etk.js → composition-BLWAivB2.js} +26 -2
- package/dist/{composition-D7ULvLdD.mjs → composition-Bzr7GwgP.mjs} +21 -3
- package/dist/expression/builtins.d.ts +2 -0
- package/dist/expression/expression-source.d.ts +12 -0
- package/dist/expression/index.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +21 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +142 -31
- package/dist/index.mjs +135 -31
- package/dist/interfaces/pipeline-executor-capability.d.ts +4 -8
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
|
@@ -84,7 +84,7 @@ export interface SystemProxy {
|
|
|
84
84
|
readonly nodes: Pick<InferProvider<typeof nodesCapability>, 'topology' | 'directory' | 'deployAddon' | 'undeployAddon' | 'restartAddon' | 'restartProcess' | 'restartNode' | 'shutdownNode' | 'renameNode' | 'clusterAddonStatus' | 'getCapUsageGraph' | 'getNodeAddons' | 'setProcessLogLevel' | 'executeQuery'>;
|
|
85
85
|
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
86
86
|
readonly notificationRules: Pick<InferProvider<typeof notificationRulesCapability>, 'listRules' | 'getRule' | 'createRule' | 'updateRule' | 'deleteRule' | 'setRuleEnabled' | 'getClipRetentionAsks' | 'listDeviceMutes' | 'testRule' | 'previewStateSummary' | 'getConditionCatalog' | 'getTemplateCatalog' | 'previewTemplate' | 'getHistory' | 'getRuleLastRuns' | 'resolveArtifactUrl' | 'listSnoozes' | 'createSnooze' | 'cancelSnooze' | 'getAlarmConfig' | 'setAlarmConfig' | 'getAlarmSensors'>;
|
|
87
|
-
readonly osdManager: Pick<InferProvider<typeof osdManagerCapability>, 'getConditionSupport' | 'copyDeviceConfiguration'>;
|
|
87
|
+
readonly osdManager: Pick<InferProvider<typeof osdManagerCapability>, 'getConditionSupport' | 'copyDeviceConfiguration' | 'listTemplates' | 'upsertTemplate' | 'deleteTemplate'>;
|
|
88
88
|
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | 'getInferenceDeviceHealth' | 'rearmInferenceDevice' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
89
89
|
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'requestOccupancyLook' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getClusterModelChoice' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAudioAssignments' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentDecodeLimits' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'getCameraStatuses' | 'setCameraSensors' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
90
90
|
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop' | 'runStatelessStep'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export { zodEntriesToConfigUI } from './device/zod-to-config-ui.js';
|
|
|
207
207
|
export { EventCategory, isOwnerOnlyEventCategory, OWNER_ONLY_EVENT_CATEGORIES, publicEventCategories, } from './enums/event-category.js';
|
|
208
208
|
export * from './enums/index.js';
|
|
209
209
|
export type { CompileResult, EvaluateExpressionSourceResult, ExpressionBinaryOperator, ExpressionBindingSource, ExpressionBuiltin, ExpressionEvalHooks, ExpressionEvalOptions, ExpressionFieldBinding, ExpressionGlobalBinding, ExpressionLiteralBinding, ExpressionLogicalOperator, ExpressionNode, ExpressionNodePath, ExpressionSource, ExpressionSourceInput, ExpressionUnaryOperator, ExpressionValue, CountCallState, RoseCallState, StatefulCallState, StatefulCallInvocation, StatefulExpressionEnvironment, StatefulExpressionMemory, StatefulExpressionBuiltin, Keyword, ParsedExpression, Punctuator, Token, } from './expression/index.js';
|
|
210
|
-
export { compileExpression, compileExpressionSafe, cloneStatefulExpressionMemory, createExpressionScope, createStatefulExpressionMemory, EXPRESSION_BUILTIN_NAMES, EXPRESSION_BUILTINS, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, evaluateAst, evaluateCount, evaluateExpressionSource, evaluateRose, evaluateStatefulExpressionCall, isStatefulBuiltin, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, parseExpression, RESERVED_BINDING_NAMES, toExpressionValue, tokenize, validateExpressionSource, } from './expression/index.js';
|
|
210
|
+
export { compileExpression, compileExpressionSafe, cloneStatefulExpressionMemory, createExpressionScope, createStatefulExpressionMemory, EXPRESSION_BUILTIN_NAMES, EXPRESSION_BUILTINS, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, evaluateAst, evaluateCount, disarmRoseMemory, evaluateExpressionSource, evaluateRose, evaluateStatefulExpressionCall, isStatefulBuiltin, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, parseExpression, RESERVED_BINDING_NAMES, toExpressionValue, tokenize, validateExpressionSource, } from './expression/index.js';
|
|
211
211
|
export type { AddonApi, AppRouter } from './generated/addon-api.js';
|
|
212
212
|
export type { CapNameWithStatus, CapStatusTypeMap } from './generated/cap-status-types.js';
|
|
213
213
|
export { CAP_NAMES_WITH_STATUS } from './generated/cap-status-types.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_sleep = require("./sleep-G4F3X9X_.js");
|
|
3
3
|
const require_event_category = require("./event-category-DmS_tLsU.js");
|
|
4
|
-
const require_composition = require("./composition-
|
|
4
|
+
const require_composition = require("./composition-BLWAivB2.js");
|
|
5
5
|
const require_err_msg = require("./err-msg-Dx2Kor0g.js");
|
|
6
6
|
const require_enums = require("./enums.js");
|
|
7
7
|
let zod = require("zod");
|
|
@@ -8011,7 +8011,7 @@ var BrokerStatusEnum = zod.z.enum([
|
|
|
8011
8011
|
"unreachable",
|
|
8012
8012
|
"error"
|
|
8013
8013
|
]);
|
|
8014
|
-
var BrokerInfoSchema
|
|
8014
|
+
var BrokerInfoSchema = zod.z.object({
|
|
8015
8015
|
/** Stable broker id. Persisted; survives addon restarts. */
|
|
8016
8016
|
id: zod.z.string(),
|
|
8017
8017
|
/** Addon id of the provider that OWNS this broker.
|
|
@@ -8154,8 +8154,8 @@ var brokerCapability = {
|
|
|
8154
8154
|
kind: "poll"
|
|
8155
8155
|
},
|
|
8156
8156
|
methods: {
|
|
8157
|
-
list: require_sleep.method(ListInputSchema, zod.z.array(BrokerInfoSchema
|
|
8158
|
-
get: require_sleep.method(GetInputSchema, BrokerInfoSchema
|
|
8157
|
+
list: require_sleep.method(ListInputSchema, zod.z.array(BrokerInfoSchema)),
|
|
8158
|
+
get: require_sleep.method(GetInputSchema, BrokerInfoSchema.nullable()),
|
|
8159
8159
|
/** Enumerate which addon provides which broker kind(s) for the
|
|
8160
8160
|
* unified create picker. The auto-mount fans this array across
|
|
8161
8161
|
* every registered `broker` provider (array-output method), so the
|
|
@@ -17306,7 +17306,7 @@ var BrokerStatusSchema$1 = zod.z.enum([
|
|
|
17306
17306
|
"unreachable",
|
|
17307
17307
|
"tls-error"
|
|
17308
17308
|
]);
|
|
17309
|
-
var BrokerInfoSchema = zod.z.object({
|
|
17309
|
+
var BrokerInfoSchema$1 = zod.z.object({
|
|
17310
17310
|
id: zod.z.string(),
|
|
17311
17311
|
name: zod.z.string(),
|
|
17312
17312
|
url: zod.z.string(),
|
|
@@ -17379,7 +17379,7 @@ var mqttBrokerCapability = {
|
|
|
17379
17379
|
kind: "poll"
|
|
17380
17380
|
},
|
|
17381
17381
|
methods: {
|
|
17382
|
-
listBrokers: require_sleep.method(zod.z.void(), zod.z.array(BrokerInfoSchema)),
|
|
17382
|
+
listBrokers: require_sleep.method(zod.z.void(), zod.z.array(BrokerInfoSchema$1)),
|
|
17383
17383
|
getBrokerConfig: require_sleep.method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }),
|
|
17384
17384
|
addBroker: require_sleep.method(AddBrokerInputSchema, AddBrokerResultSchema, {
|
|
17385
17385
|
kind: "mutation",
|
|
@@ -23799,6 +23799,7 @@ var KeyEventSchema = zod.z.object({
|
|
|
23799
23799
|
bestEventId: zod.z.string(),
|
|
23800
23800
|
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
23801
23801
|
windowMs: zod.z.number().optional(),
|
|
23802
|
+
audioLabels: zod.z.array(TrackAudioLabelSchema).readonly().optional(),
|
|
23802
23803
|
...TrackFlagFields,
|
|
23803
23804
|
...TrackRetrainFields
|
|
23804
23805
|
});
|
|
@@ -38983,28 +38984,29 @@ setOverlay: require_sleep.method(zod.z.object({
|
|
|
38983
38984
|
*
|
|
38984
38985
|
* This cap owns the other half: a per-(camera, slot) BINDING that says
|
|
38985
38986
|
* which value feeds the slot, how it is formatted, and under which
|
|
38986
|
-
* conditions it is shown at all.
|
|
38987
|
-
*
|
|
38988
|
-
|
|
38989
|
-
|
|
38990
|
-
|
|
38991
|
-
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
|
|
38995
|
-
|
|
38996
|
-
|
|
38997
|
-
|
|
38998
|
-
|
|
38999
|
-
*
|
|
39000
|
-
*
|
|
39001
|
-
* 3. Because the renderer's facts are device STATE and not a detection
|
|
39002
|
-
* record, only a SUBSET of that vocabulary can be answered here.
|
|
39003
|
-
* `setSlotBinding` REJECTS the rest at write time (see
|
|
39004
|
-
* `getConditionSupport`). It does not accept-then-fail-closed: a
|
|
39005
|
-
* condition that can never be true renders a permanently blank
|
|
39006
|
-
* overlay, and a blank overlay looks exactly like a broken camera.
|
|
38987
|
+
* conditions it is shown at all. Named TEMPLATES combine many device
|
|
38988
|
+
* fields into one overlay string (Scrypted OSD Manager parity).
|
|
38989
|
+
*/
|
|
38990
|
+
/** One field reference inside a named multi-device template. */
|
|
38991
|
+
var OsdTemplateFieldSchema = zod.z.object({
|
|
38992
|
+
deviceId: zod.z.number().int(),
|
|
38993
|
+
capName: zod.z.string().min(1).max(64),
|
|
38994
|
+
valuePath: zod.z.string().min(1).max(64),
|
|
38995
|
+
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
38996
|
+
displayUnit: zod.z.string().max(16).optional(),
|
|
38997
|
+
maxDecimals: zod.z.number().int().min(0).max(4).default(1)
|
|
38998
|
+
});
|
|
38999
|
+
/**
|
|
39000
|
+
* A named template: several device fields → one parser string with
|
|
39001
|
+
* `{deviceId.capName.valuePath}` tokens (Scrypted `{deviceId.sensorId}`).
|
|
39007
39002
|
*/
|
|
39003
|
+
var OsdNamedTemplateSchema = zod.z.object({
|
|
39004
|
+
id: zod.z.string().min(1).max(64),
|
|
39005
|
+
name: zod.z.string().min(1).max(64),
|
|
39006
|
+
fields: zod.z.array(OsdTemplateFieldSchema).max(32).default([]),
|
|
39007
|
+
/** Parser with multi-token placeholders, e.g. `T {12.thermometer.value}°`. */
|
|
39008
|
+
parser: zod.z.string().max(256).default("")
|
|
39009
|
+
});
|
|
39008
39010
|
/** Where a slot's value comes from. */
|
|
39009
39011
|
var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
|
|
39010
39012
|
zod.z.object({
|
|
@@ -39023,11 +39025,17 @@ var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
|
|
|
39023
39025
|
deviceId: zod.z.number().int().optional(),
|
|
39024
39026
|
capName: zod.z.string().min(1).max(64),
|
|
39025
39027
|
/** Dot path inside the slice, e.g. `detected`, `value`, `mode`. */
|
|
39026
|
-
valuePath: zod.z.string().min(1).max(64)
|
|
39028
|
+
valuePath: zod.z.string().min(1).max(64),
|
|
39029
|
+
/** Convert TO this unit at render. Absent = no conversion. */
|
|
39030
|
+
displayUnit: zod.z.string().max(16).optional()
|
|
39027
39031
|
}),
|
|
39028
39032
|
zod.z.object({
|
|
39029
39033
|
kind: zod.z.literal("latest-recognition"),
|
|
39030
39034
|
recognition: zod.z.enum(["person", "plate"])
|
|
39035
|
+
}),
|
|
39036
|
+
zod.z.object({
|
|
39037
|
+
kind: zod.z.literal("template"),
|
|
39038
|
+
templateId: zod.z.string().min(1).max(64)
|
|
39031
39039
|
})
|
|
39032
39040
|
]);
|
|
39033
39041
|
var OsdSlotBindingSchema = zod.z.object({
|
|
@@ -39043,7 +39051,10 @@ var OsdSlotBindingSchema = zod.z.object({
|
|
|
39043
39051
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
39044
39052
|
*/
|
|
39045
39053
|
maxDecimals: zod.z.number().int().min(0).max(4).default(1),
|
|
39046
|
-
/**
|
|
39054
|
+
/**
|
|
39055
|
+
* Appended via `${unit}` when no unit conversion produces a label.
|
|
39056
|
+
* Prefer `source.displayUnit` for converted device-state values.
|
|
39057
|
+
*/
|
|
39047
39058
|
unitLabel: zod.z.string().max(8).optional(),
|
|
39048
39059
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
39049
39060
|
valueMap: zod.z.record(zod.z.string(), zod.z.string()).optional(),
|
|
@@ -39197,6 +39208,21 @@ var osdManagerCapability = {
|
|
|
39197
39208
|
renderDevice: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int() }), zod.z.object({ results: zod.z.array(OsdRenderResultSchema) }), {
|
|
39198
39209
|
kind: "mutation",
|
|
39199
39210
|
auth: "admin"
|
|
39211
|
+
}),
|
|
39212
|
+
/** Every named multi-device template. */
|
|
39213
|
+
listTemplates: require_sleep.method(zod.z.object({}), zod.z.object({ templates: zod.z.array(OsdNamedTemplateSchema) }), { auth: "admin" }),
|
|
39214
|
+
/**
|
|
39215
|
+
* Create or replace a named template by `id`. Returns the stored record
|
|
39216
|
+
* after Zod normalisation.
|
|
39217
|
+
*/
|
|
39218
|
+
upsertTemplate: require_sleep.method(zod.z.object({ template: OsdNamedTemplateSchema }), zod.z.object({ template: OsdNamedTemplateSchema }), {
|
|
39219
|
+
kind: "mutation",
|
|
39220
|
+
auth: "admin"
|
|
39221
|
+
}),
|
|
39222
|
+
/** Drop a named template. Bindings that still reference it render unreadable. */
|
|
39223
|
+
deleteTemplate: require_sleep.method(zod.z.object({ templateId: zod.z.string().min(1).max(64) }), zod.z.object({ success: zod.z.literal(true) }), {
|
|
39224
|
+
kind: "mutation",
|
|
39225
|
+
auth: "admin"
|
|
39200
39226
|
})
|
|
39201
39227
|
}
|
|
39202
39228
|
};
|
|
@@ -46814,6 +46840,63 @@ function buildDoorbellCompositionFeature(input) {
|
|
|
46814
46840
|
};
|
|
46815
46841
|
}
|
|
46816
46842
|
//#endregion
|
|
46843
|
+
//#region src/composition/presets/numeric-transforms.ts
|
|
46844
|
+
/**
|
|
46845
|
+
* Self-only invert / unit-convert composition features (D663). The Numeric
|
|
46846
|
+
* transforms card writes these; assignment-style "convert on every camera"
|
|
46847
|
+
* presets stay deleted.
|
|
46848
|
+
*/
|
|
46849
|
+
/** Source caps whose active boolean may be inverted: catalogue minus switch
|
|
46850
|
+
* (commands) and motion (event stream, D672). */
|
|
46851
|
+
var INVERTIBLE_CAPS = require_composition.SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
46852
|
+
function invertPresetFeature(input) {
|
|
46853
|
+
const field = require_composition.SOURCE_CAP_ACTIVE_FIELD[input.cap];
|
|
46854
|
+
if (field === void 0 || !INVERTIBLE_CAPS.includes(input.cap)) return null;
|
|
46855
|
+
const source = {
|
|
46856
|
+
kind: "expression",
|
|
46857
|
+
expr: "!v",
|
|
46858
|
+
bindings: { v: {
|
|
46859
|
+
kind: "from",
|
|
46860
|
+
source: input.self,
|
|
46861
|
+
cap: input.cap,
|
|
46862
|
+
fieldPath: field
|
|
46863
|
+
} }
|
|
46864
|
+
};
|
|
46865
|
+
return {
|
|
46866
|
+
kind: "fields",
|
|
46867
|
+
cap: input.cap,
|
|
46868
|
+
fields: { [field]: source }
|
|
46869
|
+
};
|
|
46870
|
+
}
|
|
46871
|
+
function unitConstant(to) {
|
|
46872
|
+
return {
|
|
46873
|
+
kind: "expression",
|
|
46874
|
+
expr: JSON.stringify(to),
|
|
46875
|
+
bindings: {}
|
|
46876
|
+
};
|
|
46877
|
+
}
|
|
46878
|
+
function convertPresetFeature(input) {
|
|
46879
|
+
if (input.from === input.to || !canConvertUnit(input.from, input.to)) return null;
|
|
46880
|
+
const value = {
|
|
46881
|
+
kind: "expression",
|
|
46882
|
+
expr: `convert(v, ${JSON.stringify(input.from)}, ${JSON.stringify(input.to)})`,
|
|
46883
|
+
bindings: { v: {
|
|
46884
|
+
kind: "from",
|
|
46885
|
+
source: input.self,
|
|
46886
|
+
cap: input.cap,
|
|
46887
|
+
fieldPath: input.fieldPath
|
|
46888
|
+
} }
|
|
46889
|
+
};
|
|
46890
|
+
return {
|
|
46891
|
+
kind: "fields",
|
|
46892
|
+
cap: input.cap,
|
|
46893
|
+
fields: {
|
|
46894
|
+
[input.fieldPath]: value,
|
|
46895
|
+
...input.unitField === null ? {} : { [input.unitField]: unitConstant(input.to) }
|
|
46896
|
+
}
|
|
46897
|
+
};
|
|
46898
|
+
}
|
|
46899
|
+
//#endregion
|
|
46817
46900
|
//#region src/catalogs/device-state-vocabulary.ts
|
|
46818
46901
|
/**
|
|
46819
46902
|
* Most specific first. Extending this list is how a new device kind becomes
|
|
@@ -56661,6 +56744,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56661
56744
|
addonId: null,
|
|
56662
56745
|
access: "create"
|
|
56663
56746
|
},
|
|
56747
|
+
"osdManager.deleteTemplate": {
|
|
56748
|
+
capName: "osd-manager",
|
|
56749
|
+
capScope: "system",
|
|
56750
|
+
addonId: null,
|
|
56751
|
+
access: "delete"
|
|
56752
|
+
},
|
|
56664
56753
|
"osdManager.getConditionSupport": {
|
|
56665
56754
|
capName: "osd-manager",
|
|
56666
56755
|
capScope: "system",
|
|
@@ -56679,6 +56768,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56679
56768
|
addonId: null,
|
|
56680
56769
|
access: "view"
|
|
56681
56770
|
},
|
|
56771
|
+
"osdManager.listTemplates": {
|
|
56772
|
+
capName: "osd-manager",
|
|
56773
|
+
capScope: "system",
|
|
56774
|
+
addonId: null,
|
|
56775
|
+
access: "view"
|
|
56776
|
+
},
|
|
56682
56777
|
"osdManager.previewSlot": {
|
|
56683
56778
|
capName: "osd-manager",
|
|
56684
56779
|
capScope: "system",
|
|
@@ -56697,6 +56792,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56697
56792
|
addonId: null,
|
|
56698
56793
|
access: "create"
|
|
56699
56794
|
},
|
|
56795
|
+
"osdManager.upsertTemplate": {
|
|
56796
|
+
capName: "osd-manager",
|
|
56797
|
+
capScope: "system",
|
|
56798
|
+
addonId: null,
|
|
56799
|
+
access: "create"
|
|
56800
|
+
},
|
|
56700
56801
|
"petFeeder.callPet": {
|
|
56701
56802
|
capName: "pet-feeder",
|
|
56702
56803
|
capScope: "device",
|
|
@@ -64028,7 +64129,10 @@ function createSystemProxy(api) {
|
|
|
64028
64129
|
},
|
|
64029
64130
|
osdManager: {
|
|
64030
64131
|
getConditionSupport: (input) => dispatch("osdManager", "getConditionSupport", "query", input),
|
|
64031
|
-
copyDeviceConfiguration: (input) => dispatch("osdManager", "copyDeviceConfiguration", "mutation", input)
|
|
64132
|
+
copyDeviceConfiguration: (input) => dispatch("osdManager", "copyDeviceConfiguration", "mutation", input),
|
|
64133
|
+
listTemplates: (input) => dispatch("osdManager", "listTemplates", "query", input),
|
|
64134
|
+
upsertTemplate: (input) => dispatch("osdManager", "upsertTemplate", "mutation", input),
|
|
64135
|
+
deleteTemplate: (input) => dispatch("osdManager", "deleteTemplate", "mutation", input)
|
|
64032
64136
|
},
|
|
64033
64137
|
pipelineExecutor: {
|
|
64034
64138
|
getAvailableEngines: (input) => dispatch("pipelineExecutor", "getAvailableEngines", "query", input),
|
|
@@ -70663,6 +70767,7 @@ exports.HumidifierStatusSchema = HumidifierStatusSchema;
|
|
|
70663
70767
|
exports.HumiditySensorStatusSchema = HumiditySensorStatusSchema;
|
|
70664
70768
|
exports.HvacModeSchema = HvacModeSchema;
|
|
70665
70769
|
exports.INFERENCE_DEVICE_EXCLUSION_REASONS = INFERENCE_DEVICE_EXCLUSION_REASONS;
|
|
70770
|
+
exports.INVERTIBLE_CAPS = INVERTIBLE_CAPS;
|
|
70666
70771
|
exports.ImageContractSchema = ImageContractSchema;
|
|
70667
70772
|
exports.ImageContractStateSchema = ImageContractStateSchema;
|
|
70668
70773
|
exports.ImageRotateSchema = ImageRotateSchema;
|
|
@@ -70848,6 +70953,7 @@ exports.MotionZoneOptionsSchema = MotionZoneOptionsSchema;
|
|
|
70848
70953
|
exports.MotionZonePatchSchema = MotionZonePatchSchema;
|
|
70849
70954
|
exports.MotionZoneRegionSchema = MotionZoneRegionSchema;
|
|
70850
70955
|
exports.MotionZoneStatusSchema = MotionZoneStatusSchema;
|
|
70956
|
+
exports.MqttBrokerInfoSchema = BrokerInfoSchema$1;
|
|
70851
70957
|
exports.MqttBrokerStatusSchema = StatusSchema;
|
|
70852
70958
|
exports.MutationFilterSchema = MutationFilterSchema;
|
|
70853
70959
|
exports.NATIVE_LEASE_ACTIVITY_FIELD = NATIVE_LEASE_ACTIVITY_FIELD;
|
|
@@ -71074,6 +71180,7 @@ exports.OpsLogOpSchema = OpsLogOpSchema;
|
|
|
71074
71180
|
exports.OpsLogQueryInputSchema = OpsLogQueryInputSchema;
|
|
71075
71181
|
exports.OpsLogReasonSchema = OpsLogReasonSchema;
|
|
71076
71182
|
exports.OrchestratorMetricsSchema = OrchestratorMetricsSchema;
|
|
71183
|
+
exports.OsdNamedTemplateSchema = OsdNamedTemplateSchema;
|
|
71077
71184
|
exports.OsdOverlayKindEnum = OsdOverlayKindEnum;
|
|
71078
71185
|
exports.OsdOverlayPatchSchema = OsdOverlayPatchSchema;
|
|
71079
71186
|
exports.OsdOverlaySchema = OsdOverlaySchema;
|
|
@@ -71086,6 +71193,7 @@ exports.OsdSourceOptionSchema = OsdSourceOptionSchema;
|
|
|
71086
71193
|
exports.OsdSourceSchema = OsdSourceSchema;
|
|
71087
71194
|
exports.OsdSourceValueTypeEnum = OsdSourceValueTypeEnum;
|
|
71088
71195
|
exports.OsdStatusSchema = OsdStatusSchema;
|
|
71196
|
+
exports.OsdTemplateFieldSchema = OsdTemplateFieldSchema;
|
|
71089
71197
|
exports.PEER_BYTES_CHUNK_BYTES = require_sleep.PEER_BYTES_CHUNK_BYTES;
|
|
71090
71198
|
exports.PEER_BYTES_MAX_OUTSTANDING = require_sleep.PEER_BYTES_MAX_OUTSTANDING;
|
|
71091
71199
|
exports.PEER_BYTES_STALL_MS = require_sleep.PEER_BYTES_STALL_MS;
|
|
@@ -71461,7 +71569,7 @@ exports.TransportPlaneSchema = TransportPlaneSchema;
|
|
|
71461
71569
|
exports.TurnServerSchema = TurnServerSchema;
|
|
71462
71570
|
exports.UNATTRIBUTED_BUCKET_KEY = UNATTRIBUTED_BUCKET_KEY;
|
|
71463
71571
|
exports.UNIT_TABLE = UNIT_TABLE;
|
|
71464
|
-
exports.UnifiedBrokerInfoSchema = BrokerInfoSchema
|
|
71572
|
+
exports.UnifiedBrokerInfoSchema = BrokerInfoSchema;
|
|
71465
71573
|
exports.UnitConversionError = UnitConversionError;
|
|
71466
71574
|
exports.UnstampedEventMediaCountSchema = UnstampedEventMediaCountSchema;
|
|
71467
71575
|
exports.UnstampedRowsSchema = UnstampedRowsSchema;
|
|
@@ -71645,6 +71753,7 @@ exports.consumableLowPercentOf = consumableLowPercentOf;
|
|
|
71645
71753
|
exports.consumablesCapability = consumablesCapability;
|
|
71646
71754
|
exports.contactCapability = contactCapability;
|
|
71647
71755
|
exports.controlCapability = controlCapability;
|
|
71756
|
+
exports.convertPresetFeature = convertPresetFeature;
|
|
71648
71757
|
exports.convertUnit = convertUnit;
|
|
71649
71758
|
exports.coreBlockAddonId = coreBlockAddonId;
|
|
71650
71759
|
exports.coreBlockComposition = coreBlockComposition;
|
|
@@ -71711,6 +71820,7 @@ exports.deviceProviderCapability = deviceProviderCapability;
|
|
|
71711
71820
|
exports.deviceSelectorMatches = deviceSelectorMatches;
|
|
71712
71821
|
exports.deviceStateCapability = deviceStateCapability;
|
|
71713
71822
|
exports.deviceStatusCapability = deviceStatusCapability;
|
|
71823
|
+
exports.disarmRoseMemory = require_composition.disarmRoseMemory;
|
|
71714
71824
|
exports.displayIconEntry = displayIconEntry;
|
|
71715
71825
|
exports.displayIconsInGroup = displayIconsInGroup;
|
|
71716
71826
|
exports.doorbellCapability = doorbellCapability;
|
|
@@ -71803,6 +71913,7 @@ exports.integrationsCapability = integrationsCapability;
|
|
|
71803
71913
|
exports.intercomCapability = intercomCapability;
|
|
71804
71914
|
exports.interpretStoredClusterModel = interpretStoredClusterModel;
|
|
71805
71915
|
exports.invalidClusterStepModelEntries = invalidClusterStepModelEntries;
|
|
71916
|
+
exports.invertPresetFeature = invertPresetFeature;
|
|
71806
71917
|
exports.invocationFromEncodeProfile = require_composition.invocationFromEncodeProfile;
|
|
71807
71918
|
exports.isAgentOnlyPlacement = isAgentOnlyPlacement;
|
|
71808
71919
|
exports.isArrayOutputSchema = isArrayOutputSchema;
|