@camstack/types 1.2.538 → 1.2.540
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/CHANGELOG.md +27 -0
- package/dist/addon.js +44 -12
- package/dist/addon.mjs +44 -12
- package/dist/automation/step-runner.d.ts +2 -0
- package/dist/capabilities/capability-definition.d.ts +4 -0
- package/dist/capabilities/climate-control.cap.d.ts +18 -6
- package/dist/capabilities/cover.cap.d.ts +9 -3
- package/dist/capabilities/device-manager.cap.d.ts +14 -0
- package/dist/capabilities/fan-control.cap.d.ts +12 -4
- package/dist/capabilities/index.d.ts +3 -3
- package/dist/capabilities/lock-control.cap.d.ts +3 -1
- package/dist/capabilities/media-player.cap.d.ts +48 -16
- package/dist/capabilities/notification-output.cap.d.ts +40 -0
- package/dist/capabilities/notification-rules.cap.d.ts +252 -0
- package/dist/capabilities/osd-manager.cap.d.ts +40 -277
- package/dist/capabilities/valve.cap.d.ts +3 -1
- package/dist/client.js +41 -1
- package/dist/client.mjs +41 -1
- package/dist/{composed-stable-id-C3J6LxC9.js → composed-stable-id-BtaMj_W7.js} +4 -0
- package/dist/{composed-stable-id-DLcPInGv.mjs → composed-stable-id-jnvhwGoH.mjs} +4 -0
- package/dist/device/device-binding.d.ts +6 -0
- package/dist/device/device-feature-requirements.d.ts +137 -0
- package/dist/device/device-type.d.ts +5 -1
- package/dist/device/implemented-methods.d.ts +6 -0
- package/dist/expression/device-template.d.ts +31 -1
- package/dist/generated/addon-api.d.ts +7 -7
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/{composition-BcVAbtBc.js → implemented-methods-C_iV6BiP.js} +17 -1
- package/dist/{composition-BFJq1Y88.mjs → implemented-methods-OitwyO1Y.mjs} +12 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +733 -426
- package/dist/index.mjs +475 -185
- package/dist/interfaces/addon.d.ts +7 -0
- package/dist/interfaces/event-bus.d.ts +2 -0
- package/dist/migrations/api/migration-api.v1.d.ts +11 -0
- package/dist/migrations/api/migration-api.v1.schema.d.ts +25 -0
- package/dist/node.d.ts +1 -0
- package/dist/node.js +26 -25
- package/dist/node.mjs +3 -3
- package/dist/notification/notification-fields.d.ts +51 -0
- package/dist/{sleep-DgCXXFc3.js → sleep-DPMn-Sik.js} +2 -2
- package/dist/{sleep-VrfKAAGN.mjs → sleep-Dz1P6--1.mjs} +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.540] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Device templates can use now (server time, the time filter) and the reserved camera alias with thisDevice on renderDeviceTemplates and checkDeviceTemplates; checkDeviceTemplates reports reads and readsClock; the OSD manager capability drops getSourceCatalog and gains previewTemplate.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- OSD texts migrated onto device templates now cut decimals like before (new trunc filter), skip one bad row instead of blocking every camera, and read the same whether or not the device is online
|
|
19
|
+
- Device features are now derived from the capabilities a device is bound to; bindings report which optional methods a provider implements
|
|
20
|
+
- The kernel tells hub builtins whether a node is online in the cluster registry
|
|
21
|
+
- Notifier kinds declare which texts they deliver (caps.text), and rules gain optional per-target overrides (targetOverrides).
|
|
22
|
+
|
|
23
|
+
## [1.2.539] - 2026-11-10
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- holdVarSlots: the one helper that sets aside the {{ vars.x }} slots of a step text
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
10
37
|
## [1.2.538] - 2026-11-10
|
|
11
38
|
|
|
12
39
|
### Changed
|
package/dist/addon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-DPMn-Sik.js");
|
|
3
3
|
const require_event_category = require("./event-category-BC4RRerT.js");
|
|
4
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
4
|
+
const require_composed_stable_id = require("./composed-stable-id-BtaMj_W7.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
|
7
7
|
* AUTO-GENERATED by scripts/generate-cap-input-defaults.ts — DO NOT EDIT.
|
|
@@ -140,15 +140,8 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
"osd-manager": {
|
|
143
|
-
"setSlotBinding": { "binding": { "__nested__": {
|
|
144
|
-
|
|
145
|
-
"template": "${value}",
|
|
146
|
-
"maxDecimals": 1
|
|
147
|
-
} } },
|
|
148
|
-
"upsertTemplate": { "template": { "__nested__": {
|
|
149
|
-
"bindings": [],
|
|
150
|
-
"parser": ""
|
|
151
|
-
} } }
|
|
143
|
+
"setSlotBinding": { "binding": { "__nested__": { "enabled": true } } },
|
|
144
|
+
"upsertTemplate": { "template": { "__nested__": { "text": "" } } }
|
|
152
145
|
},
|
|
153
146
|
"pipeline-analytics": {
|
|
154
147
|
"getAudioEvents": { "limit": 1e3 },
|
|
@@ -460,21 +453,60 @@ function isCollectionArrayMethodName(capName, method) {
|
|
|
460
453
|
* Per capability, the methods declared `optionalMethod` — the ones whose
|
|
461
454
|
* ABSENCE on a provider is a fact about that provider, not a bug.
|
|
462
455
|
*
|
|
463
|
-
* Coverage:
|
|
456
|
+
* Coverage: 10 caps, 43 methods.
|
|
464
457
|
*/
|
|
465
458
|
var PROVIDER_OPTIONAL_METHODS = Object.freeze({
|
|
459
|
+
"climate-control": [
|
|
460
|
+
"setFanMode",
|
|
461
|
+
"setPreset",
|
|
462
|
+
"setSwingHorizontal",
|
|
463
|
+
"setSwingVertical",
|
|
464
|
+
"setTargetHumidity",
|
|
465
|
+
"setTargetRange"
|
|
466
|
+
],
|
|
467
|
+
"cover": [
|
|
468
|
+
"setPosition",
|
|
469
|
+
"setTiltPosition",
|
|
470
|
+
"stop"
|
|
471
|
+
],
|
|
466
472
|
"device-export": [
|
|
467
473
|
"exposeEntity",
|
|
468
474
|
"listExposedEntities",
|
|
469
475
|
"listSupportedEntityKinds",
|
|
470
476
|
"unexposeEntity"
|
|
471
477
|
],
|
|
478
|
+
"fan-control": [
|
|
479
|
+
"setDirection",
|
|
480
|
+
"setOscillating",
|
|
481
|
+
"setPercentage",
|
|
482
|
+
"setPreset"
|
|
483
|
+
],
|
|
472
484
|
"integration-instances": ["testInstance"],
|
|
485
|
+
"lock-control": ["open"],
|
|
473
486
|
"log-destination": [
|
|
474
487
|
"cancelRead",
|
|
475
488
|
"describeRead",
|
|
476
489
|
"read"
|
|
477
490
|
],
|
|
491
|
+
"media-player": [
|
|
492
|
+
"channelDown",
|
|
493
|
+
"channelUp",
|
|
494
|
+
"next",
|
|
495
|
+
"playMedia",
|
|
496
|
+
"previous",
|
|
497
|
+
"seek",
|
|
498
|
+
"selectSource",
|
|
499
|
+
"setMute",
|
|
500
|
+
"setRepeat",
|
|
501
|
+
"setShuffle",
|
|
502
|
+
"setVolume",
|
|
503
|
+
"stop",
|
|
504
|
+
"turnOff",
|
|
505
|
+
"turnOn",
|
|
506
|
+
"volumeDown",
|
|
507
|
+
"volumeUp"
|
|
508
|
+
],
|
|
509
|
+
"valve": ["setPosition"],
|
|
478
510
|
"videoclips": [
|
|
479
511
|
"dialClipStream",
|
|
480
512
|
"getPlaybackOptions",
|
package/dist/addon.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as DEVICE_CHILDREN_BATCH_MAX, $r as RECORD_DATABASES, A as CAP_ADVANCE_FIELDS, Ai as RecordSecretUnavailableError, An as CALLER_USERNAME_HEADER, Ar as nodeIdOfScopedKey, Bn as RecordKindNameSchema, Ci as FilterRequiredError, Cn as scrubKnownSecrets, Ct as createDebugEmitter, Di as PlaintextSecretError, Dn as PEER_BYTES_STALL_MS, Ei as NoCallerError, En as PEER_BYTES_MAX_OUTSTANDING, F as withoutCallerStamp, Fi as TransactRefusedError, Fn as entryBody, G as readNodePin, Gn as defineRecordKinds, Gr as parseSecretPath, H as commandOrigin, Hn as StoredRecordKindDeclarationSchema, Hr as REMOVE_LEAF, I as customAction, Ii as UnindexedFilterError, In as EntryDescriptorSchema, J as PipelineRunResultBridge, Jn as isZodSecret, Jr as recordSecretRef, Kr as recordArrayItemPath, L as defineCustomActions, Li as UnknownRecordKindError, Ln as RecordFieldPathSchema, Mi as RecordUniqueViolationError, Mr as resolvedValues, N as CAP_STATE_LEAVES, Ni as RecordsError, Nn as DisposerChain, O as HF_REPO, Oi as RECORDS_ERROR_CODES, On as PEER_BYTES_TICKET_TTL_MS, P as CALLER_STAMPED_CAPABILITIES, Pi as RevConflictError, Pn as defineEntryKind, Q as deviceOpsCapability, Qr as RECORD_CLASSES, R as describeCustomActions, Ri as asRecordsError, Rn as RecordIndexSchema, Sa as findMigrationsBlocked, Si as DeclarationRefusedError, Sn as registerKnownSecret, T as isCommand, Ti as InvalidRecordError, Tn as PEER_BYTES_CHUNK_BYTES, U as nodePin, Un as assertValidDeclaration, Ur as collectSecretLeaves, Vn as RecordRetentionSchema, Vr as secretViewsOf, W as readCommandOrigin, Wn as declarationsOf, Wr as mapSecretLeaves, X as MIGRATION_API_VERSION, Xi as emitReadiness, Xr as RECORD_BATCH_MAX, Y as PipelineStepInputSchema, Yi as createEvent, Yr as secretArrayPrefixes, Zr as RECORD_BATCH_MAX_BYTES, _i as parseSecretRef, _n as createSecretsAccess, ai as RECORD_MAX_INDEX_FIELDS, bn as forgetKnownSecret, c as asString, ca as isSecretClear, ci as RECORD_SETTINGS_MAX_ROWS, d as parseJsonUnknown, da as isSecretMarkerLike, di as arrayItemFieldPath, dn as ruleFireOfClaim, dr as ErrorI18nPayloadSchema, dt as ReadinessRegistry, ei as RECORD_DEFAULT_MAX_DATA_BYTES, et as adminUiCapability, f as hfModelUrl, fa as makeSecretMarker, fi as buildSecretRef, fn as makeInMemoryRecords, ft as ReadinessTimeoutError, g as createDeviceProxy, gi as normalizeSecretOwner, gn as REVALIDATE_AFTER_MS, gr as BaseAddon, h as isDeviceScopedCap, hi as isSecretRef, hn as resolveSecretViewsIn, ht as scopeKey, ii as RECORD_MAX_INDEXES, j as CAP_METHOD_TIMEOUTS_MS, ji as RecordTooLargeError, jn as DATAPLANE_SECRET_HEADER, jr as resolveDeviceSettings, ki as RecordNotFoundError, kr as SCOPED_SETTINGS_SCOPES, la as isSecretFieldView, li as RECORD_SWEEP_INTERVAL_MS, ln as CommandOriginClaimSchema, m as DEVICE_SCOPED_CAPS, mi as globalSecretScope, mn as assertTransactScope, mr as readErrorI18n, ni as RECORD_ID_MAX_LENGTH, nr as expandCapMethods, nt as addonPagesSourceCapability, o as asJsonObject, oa as SECRET_CLEAR, oi as RECORD_QUERY_MAX, p as BOOT_RECOVERY_BACKOFF_MS, pa as toSecretFieldView, pi as formatSecretScope, pn as createRecordsAccess, q as viewerUiCapability, qn as collectZodSecretPaths, qr as recordSecretCollection, r as maskUrlCredentials, ri as RECORD_MAX_DATA_BYTES, sa as classifySecretWrite, si as RECORD_SECRET_COLLECTION_PREFIX, t as sleep, ti as RECORD_DELETE_BATCH, ua as isSecretMarker, ui as SECRET_REF_SCHEME, un as RuleFireOriginSchema, ut as MODEL_FORMATS, v as addonSliceHandleApi, vn as MIN_SCRUBBED_LENGTH, wi as ForeignSecretMarkerError, wn as shortSecretRefHash, xa as AddonMigrationsBlockedError, xi as BatchTooLargeError, xn as knownSecretCount, y as createEventBusSliceSource, yn as clearKnownSecrets, yr as normalizeAddonInitResult, zi as recordsErrorFromMessage, zn as RecordKindDeclarationSchema } from "./sleep-
|
|
1
|
+
import { $ as DEVICE_CHILDREN_BATCH_MAX, $r as RECORD_DATABASES, A as CAP_ADVANCE_FIELDS, Ai as RecordSecretUnavailableError, An as CALLER_USERNAME_HEADER, Ar as nodeIdOfScopedKey, Bn as RecordKindNameSchema, Ci as FilterRequiredError, Cn as scrubKnownSecrets, Ct as createDebugEmitter, Di as PlaintextSecretError, Dn as PEER_BYTES_STALL_MS, Ei as NoCallerError, En as PEER_BYTES_MAX_OUTSTANDING, F as withoutCallerStamp, Fi as TransactRefusedError, Fn as entryBody, G as readNodePin, Gn as defineRecordKinds, Gr as parseSecretPath, H as commandOrigin, Hn as StoredRecordKindDeclarationSchema, Hr as REMOVE_LEAF, I as customAction, Ii as UnindexedFilterError, In as EntryDescriptorSchema, J as PipelineRunResultBridge, Jn as isZodSecret, Jr as recordSecretRef, Kr as recordArrayItemPath, L as defineCustomActions, Li as UnknownRecordKindError, Ln as RecordFieldPathSchema, Mi as RecordUniqueViolationError, Mr as resolvedValues, N as CAP_STATE_LEAVES, Ni as RecordsError, Nn as DisposerChain, O as HF_REPO, Oi as RECORDS_ERROR_CODES, On as PEER_BYTES_TICKET_TTL_MS, P as CALLER_STAMPED_CAPABILITIES, Pi as RevConflictError, Pn as defineEntryKind, Q as deviceOpsCapability, Qr as RECORD_CLASSES, R as describeCustomActions, Ri as asRecordsError, Rn as RecordIndexSchema, Sa as findMigrationsBlocked, Si as DeclarationRefusedError, Sn as registerKnownSecret, T as isCommand, Ti as InvalidRecordError, Tn as PEER_BYTES_CHUNK_BYTES, U as nodePin, Un as assertValidDeclaration, Ur as collectSecretLeaves, Vn as RecordRetentionSchema, Vr as secretViewsOf, W as readCommandOrigin, Wn as declarationsOf, Wr as mapSecretLeaves, X as MIGRATION_API_VERSION, Xi as emitReadiness, Xr as RECORD_BATCH_MAX, Y as PipelineStepInputSchema, Yi as createEvent, Yr as secretArrayPrefixes, Zr as RECORD_BATCH_MAX_BYTES, _i as parseSecretRef, _n as createSecretsAccess, ai as RECORD_MAX_INDEX_FIELDS, bn as forgetKnownSecret, c as asString, ca as isSecretClear, ci as RECORD_SETTINGS_MAX_ROWS, d as parseJsonUnknown, da as isSecretMarkerLike, di as arrayItemFieldPath, dn as ruleFireOfClaim, dr as ErrorI18nPayloadSchema, dt as ReadinessRegistry, ei as RECORD_DEFAULT_MAX_DATA_BYTES, et as adminUiCapability, f as hfModelUrl, fa as makeSecretMarker, fi as buildSecretRef, fn as makeInMemoryRecords, ft as ReadinessTimeoutError, g as createDeviceProxy, gi as normalizeSecretOwner, gn as REVALIDATE_AFTER_MS, gr as BaseAddon, h as isDeviceScopedCap, hi as isSecretRef, hn as resolveSecretViewsIn, ht as scopeKey, ii as RECORD_MAX_INDEXES, j as CAP_METHOD_TIMEOUTS_MS, ji as RecordTooLargeError, jn as DATAPLANE_SECRET_HEADER, jr as resolveDeviceSettings, ki as RecordNotFoundError, kr as SCOPED_SETTINGS_SCOPES, la as isSecretFieldView, li as RECORD_SWEEP_INTERVAL_MS, ln as CommandOriginClaimSchema, m as DEVICE_SCOPED_CAPS, mi as globalSecretScope, mn as assertTransactScope, mr as readErrorI18n, ni as RECORD_ID_MAX_LENGTH, nr as expandCapMethods, nt as addonPagesSourceCapability, o as asJsonObject, oa as SECRET_CLEAR, oi as RECORD_QUERY_MAX, p as BOOT_RECOVERY_BACKOFF_MS, pa as toSecretFieldView, pi as formatSecretScope, pn as createRecordsAccess, q as viewerUiCapability, qn as collectZodSecretPaths, qr as recordSecretCollection, r as maskUrlCredentials, ri as RECORD_MAX_DATA_BYTES, sa as classifySecretWrite, si as RECORD_SECRET_COLLECTION_PREFIX, t as sleep, ti as RECORD_DELETE_BATCH, ua as isSecretMarker, ui as SECRET_REF_SCHEME, un as RuleFireOriginSchema, ut as MODEL_FORMATS, v as addonSliceHandleApi, vn as MIN_SCRUBBED_LENGTH, wi as ForeignSecretMarkerError, wn as shortSecretRefHash, xa as AddonMigrationsBlockedError, xi as BatchTooLargeError, xn as knownSecretCount, y as createEventBusSliceSource, yn as clearKnownSecrets, yr as normalizeAddonInitResult, zi as recordsErrorFromMessage, zn as RecordKindDeclarationSchema } from "./sleep-Dz1P6--1.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-78tcBemo.mjs";
|
|
3
|
-
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-
|
|
3
|
+
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-jnvhwGoH.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
6
6
|
* AUTO-GENERATED by scripts/generate-cap-input-defaults.ts — DO NOT EDIT.
|
|
@@ -139,15 +139,8 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
"osd-manager": {
|
|
142
|
-
"setSlotBinding": { "binding": { "__nested__": {
|
|
143
|
-
|
|
144
|
-
"template": "${value}",
|
|
145
|
-
"maxDecimals": 1
|
|
146
|
-
} } },
|
|
147
|
-
"upsertTemplate": { "template": { "__nested__": {
|
|
148
|
-
"bindings": [],
|
|
149
|
-
"parser": ""
|
|
150
|
-
} } }
|
|
142
|
+
"setSlotBinding": { "binding": { "__nested__": { "enabled": true } } },
|
|
143
|
+
"upsertTemplate": { "template": { "__nested__": { "text": "" } } }
|
|
151
144
|
},
|
|
152
145
|
"pipeline-analytics": {
|
|
153
146
|
"getAudioEvents": { "limit": 1e3 },
|
|
@@ -459,21 +452,60 @@ function isCollectionArrayMethodName(capName, method) {
|
|
|
459
452
|
* Per capability, the methods declared `optionalMethod` — the ones whose
|
|
460
453
|
* ABSENCE on a provider is a fact about that provider, not a bug.
|
|
461
454
|
*
|
|
462
|
-
* Coverage:
|
|
455
|
+
* Coverage: 10 caps, 43 methods.
|
|
463
456
|
*/
|
|
464
457
|
var PROVIDER_OPTIONAL_METHODS = Object.freeze({
|
|
458
|
+
"climate-control": [
|
|
459
|
+
"setFanMode",
|
|
460
|
+
"setPreset",
|
|
461
|
+
"setSwingHorizontal",
|
|
462
|
+
"setSwingVertical",
|
|
463
|
+
"setTargetHumidity",
|
|
464
|
+
"setTargetRange"
|
|
465
|
+
],
|
|
466
|
+
"cover": [
|
|
467
|
+
"setPosition",
|
|
468
|
+
"setTiltPosition",
|
|
469
|
+
"stop"
|
|
470
|
+
],
|
|
465
471
|
"device-export": [
|
|
466
472
|
"exposeEntity",
|
|
467
473
|
"listExposedEntities",
|
|
468
474
|
"listSupportedEntityKinds",
|
|
469
475
|
"unexposeEntity"
|
|
470
476
|
],
|
|
477
|
+
"fan-control": [
|
|
478
|
+
"setDirection",
|
|
479
|
+
"setOscillating",
|
|
480
|
+
"setPercentage",
|
|
481
|
+
"setPreset"
|
|
482
|
+
],
|
|
471
483
|
"integration-instances": ["testInstance"],
|
|
484
|
+
"lock-control": ["open"],
|
|
472
485
|
"log-destination": [
|
|
473
486
|
"cancelRead",
|
|
474
487
|
"describeRead",
|
|
475
488
|
"read"
|
|
476
489
|
],
|
|
490
|
+
"media-player": [
|
|
491
|
+
"channelDown",
|
|
492
|
+
"channelUp",
|
|
493
|
+
"next",
|
|
494
|
+
"playMedia",
|
|
495
|
+
"previous",
|
|
496
|
+
"seek",
|
|
497
|
+
"selectSource",
|
|
498
|
+
"setMute",
|
|
499
|
+
"setRepeat",
|
|
500
|
+
"setShuffle",
|
|
501
|
+
"setVolume",
|
|
502
|
+
"stop",
|
|
503
|
+
"turnOff",
|
|
504
|
+
"turnOn",
|
|
505
|
+
"volumeDown",
|
|
506
|
+
"volumeUp"
|
|
507
|
+
],
|
|
508
|
+
"valve": ["setPosition"],
|
|
477
509
|
"videoclips": [
|
|
478
510
|
"dialClipStream",
|
|
479
511
|
"getPlaybackOptions",
|
|
@@ -99,6 +99,8 @@ export declare class StepTemplateError extends Error {
|
|
|
99
99
|
readonly reason: string;
|
|
100
100
|
constructor(reason: string, message: string);
|
|
101
101
|
}
|
|
102
|
+
/** `text` with every `{{vars.x}}` slot (the only slot the run-time holds) replaced by `replacement`. */
|
|
103
|
+
export declare function holdVarSlots(text: string, replacement: string): string;
|
|
102
104
|
/** True when a string, once its `{{vars.x}}` slots are set aside, still carries template markup. */
|
|
103
105
|
export declare function carriesDeviceTemplate(text: string): boolean;
|
|
104
106
|
/** Every string in `value` that is a device template (D1021), de-duplicated, in walk order. */
|
|
@@ -1093,10 +1093,14 @@ type NativeMethodFn<M> = M extends CapabilityMethodSchema<infer TIn, infer TOut>
|
|
|
1093
1093
|
export type InferNativeProvider<T extends CapabilityDefinition> = {
|
|
1094
1094
|
readonly [K in keyof T['methods'] as T['methods'][K] extends {
|
|
1095
1095
|
systemOnly: true;
|
|
1096
|
+
} | {
|
|
1097
|
+
providerOptional: true;
|
|
1096
1098
|
} ? never : K]: NativeMethodFn<T['methods'][K]>;
|
|
1097
1099
|
} & {
|
|
1098
1100
|
readonly [K in keyof T['methods'] as T['methods'][K] extends {
|
|
1099
1101
|
systemOnly: true;
|
|
1102
|
+
} | {
|
|
1103
|
+
providerOptional: true;
|
|
1100
1104
|
} ? K : never]?: NativeMethodFn<T['methods'][K]>;
|
|
1101
1105
|
} & (T extends {
|
|
1102
1106
|
status: CapabilityStatusSchema;
|
|
@@ -109,11 +109,15 @@ export declare const climateControlCapability: {
|
|
|
109
109
|
readonly setFanMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
110
110
|
deviceId: z.ZodNumber;
|
|
111
111
|
fanMode: z.ZodString;
|
|
112
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
112
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
113
|
+
readonly providerOptional: true;
|
|
114
|
+
};
|
|
113
115
|
readonly setPreset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
114
116
|
deviceId: z.ZodNumber;
|
|
115
117
|
preset: z.ZodString;
|
|
116
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
118
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
119
|
+
readonly providerOptional: true;
|
|
120
|
+
};
|
|
117
121
|
readonly setTarget: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
118
122
|
deviceId: z.ZodNumber;
|
|
119
123
|
target: z.ZodNumber;
|
|
@@ -122,19 +126,27 @@ export declare const climateControlCapability: {
|
|
|
122
126
|
deviceId: z.ZodNumber;
|
|
123
127
|
targetLow: z.ZodNumber;
|
|
124
128
|
targetHigh: z.ZodNumber;
|
|
125
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
129
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
130
|
+
readonly providerOptional: true;
|
|
131
|
+
};
|
|
126
132
|
readonly setTargetHumidity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
127
133
|
deviceId: z.ZodNumber;
|
|
128
134
|
targetHumidity: z.ZodNumber;
|
|
129
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
135
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
136
|
+
readonly providerOptional: true;
|
|
137
|
+
};
|
|
130
138
|
readonly setSwingVertical: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
131
139
|
deviceId: z.ZodNumber;
|
|
132
140
|
on: z.ZodBoolean;
|
|
133
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
141
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
142
|
+
readonly providerOptional: true;
|
|
143
|
+
};
|
|
134
144
|
readonly setSwingHorizontal: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
135
145
|
deviceId: z.ZodNumber;
|
|
136
146
|
on: z.ZodBoolean;
|
|
137
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
147
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
148
|
+
readonly providerOptional: true;
|
|
149
|
+
};
|
|
138
150
|
};
|
|
139
151
|
readonly status: {
|
|
140
152
|
readonly schema: z.ZodObject<{
|
|
@@ -59,15 +59,21 @@ export declare const coverCapability: {
|
|
|
59
59
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
60
60
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
61
61
|
deviceId: z.ZodNumber;
|
|
62
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
62
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
63
|
+
readonly providerOptional: true;
|
|
64
|
+
};
|
|
63
65
|
readonly setPosition: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
64
66
|
deviceId: z.ZodNumber;
|
|
65
67
|
position: z.ZodNumber;
|
|
66
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
68
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
69
|
+
readonly providerOptional: true;
|
|
70
|
+
};
|
|
67
71
|
readonly setTiltPosition: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
68
72
|
deviceId: z.ZodNumber;
|
|
69
73
|
tiltPosition: z.ZodNumber;
|
|
70
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
74
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
75
|
+
readonly providerOptional: true;
|
|
76
|
+
};
|
|
71
77
|
};
|
|
72
78
|
readonly status: {
|
|
73
79
|
readonly schema: z.ZodObject<{
|
|
@@ -204,6 +204,7 @@ export declare const DeviceBindingsForDeviceSchema: z.ZodObject<{
|
|
|
204
204
|
providerAddonId: z.ZodString;
|
|
205
205
|
providerNodeId: z.ZodString;
|
|
206
206
|
nativeAddonId: z.ZodString;
|
|
207
|
+
implementedMethods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
208
|
}, z.core.$strip>>;
|
|
208
209
|
}, z.core.$strip>;
|
|
209
210
|
export type DeviceBindingsForDevice = z.infer<typeof DeviceBindingsForDeviceSchema>;
|
|
@@ -641,6 +642,10 @@ export declare const deviceManagerCapability: {
|
|
|
641
642
|
readonly renderDeviceTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
642
643
|
templates: z.ZodArray<z.ZodString>;
|
|
643
644
|
allowedDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
645
|
+
thisDevice: z.ZodOptional<z.ZodObject<{
|
|
646
|
+
deviceId: z.ZodNumber;
|
|
647
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
644
649
|
}, z.core.$strip>, z.ZodObject<{
|
|
645
650
|
results: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
646
651
|
ok: z.ZodLiteral<true>;
|
|
@@ -693,6 +698,10 @@ export declare const deviceManagerCapability: {
|
|
|
693
698
|
readonly checkDeviceTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
694
699
|
templates: z.ZodArray<z.ZodString>;
|
|
695
700
|
allowedDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
701
|
+
thisDevice: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
deviceId: z.ZodNumber;
|
|
703
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
704
|
+
}, z.core.$strip>>;
|
|
696
705
|
}, z.core.$strip>, z.ZodObject<{
|
|
697
706
|
results: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
698
707
|
ok: z.ZodLiteral<true>;
|
|
@@ -700,7 +709,9 @@ export declare const deviceManagerCapability: {
|
|
|
700
709
|
alias: z.ZodString;
|
|
701
710
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
702
711
|
allowed: z.ZodBoolean;
|
|
712
|
+
reads: z.ZodArray<z.ZodString>;
|
|
703
713
|
}, z.core.$strip>>;
|
|
714
|
+
readsClock: z.ZodBoolean;
|
|
704
715
|
}, z.core.$strip>, z.ZodObject<{
|
|
705
716
|
ok: z.ZodLiteral<false>;
|
|
706
717
|
refusal: z.ZodObject<{
|
|
@@ -1540,6 +1551,7 @@ export declare const deviceManagerCapability: {
|
|
|
1540
1551
|
providerAddonId: z.ZodString;
|
|
1541
1552
|
providerNodeId: z.ZodString;
|
|
1542
1553
|
nativeAddonId: z.ZodString;
|
|
1554
|
+
implementedMethods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1543
1555
|
}, z.core.$strip>>;
|
|
1544
1556
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1545
1557
|
/**
|
|
@@ -1569,6 +1581,7 @@ export declare const deviceManagerCapability: {
|
|
|
1569
1581
|
providerAddonId: z.ZodString;
|
|
1570
1582
|
providerNodeId: z.ZodString;
|
|
1571
1583
|
nativeAddonId: z.ZodString;
|
|
1584
|
+
implementedMethods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1572
1585
|
}, z.core.$strip>>;
|
|
1573
1586
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1574
1587
|
/**
|
|
@@ -1599,6 +1612,7 @@ export declare const deviceManagerCapability: {
|
|
|
1599
1612
|
providerAddonId: z.ZodString;
|
|
1600
1613
|
providerNodeId: z.ZodString;
|
|
1601
1614
|
nativeAddonId: z.ZodString;
|
|
1615
|
+
implementedMethods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1602
1616
|
}, z.core.$strip>>;
|
|
1603
1617
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1604
1618
|
/**
|
|
@@ -47,22 +47,30 @@ export declare const fanControlCapability: {
|
|
|
47
47
|
readonly setPercentage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
48
48
|
deviceId: z.ZodNumber;
|
|
49
49
|
speed: z.ZodNumber;
|
|
50
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
50
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
51
|
+
readonly providerOptional: true;
|
|
52
|
+
};
|
|
51
53
|
readonly setPreset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
52
54
|
deviceId: z.ZodNumber;
|
|
53
55
|
preset: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
56
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
57
|
+
readonly providerOptional: true;
|
|
58
|
+
};
|
|
55
59
|
readonly setDirection: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
56
60
|
deviceId: z.ZodNumber;
|
|
57
61
|
direction: z.ZodEnum<{
|
|
58
62
|
forward: "forward";
|
|
59
63
|
reverse: "reverse";
|
|
60
64
|
}>;
|
|
61
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
65
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
66
|
+
readonly providerOptional: true;
|
|
67
|
+
};
|
|
62
68
|
readonly setOscillating: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
63
69
|
deviceId: z.ZodNumber;
|
|
64
70
|
oscillating: z.ZodBoolean;
|
|
65
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
71
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
72
|
+
readonly providerOptional: true;
|
|
73
|
+
};
|
|
66
74
|
};
|
|
67
75
|
readonly status: {
|
|
68
76
|
readonly schema: z.ZodObject<{
|
|
@@ -109,8 +109,8 @@ export type { BoardKeyBoard, BoardKeyFailureReason, BoardKeyListResult, BoardKey
|
|
|
109
109
|
export { BoardKeyFailureReasonSchema, boardKeySourceCapability } from './board-key-source.cap.js';
|
|
110
110
|
export type { NetworkAccessStatus, NetworkEndpoint, NetworkTunnelStartedData, } from './network-access.cap.js';
|
|
111
111
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, NetworkTunnelStartedDataSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
112
|
-
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DeliveryParam, DeliveryParamSchema, type DeliveryParamValue, DeliveryParamValueSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
113
|
-
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_LEGACY_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaImage, NcMediaImageSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleActions, NcRuleActionsSchema, NcActionIdSchema, type NcHookActionIds, NcHookActionIdsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NC_STATE_SUMMARY_SECTION_IDS, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, type NcSystemEventDeliveryToggle, NcSystemEventDeliveryToggleSchema, type NcSystemEventModesDelivery, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateDefault, NcTemplateDefaultSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
112
|
+
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DeliveryParam, DeliveryParamSchema, type DeliveryParamValue, DeliveryParamValueSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationField, NotificationFieldSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, type TargetKindTextCaps, TargetKindTextCapsSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
113
|
+
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_LEGACY_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaImage, NcMediaImageSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleActions, NcRuleActionsSchema, NcActionIdSchema, type NcHookActionIds, NcHookActionIdsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcTargetOverride, NcTargetOverrideSchema, NC_TEMPLATE_TITLE_MAX_CHARS, type NcTargetOverrides, NcTargetOverridesSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NC_STATE_SUMMARY_SECTION_IDS, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, type NcSystemEventDeliveryToggle, NcSystemEventDeliveryToggleSchema, type NcSystemEventModesDelivery, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateDefault, NcTemplateDefaultSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
114
114
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
115
115
|
export { type IIntegrationInstancesProvider, type IntegrationInstance, type IntegrationInstanceDescription, IntegrationInstanceDescriptionSchema, type IntegrationInstanceDiscovery, IntegrationInstanceDiscoverySchema, IntegrationInstanceIdSchema, type IntegrationInstanceKind, type IntegrationInstanceLink, IntegrationInstanceLinkSchema, IntegrationInstanceKindSchema, type IntegrationInstanceMode, IntegrationInstanceModeSchema, type IntegrationInstancePatch, IntegrationInstancePatchSchema, type IntegrationInstanceRole, IntegrationInstanceRoleSchema, IntegrationInstanceSchema, type IntegrationInstanceStatus, IntegrationInstanceStatusSchema, integrationInstancesCapability, } from './integration-instances.cap.js';
|
|
116
116
|
export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainBoxReview, RetrainBoxReviewSchema, type RetrainDismissed, RetrainDismissedSchema, type RetrainFrameReview, RetrainFrameReviewSchema, type RetrainOrigin, RetrainOriginSchema, type RetrainReviewStatus, RetrainReviewStatusSchema, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, type RetrainAnnotationSource, RetrainAnnotationSourceSchema, type RetrainArchiveResult, RetrainArchiveResultSchema, type RetrainArchiveTarget, RetrainArchiveTargetSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainExportFilter, RetrainExportFilterSchema, type RetrainExportLayout, RetrainExportLayoutSchema, type AddRetrainFrameFromRecordingResult, AddRetrainFrameFromRecordingResultSchema, type RetrainDatasetSelection, RetrainDatasetSelectionSchema, type RetrainDatasetStats, RetrainDatasetStatsSchema, type RetrainDatasetVersion, RetrainDatasetVersionSchema, type RetrainTrainingCorpusResolveResult, RetrainTrainingCorpusResolveResultSchema, type RetrainTrainingCorpusSelection, RetrainTrainingCorpusSelectionSchema, type RetrainAssistProfile, RetrainAssistProfileSchema, type RetrainLlmAssistResult, RetrainLlmAssistResultSchema, type RetrainLlmProposal, RetrainLlmProposalSchema, type RetrainLlmReview, RetrainLlmReviewSchema, type RetrainCollection, type RetrainCollectionCreateResult, RetrainCollectionCreateResultSchema, type RetrainCollectionRenameResult, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, type RetrainCorpusFilter, RetrainCorpusFilterSchema, type RetrainCorpusKpi, RetrainCorpusKpiSchema, type RetrainCorpusKpiCameraRow, RetrainCorpusKpiCameraRowSchema, type RetrainCorpusPage, RetrainCorpusPageSchema, type RetrainCorpusPageFrame, RetrainCorpusPageFrameSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, type RetrainFrameOrigin, RetrainFrameOriginSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainFrameWorkState, RetrainFrameWorkStateSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainPipelineBox, RetrainPipelineBoxSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type RetrainVerdict, RetrainVerdictSchema, type RetrainVerdictSubject, RetrainVerdictSubjectSchema, type RetrainVerdictValue, RetrainVerdictValueSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackPlacement, TrackPlacementSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
@@ -234,7 +234,7 @@ export { ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, type I
|
|
|
234
234
|
export { type INotifierProvider, type NotifierAction, type NotifierPriority, type NotifierSendInput, type NotifierSendResult, type NotifierStatus, NotifierStatusSchema, type NotifierSupports, notifierCapability, } from './notifier.cap.js';
|
|
235
235
|
export { type INumericSensorProvider, type NumericSensorStatus, NumericSensorStatusSchema, numericSensorCapability, } from './numeric-sensor.cap.js';
|
|
236
236
|
export { type IOsdProvider, type OsdOverlay, type OsdOverlayKind, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, type OsdPosition, OsdPositionEnum, type OsdStatus, OsdStatusSchema, osdCapability, } from './osd.cap.js';
|
|
237
|
-
export { type IOsdManagerProvider, type OsdNamedTemplate, OsdNamedTemplateSchema, type OsdRenderOutcome, OsdRenderOutcomeEnum, type OsdRenderResult, OsdRenderResultSchema, type OsdSlotBinding, OsdSlotBindingSchema, type OsdSlotView, OsdSlotViewSchema, type OsdSource,
|
|
237
|
+
export { type IOsdManagerProvider, type OsdNamedTemplate, OsdNamedTemplateSchema, type OsdRenderOutcome, OsdRenderOutcomeEnum, type OsdRenderResult, OsdRenderResultSchema, type OsdSlotBinding, OsdSlotBindingSchema, type OsdSlotView, OsdSlotViewSchema, type OsdSource, OsdSourceSchema, OSD_TEMPLATE_TEXT_MAX, type OsdTemplatePreview, OsdTemplatePreviewSchema, osdManagerCapability, } from './osd-manager.cap.js';
|
|
238
238
|
export { type IPetFeederProvider, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, type PetFeederStatus, PetFeederStatusSchema, petFeederCapability, } from './pet-feeder.cap.js';
|
|
239
239
|
export { type IPetFountainProvider, PET_FOUNTAIN_WATER_KEY, type PetFountainStatus, PetFountainStatusSchema, petFountainCapability, petFountainWaterItem, } from './pet-fountain.cap.js';
|
|
240
240
|
export { type IPumpCycleProvider, type PumpCycleStatus, PumpCycleStatusSchema, pumpCycleCapability, } from './pump-cycle.cap.js';
|
|
@@ -69,7 +69,9 @@ export declare const lockControlCapability: {
|
|
|
69
69
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
70
70
|
readonly open: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
71
71
|
deviceId: z.ZodNumber;
|
|
72
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
72
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
73
|
+
readonly providerOptional: true;
|
|
74
|
+
};
|
|
73
75
|
};
|
|
74
76
|
readonly status: {
|
|
75
77
|
readonly schema: z.ZodObject<{
|
|
@@ -120,26 +120,38 @@ export declare const mediaPlayerCapability: {
|
|
|
120
120
|
readonly methods: {
|
|
121
121
|
readonly turnOn: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
122
122
|
deviceId: z.ZodNumber;
|
|
123
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
123
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
124
|
+
readonly providerOptional: true;
|
|
125
|
+
};
|
|
124
126
|
readonly turnOff: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
125
127
|
deviceId: z.ZodNumber;
|
|
126
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
128
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
129
|
+
readonly providerOptional: true;
|
|
130
|
+
};
|
|
127
131
|
readonly volumeUp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
128
132
|
deviceId: z.ZodNumber;
|
|
129
133
|
steps: z.ZodDefault<z.ZodNumber>;
|
|
130
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
134
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
135
|
+
readonly providerOptional: true;
|
|
136
|
+
};
|
|
131
137
|
readonly volumeDown: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
132
138
|
deviceId: z.ZodNumber;
|
|
133
139
|
steps: z.ZodDefault<z.ZodNumber>;
|
|
134
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
140
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
141
|
+
readonly providerOptional: true;
|
|
142
|
+
};
|
|
135
143
|
readonly channelUp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
136
144
|
deviceId: z.ZodNumber;
|
|
137
145
|
steps: z.ZodDefault<z.ZodNumber>;
|
|
138
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
146
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
147
|
+
readonly providerOptional: true;
|
|
148
|
+
};
|
|
139
149
|
readonly channelDown: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
140
150
|
deviceId: z.ZodNumber;
|
|
141
151
|
steps: z.ZodDefault<z.ZodNumber>;
|
|
142
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
152
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
153
|
+
readonly providerOptional: true;
|
|
154
|
+
};
|
|
143
155
|
readonly play: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
144
156
|
deviceId: z.ZodNumber;
|
|
145
157
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
@@ -148,29 +160,43 @@ export declare const mediaPlayerCapability: {
|
|
|
148
160
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
149
161
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
150
162
|
deviceId: z.ZodNumber;
|
|
151
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
163
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
164
|
+
readonly providerOptional: true;
|
|
165
|
+
};
|
|
152
166
|
readonly next: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
153
167
|
deviceId: z.ZodNumber;
|
|
154
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
168
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
169
|
+
readonly providerOptional: true;
|
|
170
|
+
};
|
|
155
171
|
readonly previous: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
156
172
|
deviceId: z.ZodNumber;
|
|
157
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
173
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
174
|
+
readonly providerOptional: true;
|
|
175
|
+
};
|
|
158
176
|
readonly seek: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
159
177
|
deviceId: z.ZodNumber;
|
|
160
178
|
position: z.ZodNumber;
|
|
161
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
179
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
180
|
+
readonly providerOptional: true;
|
|
181
|
+
};
|
|
162
182
|
readonly setVolume: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
163
183
|
deviceId: z.ZodNumber;
|
|
164
184
|
volumeLevel: z.ZodNumber;
|
|
165
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
185
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
186
|
+
readonly providerOptional: true;
|
|
187
|
+
};
|
|
166
188
|
readonly setMute: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
167
189
|
deviceId: z.ZodNumber;
|
|
168
190
|
muted: z.ZodBoolean;
|
|
169
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
191
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
192
|
+
readonly providerOptional: true;
|
|
193
|
+
};
|
|
170
194
|
readonly setShuffle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
171
195
|
deviceId: z.ZodNumber;
|
|
172
196
|
shuffle: z.ZodBoolean;
|
|
173
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
197
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
198
|
+
readonly providerOptional: true;
|
|
199
|
+
};
|
|
174
200
|
readonly setRepeat: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
175
201
|
deviceId: z.ZodNumber;
|
|
176
202
|
repeat: z.ZodEnum<{
|
|
@@ -178,16 +204,22 @@ export declare const mediaPlayerCapability: {
|
|
|
178
204
|
off: "off";
|
|
179
205
|
one: "one";
|
|
180
206
|
}>;
|
|
181
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
207
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
208
|
+
readonly providerOptional: true;
|
|
209
|
+
};
|
|
182
210
|
readonly selectSource: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
183
211
|
deviceId: z.ZodNumber;
|
|
184
212
|
source: z.ZodString;
|
|
185
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
213
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
214
|
+
readonly providerOptional: true;
|
|
215
|
+
};
|
|
186
216
|
readonly playMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
187
217
|
deviceId: z.ZodNumber;
|
|
188
218
|
mediaId: z.ZodString;
|
|
189
219
|
mediaType: z.ZodString;
|
|
190
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"
|
|
220
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
221
|
+
readonly providerOptional: true;
|
|
222
|
+
};
|
|
191
223
|
};
|
|
192
224
|
readonly status: {
|
|
193
225
|
readonly schema: z.ZodObject<{
|