@camstack/types 1.2.547 → 1.2.549
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 +20 -0
- package/dist/addon.js +5 -5
- package/dist/addon.mjs +5 -5
- package/dist/automation/condition-eval.d.ts +24 -0
- package/dist/automation/hold.d.ts +11 -0
- package/dist/automation/index.d.ts +6 -4
- package/dist/automation/recipe.d.ts +5 -0
- package/dist/automation/step-condition.d.ts +7 -2
- package/dist/automation/trace.d.ts +6 -0
- package/dist/automation/trigger-variables.d.ts +3 -1
- package/dist/automation/when-site.d.ts +27 -0
- package/dist/automation/when.d.ts +107 -1
- package/dist/capabilities/accessories.cap.d.ts +1 -1
- package/dist/capabilities/actions.cap.d.ts +2 -0
- package/dist/capabilities/battery.cap.d.ts +2 -2
- package/dist/capabilities/capability-definition.d.ts +47 -1
- package/dist/capabilities/climate-control.cap.d.ts +8 -1
- package/dist/capabilities/core-blocks.cap.d.ts +8 -0
- package/dist/capabilities/customize-catalog.d.ts +3 -1
- package/dist/capabilities/customize-spec.d.ts +26 -2
- package/dist/capabilities/device-manager.cap.d.ts +6 -0
- package/dist/capabilities/fan-control.cap.d.ts +248 -0
- package/dist/capabilities/fan-presets.cap.d.ts +172 -536
- package/dist/capabilities/group-active.cap.d.ts +1 -1
- package/dist/capabilities/group-commands.cap.d.ts +1 -1
- package/dist/capabilities/group-status.cap.d.ts +1 -1
- package/dist/capabilities/heating-valve.cap.d.ts +1 -1
- package/dist/capabilities/hero-layout.cap.d.ts +2 -0
- package/dist/capabilities/humidifier.cap.d.ts +5 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +4 -4
- package/dist/capabilities/media-player.cap.d.ts +7 -0
- package/dist/capabilities/pet-fountain.cap.d.ts +5 -0
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/power-source.cap.d.ts +5 -0
- package/dist/capabilities/running-state.cap.d.ts +2 -2
- package/dist/capabilities/schedulers.cap.d.ts +2 -0
- package/dist/capabilities/switch.cap.d.ts +1 -1
- package/dist/capabilities/temperature-sensor.cap.d.ts +1 -1
- package/dist/capabilities/timed-run.cap.d.ts +19 -5
- package/dist/capabilities/water-heater.cap.d.ts +7 -0
- package/dist/client.js +7 -11
- package/dist/client.mjs +7 -11
- package/dist/{composed-stable-id-DrGLxjVF.js → composed-stable-id-CDNLq7Y8.js} +27 -10
- package/dist/{composed-stable-id-DFNyOFzz.mjs → composed-stable-id-CPp3votu.mjs} +27 -10
- package/dist/composition/composition-report.d.ts +6 -0
- package/dist/composition/evaluate-field.d.ts +7 -0
- package/dist/composition/field-kinds.d.ts +12 -1
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/source-pick.d.ts +0 -5
- package/dist/composition/power-source-link.d.ts +15 -0
- package/dist/composition/state-fields.d.ts +2 -0
- package/dist/composition/validate-composition.d.ts +15 -1
- package/dist/device/base-device-provider.d.ts +13 -0
- package/dist/device/device-control-resolution.d.ts +1 -33
- package/dist/device/device-kind.d.ts +36 -0
- package/dist/device/device-management.d.ts +3 -0
- package/dist/device/device-type.d.ts +27 -10
- package/dist/device/hero/hero-fragment.d.ts +2 -0
- package/dist/device/hero/hero-layout.d.ts +1 -3
- package/dist/device/hero/hero-look.d.ts +18 -12
- package/dist/device/hero/hero-scene.d.ts +9 -3
- package/dist/device/index.d.ts +2 -1
- package/dist/device/power-switch.d.ts +82 -0
- package/dist/device/schema-fields.d.ts +10 -1
- package/dist/generated/addon-api.d.ts +27 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/customize-catalog.d.ts +257 -8
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/{implemented-methods-M5aguGon.mjs → implemented-methods-5YMDeE3f.mjs} +1 -1
- package/dist/{implemented-methods-8AU92riC.js → implemented-methods-Cj65uy2F.js} +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.js +1783 -451
- package/dist/index.mjs +1740 -445
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-D_NpiLFP.mjs → sleep-Bn346wCJ.mjs} +46 -1
- package/dist/{sleep-vzHEmsrO.js → sleep-LFKpQ2_f.js} +46 -1
- package/dist/time/index.d.ts +1 -0
- package/dist/time/time-spec.d.ts +5 -0
- package/dist/time/time-window.d.ts +33 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as DEVICE_CHILDREN_BATCH_MAX, $i as WELL_KNOWN_TAB_MAP, $n as HISTORY_UNIT_LABELS, $r as RECORD_DATABASES, $t as displayUnitFor, Ai as RecordSecretUnavailableError, An as CALLER_USERNAME_HEADER, Ar as nodeIdOfScopedKey, At as CAM_PROFILE_ORDER, B as CAP_COMMAND_ORIGIN_CONTEXT_KEY, Bi as defaultIntegrationDepsOver, Bn as RecordKindNameSchema, Br as isInstanceEnabled, Bt as StreamSourceEntrySchema, C as auditedFields, Ca as AUDIO_CHUNK_FORMATS, Ci as FilterRequiredError, Cn as scrubKnownSecrets, Cr as secretTreeFromSchema, Ct as createDebugEmitter, D as HF_BASE_URL, Di as PlaintextSecretError, Dn as PEER_BYTES_STALL_MS, Dr as resolveSecretMarkers, Dt as AudioStreamPickSchema, E as DEFAULT_TOKEN_EXPIRY, Ea as isAudioChunkFormat, Ei as NoCallerError, En as PEER_BYTES_MAX_OUTSTANDING, Er as isSecretRefOwnedBy, Et as AudioChunkFormatSchema, F as withoutCallerStamp, Fi as TransactRefusedError, Fn as entryBody, Fr as moveRegistrySwitchToBody, Ft as DecodedAudioChunkSchema, G as readNodePin, Gi as switchRecordsOverMigrationApi, Gn as defineRecordKinds, Gr as parseSecretPath, Gt as makeSourceBrokerId, H as commandOrigin, Hi as recordsOverMigrationApi, Hn as StoredRecordKindDeclarationSchema, Hr as REMOVE_LEAF, Ht as SubscribeAudioChunksInputSchema, I as customAction, Ii as UnindexedFilterError, In as EntryDescriptorSchema, Ir as registrySwitchPortsOver, It as FrameHandleSchema, J as PipelineRunResultBridge, Ji as runAddonMigrations, Jn as isZodSecret, Jr as recordSecretRef, Jt as DEFAULT_DISPLAY_PREFERENCE, K as toNodeId, Ki as AddonMigrationDefinitionError, Kn as SECRET_META, Kr as recordArrayItemPath, Kt as parseProfileBrokerId, L as defineCustomActions, Li as UnknownRecordKindError, Ln as RecordFieldPathSchema, Lr as registrySwitchToBodyId, Lt as ProfileRtspEntrySchema, M as CAP_NAMES, Mi as RecordUniqueViolationError, Mn as SHARE_VIEW_KINDS, Mr as resolvedValues, Mt as CamStreamKindSchema, Ni as RecordsError, Nn as DisposerChain, Nr as normalizeNodeId, Nt as CamStreamResolutionSchema, O as HF_REPO, Oi as RECORDS_ERROR_CODES, On as PEER_BYTES_TICKET_TTL_MS, Or as transformSecretWrite, Ot as BrokerStatsSchema, P as CALLER_STAMPED_CAPABILITIES, Pi as RevConflictError, Pn as defineEntryKind, Pr as createDurableState, Pt as CameraStreamSchema, Q as deviceOpsCapability, Qi as WELL_KNOWN_TABS, Qn as HISTORY_DEFAULT_MIN_INTERVAL_MS, Qr as RECORD_CLASSES, Qt as baseUnitOf, R as describeCustomActions, Ri as asRecordsError, Rn as RecordIndexSchema, Rr as registrySwitchToBodyMigration, Rt as ProfileSlotSchema, S as createSliceHandle, Sa as findMigrationsBlocked, Si as DeclarationRefusedError, Sn as registerKnownSecret, Sr as secretTreeFromPaths, St as __resetDebugInterestForTests, T as isCommand, Ta as expandAudioChunkToF32le, Ti as InvalidRecordError, Tn as PEER_BYTES_CHUNK_BYTES, Tr as collectSecretMarkerRefs, Tt as isDebugChannelName, U as nodePin, Ui as rowsDepsOver, Un as assertValidDeclaration, Ur as collectSecretLeaves, Ut as SubscribeAudioChunksResultSchema, V as CAP_NODE_PIN_CONTEXT_KEY, Vi as integrationRowsApiOver, Vn as RecordRetentionSchema, Vr as secretViewsOf, Vt as StreamSourceSchema, W as readCommandOrigin, Wi as secretsOverMigrationApi, Wn as declarationsOf, Wr as mapSecretLeaves, Wt as makeProfileBrokerId, X as MIGRATION_API_VERSION, Xi as emitReadiness, Xn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Xr as RECORD_BATCH_MAX, Xt as QUANTITY_BASE, Y as PipelineStepInputSchema, Yi as createEvent, Yn as DEFAULT_RUNTIME_STATE_DURABILITY, Yr as secretArrayPrefixes, Yt as DISPLAY_PREFERENCES, Z as RawStateResultSchema, Zi as isEvent, Zn as DEVICE_STATUS_METHOD, Zr as RECORD_BATCH_MAX_BYTES, Zt as ReadingQuantitySchema, _ as invokeTrpcLeaf, _a as isKeychainStoredField, _i as parseSecretRef, _n as createSecretsAccess, _r as classifyStoreError, _t as DEBUG_WATCH_HARD_CAP_MS, a as asJsonArray, aa as resolveHydratedFieldValue, ai as RECORD_MAX_INDEX_FIELDS, an as TransitionActorSchema, ar as method, at as findVocabAction, b as createLazyTrpcSource, ba as schemaDeclaresAnyField, bi as optionalLinkField, bn as forgetKnownSecret, br as mergeSecretStatePaths, bt as DebugInterest, c as asString, ca as isSecretClear, ci as RECORD_SETTINGS_MAX_ROWS, cn as TransitionValueSchema, cr as systemMethod, ct as CAP_VOCABULARY_BY_NAME, d as parseJsonUnknown, da as isSecretMarkerLike, di as arrayItemFieldPath, dn as ruleFireOfClaim, dr as ErrorI18nPayloadSchema, dt as ReadinessRegistry, ea as collectHydratedFieldEntries, ei as RECORD_DEFAULT_MAX_DATA_BYTES, en as historyUnitFor, er as PROVIDER_PIN_FIELD, et as adminUiCapability, f as hfModelUrl, fa as makeSecretMarker, fi as buildSecretRef, fn as makeInMemoryRecords, fr as FORBIDDEN_MESSAGE_PREFIX, ft as ReadinessTimeoutError, g as createDeviceProxy, ga as collectSecretConfigKeys, gi as normalizeSecretOwner, gn as REVALIDATE_AFTER_MS, gr as BaseAddon, gt as DEBUG_CHANNEL_PREFIX, h as isDeviceScopedCap, ha as collectKeychainStoredKeys, hi as isSecretRef, hn as resolveSecretViewsIn, hr as userError, ht as scopeKey, i as asBoolean, ia as hydrateSchema, ii as RECORD_MAX_INDEXES, in as TransitionActorKindSchema, ir as isDeviceConfigCap, it as allVocabActions, ji as RecordTooLargeError, jn as DATAPLANE_SECRET_HEADER, jr as resolveDeviceSettings, jt as CamProfileSchema, k as RUNTIME_DEFAULTS, ki as RecordNotFoundError, kn as PeerBytesTicketSchema, kr as SCOPED_SETTINGS_SCOPES, kt as BrokerStatusSchema, l as parseJsonArray, la as isSecretFieldView, li as RECORD_SWEEP_INTERVAL_MS, ln as CommandOriginClaimSchema, lr as CamstackError, lt as t, m as DEVICE_SCOPED_CAPS, ma as REDACTED_SECRET, mi as globalSecretScope, mn as assertTransactScope, mr as readErrorI18n, mt as readinessKey, n as sleepCancellable, na as dehydrateConfigField, ni as RECORD_ID_MAX_LENGTH, nn as readingMeta, nr as expandCapMethods, nt as addonPagesSourceCapability, o as asJsonObject, oa as SECRET_CLEAR, oi as RECORD_QUERY_MAX, on as TransitionCommandSchema, or as optionalMethod, ot as vocabActionIdFor, p as BOOT_RECOVERY_BACKOFF_MS, pa as toSecretFieldView, pi as formatSecretScope, pn as createRecordsAccess, pr as forbiddenError, pt as emitDownForOwnedCaps, q as viewerUiCapability, qi as defineAddonMigrations, qn as collectZodSecretPaths, qr as recordSecretCollection, qt as selectAssignedProfileSlots, r as maskUrlCredentials, ra as dehydrateSchema, ri as RECORD_MAX_DATA_BYTES, rn as DeviceTransitionSchema, rr as historyItemFieldPath, rt as actionEffect, s as asNumber, sa as classifySecretWrite, si as RECORD_SECRET_COLLECTION_PREFIX, sn as TransitionOutcomeSchema, sr as resolveCapMount, st as CAP_VOCABULARY, t as sleep, ta as collectHydratedFieldValues, ti as RECORD_DELETE_BATCH, tn as isReadingQuantity, tr as event, tt as AddonPageDeclarationSchema, u as parseJsonObject, ua as isSecretMarker, ui as SECRET_REF_SCHEME, un as RuleFireOriginSchema, ur as ErrorCodeSchema, ut as MODEL_FORMATS, va as isSecretConfigField, vi as linkField, vn as MIN_SCRUBBED_LENGTH, vr as migrationSet, vt as DEBUG_WATCH_REARM_EVERY_MS, w as commandEffect, wa as audioChunkBytesPerSample, wi as ForeignSecretMarkerError, wn as shortSecretRefHash, wr as KeychainWriteRefusedError, wt as getDebugInterest, x as createMirrorSource, xa as AddonMigrationsBlockedError, xi as BatchTooLargeError, xn as knownSecretCount, xr as parseSecretStatePath, xt as DebugWatchTable, y as createEventBusSliceSource, ya as omitTransientConfig, yi as linksOfKind, yn as clearKnownSecrets, yr as normalizeAddonInitResult, yt as DEBUG_WATCH_WINDOW_MS, z as deviceCustomAction, zi as recordsErrorFromMessage, zn as RecordKindDeclarationSchema, zr as RecordIntegrationInstances, zt as ProfileSlotStatusSchema } from "./sleep-
|
|
1
|
+
import { $ as DEVICE_CHILDREN_BATCH_MAX, $i as WELL_KNOWN_TAB_MAP, $n as HISTORY_UNIT_LABELS, $r as RECORD_DATABASES, $t as displayUnitFor, Ai as RecordSecretUnavailableError, An as CALLER_USERNAME_HEADER, Ar as nodeIdOfScopedKey, At as CAM_PROFILE_ORDER, B as CAP_COMMAND_ORIGIN_CONTEXT_KEY, Bi as defaultIntegrationDepsOver, Bn as RecordKindNameSchema, Br as isInstanceEnabled, Bt as StreamSourceEntrySchema, C as auditedFields, Ca as AUDIO_CHUNK_FORMATS, Ci as FilterRequiredError, Cn as scrubKnownSecrets, Cr as secretTreeFromSchema, Ct as createDebugEmitter, D as HF_BASE_URL, Di as PlaintextSecretError, Dn as PEER_BYTES_STALL_MS, Dr as resolveSecretMarkers, Dt as AudioStreamPickSchema, E as DEFAULT_TOKEN_EXPIRY, Ea as isAudioChunkFormat, Ei as NoCallerError, En as PEER_BYTES_MAX_OUTSTANDING, Er as isSecretRefOwnedBy, Et as AudioChunkFormatSchema, F as withoutCallerStamp, Fi as TransactRefusedError, Fn as entryBody, Fr as moveRegistrySwitchToBody, Ft as DecodedAudioChunkSchema, G as readNodePin, Gi as switchRecordsOverMigrationApi, Gn as defineRecordKinds, Gr as parseSecretPath, Gt as makeSourceBrokerId, H as commandOrigin, Hi as recordsOverMigrationApi, Hn as StoredRecordKindDeclarationSchema, Hr as REMOVE_LEAF, Ht as SubscribeAudioChunksInputSchema, I as customAction, Ii as UnindexedFilterError, In as EntryDescriptorSchema, Ir as registrySwitchPortsOver, It as FrameHandleSchema, J as PipelineRunResultBridge, Ji as runAddonMigrations, Jn as isZodSecret, Jr as recordSecretRef, Jt as DEFAULT_DISPLAY_PREFERENCE, K as toNodeId, Ki as AddonMigrationDefinitionError, Kn as SECRET_META, Kr as recordArrayItemPath, Kt as parseProfileBrokerId, L as defineCustomActions, Li as UnknownRecordKindError, Ln as RecordFieldPathSchema, Lr as registrySwitchToBodyId, Lt as ProfileRtspEntrySchema, M as CAP_NAMES, Mi as RecordUniqueViolationError, Mn as SHARE_VIEW_KINDS, Mr as resolvedValues, Mt as CamStreamKindSchema, Ni as RecordsError, Nn as DisposerChain, Nr as normalizeNodeId, Nt as CamStreamResolutionSchema, O as HF_REPO, Oi as RECORDS_ERROR_CODES, On as PEER_BYTES_TICKET_TTL_MS, Or as transformSecretWrite, Ot as BrokerStatsSchema, P as CALLER_STAMPED_CAPABILITIES, Pi as RevConflictError, Pn as defineEntryKind, Pr as createDurableState, Pt as CameraStreamSchema, Q as deviceOpsCapability, Qi as WELL_KNOWN_TABS, Qn as HISTORY_DEFAULT_MIN_INTERVAL_MS, Qr as RECORD_CLASSES, Qt as baseUnitOf, R as describeCustomActions, Ri as asRecordsError, Rn as RecordIndexSchema, Rr as registrySwitchToBodyMigration, Rt as ProfileSlotSchema, S as createSliceHandle, Sa as findMigrationsBlocked, Si as DeclarationRefusedError, Sn as registerKnownSecret, Sr as secretTreeFromPaths, St as __resetDebugInterestForTests, T as isCommand, Ta as expandAudioChunkToF32le, Ti as InvalidRecordError, Tn as PEER_BYTES_CHUNK_BYTES, Tr as collectSecretMarkerRefs, Tt as isDebugChannelName, U as nodePin, Ui as rowsDepsOver, Un as assertValidDeclaration, Ur as collectSecretLeaves, Ut as SubscribeAudioChunksResultSchema, V as CAP_NODE_PIN_CONTEXT_KEY, Vi as integrationRowsApiOver, Vn as RecordRetentionSchema, Vr as secretViewsOf, Vt as StreamSourceSchema, W as readCommandOrigin, Wi as secretsOverMigrationApi, Wn as declarationsOf, Wr as mapSecretLeaves, Wt as makeProfileBrokerId, X as MIGRATION_API_VERSION, Xi as emitReadiness, Xn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Xr as RECORD_BATCH_MAX, Xt as QUANTITY_BASE, Y as PipelineStepInputSchema, Yi as createEvent, Yn as DEFAULT_RUNTIME_STATE_DURABILITY, Yr as secretArrayPrefixes, Yt as DISPLAY_PREFERENCES, Z as RawStateResultSchema, Zi as isEvent, Zn as DEVICE_STATUS_METHOD, Zr as RECORD_BATCH_MAX_BYTES, Zt as ReadingQuantitySchema, _ as invokeTrpcLeaf, _a as isKeychainStoredField, _i as parseSecretRef, _n as createSecretsAccess, _r as classifyStoreError, _t as DEBUG_WATCH_HARD_CAP_MS, a as asJsonArray, aa as resolveHydratedFieldValue, ai as RECORD_MAX_INDEX_FIELDS, an as TransitionActorSchema, ar as method, at as findVocabAction, b as createLazyTrpcSource, ba as schemaDeclaresAnyField, bi as optionalLinkField, bn as forgetKnownSecret, br as mergeSecretStatePaths, bt as DebugInterest, c as asString, ca as isSecretClear, ci as RECORD_SETTINGS_MAX_ROWS, cn as TransitionValueSchema, cr as systemMethod, ct as CAP_VOCABULARY_BY_NAME, d as parseJsonUnknown, da as isSecretMarkerLike, di as arrayItemFieldPath, dn as ruleFireOfClaim, dr as ErrorI18nPayloadSchema, dt as ReadinessRegistry, ea as collectHydratedFieldEntries, ei as RECORD_DEFAULT_MAX_DATA_BYTES, en as historyUnitFor, er as PROVIDER_PIN_FIELD, et as adminUiCapability, f as hfModelUrl, fa as makeSecretMarker, fi as buildSecretRef, fn as makeInMemoryRecords, fr as FORBIDDEN_MESSAGE_PREFIX, ft as ReadinessTimeoutError, g as createDeviceProxy, ga as collectSecretConfigKeys, gi as normalizeSecretOwner, gn as REVALIDATE_AFTER_MS, gr as BaseAddon, gt as DEBUG_CHANNEL_PREFIX, h as isDeviceScopedCap, ha as collectKeychainStoredKeys, hi as isSecretRef, hn as resolveSecretViewsIn, hr as userError, ht as scopeKey, i as asBoolean, ia as hydrateSchema, ii as RECORD_MAX_INDEXES, in as TransitionActorKindSchema, ir as isDeviceConfigCap, it as allVocabActions, ji as RecordTooLargeError, jn as DATAPLANE_SECRET_HEADER, jr as resolveDeviceSettings, jt as CamProfileSchema, k as RUNTIME_DEFAULTS, ki as RecordNotFoundError, kn as PeerBytesTicketSchema, kr as SCOPED_SETTINGS_SCOPES, kt as BrokerStatusSchema, l as parseJsonArray, la as isSecretFieldView, li as RECORD_SWEEP_INTERVAL_MS, ln as CommandOriginClaimSchema, lr as CamstackError, lt as t, m as DEVICE_SCOPED_CAPS, ma as REDACTED_SECRET, mi as globalSecretScope, mn as assertTransactScope, mr as readErrorI18n, mt as readinessKey, n as sleepCancellable, na as dehydrateConfigField, ni as RECORD_ID_MAX_LENGTH, nn as readingMeta, nr as expandCapMethods, nt as addonPagesSourceCapability, o as asJsonObject, oa as SECRET_CLEAR, oi as RECORD_QUERY_MAX, on as TransitionCommandSchema, or as optionalMethod, ot as vocabActionIdFor, p as BOOT_RECOVERY_BACKOFF_MS, pa as toSecretFieldView, pi as formatSecretScope, pn as createRecordsAccess, pr as forbiddenError, pt as emitDownForOwnedCaps, q as viewerUiCapability, qi as defineAddonMigrations, qn as collectZodSecretPaths, qr as recordSecretCollection, qt as selectAssignedProfileSlots, r as maskUrlCredentials, ra as dehydrateSchema, ri as RECORD_MAX_DATA_BYTES, rn as DeviceTransitionSchema, rr as historyItemFieldPath, rt as actionEffect, s as asNumber, sa as classifySecretWrite, si as RECORD_SECRET_COLLECTION_PREFIX, sn as TransitionOutcomeSchema, sr as resolveCapMount, st as CAP_VOCABULARY, t as sleep, ta as collectHydratedFieldValues, ti as RECORD_DELETE_BATCH, tn as isReadingQuantity, tr as event, tt as AddonPageDeclarationSchema, u as parseJsonObject, ua as isSecretMarker, ui as SECRET_REF_SCHEME, un as RuleFireOriginSchema, ur as ErrorCodeSchema, ut as MODEL_FORMATS, va as isSecretConfigField, vi as linkField, vn as MIN_SCRUBBED_LENGTH, vr as migrationSet, vt as DEBUG_WATCH_REARM_EVERY_MS, w as commandEffect, wa as audioChunkBytesPerSample, wi as ForeignSecretMarkerError, wn as shortSecretRefHash, wr as KeychainWriteRefusedError, wt as getDebugInterest, x as createMirrorSource, xa as AddonMigrationsBlockedError, xi as BatchTooLargeError, xn as knownSecretCount, xr as parseSecretStatePath, xt as DebugWatchTable, y as createEventBusSliceSource, ya as omitTransientConfig, yi as linksOfKind, yn as clearKnownSecrets, yr as normalizeAddonInitResult, yt as DEBUG_WATCH_WINDOW_MS, z as deviceCustomAction, zi as recordsErrorFromMessage, zn as RecordKindDeclarationSchema, zr as RecordIntegrationInstances, zt as ProfileSlotStatusSchema } from "./sleep-Bn346wCJ.mjs";
|
|
2
2
|
import { i as publicEventCategories, n as OWNER_ONLY_EVENT_CATEGORIES, r as isOwnerOnlyEventCategory, t as EventCategory } from "./event-category-78tcBemo.mjs";
|
|
3
|
-
import { a as DeviceType, i as DeviceRole, n as ChargingStatus, o as featuresOfBoundCaps, r as DeviceFeature, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-
|
|
4
|
-
import { $ as ExpressionHelperSpecSchema, $t as evaluateAst, A as MAX_COMPOSITION_FIELDS_PER_FEATURE, An as sliceChangedAt, At as maxDurationMs, B as featureSources, Bn as RESTREAM_INPUT_PROBE, Bt as evaluateDerivative, C as CompositionPassthroughFeatureSchema, Cn as SOURCE_CAP_ACTIVE_FIELD, Ct as MIN_CUSTOM_MINUTES, D as FORWARD_INPUT_KEY, Dn as evaluateSensorLevelEdge, Dt as StatisticWindowSchema, E as CompositionTargetSchema, En as evaluateSensorEdge, Et as RollingWindowSchema, F as compositionItemFieldPath, Ft as planStatisticTier, G as ARITHMETIC_OPS, Gn as buildVideoArgs, Gt as EXPRESSION_INJECTED_NOW, H as isForwardInputRef, Hn as buildAudioArgs, Ht as integrateReading, I as compositionReadKey, It as rollingDurationMs, J as ArithmeticHelperSpecSchema, Jn as logBannerArgs, Jt as evaluateExpressionSource, K as ActiveCriterionSchema, Kn as invocationFromEncodeProfile, Kt as cloneStatefulExpressionMemory, L as compositionSliceKey, Ln as canonicalHash, Lt as statisticCadenceMs, M as composedDeviceRef, Mt as openReset, N as composedDeviceStableId, Nt as openStatistic, O as MAX_COMPOSITION_CODE_LENGTH, On as isSourceCap, Ot as historyRetentionFromSettings, P as compositionFeatureEnabled, Pt as planResetTier, Q as EXPRESSION_OUTPUTS, Qt as createExpressionScope, R as compositionSourceKey, Rn as Fmp4BoxSplitter, Rt as SERIES_KINDS, S as CompositionNewTargetSchema, Sn as SOURCE_CAPS, St as MINUTE_MS, T as CompositionSeriesSourceSchema, Tn as SOURCE_DEVICE_TYPES, Tt as ROLLING_SPANS, U as ACTIVE_CRITERIA, Un as buildFfmpegArgs, Ut as KWH_PER_WATT_MS, V as fieldReads, Vn as audioPlanFromEncodeProfile, Vt as evaluateStatistic, W as AGGREGATE_REDUCERS, Wn as buildInputArgs, Wt as wattMillisecondsToKwh, X as DERIVATIVE_UNITS, Xn as resolveStreamMaps, Xt as toExpressionValue, Y as BINARY_AGGREGATES, Yn as pickVideoEncoder, Yt as evaluateStatefulExpressionCall, Z as DerivativeHelperSpecSchema, Zt as validateExpressionSource, _ as CompositionForwardArgSchema, _n as evaluateRose, _t as DEFAULT_HISTORY_RETENTION, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, an as EXPRESSION_IDENTIFIER_RE, at as INTEGRAL_OUTPUTS, b as CompositionItemEntrySchema, bn as ExpressionParseError, bt as HISTORY_TIERS, c as CompositionCodeSourceSchema, cn as MAX_EXPRESSION_CALL_ARGS, ct as NUMERIC_AGGREGATES, d as CompositionExpressionSourceSchema, dn as RESERVED_BINDING_NAMES, dt as helperMembers, en as compileExpression, et as GROUP_TEMPLATE_IDS, f as CompositionExtensionCommandSchema, fn as EXPRESSION_BUILTINS, ft as isHistoryHelper, g as CompositionFieldsFeatureSchema, gn as evaluateDwell, gt as DAY_MS, h as CompositionFieldSourceSchema, hn as evaluateCount, ht as CalendarWindowSchema, i as COMPOSITION_ITEM_KEY_RE, in as EXPRESSION_COMPILE_CACHE_CAPACITY, it as HelperSpecSchema, j as MAX_COMPOSITION_ITEMS, jn as FFMPEG_PATH_ENV, jt as nextLocalMidnight, k as MAX_COMPOSITION_FEATURES, kn as sliceActiveValue, kt as integralCadenceMs, l as CompositionCommandTargetSchema, ln as MAX_EXPRESSION_EVAL_STEPS, lt as StatisticHelperSpecSchema, m as CompositionFieldReadSchema, mn as disarmRoseMemory, mt as CALENDAR_PERIODS, n as COMPOSER_ADDON_ID, nn as parseExpression, nt as GroupTemplateIdSchema, o as CompositionAggregateSourceSchema, on as MAX_EXPRESSION_AST_NODES, ot as IntegralHelperSpecSchema, p as CompositionFeatureSchema, pn as EXPRESSION_BUILTIN_NAMES, pt as CompositionSourceRefSchema, q as AggregateReducerSchema, qn as isSoftwareDecode, qt as createStatefulExpressionMemory, r as COMPOSITION_ITEM_ARRAY_PATH, rn as tokenize, rt as HelperMemberSchema, s as CompositionBindingSchema, sn as MAX_EXPRESSION_BINDINGS, st as MAX_HELPER_MEMBERS, t as implementedMethodsOf, tn as compileExpressionSafe, tt as GroupHelperSpecSchema, u as CompositionExistingTargetSchema, un as MAX_EXPRESSION_SOURCE_LENGTH, ut as ThresholdHelperSpecSchema, v as CompositionForwardCommandSchema, vn as isStatefulBuiltin, vt as HISTORY_FAST_MS, w as CompositionSchema, wn as SOURCE_CAP_CHANGED_AT_FIELD, wt as RESET_PERIODS, x as CompositionLiteralBindingSchema, xn as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, xt as HOUR_MS, y as CompositionFromSourceSchema, yn as ExpressionEvalError, yt as HISTORY_SLOW_MS, z as featureFieldEntries, zn as AUDIO_PRESETS, zt as STATISTIC_STATS } from "./implemented-methods-
|
|
3
|
+
import { a as DeviceType, i as DeviceRole, n as ChargingStatus, o as featuresOfBoundCaps, r as DeviceFeature, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-CPp3votu.mjs";
|
|
4
|
+
import { $ as ExpressionHelperSpecSchema, $t as evaluateAst, A as MAX_COMPOSITION_FIELDS_PER_FEATURE, An as sliceChangedAt, At as maxDurationMs, B as featureSources, Bn as RESTREAM_INPUT_PROBE, Bt as evaluateDerivative, C as CompositionPassthroughFeatureSchema, Cn as SOURCE_CAP_ACTIVE_FIELD, Ct as MIN_CUSTOM_MINUTES, D as FORWARD_INPUT_KEY, Dn as evaluateSensorLevelEdge, Dt as StatisticWindowSchema, E as CompositionTargetSchema, En as evaluateSensorEdge, Et as RollingWindowSchema, F as compositionItemFieldPath, Ft as planStatisticTier, G as ARITHMETIC_OPS, Gn as buildVideoArgs, Gt as EXPRESSION_INJECTED_NOW, H as isForwardInputRef, Hn as buildAudioArgs, Ht as integrateReading, I as compositionReadKey, It as rollingDurationMs, J as ArithmeticHelperSpecSchema, Jn as logBannerArgs, Jt as evaluateExpressionSource, K as ActiveCriterionSchema, Kn as invocationFromEncodeProfile, Kt as cloneStatefulExpressionMemory, L as compositionSliceKey, Ln as canonicalHash, Lt as statisticCadenceMs, M as composedDeviceRef, Mt as openReset, N as composedDeviceStableId, Nt as openStatistic, O as MAX_COMPOSITION_CODE_LENGTH, On as isSourceCap, Ot as historyRetentionFromSettings, P as compositionFeatureEnabled, Pt as planResetTier, Q as EXPRESSION_OUTPUTS, Qt as createExpressionScope, R as compositionSourceKey, Rn as Fmp4BoxSplitter, Rt as SERIES_KINDS, S as CompositionNewTargetSchema, Sn as SOURCE_CAPS, St as MINUTE_MS, T as CompositionSeriesSourceSchema, Tn as SOURCE_DEVICE_TYPES, Tt as ROLLING_SPANS, U as ACTIVE_CRITERIA, Un as buildFfmpegArgs, Ut as KWH_PER_WATT_MS, V as fieldReads, Vn as audioPlanFromEncodeProfile, Vt as evaluateStatistic, W as AGGREGATE_REDUCERS, Wn as buildInputArgs, Wt as wattMillisecondsToKwh, X as DERIVATIVE_UNITS, Xn as resolveStreamMaps, Xt as toExpressionValue, Y as BINARY_AGGREGATES, Yn as pickVideoEncoder, Yt as evaluateStatefulExpressionCall, Z as DerivativeHelperSpecSchema, Zt as validateExpressionSource, _ as CompositionForwardArgSchema, _n as evaluateRose, _t as DEFAULT_HISTORY_RETENTION, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, an as EXPRESSION_IDENTIFIER_RE, at as INTEGRAL_OUTPUTS, b as CompositionItemEntrySchema, bn as ExpressionParseError, bt as HISTORY_TIERS, c as CompositionCodeSourceSchema, cn as MAX_EXPRESSION_CALL_ARGS, ct as NUMERIC_AGGREGATES, d as CompositionExpressionSourceSchema, dn as RESERVED_BINDING_NAMES, dt as helperMembers, en as compileExpression, et as GROUP_TEMPLATE_IDS, f as CompositionExtensionCommandSchema, fn as EXPRESSION_BUILTINS, ft as isHistoryHelper, g as CompositionFieldsFeatureSchema, gn as evaluateDwell, gt as DAY_MS, h as CompositionFieldSourceSchema, hn as evaluateCount, ht as CalendarWindowSchema, i as COMPOSITION_ITEM_KEY_RE, in as EXPRESSION_COMPILE_CACHE_CAPACITY, it as HelperSpecSchema, j as MAX_COMPOSITION_ITEMS, jn as FFMPEG_PATH_ENV, jt as nextLocalMidnight, k as MAX_COMPOSITION_FEATURES, kn as sliceActiveValue, kt as integralCadenceMs, l as CompositionCommandTargetSchema, ln as MAX_EXPRESSION_EVAL_STEPS, lt as StatisticHelperSpecSchema, m as CompositionFieldReadSchema, mn as disarmRoseMemory, mt as CALENDAR_PERIODS, n as COMPOSER_ADDON_ID, nn as parseExpression, nt as GroupTemplateIdSchema, o as CompositionAggregateSourceSchema, on as MAX_EXPRESSION_AST_NODES, ot as IntegralHelperSpecSchema, p as CompositionFeatureSchema, pn as EXPRESSION_BUILTIN_NAMES, pt as CompositionSourceRefSchema, q as AggregateReducerSchema, qn as isSoftwareDecode, qt as createStatefulExpressionMemory, r as COMPOSITION_ITEM_ARRAY_PATH, rn as tokenize, rt as HelperMemberSchema, s as CompositionBindingSchema, sn as MAX_EXPRESSION_BINDINGS, st as MAX_HELPER_MEMBERS, t as implementedMethodsOf, tn as compileExpressionSafe, tt as GroupHelperSpecSchema, u as CompositionExistingTargetSchema, un as MAX_EXPRESSION_SOURCE_LENGTH, ut as ThresholdHelperSpecSchema, v as CompositionForwardCommandSchema, vn as isStatefulBuiltin, vt as HISTORY_FAST_MS, w as CompositionSchema, wn as SOURCE_CAP_CHANGED_AT_FIELD, wt as RESET_PERIODS, x as CompositionLiteralBindingSchema, xn as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, xt as HOUR_MS, y as CompositionFromSourceSchema, yn as ExpressionEvalError, yt as HISTORY_SLOW_MS, z as featureFieldEntries, zn as AUDIO_PRESETS, zt as STATISTIC_STATS } from "./implemented-methods-5YMDeE3f.mjs";
|
|
5
5
|
import { NODE_COLOR_IDS, NodeColorIdSchema, assignNodeColorId } from "./node-color.mjs";
|
|
6
6
|
import { a as tryConvertUnit, c as UNIT_TABLE, i as tryConvertDelta, n as canConvertUnit, o as unitDimension, r as convertUnit, s as unitsForDimension, t as UnitConversionError } from "./convert-BAzH15HU.mjs";
|
|
7
7
|
import { EventSourceType } from "./enums.mjs";
|
|
@@ -31186,16 +31186,39 @@ function metaQuantity(schema) {
|
|
|
31186
31186
|
function quantityOfField(schema) {
|
|
31187
31187
|
return metaQuantity(schema) ?? metaQuantity(unwrapSchema(schema));
|
|
31188
31188
|
}
|
|
31189
|
+
function scalarKind(schema) {
|
|
31190
|
+
const s = unwrapSchema(schema);
|
|
31191
|
+
if (s instanceof z.ZodNumber) return "number";
|
|
31192
|
+
if (s instanceof z.ZodString) return "string";
|
|
31193
|
+
if (s instanceof z.ZodBoolean) return "boolean";
|
|
31194
|
+
return null;
|
|
31195
|
+
}
|
|
31196
|
+
/** A union is a leaf only when EVERY member is a scalar; one object or array member keeps it out. */
|
|
31197
|
+
function unionMembersOf(s) {
|
|
31198
|
+
const members = [];
|
|
31199
|
+
for (const option of s.options) {
|
|
31200
|
+
if (!(option instanceof z.ZodType)) return null;
|
|
31201
|
+
const kind = scalarKind(option);
|
|
31202
|
+
if (kind === null) return null;
|
|
31203
|
+
if (!members.includes(kind)) members.push(kind);
|
|
31204
|
+
}
|
|
31205
|
+
return members.length > 0 ? members : null;
|
|
31206
|
+
}
|
|
31189
31207
|
function leafKind(schema) {
|
|
31190
31208
|
const s = unwrapSchema(schema);
|
|
31191
31209
|
if (s instanceof z.ZodEnum) return {
|
|
31192
31210
|
kind: "enum",
|
|
31193
31211
|
enumValues: s.options
|
|
31194
31212
|
};
|
|
31195
|
-
if (s instanceof z.
|
|
31196
|
-
|
|
31197
|
-
|
|
31198
|
-
|
|
31213
|
+
if (s instanceof z.ZodUnion) {
|
|
31214
|
+
const members = unionMembersOf(s);
|
|
31215
|
+
return members === null ? null : {
|
|
31216
|
+
kind: "union",
|
|
31217
|
+
unionMembers: members
|
|
31218
|
+
};
|
|
31219
|
+
}
|
|
31220
|
+
const scalar = scalarKind(s);
|
|
31221
|
+
return scalar === null ? null : { kind: scalar };
|
|
31199
31222
|
}
|
|
31200
31223
|
/** Walk a cap status schema into flat wireable leaf fields (dotted paths).
|
|
31201
31224
|
* Recurses into nested ZodObject (unwrapping nullable/optional/default first),
|
|
@@ -31220,6 +31243,7 @@ function enumerateSchemaFields(schema, prefix = "") {
|
|
|
31220
31243
|
path,
|
|
31221
31244
|
kind: leaf.kind,
|
|
31222
31245
|
...leaf.enumValues ? { enumValues: leaf.enumValues } : {},
|
|
31246
|
+
...leaf.unionMembers ? { unionMembers: leaf.unionMembers } : {},
|
|
31223
31247
|
...quantity !== void 0 ? { quantity } : {}
|
|
31224
31248
|
});
|
|
31225
31249
|
}
|
|
@@ -32303,7 +32327,7 @@ function weekdayOfLocalDate(localDate) {
|
|
|
32303
32327
|
const { y, m, d } = parseLocalDate(localDate);
|
|
32304
32328
|
return WEEKDAY_BY_INDEX[new Date(Date.UTC(y, m - 1, d)).getUTCDay()] ?? "sun";
|
|
32305
32329
|
}
|
|
32306
|
-
function addDays(localDate, days) {
|
|
32330
|
+
function addDays$1(localDate, days) {
|
|
32307
32331
|
const { y, m, d } = parseLocalDate(localDate);
|
|
32308
32332
|
return new Date(Date.UTC(y, m - 1, d + days)).toISOString().slice(0, 10);
|
|
32309
32333
|
}
|
|
@@ -32367,9 +32391,9 @@ function nextOccurrence(spec, afterMs, site, options = {}) {
|
|
|
32367
32391
|
const at = occurrenceOn(spec, own, site);
|
|
32368
32392
|
return at !== null && at > afterMs ? at : null;
|
|
32369
32393
|
}
|
|
32370
|
-
const first = addDays(localDateOf(afterMs, site.timeZone), -1);
|
|
32394
|
+
const first = addDays$1(localDateOf(afterMs, site.timeZone), -1);
|
|
32371
32395
|
for (let i = 0; i < 400; i += 1) {
|
|
32372
|
-
const localDate = addDays(first, i);
|
|
32396
|
+
const localDate = addDays$1(first, i);
|
|
32373
32397
|
if (days !== void 0 && !days.includes(weekdayOfLocalDate(localDate))) continue;
|
|
32374
32398
|
const at = occurrenceOn(spec, localDate, site);
|
|
32375
32399
|
if (at !== null && at > afterMs) return at;
|
|
@@ -32413,7 +32437,8 @@ function zoneOnlySite(timeZone) {
|
|
|
32413
32437
|
return {
|
|
32414
32438
|
lat: 0,
|
|
32415
32439
|
lon: 0,
|
|
32416
|
-
timeZone
|
|
32440
|
+
timeZone,
|
|
32441
|
+
zoneOnly: true
|
|
32417
32442
|
};
|
|
32418
32443
|
}
|
|
32419
32444
|
//#endregion
|
|
@@ -32606,6 +32631,8 @@ var BecomesWatch = class {
|
|
|
32606
32631
|
spec;
|
|
32607
32632
|
deps;
|
|
32608
32633
|
previous = void 0;
|
|
32634
|
+
/** The value the field left at its last change — a re-report does not move it. */
|
|
32635
|
+
from = void 0;
|
|
32609
32636
|
seeded = false;
|
|
32610
32637
|
core;
|
|
32611
32638
|
handle = void 0;
|
|
@@ -32650,13 +32677,15 @@ var BecomesWatch = class {
|
|
|
32650
32677
|
const previous = this.previous;
|
|
32651
32678
|
const first = !this.seeded;
|
|
32652
32679
|
this.seeded = true;
|
|
32680
|
+
if (!first && value !== previous) this.from = previous;
|
|
32653
32681
|
this.previous = value;
|
|
32654
32682
|
const holds = predicateOf(this.spec, value);
|
|
32655
32683
|
if (this.core === void 0) {
|
|
32656
32684
|
if (first) return;
|
|
32657
32685
|
if (holds === void 0 ? value !== previous : holds && predicateOf(this.spec, previous) !== true) this.deps.emit({
|
|
32658
32686
|
kind: "fire",
|
|
32659
|
-
value
|
|
32687
|
+
value,
|
|
32688
|
+
from: this.from
|
|
32660
32689
|
});
|
|
32661
32690
|
return;
|
|
32662
32691
|
}
|
|
@@ -32712,6 +32741,7 @@ var BecomesWatch = class {
|
|
|
32712
32741
|
this.deps.emit({
|
|
32713
32742
|
kind: "fire",
|
|
32714
32743
|
value: this.previous,
|
|
32744
|
+
from: this.from,
|
|
32715
32745
|
hold: this.trace("fired", reading)
|
|
32716
32746
|
});
|
|
32717
32747
|
}
|
|
@@ -32774,6 +32804,13 @@ var AutomationConditionOperatorSchema = z.enum([
|
|
|
32774
32804
|
"in"
|
|
32775
32805
|
]);
|
|
32776
32806
|
/**
|
|
32807
|
+
* The stable name of an event leaf. A path (`when.0.1`) moves when a row is
|
|
32808
|
+
* reordered; the id does not, so a `triggered-by` leaf keeps pointing at the
|
|
32809
|
+
* same row. Optional: a leaf nothing refers to needs none.
|
|
32810
|
+
*/
|
|
32811
|
+
var EVENT_LEAF_ID_RE = /^[A-Za-z0-9_-]{1,40}$/;
|
|
32812
|
+
var eventLeafId = { id: z.string().regex(EVENT_LEAF_ID_RE).optional() };
|
|
32813
|
+
/**
|
|
32777
32814
|
* D8 compliance, and it is the reason a "becomes" leaf is not merely an event
|
|
32778
32815
|
* subscription: it evaluates against the **state mirror**, which is reconciled,
|
|
32779
32816
|
* and an event only WAKES the evaluation. A dropped event therefore DELAYS a
|
|
@@ -32781,6 +32818,7 @@ var AutomationConditionOperatorSchema = z.enum([
|
|
|
32781
32818
|
*/
|
|
32782
32819
|
var DeviceBecomesLeafSchema = z.object({
|
|
32783
32820
|
kind: z.literal("device-becomes"),
|
|
32821
|
+
...eventLeafId,
|
|
32784
32822
|
deviceId: z.number().int().nonnegative(),
|
|
32785
32823
|
cap: z.string().min(1),
|
|
32786
32824
|
fieldPath: z.string().min(1),
|
|
@@ -32833,6 +32871,7 @@ var DeviceBecomesLeafSchema = z.object({
|
|
|
32833
32871
|
});
|
|
32834
32872
|
var DeviceEventLeafSchema = z.object({
|
|
32835
32873
|
kind: z.literal("device-event"),
|
|
32874
|
+
...eventLeafId,
|
|
32836
32875
|
/** An `EventCategory` value. */
|
|
32837
32876
|
category: z.string().min(1),
|
|
32838
32877
|
deviceId: z.number().int().nonnegative().optional()
|
|
@@ -32845,18 +32884,24 @@ var DeviceEventLeafSchema = z.object({
|
|
|
32845
32884
|
*/
|
|
32846
32885
|
var ScheduleLeafSchema = z.object({
|
|
32847
32886
|
kind: z.literal("schedule"),
|
|
32887
|
+
...eventLeafId,
|
|
32848
32888
|
at: TimeSpecSchema.optional(),
|
|
32849
32889
|
days: z.array(WeekdayKeySchema).min(1).max(7).optional(),
|
|
32850
32890
|
/** @deprecated legacy cron — new schedules use `at`. */
|
|
32851
32891
|
cron: z.string().min(1).max(120).optional()
|
|
32852
32892
|
}).refine((leaf) => leaf.at === void 0 !== (leaf.cron === void 0), { message: "a schedule names exactly one of `at` (a time spec) and `cron` (legacy)" }).refine((leaf) => leaf.days === void 0 || leaf.at !== void 0, { message: "`days` goes with `at`; a cron expression carries its own days" });
|
|
32853
|
-
var ManualLeafSchema = z.object({
|
|
32893
|
+
var ManualLeafSchema = z.object({
|
|
32894
|
+
kind: z.literal("manual"),
|
|
32895
|
+
...eventLeafId
|
|
32896
|
+
});
|
|
32854
32897
|
var IntervalLeafSchema = z.object({
|
|
32855
32898
|
kind: z.literal("interval"),
|
|
32899
|
+
...eventLeafId,
|
|
32856
32900
|
minutes: z.number().int().min(1).max(1440)
|
|
32857
32901
|
});
|
|
32858
32902
|
var DetectionLeafSchema = z.object({
|
|
32859
32903
|
kind: z.literal("detection"),
|
|
32904
|
+
...eventLeafId,
|
|
32860
32905
|
/** One macro class each, optionally narrowed by a label; a track of any listed subject fires. */
|
|
32861
32906
|
subjects: z.array(DetectionSubjectSchema).min(1),
|
|
32862
32907
|
deviceIds: z.array(z.number().int().nonnegative()).min(1),
|
|
@@ -32867,6 +32912,7 @@ var DetectionLeafSchema = z.object({
|
|
|
32867
32912
|
});
|
|
32868
32913
|
var StationaryLeafSchema = z.object({
|
|
32869
32914
|
kind: z.literal("stationary"),
|
|
32915
|
+
...eventLeafId,
|
|
32870
32916
|
deviceIds: z.array(z.number().int().nonnegative()).min(1),
|
|
32871
32917
|
subjects: z.array(StationarySubjectSchema).min(1).optional(),
|
|
32872
32918
|
zones: z.array(z.string().min(1)).min(1).optional(),
|
|
@@ -32912,6 +32958,43 @@ var StationaryPresentLeafSchema = z.object({
|
|
|
32912
32958
|
minCount: z.number().int().positive().optional()
|
|
32913
32959
|
});
|
|
32914
32960
|
/**
|
|
32961
|
+
* True while the site-local clock is inside a daily window and/or on one of
|
|
32962
|
+
* the named days. `days` names the local day a window STARTS on, so
|
|
32963
|
+
* 22:00-06:00 on weekdays is still inside at 01:00 Saturday. A one-date spec
|
|
32964
|
+
* (`kind: 'date'`) is refused: only a clock time or a sun event makes a window
|
|
32965
|
+
* that repeats every day.
|
|
32966
|
+
*/
|
|
32967
|
+
var TimeIsLeafSchema = z.object({
|
|
32968
|
+
kind: z.literal("time-is"),
|
|
32969
|
+
between: z.object({
|
|
32970
|
+
from: TimeSpecSchema,
|
|
32971
|
+
to: TimeSpecSchema
|
|
32972
|
+
}).optional(),
|
|
32973
|
+
days: z.array(WeekdayKeySchema).min(1).max(7).optional()
|
|
32974
|
+
}).superRefine((leaf, ctx) => {
|
|
32975
|
+
if (leaf.between === void 0 && leaf.days === void 0) ctx.addIssue({
|
|
32976
|
+
code: "custom",
|
|
32977
|
+
message: "a time-is leaf needs a between window, days, or both"
|
|
32978
|
+
});
|
|
32979
|
+
for (const end of ["from", "to"]) if (leaf.between?.[end].kind === "date") ctx.addIssue({
|
|
32980
|
+
code: "custom",
|
|
32981
|
+
message: "a one-date time cannot bound a daily window: use a clock time or a sun event",
|
|
32982
|
+
path: ["between", end]
|
|
32983
|
+
});
|
|
32984
|
+
});
|
|
32985
|
+
/** How many event leaves one `triggered-by` names. */
|
|
32986
|
+
var TRIGGERED_BY_MAX_IDS = 20;
|
|
32987
|
+
/**
|
|
32988
|
+
* True for the run that one of the named event leaves started. It reads the
|
|
32989
|
+
* run, not a device: in the tree it is judged against the leaf that fired, in
|
|
32990
|
+
* a step guard against the trigger the run carries. A run no event leaf
|
|
32991
|
+
* started (a state-only tree becoming true) is false.
|
|
32992
|
+
*/
|
|
32993
|
+
var TriggeredByLeafSchema = z.object({
|
|
32994
|
+
kind: z.literal("triggered-by"),
|
|
32995
|
+
leafIds: z.array(z.string().regex(EVENT_LEAF_ID_RE)).min(1).max(20)
|
|
32996
|
+
});
|
|
32997
|
+
/**
|
|
32915
32998
|
* The escape hatch: the bounded expression engine over named device bindings.
|
|
32916
32999
|
* Declared as a plain object so a discriminated union can read `kind`; the
|
|
32917
33000
|
* author-time validation is the SAME function `ExpressionSourceSchema` runs.
|
|
@@ -32957,7 +33040,9 @@ var AutomationWhenSchema = z.lazy(() => z.discriminatedUnion("kind", [
|
|
|
32957
33040
|
StationaryLeafSchema,
|
|
32958
33041
|
DeviceIsLeafSchema,
|
|
32959
33042
|
StationaryPresentLeafSchema,
|
|
32960
|
-
ExpressionLeafSchema
|
|
33043
|
+
ExpressionLeafSchema,
|
|
33044
|
+
TimeIsLeafSchema,
|
|
33045
|
+
TriggeredByLeafSchema
|
|
32961
33046
|
]));
|
|
32962
33047
|
var EVENT_KINDS = new Set([
|
|
32963
33048
|
"device-becomes",
|
|
@@ -33011,6 +33096,46 @@ function hasEventLeaves(node) {
|
|
|
33011
33096
|
});
|
|
33012
33097
|
return found;
|
|
33013
33098
|
}
|
|
33099
|
+
/** The event leaves of the tree that carry an id, in tree order. */
|
|
33100
|
+
function identifiedEventLeaves(when) {
|
|
33101
|
+
const found = [];
|
|
33102
|
+
forEachLeaf(when, (leaf, path) => {
|
|
33103
|
+
if (isEventLeaf(leaf) && leaf.id !== void 0) found.push({
|
|
33104
|
+
id: leaf.id,
|
|
33105
|
+
path,
|
|
33106
|
+
leaf
|
|
33107
|
+
});
|
|
33108
|
+
});
|
|
33109
|
+
return found;
|
|
33110
|
+
}
|
|
33111
|
+
/** The id of the event leaf at `path` (`when.0.1`); null when the leaf has none or the path names no event leaf. */
|
|
33112
|
+
function eventLeafIdAt(when, path) {
|
|
33113
|
+
return identifiedEventLeaves(when).find((entry) => entry.path === path)?.id ?? null;
|
|
33114
|
+
}
|
|
33115
|
+
/** Does the tree hold a `triggered-by` leaf? */
|
|
33116
|
+
function hasTriggeredByLeaves(when) {
|
|
33117
|
+
let found = false;
|
|
33118
|
+
forEachLeaf(when, (leaf) => {
|
|
33119
|
+
if (leaf.kind === "triggered-by") found = true;
|
|
33120
|
+
});
|
|
33121
|
+
return found;
|
|
33122
|
+
}
|
|
33123
|
+
/** Why a `triggered-by` leaf is refused outside an automation: there is no trigger row to name. */
|
|
33124
|
+
var TRIGGERED_BY_NEEDS_AUTOMATION = "\"triggered by\" reads which trigger started an automation — an action or a scheduler has no trigger rows, so it could never be true here";
|
|
33125
|
+
/**
|
|
33126
|
+
* What is wrong with the `triggered-by` leaves of `tree`, given the ids the
|
|
33127
|
+
* automation's event leaves carry: an id nothing carries can never be true.
|
|
33128
|
+
* `where` names the tree in the message (`the rules`, `step 2`).
|
|
33129
|
+
*/
|
|
33130
|
+
function triggeredByIssue(tree, knownIds, where) {
|
|
33131
|
+
let issue = null;
|
|
33132
|
+
forEachLeaf(tree, (leaf) => {
|
|
33133
|
+
if (issue !== null || leaf.kind !== "triggered-by") return;
|
|
33134
|
+
const missing = leaf.leafIds.find((id) => !knownIds.has(id));
|
|
33135
|
+
if (missing !== void 0) issue = `${where}: "triggered by" names the trigger "${missing}", and no trigger row of this automation has that id — pick one of its trigger rows`;
|
|
33136
|
+
});
|
|
33137
|
+
return issue;
|
|
33138
|
+
}
|
|
33014
33139
|
function hasEmptyContainer(node) {
|
|
33015
33140
|
if (isLeaf(node)) return false;
|
|
33016
33141
|
if (node.kind === "not") return hasEmptyContainer(node.child);
|
|
@@ -33069,6 +33194,11 @@ function validateWhenTree(when) {
|
|
|
33069
33194
|
if (depth > 4) return `the rules nest ${depth} levels deep — the limit is 4. "not (any of …)" is the same as "all of (not …)", which is one level shallower`;
|
|
33070
33195
|
const leaves = countWhenLeaves(when);
|
|
33071
33196
|
if (leaves > 32) return `the rules use ${leaves} rows — the limit is 32`;
|
|
33197
|
+
const seen = /* @__PURE__ */ new Set();
|
|
33198
|
+
for (const entry of identifiedEventLeaves(when)) {
|
|
33199
|
+
if (seen.has(entry.id)) return `two trigger rows share the id "${entry.id}" — an id names one row`;
|
|
33200
|
+
seen.add(entry.id);
|
|
33201
|
+
}
|
|
33072
33202
|
const need = eventNeed(when, "when", false);
|
|
33073
33203
|
if ("error" in need) return need.error;
|
|
33074
33204
|
const [first, second] = need.paths;
|
|
@@ -33404,7 +33534,18 @@ var GuardedCapStepSchema = AutomationCapStepBaseSchema.extend(stepGuardShape).re
|
|
|
33404
33534
|
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
33405
33535
|
path: ["actionId"]
|
|
33406
33536
|
}).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf);
|
|
33407
|
-
|
|
33537
|
+
/**
|
|
33538
|
+
* A step of a STANDALONE list (an action, a scheduler point, a preset): the
|
|
33539
|
+
* same two step kinds an automation runs, minus a guard that reads the
|
|
33540
|
+
* automation's trigger, which such a list does not have.
|
|
33541
|
+
*/
|
|
33542
|
+
var ActionStepSchema = z.discriminatedUnion("kind", [GuardedWaitStepSchema, GuardedCapStepSchema]).superRefine((step, ctx) => {
|
|
33543
|
+
if (step.if !== void 0 && hasTriggeredByLeaves(step.if)) ctx.addIssue({
|
|
33544
|
+
code: "custom",
|
|
33545
|
+
message: TRIGGERED_BY_NEEDS_AUTOMATION,
|
|
33546
|
+
path: ["if"]
|
|
33547
|
+
});
|
|
33548
|
+
});
|
|
33408
33549
|
var AutomationActionSchema = z.discriminatedUnion("kind", [
|
|
33409
33550
|
GuardedWaitStepSchema,
|
|
33410
33551
|
GuardedCapStepSchema,
|
|
@@ -33500,7 +33641,104 @@ var MAX_CONDITION_LEAVES = 32;
|
|
|
33500
33641
|
*/
|
|
33501
33642
|
function validateRecipeBounds(recipe) {
|
|
33502
33643
|
if (recipe.actions.length === 0) return "an automation needs at least one action — a rule that does nothing is not a rule";
|
|
33503
|
-
|
|
33644
|
+
const tree = validateWhenTree(recipe.when);
|
|
33645
|
+
if (tree !== null) return tree;
|
|
33646
|
+
const ids = new Set(identifiedEventLeaves(recipe.when).map((entry) => entry.id));
|
|
33647
|
+
const inRules = triggeredByIssue(recipe.when, ids, "the rules");
|
|
33648
|
+
if (inRules !== null) return inRules;
|
|
33649
|
+
for (const [index, action] of recipe.actions.entries()) {
|
|
33650
|
+
if (action.kind !== "wait" && action.kind !== "cap" || action.if === void 0) continue;
|
|
33651
|
+
const issue = triggeredByIssue(action.if, ids, `step ${index + 1}`);
|
|
33652
|
+
if (issue !== null) return issue;
|
|
33653
|
+
}
|
|
33654
|
+
return null;
|
|
33655
|
+
}
|
|
33656
|
+
//#endregion
|
|
33657
|
+
//#region src/time/time-window.ts
|
|
33658
|
+
/**
|
|
33659
|
+
* A daily window as a STATE: is this instant inside it, and when does that
|
|
33660
|
+
* next change? Pure — the answer is built per local date from
|
|
33661
|
+
* {@link occurrenceOn}, so a DST change needs no special case.
|
|
33662
|
+
*
|
|
33663
|
+
* Rules:
|
|
33664
|
+
* - A window whose `to` is not after its `from` on the same local date WRAPS:
|
|
33665
|
+
* it runs from `from` on day D to `to` on D+1.
|
|
33666
|
+
* - `days` names the local day a window STARTS on. 22:00-06:00 on weekdays is
|
|
33667
|
+
* inside at 01:00 Saturday (it started Friday). With `days` and no
|
|
33668
|
+
* `between` the window is the whole local day.
|
|
33669
|
+
* - A sun event that does not happen on a day (polar day or night) gives that
|
|
33670
|
+
* day no window. A sun event on a site WITHOUT a location (or an unknown
|
|
33671
|
+
* zone) cannot be judged at all: the result is `unknown`, never a guess.
|
|
33672
|
+
*/
|
|
33673
|
+
var MIDNIGHT = {
|
|
33674
|
+
kind: "clock",
|
|
33675
|
+
hh: 0,
|
|
33676
|
+
mm: 0
|
|
33677
|
+
};
|
|
33678
|
+
/** Start dates looked at for a boundary: yesterday .. the day after tomorrow. */
|
|
33679
|
+
var LOOKAHEAD_DAYS = 2;
|
|
33680
|
+
function addDays(localDate, days) {
|
|
33681
|
+
const [y, m, d] = localDate.split("-").map(Number);
|
|
33682
|
+
return new Date(Date.UTC(y ?? 0, (m ?? 1) - 1, (d ?? 1) + days)).toISOString().slice(0, 10);
|
|
33683
|
+
}
|
|
33684
|
+
function unresolvable(window, site) {
|
|
33685
|
+
if (!isKnownTimeZone(site.timeZone)) return `the site time zone "${site.timeZone}" is not a known IANA zone`;
|
|
33686
|
+
if (window.between !== void 0 && (window.between.from.kind === "sun" || window.between.to.kind === "sun") && site.zoneOnly === true) return "a sun time needs the site location, and none is set";
|
|
33687
|
+
return null;
|
|
33688
|
+
}
|
|
33689
|
+
/** The interval that STARTS on local day `startDate`, or null when that day has none. */
|
|
33690
|
+
function intervalStartingOn(window, startDate, site) {
|
|
33691
|
+
if (window.days !== void 0 && !window.days.includes(weekdayOfLocalDate(startDate))) return null;
|
|
33692
|
+
if (window.between === void 0) {
|
|
33693
|
+
const start = occurrenceOn(MIDNIGHT, startDate, site);
|
|
33694
|
+
const end = occurrenceOn(MIDNIGHT, addDays(startDate, 1), site);
|
|
33695
|
+
return start === null || end === null ? null : {
|
|
33696
|
+
start,
|
|
33697
|
+
end
|
|
33698
|
+
};
|
|
33699
|
+
}
|
|
33700
|
+
const start = occurrenceOn(window.between.from, startDate, site);
|
|
33701
|
+
const sameDayEnd = occurrenceOn(window.between.to, startDate, site);
|
|
33702
|
+
if (start === null || sameDayEnd === null) return null;
|
|
33703
|
+
if (sameDayEnd > start) return {
|
|
33704
|
+
start,
|
|
33705
|
+
end: sameDayEnd
|
|
33706
|
+
};
|
|
33707
|
+
const end = occurrenceOn(window.between.to, addDays(startDate, 1), site);
|
|
33708
|
+
return end === null || end <= start ? null : {
|
|
33709
|
+
start,
|
|
33710
|
+
end
|
|
33711
|
+
};
|
|
33712
|
+
}
|
|
33713
|
+
function judgeTimeWindow(window, nowMs, site) {
|
|
33714
|
+
const blocked = unresolvable(window, site);
|
|
33715
|
+
if (blocked !== null) return {
|
|
33716
|
+
inside: false,
|
|
33717
|
+
unknown: true,
|
|
33718
|
+
nextChangeAtMs: null,
|
|
33719
|
+
why: `cannot be judged: ${blocked}`
|
|
33720
|
+
};
|
|
33721
|
+
const today = localDateOf(nowMs, site.timeZone);
|
|
33722
|
+
let inside = false;
|
|
33723
|
+
let next = null;
|
|
33724
|
+
for (let offset = -1; offset <= LOOKAHEAD_DAYS; offset += 1) {
|
|
33725
|
+
const interval = intervalStartingOn(window, addDays(today, offset), site);
|
|
33726
|
+
if (interval === null) continue;
|
|
33727
|
+
if (interval.start <= nowMs && nowMs < interval.end) inside = true;
|
|
33728
|
+
for (const boundary of [interval.start, interval.end]) if (boundary > nowMs && (next === null || boundary < next)) next = boundary;
|
|
33729
|
+
}
|
|
33730
|
+
if (window.between === void 0) {
|
|
33731
|
+
const midnight = occurrenceOn(MIDNIGHT, addDays(today, 1), site);
|
|
33732
|
+
if (midnight !== null && midnight > nowMs && (next === null || midnight < next)) next = midnight;
|
|
33733
|
+
}
|
|
33734
|
+
const days = window.days === void 0 ? "" : ` on ${window.days.join(", ")}`;
|
|
33735
|
+
const span = window.between === void 0 ? "the whole day" : "the window";
|
|
33736
|
+
return {
|
|
33737
|
+
inside,
|
|
33738
|
+
unknown: false,
|
|
33739
|
+
nextChangeAtMs: next,
|
|
33740
|
+
why: inside ? `inside ${span}${days}` : `outside ${span}${days}`
|
|
33741
|
+
};
|
|
33504
33742
|
}
|
|
33505
33743
|
//#endregion
|
|
33506
33744
|
//#region src/automation/condition-eval.ts
|
|
@@ -33576,6 +33814,8 @@ function collectInto(cond, out) {
|
|
|
33576
33814
|
...binding.addonId !== void 0 ? { addonId: binding.addonId } : {}
|
|
33577
33815
|
});
|
|
33578
33816
|
return;
|
|
33817
|
+
case "time-is": return;
|
|
33818
|
+
case "triggered-by": return;
|
|
33579
33819
|
default: return;
|
|
33580
33820
|
}
|
|
33581
33821
|
}
|
|
@@ -33592,6 +33832,32 @@ function collectWhenMirrorSources(cond) {
|
|
|
33592
33832
|
return true;
|
|
33593
33833
|
});
|
|
33594
33834
|
}
|
|
33835
|
+
/** Does the tree hold a `time-is` leaf? */
|
|
33836
|
+
function hasTimeLeaves(when) {
|
|
33837
|
+
let found = false;
|
|
33838
|
+
forEachLeaf(when, (leaf) => {
|
|
33839
|
+
if (leaf.kind === "time-is") found = true;
|
|
33840
|
+
});
|
|
33841
|
+
return found;
|
|
33842
|
+
}
|
|
33843
|
+
/**
|
|
33844
|
+
* The soonest ANY `time-is` leaf changes sides (ms from `now`), over every
|
|
33845
|
+
* leaf of the tree — a short-circuit that skipped a leaf in the last
|
|
33846
|
+
* evaluation must not hide its boundary. Undefined: no time leaf, no site, or
|
|
33847
|
+
* no boundary within reach.
|
|
33848
|
+
*/
|
|
33849
|
+
function nextTimeBoundaryInMs(when, now, site, rootPath = "when") {
|
|
33850
|
+
if (site === void 0) return void 0;
|
|
33851
|
+
let due;
|
|
33852
|
+
forEachLeaf(when, (leaf) => {
|
|
33853
|
+
if (leaf.kind !== "time-is") return;
|
|
33854
|
+
const next = judgeTimeWindow(leaf, now, site).nextChangeAtMs;
|
|
33855
|
+
if (next === null) return;
|
|
33856
|
+
const ms = Math.max(0, next - now);
|
|
33857
|
+
due = due === void 0 ? ms : Math.min(due, ms);
|
|
33858
|
+
}, rootPath);
|
|
33859
|
+
return due;
|
|
33860
|
+
}
|
|
33595
33861
|
/** Legacy name, for blocks generated before the single tree: an old condition tree. */
|
|
33596
33862
|
function collectMirrorSources(cond) {
|
|
33597
33863
|
return collectWhenMirrorSources(cond === void 0 ? void 0 : convertLegacyCondition(cond));
|
|
@@ -33927,6 +34193,53 @@ function evalNode(cond, path, reader, now, out, state) {
|
|
|
33927
34193
|
});
|
|
33928
34194
|
return ok;
|
|
33929
34195
|
}
|
|
34196
|
+
case "time-is": {
|
|
34197
|
+
if (state.site === void 0) {
|
|
34198
|
+
state.unknown = true;
|
|
34199
|
+
out.push({
|
|
34200
|
+
path,
|
|
34201
|
+
kind: cond.kind,
|
|
34202
|
+
outcome: "fail",
|
|
34203
|
+
reason: "the site clock is not known here → fail"
|
|
34204
|
+
});
|
|
34205
|
+
return false;
|
|
34206
|
+
}
|
|
34207
|
+
const verdict = judgeTimeWindow(cond, now, state.site);
|
|
34208
|
+
if (verdict.unknown) state.unknown = true;
|
|
34209
|
+
if (verdict.nextChangeAtMs !== null) {
|
|
34210
|
+
const due = Math.max(0, verdict.nextChangeAtMs - now);
|
|
34211
|
+
state.timeDueInMs = state.timeDueInMs === void 0 ? due : Math.min(state.timeDueInMs, due);
|
|
34212
|
+
}
|
|
34213
|
+
out.push({
|
|
34214
|
+
path,
|
|
34215
|
+
kind: cond.kind,
|
|
34216
|
+
outcome: verdict.inside ? "pass" : "fail",
|
|
34217
|
+
reason: `${verdict.why} → ${verdict.inside ? "pass" : "fail"}`
|
|
34218
|
+
});
|
|
34219
|
+
return verdict.inside;
|
|
34220
|
+
}
|
|
34221
|
+
case "triggered-by": {
|
|
34222
|
+
const named = cond.leafIds.map((id) => `"${id}"`).join(", ");
|
|
34223
|
+
if (state.trigger === "unknown") {
|
|
34224
|
+
state.unknown = true;
|
|
34225
|
+
out.push({
|
|
34226
|
+
path,
|
|
34227
|
+
kind: cond.kind,
|
|
34228
|
+
outcome: "fail",
|
|
34229
|
+
reason: `what started this run is not known here, so "triggered by ${named}" cannot be judged → fail`
|
|
34230
|
+
});
|
|
34231
|
+
return false;
|
|
34232
|
+
}
|
|
34233
|
+
const fired = state.trigger.leafId;
|
|
34234
|
+
const ok = fired !== null && cond.leafIds.includes(fired);
|
|
34235
|
+
out.push({
|
|
34236
|
+
path,
|
|
34237
|
+
kind: cond.kind,
|
|
34238
|
+
outcome: ok ? "pass" : "fail",
|
|
34239
|
+
reason: `${fired === null ? "no named trigger started this run" : `started by "${fired}"`}, wanted ${named} → ${ok ? "pass" : "fail"}`
|
|
34240
|
+
});
|
|
34241
|
+
return ok;
|
|
34242
|
+
}
|
|
33930
34243
|
case "not": {
|
|
33931
34244
|
const at = out.length;
|
|
33932
34245
|
out.push({
|
|
@@ -33985,13 +34298,17 @@ function evaluateWhenTree(when, reader, now, options = {}) {
|
|
|
33985
34298
|
firedPath: options.firedPath,
|
|
33986
34299
|
holds: options.holds,
|
|
33987
34300
|
unknown: false,
|
|
33988
|
-
holdDueInMs: void 0
|
|
34301
|
+
holdDueInMs: void 0,
|
|
34302
|
+
site: options.site,
|
|
34303
|
+
timeDueInMs: void 0,
|
|
34304
|
+
trigger: options.trigger ?? { leafId: options.firedPath === void 0 ? null : eventLeafIdAt(when, options.firedPath) }
|
|
33989
34305
|
};
|
|
33990
34306
|
return {
|
|
33991
34307
|
pass: evalNode(when, options.rootPath ?? "when", reader, now, nodes, state),
|
|
33992
34308
|
unknown: state.unknown,
|
|
33993
34309
|
nodes,
|
|
33994
|
-
...state.holdDueInMs === void 0 ? {} : { holdDueInMs: state.holdDueInMs }
|
|
34310
|
+
...state.holdDueInMs === void 0 ? {} : { holdDueInMs: state.holdDueInMs },
|
|
34311
|
+
...state.timeDueInMs === void 0 ? {} : { timeDueInMs: state.timeDueInMs }
|
|
33995
34312
|
};
|
|
33996
34313
|
}
|
|
33997
34314
|
/** Does any state leaf of the tree carry a `for`? */
|
|
@@ -34015,7 +34332,10 @@ function observeHoldLeaves(when, reader, now, holds, rootPath = "when") {
|
|
|
34015
34332
|
firedPath: void 0,
|
|
34016
34333
|
holds,
|
|
34017
34334
|
unknown: false,
|
|
34018
|
-
holdDueInMs: void 0
|
|
34335
|
+
holdDueInMs: void 0,
|
|
34336
|
+
site: void 0,
|
|
34337
|
+
timeDueInMs: void 0,
|
|
34338
|
+
trigger: "unknown"
|
|
34019
34339
|
};
|
|
34020
34340
|
evalNode(leaf, path, reader, now, [], state);
|
|
34021
34341
|
if (state.holdDueInMs !== void 0) due = due === void 0 ? state.holdDueInMs : Math.min(due, state.holdDueInMs);
|
|
@@ -34047,6 +34367,11 @@ var STATIONARY_DESCRIPTIONS = {
|
|
|
34047
34367
|
phase: "appeared or departed",
|
|
34048
34368
|
entryId: "the stopped object"
|
|
34049
34369
|
};
|
|
34370
|
+
var BECOMES_DESCRIPTIONS = {
|
|
34371
|
+
deviceId: "the device that changed",
|
|
34372
|
+
from: "the value before the change, empty when it is not known",
|
|
34373
|
+
to: "the value it changed to"
|
|
34374
|
+
};
|
|
34050
34375
|
function describe$1(descriptions) {
|
|
34051
34376
|
return Object.entries(descriptions).map(([name, description]) => ({
|
|
34052
34377
|
name,
|
|
@@ -34055,10 +34380,21 @@ function describe$1(descriptions) {
|
|
|
34055
34380
|
}
|
|
34056
34381
|
var DETECTION_VARIABLES = describe$1(DETECTION_DESCRIPTIONS);
|
|
34057
34382
|
var STATIONARY_VARIABLES = describe$1(STATIONARY_DESCRIPTIONS);
|
|
34383
|
+
var BECOMES_VARIABLES = describe$1(BECOMES_DESCRIPTIONS).map((v) => v.name === "deviceId" ? {
|
|
34384
|
+
...v,
|
|
34385
|
+
hintKey: "becomesDeviceId"
|
|
34386
|
+
} : v);
|
|
34387
|
+
/** A name two trigger kinds describe differently, said for both (a camera, or a device that changed). */
|
|
34388
|
+
var SHARED_VARIABLES = { deviceId: {
|
|
34389
|
+
name: "deviceId",
|
|
34390
|
+
description: "the device that started the run",
|
|
34391
|
+
hintKey: "triggerDeviceId"
|
|
34392
|
+
} };
|
|
34058
34393
|
/** What one event row kind provides; kinds that provide none are absent. */
|
|
34059
34394
|
function triggerLeafVariables(kind) {
|
|
34060
34395
|
if (kind === "detection") return DETECTION_VARIABLES;
|
|
34061
34396
|
if (kind === "stationary") return STATIONARY_VARIABLES;
|
|
34397
|
+
if (kind === "device-becomes") return BECOMES_VARIABLES;
|
|
34062
34398
|
return [];
|
|
34063
34399
|
}
|
|
34064
34400
|
/**
|
|
@@ -34073,7 +34409,9 @@ function triggerVariablesOf(when) {
|
|
|
34073
34409
|
});
|
|
34074
34410
|
const [first, ...rest] = perEvent;
|
|
34075
34411
|
if (first === void 0) return [];
|
|
34076
|
-
return first.filter((v) => rest.every((other) => other.some((o) => o.name === v.name)))
|
|
34412
|
+
return first.filter((v) => rest.every((other) => other.some((o) => o.name === v.name))).map((v) => {
|
|
34413
|
+
return rest.every((other) => other.some((o) => o.name === v.name && o.description === v.description)) ? v : SHARED_VARIABLES[v.name] ?? v;
|
|
34414
|
+
});
|
|
34077
34415
|
}
|
|
34078
34416
|
//#endregion
|
|
34079
34417
|
//#region src/automation/codegen.ts
|
|
@@ -34201,6 +34539,7 @@ function emitLeaf(trigger, path) {
|
|
|
34201
34539
|
cap: ${j(trigger.cap)},
|
|
34202
34540
|
field: ${j(trigger.fieldPath)},
|
|
34203
34541
|
to: toTraceScalar(effect.value),
|
|
34542
|
+
...(effect.kind === 'fire' ? { from: toTraceScalar(effect.from) } : {}),
|
|
34204
34543
|
...(effect.hold === undefined ? {} : { hold: effect.hold }),
|
|
34205
34544
|
}
|
|
34206
34545
|
if (effect.kind === 'fire') {
|
|
@@ -34324,7 +34663,7 @@ function emitGuard(action, index) {
|
|
|
34324
34663
|
const body = emitLeafBody(el);
|
|
34325
34664
|
return `{ meta: ${j(stepMetaOf(el))}, run: async (scope) => {\n${body ?? ""}\n } }`;
|
|
34326
34665
|
}).join(", ");
|
|
34327
|
-
return ` guard: () => evaluateCondition(${j(action.if)}, ${j(`actions.${index}.if`)}),${otherwise === "" ? "" : `\n otherwise: [${otherwise}],`}
|
|
34666
|
+
return ` guard: () => evaluateCondition(${j(action.if)}, ${j(`actions.${index}.if`)}, vars),${otherwise === "" ? "" : `\n otherwise: [${otherwise}],`}
|
|
34328
34667
|
`;
|
|
34329
34668
|
}
|
|
34330
34669
|
function emitAction(action, index) {
|
|
@@ -34374,6 +34713,7 @@ function generateAutomationBlock(input) {
|
|
|
34374
34713
|
path: `actions.${i}.if`,
|
|
34375
34714
|
when: a.if
|
|
34376
34715
|
}] : []);
|
|
34716
|
+
const hasTime = hasTimeLeaves(recipe.when) || recipe.actions.some((a) => (a.kind === "wait" || a.kind === "cap") && a.if !== void 0 && hasTimeLeaves(a.if));
|
|
34377
34717
|
const eventLeaves = [];
|
|
34378
34718
|
forEachLeaf(recipe.when, (leaf, path) => {
|
|
34379
34719
|
if (isEventLeaf(leaf)) eventLeaves.push({
|
|
@@ -34391,6 +34731,7 @@ function generateAutomationBlock(input) {
|
|
|
34391
34731
|
AutomationStepTrace,
|
|
34392
34732
|
RunnableStep,
|
|
34393
34733
|
StepScope,
|
|
34734
|
+
TimeSite,
|
|
34394
34735
|
TimeSpec,
|
|
34395
34736
|
WeekdayKey,
|
|
34396
34737
|
} from '@camstack/types'
|
|
@@ -34409,9 +34750,11 @@ import {
|
|
|
34409
34750
|
describeHold,
|
|
34410
34751
|
evaluateWhenTree,
|
|
34411
34752
|
evaluateStationaryTrigger,
|
|
34753
|
+
eventLeafIdAt,
|
|
34412
34754
|
isSkippedTrace,
|
|
34413
34755
|
mergeSkipTraces,
|
|
34414
34756
|
nextOccurrence,
|
|
34757
|
+
nextTimeBoundaryInMs,
|
|
34415
34758
|
observeHoldLeaves,
|
|
34416
34759
|
stableIdMapOf,
|
|
34417
34760
|
resolveStepArgs,
|
|
@@ -34419,6 +34762,7 @@ import {
|
|
|
34419
34762
|
runForDevices,
|
|
34420
34763
|
evaluateStepCondition,
|
|
34421
34764
|
runSteps,
|
|
34765
|
+
siteFor,
|
|
34422
34766
|
validateTimeSpecForSite,
|
|
34423
34767
|
zoneOnlySite,
|
|
34424
34768
|
} from '@camstack/types'
|
|
@@ -34460,6 +34804,9 @@ const HAS_DOMAIN_TARGET = ${hasDomainTarget}
|
|
|
34460
34804
|
/** A state leaf of the tree carries a \`for\`: its clock is fed on every mirror update, so it counts while nothing fires. */
|
|
34461
34805
|
const HAS_HOLD = ${hasHoldLeaves(recipe.when)}
|
|
34462
34806
|
|
|
34807
|
+
/** A \`time-is\` leaf (in the tree or a guard) reads the site clock: the site is kept in memory and a timer wakes the tree at each boundary. */
|
|
34808
|
+
const HAS_TIME = ${hasTime}
|
|
34809
|
+
|
|
34463
34810
|
/** Guards (a step's \`if\`) with a \`for\`: they keep their own mirror and clocks, fed the same way. */
|
|
34464
34811
|
const GUARD_HOLD_TREES: ReadonlyArray<{ path: string; when: AutomationWhen }> = ${j(guardHoldTrees)}
|
|
34465
34812
|
|
|
@@ -34525,7 +34872,9 @@ export default function block(ctx: AddonContext) {
|
|
|
34525
34872
|
)
|
|
34526
34873
|
const guardHolds = new HoldTracker()
|
|
34527
34874
|
let holdTimer: ReturnType<typeof setTimeout> | undefined
|
|
34528
|
-
|
|
34875
|
+
${hasTime ? ` /** The site clock a \`time-is\` leaf reads: memory only at evaluation time (D49), refreshed at start and on the reconcile. */
|
|
34876
|
+
let site: TimeSite | undefined
|
|
34877
|
+
` : ""} const BLOCK_ID = coreBlockIdFromAddonId(ctx.id)
|
|
34529
34878
|
/** The cooldown stamp: memory is the authority at fire time (D49); the hub ledger is read once at start. */
|
|
34530
34879
|
let lastRunStartedAt: number | null = null
|
|
34531
34880
|
/** True when the stamp could not be read at start — the first run is let through and says so. */
|
|
@@ -34622,7 +34971,19 @@ export default function block(ctx: AddonContext) {
|
|
|
34622
34971
|
void send({ trace })
|
|
34623
34972
|
}
|
|
34624
34973
|
|
|
34625
|
-
|
|
34974
|
+
${hasTime ? ` /** Read the site into memory. A failed read keeps the previous value (D49). */
|
|
34975
|
+
async function refreshSite(): Promise<void> {
|
|
34976
|
+
try {
|
|
34977
|
+
const reading = await ctx.api.system.getSiteLocation.query()
|
|
34978
|
+
site = siteFor(reading) ?? zoneOnlySite(reading.timeZone)
|
|
34979
|
+
} catch (error) {
|
|
34980
|
+
ctx.logger.warn('site clock not refreshed — keeping the previous one', {
|
|
34981
|
+
error: error instanceof Error ? error.message : String(error),
|
|
34982
|
+
})
|
|
34983
|
+
}
|
|
34984
|
+
}
|
|
34985
|
+
|
|
34986
|
+
` : ""} // ── the condition mirror (D49): memory only at fire time ──
|
|
34626
34987
|
async function refreshMirror(): Promise<void> {
|
|
34627
34988
|
const report = await mirror.refresh({
|
|
34628
34989
|
fetchSlice: (deviceId, cap) => ctx.api.deviceState.getCapSlice.query({ deviceId, capName: cap }),
|
|
@@ -34661,7 +35022,10 @@ export default function block(ctx: AddonContext) {
|
|
|
34661
35022
|
const due = observeHoldLeaves(tree.when, guardMirror, now, guardHolds, tree.path)
|
|
34662
35023
|
if (due !== undefined) dues.push(due)
|
|
34663
35024
|
}
|
|
34664
|
-
|
|
35025
|
+
${hasTime ? ` // a time-is leaf changes sides at a boundary with no device event: wake the tree there
|
|
35026
|
+
const timeDue = nextTimeBoundaryInMs(WHEN, now, site)
|
|
35027
|
+
if (timeDue !== undefined) dues.push(timeDue)
|
|
35028
|
+
` : ""} if (holdTimer !== undefined) clearTimeout(holdTimer)
|
|
34665
35029
|
holdTimer = undefined
|
|
34666
35030
|
if (dues.length === 0) return
|
|
34667
35031
|
holdTimer = setTimeout(() => {
|
|
@@ -34834,11 +35198,14 @@ export default function block(ctx: AddonContext) {
|
|
|
34834
35198
|
}
|
|
34835
35199
|
|
|
34836
35200
|
/** A step's \`if\` (#472), read on a mirror filled for exactly its leaves, NOW (D49: unread = unknown). */
|
|
34837
|
-
function evaluateCondition(when: AutomationWhen, path: string) {
|
|
35201
|
+
function evaluateCondition(when: AutomationWhen, path: string, vars: Record<string, unknown>) {
|
|
35202
|
+
// \`triggered-by\` reads the run: the id of the leaf that started it, by the path the trigger carries.
|
|
35203
|
+
const firedLeaf = vars['leaf']
|
|
35204
|
+
const trigger = { leafId: typeof firedLeaf === 'string' ? eventLeafIdAt(WHEN, firedLeaf) : null }
|
|
34838
35205
|
const history = GUARD_HOLD_TREES.some((t) => t.path === path)
|
|
34839
35206
|
? { mirror: guardMirror, holds: guardHolds, rootPath: path }
|
|
34840
35207
|
: undefined
|
|
34841
|
-
return evaluateStepCondition(when, mirrorFetchers(), Date.now, history)
|
|
35208
|
+
return evaluateStepCondition(when, mirrorFetchers(), Date.now, history, ${hasTime ? "site" : "undefined"}, trigger)
|
|
34842
35209
|
}
|
|
34843
35210
|
|
|
34844
35211
|
/** The THEN half, through the ONE shared step runner: stops at the first
|
|
@@ -34925,7 +35292,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
34925
35292
|
try {
|
|
34926
35293
|
const firedLeaf = trigger['leaf']
|
|
34927
35294
|
const evaluation = evaluateWhenTree(WHEN, mirror, Date.now(), {
|
|
34928
|
-
holds,
|
|
35295
|
+
holds,${hasTime ? "\n ...(site === undefined ? {} : { site })," : ""}
|
|
34929
35296
|
...(typeof firedLeaf === 'string' ? { firedPath: firedLeaf } : {}),
|
|
34930
35297
|
})
|
|
34931
35298
|
nodes = [...evaluation.nodes]
|
|
@@ -35039,7 +35406,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35039
35406
|
|
|
35040
35407
|
const ready: Promise<void> = (async () => {
|
|
35041
35408
|
await loadState()
|
|
35042
|
-
await refreshMirror()
|
|
35409
|
+
${hasTime ? " await refreshSite()\n" : ""} await refreshMirror()
|
|
35043
35410
|
feedHolds()
|
|
35044
35411
|
stateWatching = true
|
|
35045
35412
|
evaluateStateTree()
|
|
@@ -35055,7 +35422,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35055
35422
|
let stateWatching = false
|
|
35056
35423
|
function evaluateStateTree(): void {
|
|
35057
35424
|
if (!STATE_ONLY || !stateWatching || stopped) return
|
|
35058
|
-
const evaluation = evaluateWhenTree(WHEN, mirror, Date.now(), { holds })
|
|
35425
|
+
const evaluation = evaluateWhenTree(WHEN, mirror, Date.now(), { holds${hasTime ? ", ...(site === undefined ? {} : { site })" : ""} })
|
|
35059
35426
|
if (evaluation.unknown) return
|
|
35060
35427
|
const was = treeWasTrue
|
|
35061
35428
|
treeWasTrue = evaluation.pass
|
|
@@ -35064,7 +35431,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35064
35431
|
}
|
|
35065
35432
|
}
|
|
35066
35433
|
|
|
35067
|
-
if (MIRROR_SOURCES.length > 0 || GUARD_HOLD_TREES.length > 0) {
|
|
35434
|
+
if (MIRROR_SOURCES.length > 0 || GUARD_HOLD_TREES.length > 0 || HAS_TIME) {
|
|
35068
35435
|
disposers.push(
|
|
35069
35436
|
ctx.eventBus.subscribe({ category: EventCategory.DeviceStateChanged }, (event) => {
|
|
35070
35437
|
const data = event.data
|
|
@@ -35079,7 +35446,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35079
35446
|
}),
|
|
35080
35447
|
)
|
|
35081
35448
|
const mirrorReconcile = setInterval(() => {
|
|
35082
|
-
void refreshMirror().then(() => {
|
|
35449
|
+
void ${hasTime ? "Promise.all([refreshSite(), refreshMirror()])" : "refreshMirror()"}.then(() => {
|
|
35083
35450
|
feedHolds()
|
|
35084
35451
|
evaluateStateTree()
|
|
35085
35452
|
})
|
|
@@ -35410,6 +35777,40 @@ var RunGate = class {
|
|
|
35410
35777
|
}
|
|
35411
35778
|
};
|
|
35412
35779
|
//#endregion
|
|
35780
|
+
//#region src/automation/when-site.ts
|
|
35781
|
+
/**
|
|
35782
|
+
* Save-time check of a `when` tree against the SITE: a `time-is` window
|
|
35783
|
+
* bounded by a sun event needs the site location, and any window needs a known
|
|
35784
|
+
* time zone. Refused before the save with a typed reason — at run time the
|
|
35785
|
+
* same leaf can only read `unknown`, and a rule that never decides is a rule
|
|
35786
|
+
* the operator believes is working. Pure: the site reading is handed in.
|
|
35787
|
+
*/
|
|
35788
|
+
var WINDOW_ENDS = ["from", "to"];
|
|
35789
|
+
/** Every `time-is` window end of the tree this site cannot place. `rootPath` replaces the leading `when`. */
|
|
35790
|
+
function whenSiteIssues(when, reading, rootPath = "when") {
|
|
35791
|
+
const issues = [];
|
|
35792
|
+
forEachLeaf(when, (leaf, path) => {
|
|
35793
|
+
if (leaf.kind !== "time-is" || leaf.between === void 0) return;
|
|
35794
|
+
for (const end of WINDOW_ENDS) {
|
|
35795
|
+
const checked = validateTimeSpecForSite(leaf.between[end], reading);
|
|
35796
|
+
if (!checked.ok) issues.push({
|
|
35797
|
+
path: `${path}.between.${end}`,
|
|
35798
|
+
reason: checked.reason,
|
|
35799
|
+
message: checked.message
|
|
35800
|
+
});
|
|
35801
|
+
}
|
|
35802
|
+
}, rootPath);
|
|
35803
|
+
return issues;
|
|
35804
|
+
}
|
|
35805
|
+
/** The same check over the guard (`if`) of every step of a list, reported under `<rootPath>.<i>.if`. */
|
|
35806
|
+
function stepGuardSiteIssues(steps, reading, rootPath) {
|
|
35807
|
+
return steps.flatMap((step, i) => step.if === void 0 ? [] : whenSiteIssues(step.if, reading, `${rootPath}.${i}.if`));
|
|
35808
|
+
}
|
|
35809
|
+
/** The whole recipe: its `when` tree and every step guard. */
|
|
35810
|
+
function recipeSiteIssues(recipe, reading) {
|
|
35811
|
+
return [...whenSiteIssues(recipe.when, reading), ...stepGuardSiteIssues(recipe.actions, reading, "actions")];
|
|
35812
|
+
}
|
|
35813
|
+
//#endregion
|
|
35413
35814
|
//#region src/automation/scheduler.ts
|
|
35414
35815
|
/**
|
|
35415
35816
|
* Schedulers (D983) — an entity that performs actions over the day.
|
|
@@ -35434,6 +35835,13 @@ var SchedulerStateTreeSchema = AutomationWhenSchema.superRefine((when, ctx) => {
|
|
|
35434
35835
|
});
|
|
35435
35836
|
return;
|
|
35436
35837
|
}
|
|
35838
|
+
if (hasTriggeredByLeaves(when)) {
|
|
35839
|
+
ctx.addIssue({
|
|
35840
|
+
code: "custom",
|
|
35841
|
+
message: TRIGGERED_BY_NEEDS_AUTOMATION
|
|
35842
|
+
});
|
|
35843
|
+
return;
|
|
35844
|
+
}
|
|
35437
35845
|
const problem = validateWhenTree(when);
|
|
35438
35846
|
if (problem !== null) ctx.addIssue({
|
|
35439
35847
|
code: "custom",
|
|
@@ -35525,10 +35933,20 @@ function holdRefusalOf(step) {
|
|
|
35525
35933
|
*/
|
|
35526
35934
|
function validateSchedulerInput(input, reading) {
|
|
35527
35935
|
const issues = [];
|
|
35936
|
+
const siteIssues = (found) => {
|
|
35937
|
+
for (const issue of found) issues.push({
|
|
35938
|
+
path: issue.path,
|
|
35939
|
+
message: issue.message
|
|
35940
|
+
});
|
|
35941
|
+
};
|
|
35942
|
+
if (input.activeWhen !== void 0) siteIssues(whenSiteIssues(input.activeWhen, reading, "activeWhen"));
|
|
35528
35943
|
input.profiles.forEach((profile, pi) => {
|
|
35529
35944
|
const ids = /* @__PURE__ */ new Set();
|
|
35945
|
+
if (profile.activeWhen !== void 0) siteIssues(whenSiteIssues(profile.activeWhen, reading, `profiles.${pi}.activeWhen`));
|
|
35530
35946
|
profile.points.forEach((point, qi) => {
|
|
35531
35947
|
const base = `profiles.${pi}.points.${qi}`;
|
|
35948
|
+
if (point.conditions !== void 0) siteIssues(whenSiteIssues(point.conditions, reading, `${base}.conditions`));
|
|
35949
|
+
siteIssues(stepGuardSiteIssues(point.steps, reading, `${base}.steps`));
|
|
35532
35950
|
if (ids.has(point.id)) issues.push({
|
|
35533
35951
|
path: `${base}.id`,
|
|
35534
35952
|
message: `point id "${point.id}" is used twice`
|
|
@@ -35754,6 +36172,8 @@ var AutomationConditionTraceNodeSchema = z.object({
|
|
|
35754
36172
|
"device-is",
|
|
35755
36173
|
"expression",
|
|
35756
36174
|
"stationary-present",
|
|
36175
|
+
"time-is",
|
|
36176
|
+
"triggered-by",
|
|
35757
36177
|
"device-becomes",
|
|
35758
36178
|
"device-event",
|
|
35759
36179
|
"schedule",
|
|
@@ -36216,21 +36636,18 @@ var ActionRunChangedSchema = z.object({
|
|
|
36216
36636
|
});
|
|
36217
36637
|
//#endregion
|
|
36218
36638
|
//#region src/automation/step-condition.ts
|
|
36219
|
-
/**
|
|
36220
|
-
* The guard of a conditional step (#472): the step's `if` is the ONE `when`
|
|
36221
|
-
* tree (D980), read on a {@link ConditionMirror} filled for exactly the leaves
|
|
36222
|
-
* the tree names, at the moment the step is reached. A state that cannot be
|
|
36223
|
-
* read is UNKNOWN, and unknown runs neither side (D49: a failed read changes
|
|
36224
|
-
* nothing, and never decides a branch).
|
|
36225
|
-
*/
|
|
36226
36639
|
/** Fill a mirror for the tree's leaves from `fetchers` and judge it NOW. */
|
|
36227
|
-
async function evaluateStepCondition(when, fetchers, now = Date.now, history) {
|
|
36640
|
+
async function evaluateStepCondition(when, fetchers, now = Date.now, history, site, trigger) {
|
|
36228
36641
|
const mirror = history?.mirror ?? new ConditionMirror(collectWhenMirrorSources(when));
|
|
36229
36642
|
await mirror.refresh(fetchers);
|
|
36230
|
-
const evaluation = evaluateWhenTree(when, mirror, now(), {
|
|
36231
|
-
|
|
36232
|
-
|
|
36233
|
-
|
|
36643
|
+
const evaluation = evaluateWhenTree(when, mirror, now(), {
|
|
36644
|
+
...history === void 0 ? {} : {
|
|
36645
|
+
holds: history.holds,
|
|
36646
|
+
rootPath: history.rootPath
|
|
36647
|
+
},
|
|
36648
|
+
...site === void 0 ? {} : { site },
|
|
36649
|
+
trigger: trigger ?? "unknown"
|
|
36650
|
+
});
|
|
36234
36651
|
const first = evaluation.nodes.filter((n) => n.outcome !== "pass").map((n) => n.reason)[0];
|
|
36235
36652
|
if (evaluation.unknown) return {
|
|
36236
36653
|
result: "unknown",
|
|
@@ -37204,6 +37621,60 @@ var AUTOMATION_LEAF_CATALOG = {
|
|
|
37204
37621
|
deviceId: 0
|
|
37205
37622
|
})
|
|
37206
37623
|
},
|
|
37624
|
+
"time-is": {
|
|
37625
|
+
kind: "time-is",
|
|
37626
|
+
category: "time",
|
|
37627
|
+
role: "state",
|
|
37628
|
+
allowedIn: STATE_CONTEXTS,
|
|
37629
|
+
i18nKey: "automation.leafCatalog.time-is",
|
|
37630
|
+
keywords: [
|
|
37631
|
+
"time",
|
|
37632
|
+
"hour",
|
|
37633
|
+
"window",
|
|
37634
|
+
"between",
|
|
37635
|
+
"night",
|
|
37636
|
+
"day",
|
|
37637
|
+
"weekday",
|
|
37638
|
+
"sunset",
|
|
37639
|
+
"sunrise"
|
|
37640
|
+
],
|
|
37641
|
+
needsDeviceValue: false,
|
|
37642
|
+
seed: () => ({
|
|
37643
|
+
kind: "time-is",
|
|
37644
|
+
between: {
|
|
37645
|
+
from: {
|
|
37646
|
+
kind: "clock",
|
|
37647
|
+
hh: 22,
|
|
37648
|
+
mm: 0
|
|
37649
|
+
},
|
|
37650
|
+
to: {
|
|
37651
|
+
kind: "clock",
|
|
37652
|
+
hh: 6,
|
|
37653
|
+
mm: 0
|
|
37654
|
+
}
|
|
37655
|
+
}
|
|
37656
|
+
})
|
|
37657
|
+
},
|
|
37658
|
+
"triggered-by": {
|
|
37659
|
+
kind: "triggered-by",
|
|
37660
|
+
category: "logic",
|
|
37661
|
+
role: "state",
|
|
37662
|
+
allowedIn: STATE_CONTEXTS,
|
|
37663
|
+
i18nKey: "automation.leafCatalog.triggered-by",
|
|
37664
|
+
keywords: [
|
|
37665
|
+
"trigger",
|
|
37666
|
+
"triggered",
|
|
37667
|
+
"started",
|
|
37668
|
+
"which",
|
|
37669
|
+
"branch",
|
|
37670
|
+
"fired"
|
|
37671
|
+
],
|
|
37672
|
+
needsDeviceValue: false,
|
|
37673
|
+
seed: () => ({
|
|
37674
|
+
kind: "triggered-by",
|
|
37675
|
+
leafIds: []
|
|
37676
|
+
})
|
|
37677
|
+
},
|
|
37207
37678
|
expression: {
|
|
37208
37679
|
kind: "expression",
|
|
37209
37680
|
category: "logic",
|
|
@@ -37238,6 +37709,8 @@ var AUTOMATION_LEAF_KINDS = [
|
|
|
37238
37709
|
"manual",
|
|
37239
37710
|
"device-is",
|
|
37240
37711
|
"stationary-present",
|
|
37712
|
+
"time-is",
|
|
37713
|
+
"triggered-by",
|
|
37241
37714
|
"expression"
|
|
37242
37715
|
];
|
|
37243
37716
|
function leafCatalogEntry(kind) {
|
|
@@ -37482,7 +37955,7 @@ var accessoriesCapability = {
|
|
|
37482
37955
|
DeviceType.Switch,
|
|
37483
37956
|
DeviceType.Light,
|
|
37484
37957
|
DeviceType.Sensor,
|
|
37485
|
-
DeviceType.
|
|
37958
|
+
DeviceType.Climate,
|
|
37486
37959
|
DeviceType.Cover,
|
|
37487
37960
|
DeviceType.Lock,
|
|
37488
37961
|
DeviceType.Fan,
|
|
@@ -40611,7 +41084,7 @@ var BATTERY_DEVICE_TYPES = [
|
|
|
40611
41084
|
DeviceType.Switch,
|
|
40612
41085
|
DeviceType.PetFeeder,
|
|
40613
41086
|
DeviceType.Container,
|
|
40614
|
-
DeviceType.
|
|
41087
|
+
DeviceType.Climate,
|
|
40615
41088
|
DeviceType.EventEmitter
|
|
40616
41089
|
];
|
|
40617
41090
|
/** Generic Customize target for the percentage reading (D936). */
|
|
@@ -42882,7 +43355,14 @@ var climateControlCapability = {
|
|
|
42882
43355
|
scope: "device",
|
|
42883
43356
|
deviceNative: true,
|
|
42884
43357
|
mode: "singleton",
|
|
42885
|
-
deviceTypes: [DeviceType.
|
|
43358
|
+
deviceTypes: [DeviceType.Climate],
|
|
43359
|
+
power: {
|
|
43360
|
+
kind: "mode",
|
|
43361
|
+
field: "mode",
|
|
43362
|
+
offValue: "off",
|
|
43363
|
+
set: "setMode",
|
|
43364
|
+
lastField: "lastActiveMode"
|
|
43365
|
+
},
|
|
42886
43366
|
methods: {
|
|
42887
43367
|
setMode: method(z.object({
|
|
42888
43368
|
deviceId: z.number().int().nonnegative(),
|
|
@@ -43302,7 +43782,8 @@ function describeStateField(schema, path) {
|
|
|
43302
43782
|
kind: leaf.kind,
|
|
43303
43783
|
nullable: field.safeParse(null).success,
|
|
43304
43784
|
required: !field.safeParse(void 0).success,
|
|
43305
|
-
...leaf.enumValues === void 0 ? {} : { enumValues: leaf.enumValues }
|
|
43785
|
+
...leaf.enumValues === void 0 ? {} : { enumValues: leaf.enumValues },
|
|
43786
|
+
...leaf.unionMembers === void 0 ? {} : { unionMembers: leaf.unionMembers }
|
|
43306
43787
|
};
|
|
43307
43788
|
}
|
|
43308
43789
|
function describeTopLevelStateFields(schema) {
|
|
@@ -43425,6 +43906,7 @@ var CompositionProblemCodeSchema = z.enum([
|
|
|
43425
43906
|
"nested-field",
|
|
43426
43907
|
"missing-field",
|
|
43427
43908
|
"kind-mismatch",
|
|
43909
|
+
"source-kind-mismatch",
|
|
43428
43910
|
"may-be-null",
|
|
43429
43911
|
"source-missing",
|
|
43430
43912
|
"source-unreadable",
|
|
@@ -43446,7 +43928,8 @@ var CompositionProblemCodeSchema = z.enum([
|
|
|
43446
43928
|
"command-method-unknown",
|
|
43447
43929
|
"command-source-unknown",
|
|
43448
43930
|
"command-input-unknown",
|
|
43449
|
-
"command-input-missing"
|
|
43931
|
+
"command-input-missing",
|
|
43932
|
+
"power-source-is-actuator"
|
|
43450
43933
|
]);
|
|
43451
43934
|
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.temperature`. */
|
|
43452
43935
|
var CompositionProblemSchema = z.object({
|
|
@@ -44621,6 +45104,13 @@ var mediaPlayerCapability = {
|
|
|
44621
45104
|
deviceNative: true,
|
|
44622
45105
|
mode: "singleton",
|
|
44623
45106
|
deviceTypes: [DeviceType.MediaPlayer],
|
|
45107
|
+
power: {
|
|
45108
|
+
kind: "methods",
|
|
45109
|
+
field: "state",
|
|
45110
|
+
offValues: ["off", "standby"],
|
|
45111
|
+
on: "turnOn",
|
|
45112
|
+
off: "turnOff"
|
|
45113
|
+
},
|
|
44624
45114
|
methods: {
|
|
44625
45115
|
turnOn: optionalMethod(deviceOnly, z.void(), {
|
|
44626
45116
|
kind: "mutation",
|
|
@@ -44755,7 +45245,7 @@ var mediaPlayerCapability = {
|
|
|
44755
45245
|
//#region src/generated/customize-catalog.ts
|
|
44756
45246
|
/**
|
|
44757
45247
|
* Customize catalog, projected from every `*.cap.ts` `customize` block.
|
|
44758
|
-
*
|
|
45248
|
+
* 11 caps. Field keys are `runtimeState` paths. No Zod.
|
|
44759
45249
|
*/
|
|
44760
45250
|
var CAP_CUSTOMIZE_CATALOG = {
|
|
44761
45251
|
"battery": {
|
|
@@ -44770,7 +45260,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
44770
45260
|
DeviceType.Switch,
|
|
44771
45261
|
DeviceType.PetFeeder,
|
|
44772
45262
|
DeviceType.Container,
|
|
44773
|
-
DeviceType.
|
|
45263
|
+
DeviceType.Climate,
|
|
44774
45264
|
DeviceType.EventEmitter
|
|
44775
45265
|
],
|
|
44776
45266
|
apply: "add",
|
|
@@ -44826,7 +45316,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
44826
45316
|
DeviceType.Siren,
|
|
44827
45317
|
DeviceType.Switch,
|
|
44828
45318
|
DeviceType.Sensor,
|
|
44829
|
-
DeviceType.Thermostat,
|
|
44830
45319
|
DeviceType.Climate,
|
|
44831
45320
|
DeviceType.Button,
|
|
44832
45321
|
DeviceType.EventEmitter,
|
|
@@ -44854,7 +45343,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
44854
45343
|
DeviceType.PetFountain,
|
|
44855
45344
|
DeviceType.Dishwasher,
|
|
44856
45345
|
DeviceType.Washer,
|
|
44857
|
-
DeviceType.Heater,
|
|
44858
45346
|
DeviceType.Dryer,
|
|
44859
45347
|
DeviceType.Gateway,
|
|
44860
45348
|
DeviceType.HeatPump
|
|
@@ -44988,6 +45476,247 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
44988
45476
|
debounceMs: 2e3
|
|
44989
45477
|
}]
|
|
44990
45478
|
},
|
|
45479
|
+
"fan-control": {
|
|
45480
|
+
version: 1,
|
|
45481
|
+
targets: [
|
|
45482
|
+
{
|
|
45483
|
+
id: "horizontal-oscillating",
|
|
45484
|
+
cardinality: "scalar",
|
|
45485
|
+
deviceTypes: [DeviceType.Fan],
|
|
45486
|
+
apply: "replace",
|
|
45487
|
+
vocabularyCap: "fan-control",
|
|
45488
|
+
vocabularyStateField: "oscillating",
|
|
45489
|
+
sources: [{
|
|
45490
|
+
kind: "switch",
|
|
45491
|
+
transformKinds: ["identity"],
|
|
45492
|
+
transforms: [{ kind: "identity" }]
|
|
45493
|
+
}],
|
|
45494
|
+
sourceReport: { status: "assignment-status" },
|
|
45495
|
+
advancedExpression: false,
|
|
45496
|
+
section: "oscillation-axes",
|
|
45497
|
+
path: "oscillationAxes.horizontal.oscillating",
|
|
45498
|
+
valueKind: "boolean",
|
|
45499
|
+
nullable: true
|
|
45500
|
+
},
|
|
45501
|
+
{
|
|
45502
|
+
id: "horizontal-angle",
|
|
45503
|
+
cardinality: "scalar",
|
|
45504
|
+
deviceTypes: [DeviceType.Fan],
|
|
45505
|
+
apply: "replace",
|
|
45506
|
+
vocabularyCap: "fan-control",
|
|
45507
|
+
sources: [{
|
|
45508
|
+
kind: "numeric",
|
|
45509
|
+
transformKinds: ["identity"],
|
|
45510
|
+
transforms: [{ kind: "identity" }]
|
|
45511
|
+
}],
|
|
45512
|
+
sourceReport: { status: "assignment-status" },
|
|
45513
|
+
advancedExpression: false,
|
|
45514
|
+
section: "oscillation-axes",
|
|
45515
|
+
path: "oscillationAxes.horizontal.angle",
|
|
45516
|
+
valueKind: "number",
|
|
45517
|
+
nullable: true,
|
|
45518
|
+
companions: [
|
|
45519
|
+
{
|
|
45520
|
+
kind: "source-field",
|
|
45521
|
+
path: "oscillationAxes.horizontal.min",
|
|
45522
|
+
field: "min"
|
|
45523
|
+
},
|
|
45524
|
+
{
|
|
45525
|
+
kind: "source-field",
|
|
45526
|
+
path: "oscillationAxes.horizontal.max",
|
|
45527
|
+
field: "max"
|
|
45528
|
+
},
|
|
45529
|
+
{
|
|
45530
|
+
kind: "source-field",
|
|
45531
|
+
path: "oscillationAxes.horizontal.step",
|
|
45532
|
+
field: "step"
|
|
45533
|
+
}
|
|
45534
|
+
]
|
|
45535
|
+
},
|
|
45536
|
+
{
|
|
45537
|
+
id: "horizontal-sweepFrom",
|
|
45538
|
+
cardinality: "scalar",
|
|
45539
|
+
deviceTypes: [DeviceType.Fan],
|
|
45540
|
+
apply: "replace",
|
|
45541
|
+
vocabularyCap: "fan-control",
|
|
45542
|
+
sources: [{
|
|
45543
|
+
kind: "numeric",
|
|
45544
|
+
transformKinds: ["identity"],
|
|
45545
|
+
transforms: [{ kind: "identity" }]
|
|
45546
|
+
}],
|
|
45547
|
+
sourceReport: { status: "assignment-status" },
|
|
45548
|
+
advancedExpression: false,
|
|
45549
|
+
section: "oscillation-axes",
|
|
45550
|
+
path: "oscillationAxes.horizontal.sweepFrom",
|
|
45551
|
+
valueKind: "number",
|
|
45552
|
+
nullable: true
|
|
45553
|
+
},
|
|
45554
|
+
{
|
|
45555
|
+
id: "horizontal-sweepTo",
|
|
45556
|
+
cardinality: "scalar",
|
|
45557
|
+
deviceTypes: [DeviceType.Fan],
|
|
45558
|
+
apply: "replace",
|
|
45559
|
+
vocabularyCap: "fan-control",
|
|
45560
|
+
sources: [{
|
|
45561
|
+
kind: "numeric",
|
|
45562
|
+
transformKinds: ["identity"],
|
|
45563
|
+
transforms: [{ kind: "identity" }]
|
|
45564
|
+
}],
|
|
45565
|
+
sourceReport: { status: "assignment-status" },
|
|
45566
|
+
advancedExpression: false,
|
|
45567
|
+
section: "oscillation-axes",
|
|
45568
|
+
path: "oscillationAxes.horizontal.sweepTo",
|
|
45569
|
+
valueKind: "number",
|
|
45570
|
+
nullable: true
|
|
45571
|
+
},
|
|
45572
|
+
{
|
|
45573
|
+
id: "vertical-oscillating",
|
|
45574
|
+
cardinality: "scalar",
|
|
45575
|
+
deviceTypes: [DeviceType.Fan],
|
|
45576
|
+
apply: "replace",
|
|
45577
|
+
vocabularyCap: "fan-control",
|
|
45578
|
+
vocabularyStateField: "oscillating",
|
|
45579
|
+
sources: [{
|
|
45580
|
+
kind: "switch",
|
|
45581
|
+
transformKinds: ["identity"],
|
|
45582
|
+
transforms: [{ kind: "identity" }]
|
|
45583
|
+
}],
|
|
45584
|
+
sourceReport: { status: "assignment-status" },
|
|
45585
|
+
advancedExpression: false,
|
|
45586
|
+
section: "oscillation-axes",
|
|
45587
|
+
path: "oscillationAxes.vertical.oscillating",
|
|
45588
|
+
valueKind: "boolean",
|
|
45589
|
+
nullable: true
|
|
45590
|
+
},
|
|
45591
|
+
{
|
|
45592
|
+
id: "vertical-angle",
|
|
45593
|
+
cardinality: "scalar",
|
|
45594
|
+
deviceTypes: [DeviceType.Fan],
|
|
45595
|
+
apply: "replace",
|
|
45596
|
+
vocabularyCap: "fan-control",
|
|
45597
|
+
sources: [{
|
|
45598
|
+
kind: "numeric",
|
|
45599
|
+
transformKinds: ["identity"],
|
|
45600
|
+
transforms: [{ kind: "identity" }]
|
|
45601
|
+
}],
|
|
45602
|
+
sourceReport: { status: "assignment-status" },
|
|
45603
|
+
advancedExpression: false,
|
|
45604
|
+
section: "oscillation-axes",
|
|
45605
|
+
path: "oscillationAxes.vertical.angle",
|
|
45606
|
+
valueKind: "number",
|
|
45607
|
+
nullable: true,
|
|
45608
|
+
companions: [
|
|
45609
|
+
{
|
|
45610
|
+
kind: "source-field",
|
|
45611
|
+
path: "oscillationAxes.vertical.min",
|
|
45612
|
+
field: "min"
|
|
45613
|
+
},
|
|
45614
|
+
{
|
|
45615
|
+
kind: "source-field",
|
|
45616
|
+
path: "oscillationAxes.vertical.max",
|
|
45617
|
+
field: "max"
|
|
45618
|
+
},
|
|
45619
|
+
{
|
|
45620
|
+
kind: "source-field",
|
|
45621
|
+
path: "oscillationAxes.vertical.step",
|
|
45622
|
+
field: "step"
|
|
45623
|
+
}
|
|
45624
|
+
]
|
|
45625
|
+
},
|
|
45626
|
+
{
|
|
45627
|
+
id: "vertical-sweepFrom",
|
|
45628
|
+
cardinality: "scalar",
|
|
45629
|
+
deviceTypes: [DeviceType.Fan],
|
|
45630
|
+
apply: "replace",
|
|
45631
|
+
vocabularyCap: "fan-control",
|
|
45632
|
+
sources: [{
|
|
45633
|
+
kind: "numeric",
|
|
45634
|
+
transformKinds: ["identity"],
|
|
45635
|
+
transforms: [{ kind: "identity" }]
|
|
45636
|
+
}],
|
|
45637
|
+
sourceReport: { status: "assignment-status" },
|
|
45638
|
+
advancedExpression: false,
|
|
45639
|
+
section: "oscillation-axes",
|
|
45640
|
+
path: "oscillationAxes.vertical.sweepFrom",
|
|
45641
|
+
valueKind: "number",
|
|
45642
|
+
nullable: true
|
|
45643
|
+
},
|
|
45644
|
+
{
|
|
45645
|
+
id: "vertical-sweepTo",
|
|
45646
|
+
cardinality: "scalar",
|
|
45647
|
+
deviceTypes: [DeviceType.Fan],
|
|
45648
|
+
apply: "replace",
|
|
45649
|
+
vocabularyCap: "fan-control",
|
|
45650
|
+
sources: [{
|
|
45651
|
+
kind: "numeric",
|
|
45652
|
+
transformKinds: ["identity"],
|
|
45653
|
+
transforms: [{ kind: "identity" }]
|
|
45654
|
+
}],
|
|
45655
|
+
sourceReport: { status: "assignment-status" },
|
|
45656
|
+
advancedExpression: false,
|
|
45657
|
+
section: "oscillation-axes",
|
|
45658
|
+
path: "oscillationAxes.vertical.sweepTo",
|
|
45659
|
+
valueKind: "number",
|
|
45660
|
+
nullable: true
|
|
45661
|
+
},
|
|
45662
|
+
{
|
|
45663
|
+
id: "preset",
|
|
45664
|
+
cardinality: "scalar",
|
|
45665
|
+
deviceTypes: [DeviceType.Fan],
|
|
45666
|
+
apply: "replace",
|
|
45667
|
+
vocabularyCap: "fan-control",
|
|
45668
|
+
sources: [{
|
|
45669
|
+
kind: "field",
|
|
45670
|
+
valueKinds: ["string"],
|
|
45671
|
+
transformKinds: ["identity"],
|
|
45672
|
+
transforms: [{ kind: "identity" }]
|
|
45673
|
+
}],
|
|
45674
|
+
sourceReport: { status: "assignment-status" },
|
|
45675
|
+
advancedExpression: false,
|
|
45676
|
+
path: "preset",
|
|
45677
|
+
valueKind: "string",
|
|
45678
|
+
nullable: false
|
|
45679
|
+
}
|
|
45680
|
+
],
|
|
45681
|
+
overridable: [
|
|
45682
|
+
{
|
|
45683
|
+
path: "oscillationAxes.horizontal.oscillating",
|
|
45684
|
+
by: "horizontal-oscillating"
|
|
45685
|
+
},
|
|
45686
|
+
{
|
|
45687
|
+
path: "oscillationAxes.horizontal.angle",
|
|
45688
|
+
by: "horizontal-angle"
|
|
45689
|
+
},
|
|
45690
|
+
{
|
|
45691
|
+
path: "oscillationAxes.horizontal.sweepFrom",
|
|
45692
|
+
by: "horizontal-sweepFrom"
|
|
45693
|
+
},
|
|
45694
|
+
{
|
|
45695
|
+
path: "oscillationAxes.horizontal.sweepTo",
|
|
45696
|
+
by: "horizontal-sweepTo"
|
|
45697
|
+
},
|
|
45698
|
+
{
|
|
45699
|
+
path: "oscillationAxes.vertical.oscillating",
|
|
45700
|
+
by: "vertical-oscillating"
|
|
45701
|
+
},
|
|
45702
|
+
{
|
|
45703
|
+
path: "oscillationAxes.vertical.angle",
|
|
45704
|
+
by: "vertical-angle"
|
|
45705
|
+
},
|
|
45706
|
+
{
|
|
45707
|
+
path: "oscillationAxes.vertical.sweepFrom",
|
|
45708
|
+
by: "vertical-sweepFrom"
|
|
45709
|
+
},
|
|
45710
|
+
{
|
|
45711
|
+
path: "oscillationAxes.vertical.sweepTo",
|
|
45712
|
+
by: "vertical-sweepTo"
|
|
45713
|
+
},
|
|
45714
|
+
{
|
|
45715
|
+
path: "preset",
|
|
45716
|
+
by: "preset"
|
|
45717
|
+
}
|
|
45718
|
+
]
|
|
45719
|
+
},
|
|
44991
45720
|
"fan-presets": {
|
|
44992
45721
|
version: 1,
|
|
44993
45722
|
targets: [{
|
|
@@ -45088,7 +45817,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45088
45817
|
DeviceType.Light,
|
|
45089
45818
|
DeviceType.Fan,
|
|
45090
45819
|
DeviceType.Climate,
|
|
45091
|
-
DeviceType.Thermostat,
|
|
45092
45820
|
DeviceType.Humidifier,
|
|
45093
45821
|
DeviceType.WaterHeater,
|
|
45094
45822
|
DeviceType.MediaPlayer,
|
|
@@ -45097,8 +45825,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45097
45825
|
DeviceType.Dishwasher,
|
|
45098
45826
|
DeviceType.Vacuum,
|
|
45099
45827
|
DeviceType.LawnMower,
|
|
45100
|
-
DeviceType.PetFeeder
|
|
45101
|
-
DeviceType.Heater
|
|
45828
|
+
DeviceType.PetFeeder
|
|
45102
45829
|
],
|
|
45103
45830
|
apply: "add",
|
|
45104
45831
|
vocabularyCap: "power-meter",
|
|
@@ -45128,7 +45855,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45128
45855
|
DeviceType.Light,
|
|
45129
45856
|
DeviceType.Fan,
|
|
45130
45857
|
DeviceType.Climate,
|
|
45131
|
-
DeviceType.Thermostat,
|
|
45132
45858
|
DeviceType.Humidifier,
|
|
45133
45859
|
DeviceType.WaterHeater,
|
|
45134
45860
|
DeviceType.MediaPlayer,
|
|
@@ -45137,8 +45863,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45137
45863
|
DeviceType.Dishwasher,
|
|
45138
45864
|
DeviceType.Vacuum,
|
|
45139
45865
|
DeviceType.LawnMower,
|
|
45140
|
-
DeviceType.PetFeeder
|
|
45141
|
-
DeviceType.Heater
|
|
45866
|
+
DeviceType.PetFeeder
|
|
45142
45867
|
],
|
|
45143
45868
|
apply: "add",
|
|
45144
45869
|
vocabularyCap: "power-meter",
|
|
@@ -45168,7 +45893,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45168
45893
|
DeviceType.Light,
|
|
45169
45894
|
DeviceType.Fan,
|
|
45170
45895
|
DeviceType.Climate,
|
|
45171
|
-
DeviceType.Thermostat,
|
|
45172
45896
|
DeviceType.Humidifier,
|
|
45173
45897
|
DeviceType.WaterHeater,
|
|
45174
45898
|
DeviceType.MediaPlayer,
|
|
@@ -45177,8 +45901,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45177
45901
|
DeviceType.Dishwasher,
|
|
45178
45902
|
DeviceType.Vacuum,
|
|
45179
45903
|
DeviceType.LawnMower,
|
|
45180
|
-
DeviceType.PetFeeder
|
|
45181
|
-
DeviceType.Heater
|
|
45904
|
+
DeviceType.PetFeeder
|
|
45182
45905
|
],
|
|
45183
45906
|
apply: "add",
|
|
45184
45907
|
vocabularyCap: "power-meter",
|
|
@@ -45208,7 +45931,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45208
45931
|
DeviceType.Light,
|
|
45209
45932
|
DeviceType.Fan,
|
|
45210
45933
|
DeviceType.Climate,
|
|
45211
|
-
DeviceType.Thermostat,
|
|
45212
45934
|
DeviceType.Humidifier,
|
|
45213
45935
|
DeviceType.WaterHeater,
|
|
45214
45936
|
DeviceType.MediaPlayer,
|
|
@@ -45217,8 +45939,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45217
45939
|
DeviceType.Dishwasher,
|
|
45218
45940
|
DeviceType.Vacuum,
|
|
45219
45941
|
DeviceType.LawnMower,
|
|
45220
|
-
DeviceType.PetFeeder
|
|
45221
|
-
DeviceType.Heater
|
|
45942
|
+
DeviceType.PetFeeder
|
|
45222
45943
|
],
|
|
45223
45944
|
apply: "add",
|
|
45224
45945
|
vocabularyCap: "power-meter",
|
|
@@ -45320,9 +46041,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
45320
46041
|
DeviceType.Humidifier,
|
|
45321
46042
|
DeviceType.Fan,
|
|
45322
46043
|
DeviceType.Climate,
|
|
45323
|
-
DeviceType.
|
|
45324
|
-
DeviceType.PetFeeder,
|
|
45325
|
-
DeviceType.Heater
|
|
46044
|
+
DeviceType.PetFeeder
|
|
45326
46045
|
],
|
|
45327
46046
|
apply: "add",
|
|
45328
46047
|
vocabularyCap: "running-state",
|
|
@@ -45641,12 +46360,37 @@ function readKinds(read, lookupCap) {
|
|
|
45641
46360
|
code: "source-field-unknown",
|
|
45642
46361
|
message: `\`${read.cap}\` has no field \`${read.fieldPath}\``
|
|
45643
46362
|
};
|
|
45644
|
-
const
|
|
46363
|
+
const bases = field.kind === "union" ? field.unionMembers ?? [] : [field.kind === "enum" ? "string" : field.kind];
|
|
45645
46364
|
return {
|
|
45646
46365
|
ok: true,
|
|
45647
|
-
kinds: new Set(field.nullable ? [
|
|
46366
|
+
kinds: new Set(field.nullable ? [...bases, "null"] : bases)
|
|
45648
46367
|
};
|
|
45649
46368
|
}
|
|
46369
|
+
/** A union field is read as a source (D1034), never written: no single kind to check a source against. */
|
|
46370
|
+
function unionTargetProblem(cap, path, at) {
|
|
46371
|
+
return problem("kind-mismatch", at, `\`${cap}.${path}\` is a union — it is read as a source, never written`);
|
|
46372
|
+
}
|
|
46373
|
+
/** The one value kind a target field accepts. */
|
|
46374
|
+
function acceptedKind(target) {
|
|
46375
|
+
if (target.kind === "union") return null;
|
|
46376
|
+
return target.kind === "enum" ? "string" : target.kind;
|
|
46377
|
+
}
|
|
46378
|
+
/**
|
|
46379
|
+
* A direct read of a UNION source field (D1034) is judged by the member that
|
|
46380
|
+
* fits the target: when one does, the read produces that kind only (a reading
|
|
46381
|
+
* of another kind is UNAVAILABLE at read time, never a coerced value); when
|
|
46382
|
+
* none does, the kinds stay as they are and `compatibility` names the mismatch.
|
|
46383
|
+
*/
|
|
46384
|
+
function narrowUnionRead(source, target, kinds, lookupCap) {
|
|
46385
|
+
if (source.kind !== "from") return kinds;
|
|
46386
|
+
const def = lookupCap(source.cap);
|
|
46387
|
+
const schema = def?.runtimeState ?? def?.status?.schema;
|
|
46388
|
+
if (schema === void 0) return kinds;
|
|
46389
|
+
const field = describeStateField(schema, source.fieldPath);
|
|
46390
|
+
const accepted = acceptedKind(target);
|
|
46391
|
+
if (field?.kind !== "union" || accepted === null || !kinds.has(accepted)) return kinds;
|
|
46392
|
+
return new Set(kinds.has("null") ? [accepted, "null"] : [accepted]);
|
|
46393
|
+
}
|
|
45650
46394
|
function sourceKinds(source, lookupCap) {
|
|
45651
46395
|
if (source.kind === "from") return readKinds(source, lookupCap);
|
|
45652
46396
|
if (source.kind === "code") return {
|
|
@@ -45683,7 +46427,8 @@ function sourceKinds(source, lookupCap) {
|
|
|
45683
46427
|
};
|
|
45684
46428
|
}
|
|
45685
46429
|
function compatibility(cap, target, kinds, at) {
|
|
45686
|
-
const allowed = target
|
|
46430
|
+
const allowed = acceptedKind(target);
|
|
46431
|
+
if (allowed === null) return [unionTargetProblem(cap, target.path, at)];
|
|
45687
46432
|
const offending = [...kinds].filter((k) => k !== "null" && k !== allowed);
|
|
45688
46433
|
const problems = [];
|
|
45689
46434
|
if (offending.length > 0) problems.push(problem("kind-mismatch", at, `\`${cap}.${target.path}\` is a ${target.kind}; this source can produce ${offending.join(" or ")}`));
|
|
@@ -45794,6 +46539,7 @@ function planItemField(ctx, leaf) {
|
|
|
45794
46539
|
if (ctx.reserved.has(path)) return refused(problem("item-field-reserved", at, `\`${capName}.${itemArray.path}[].${path}\` is set by the composer itself — it takes no source`));
|
|
45795
46540
|
const tf = describeStateField(itemArray.itemSchema, path);
|
|
45796
46541
|
if (tf === null) return refused(problem("unknown-field", at, `a \`${capName}\` item has no field \`${path}\``));
|
|
46542
|
+
if (tf.kind === "union") return refused(unionTargetProblem(capName, path, at));
|
|
45797
46543
|
const kinds = sourceKinds(source, lookupCap);
|
|
45798
46544
|
if (!kinds.ok) return refused(problem(kinds.code, at, kinds.message));
|
|
45799
46545
|
const role = roleOf(source);
|
|
@@ -45819,7 +46565,7 @@ function planItemField(ctx, leaf) {
|
|
|
45819
46565
|
};
|
|
45820
46566
|
const enumProblem = enumLiteralProblem(capName, tf, source, at);
|
|
45821
46567
|
return {
|
|
45822
|
-
problems: [...compatibility(capName, tf, kinds.kinds, at), ...enumProblem === null ? [] : [enumProblem]],
|
|
46568
|
+
problems: [...compatibility(capName, tf, narrowUnionRead(source, tf, kinds.kinds, lookupCap), at), ...enumProblem === null ? [] : [enumProblem]],
|
|
45823
46569
|
fields: [plan],
|
|
45824
46570
|
features: [],
|
|
45825
46571
|
events: []
|
|
@@ -46051,7 +46797,7 @@ function numeric(input) {
|
|
|
46051
46797
|
}, ...alsoFrom === void 0 ? [] : [alsoFrom.accept]]
|
|
46052
46798
|
};
|
|
46053
46799
|
}
|
|
46054
|
-
var CLIMATE_DEVICES = [DeviceType.
|
|
46800
|
+
var CLIMATE_DEVICES = [DeviceType.Climate];
|
|
46055
46801
|
function binary(input) {
|
|
46056
46802
|
return {
|
|
46057
46803
|
...input,
|
|
@@ -46373,8 +47119,8 @@ var GROUP_TEMPLATES = [
|
|
|
46373
47119
|
actuator({
|
|
46374
47120
|
id: "climate",
|
|
46375
47121
|
summary: "Running when at least one thermostat or air conditioner is not off, or only when all of them are. Target temperature and fan are offered only when every device has them. A device that reports nothing is left out, never read as off.",
|
|
46376
|
-
deviceType: DeviceType.
|
|
46377
|
-
memberDeviceTypes: [DeviceType.
|
|
47122
|
+
deviceType: DeviceType.Climate,
|
|
47123
|
+
memberDeviceTypes: [DeviceType.Climate],
|
|
46378
47124
|
outputCap: "group-active",
|
|
46379
47125
|
outputField: "active",
|
|
46380
47126
|
member: {
|
|
@@ -47838,6 +48584,233 @@ function findCandidateCycles(candidate, stored) {
|
|
|
47838
48584
|
});
|
|
47839
48585
|
}
|
|
47840
48586
|
//#endregion
|
|
48587
|
+
//#region src/capabilities/power-source.cap.ts
|
|
48588
|
+
/**
|
|
48589
|
+
* power-source — a device that hangs is powered by a smart switch, and the
|
|
48590
|
+
* operator picks that switch in the device's Customize. The device then offers
|
|
48591
|
+
* power on, power off and a forced restart (switch off, wait, switch on).
|
|
48592
|
+
*
|
|
48593
|
+
* Manual by default: nothing here restarts a device by itself. The one
|
|
48594
|
+
* exception (D997) is a device's OWN provider calling `forceRestart` for its own
|
|
48595
|
+
* device as a bounded self-recovery (unreachable for a long stretch, linked,
|
|
48596
|
+
* one attempt per cooldown, never with a live session); Velux is the first. It
|
|
48597
|
+
* is not the native `reboot` cap and never replaces or wraps it: `reboot` talks
|
|
48598
|
+
* to the device, this cuts the power of the device that no longer answers.
|
|
48599
|
+
*
|
|
48600
|
+
* The link is a Customize extension (`add`): one scalar target whose source is
|
|
48601
|
+
* the switch. The stored composition is the ONE copy of the link and of
|
|
48602
|
+
* `offSeconds` (`powerSourceLinkOfComposition`, D676); the composed slice only
|
|
48603
|
+
* mirrors the switch state for the UI. The methods are served by the
|
|
48604
|
+
* `core-blocks` system provider, so they are `systemMethod`s and carry a
|
|
48605
|
+
* top-level `deviceId`.
|
|
48606
|
+
*
|
|
48607
|
+
* Every action answers a typed result and never throws for an expected
|
|
48608
|
+
* refusal, so a caller tells "the switch is offline" from "a restart is
|
|
48609
|
+
* already running" without parsing text.
|
|
48610
|
+
*/
|
|
48611
|
+
/** Bounds of the off time of a forced restart, in seconds. */
|
|
48612
|
+
var POWER_SOURCE_OFF_SECONDS_MIN = 3;
|
|
48613
|
+
var POWER_SOURCE_OFF_SECONDS_MAX = 120;
|
|
48614
|
+
var POWER_SOURCE_OFF_SECONDS_DEFAULT = 10;
|
|
48615
|
+
var PowerSourceRefusalReasonSchema = z.enum([
|
|
48616
|
+
"no-power-source",
|
|
48617
|
+
"switch-missing",
|
|
48618
|
+
"switch-offline",
|
|
48619
|
+
"switch-unknown",
|
|
48620
|
+
"restart-in-progress",
|
|
48621
|
+
"switch-call-failed",
|
|
48622
|
+
"switch-is-actuator"
|
|
48623
|
+
]);
|
|
48624
|
+
var PowerSourceActionResultSchema = z.discriminatedUnion("accepted", [z.object({ accepted: z.literal(true) }), z.object({
|
|
48625
|
+
accepted: z.literal(false),
|
|
48626
|
+
reason: PowerSourceRefusalReasonSchema,
|
|
48627
|
+
/** One line for the operator, naming the switch. */
|
|
48628
|
+
message: z.string()
|
|
48629
|
+
})]);
|
|
48630
|
+
var PowerSourceInfoSchema = z.object({
|
|
48631
|
+
/** False when the device has no power source linked; the rest is then empty. */
|
|
48632
|
+
linked: z.boolean(),
|
|
48633
|
+
switchDeviceId: z.number().nullable(),
|
|
48634
|
+
switchName: z.string().nullable(),
|
|
48635
|
+
/** The switch's on/off state, or null when it is unknown. Never false for unknown (D393). */
|
|
48636
|
+
switchOn: z.boolean().nullable(),
|
|
48637
|
+
switchOnline: z.boolean().nullable(),
|
|
48638
|
+
restartInProgress: z.boolean(),
|
|
48639
|
+
offSeconds: z.number().int()
|
|
48640
|
+
});
|
|
48641
|
+
/** The composed slice: the switch state the link mirrors, plus the stored off time. */
|
|
48642
|
+
var PowerSourceStateSchema = z.object({
|
|
48643
|
+
/** Null while the switch has not reported: unknown is never `false` (D393). */
|
|
48644
|
+
switchOn: z.boolean().nullable(),
|
|
48645
|
+
offSeconds: z.number().int(),
|
|
48646
|
+
lastFetchedAt: z.number()
|
|
48647
|
+
});
|
|
48648
|
+
var POWER_SOURCE_DEVICE_TYPES = [
|
|
48649
|
+
DeviceType.Gateway,
|
|
48650
|
+
DeviceType.Camera,
|
|
48651
|
+
DeviceType.Sensor,
|
|
48652
|
+
DeviceType.MediaPlayer,
|
|
48653
|
+
DeviceType.Vacuum,
|
|
48654
|
+
DeviceType.Generic,
|
|
48655
|
+
DeviceType.Washer,
|
|
48656
|
+
DeviceType.Dryer,
|
|
48657
|
+
DeviceType.Dishwasher,
|
|
48658
|
+
DeviceType.PetFountain,
|
|
48659
|
+
DeviceType.Fan,
|
|
48660
|
+
DeviceType.Humidifier,
|
|
48661
|
+
DeviceType.Climate,
|
|
48662
|
+
DeviceType.WaterHeater
|
|
48663
|
+
];
|
|
48664
|
+
var powerSourceCustomize = {
|
|
48665
|
+
version: 1,
|
|
48666
|
+
targets: [{
|
|
48667
|
+
id: "switch",
|
|
48668
|
+
cardinality: "scalar",
|
|
48669
|
+
vocabulary: {
|
|
48670
|
+
cap: "power-source",
|
|
48671
|
+
stateField: "switchOn"
|
|
48672
|
+
},
|
|
48673
|
+
deviceTypes: POWER_SOURCE_DEVICE_TYPES,
|
|
48674
|
+
apply: "add",
|
|
48675
|
+
path: "switchOn",
|
|
48676
|
+
sources: [{
|
|
48677
|
+
kind: "switch",
|
|
48678
|
+
transforms: [{ kind: "identity" }]
|
|
48679
|
+
}],
|
|
48680
|
+
companions: [{
|
|
48681
|
+
kind: "constant",
|
|
48682
|
+
path: "offSeconds",
|
|
48683
|
+
value: 10,
|
|
48684
|
+
when: "add",
|
|
48685
|
+
formerValues: [0]
|
|
48686
|
+
}, {
|
|
48687
|
+
kind: "clock",
|
|
48688
|
+
path: "lastFetchedAt",
|
|
48689
|
+
when: "always"
|
|
48690
|
+
}],
|
|
48691
|
+
sourceReport: { status: "assignment-status" }
|
|
48692
|
+
}]
|
|
48693
|
+
};
|
|
48694
|
+
var deviceInput$2 = z.object({ deviceId: z.number().int().nonnegative() });
|
|
48695
|
+
var powerSourceCapability = {
|
|
48696
|
+
name: "power-source",
|
|
48697
|
+
scope: "device",
|
|
48698
|
+
mode: "singleton",
|
|
48699
|
+
deviceTypes: POWER_SOURCE_DEVICE_TYPES,
|
|
48700
|
+
methods: {
|
|
48701
|
+
getStatus: systemMethod(deviceInput$2, PowerSourceInfoSchema, { auth: "protected" }),
|
|
48702
|
+
powerOn: systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
|
|
48703
|
+
kind: "mutation",
|
|
48704
|
+
auth: "protected"
|
|
48705
|
+
}),
|
|
48706
|
+
powerOff: systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
|
|
48707
|
+
kind: "mutation",
|
|
48708
|
+
auth: "protected"
|
|
48709
|
+
}),
|
|
48710
|
+
forceRestart: systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
|
|
48711
|
+
kind: "mutation",
|
|
48712
|
+
auth: "protected"
|
|
48713
|
+
})
|
|
48714
|
+
},
|
|
48715
|
+
runtimeState: PowerSourceStateSchema,
|
|
48716
|
+
customize: powerSourceCustomize,
|
|
48717
|
+
/**
|
|
48718
|
+
* Runtime-state durability: **session** — mirrored from the linked switch on
|
|
48719
|
+
* its next report; a restored value would outlive the reading it names.
|
|
48720
|
+
*
|
|
48721
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
48722
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
48723
|
+
*/
|
|
48724
|
+
durability: "session",
|
|
48725
|
+
history: "none"
|
|
48726
|
+
};
|
|
48727
|
+
//#endregion
|
|
48728
|
+
//#region src/composition/power-source-link.ts
|
|
48729
|
+
/**
|
|
48730
|
+
* Which smart switch powers a device (the `power-source` Customize extension):
|
|
48731
|
+
* the source its stored `power-source.switchOn` field reads, and the off time of
|
|
48732
|
+
* a forced restart stored beside it. Read from the STORED composition, never kept
|
|
48733
|
+
* as a second copy (D676). Shared by the hub (which acts on the switch) and the
|
|
48734
|
+
* admin UI (which shows it).
|
|
48735
|
+
*/
|
|
48736
|
+
/**
|
|
48737
|
+
* The stored off time, or the default when none is stored. A stored number out
|
|
48738
|
+
* of range is CLAMPED to the bounds (a hand-written value never refuses the
|
|
48739
|
+
* link, it just cannot cut power for an absurd time); a non-integer is rounded.
|
|
48740
|
+
*/
|
|
48741
|
+
function normalizeOffSeconds(value) {
|
|
48742
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return 10;
|
|
48743
|
+
return Math.min(120, Math.max(3, Math.round(value)));
|
|
48744
|
+
}
|
|
48745
|
+
/** The constant a stored `offSeconds` field carries, or undefined when it is not a literal number. */
|
|
48746
|
+
function storedOffSeconds(composition) {
|
|
48747
|
+
const feature = composition.features.find((f) => f.cap === "power-source");
|
|
48748
|
+
if (feature === void 0 || feature.kind !== "fields") return void 0;
|
|
48749
|
+
const field = feature.fields["offSeconds"];
|
|
48750
|
+
if (field === void 0 || field.kind !== "expression") return void 0;
|
|
48751
|
+
const n = Number(field.expr);
|
|
48752
|
+
return field.expr.trim() === "" || !Number.isFinite(n) ? void 0 : n;
|
|
48753
|
+
}
|
|
48754
|
+
/**
|
|
48755
|
+
* The link a composition stores. An `existing` target names its own device; a
|
|
48756
|
+
* `new` target (a composed device) is the composer's own device, so the caller
|
|
48757
|
+
* passes the block id and a new-target composition without one has no link.
|
|
48758
|
+
*/
|
|
48759
|
+
function powerSourceLinkOfComposition(composition, blockId) {
|
|
48760
|
+
if (composition === null) return null;
|
|
48761
|
+
let device;
|
|
48762
|
+
if (composition.target.kind === "existing") device = composition.target.device;
|
|
48763
|
+
else if (blockId !== void 0) device = composedDeviceRef(blockId);
|
|
48764
|
+
else return null;
|
|
48765
|
+
const feature = composition.features.find((f) => f.cap === "power-source");
|
|
48766
|
+
if (feature === void 0 || feature.kind !== "fields" || feature.enabled === false) return null;
|
|
48767
|
+
const field = feature.fields["switchOn"];
|
|
48768
|
+
if (field === void 0) return null;
|
|
48769
|
+
const read = fieldReads(field).find((r) => r.cap === "switch");
|
|
48770
|
+
if (read === void 0) return null;
|
|
48771
|
+
return {
|
|
48772
|
+
device,
|
|
48773
|
+
switch: read.source,
|
|
48774
|
+
offSeconds: normalizeOffSeconds(storedOffSeconds(composition))
|
|
48775
|
+
};
|
|
48776
|
+
}
|
|
48777
|
+
var ACTUATOR_CAP = "switch";
|
|
48778
|
+
/**
|
|
48779
|
+
* The devices that ACT for this composition: the device itself when it is an
|
|
48780
|
+
* existing one, and every source its own `switch` feature reads or forwards a
|
|
48781
|
+
* command to (a heater's plug, every member of a switch group).
|
|
48782
|
+
*/
|
|
48783
|
+
function actuatorKeys(composition) {
|
|
48784
|
+
const keys = /* @__PURE__ */ new Set();
|
|
48785
|
+
if (composition.target.kind === "existing") keys.add(compositionSourceKey(composition.target.device));
|
|
48786
|
+
composition.features.forEach((feature, index) => {
|
|
48787
|
+
if (feature.kind !== "fields" || feature.cap !== ACTUATOR_CAP) return;
|
|
48788
|
+
if (!compositionFeatureEnabled(feature)) return;
|
|
48789
|
+
for (const source of featureSources(feature)) for (const read of fieldReads(source)) keys.add(compositionSourceKey(read.source));
|
|
48790
|
+
for (const forward of featureForwards(feature, index)) keys.add(compositionSourceKey(forward.command.source));
|
|
48791
|
+
});
|
|
48792
|
+
return keys;
|
|
48793
|
+
}
|
|
48794
|
+
/**
|
|
48795
|
+
* The supply plug is never one of the device's own actuators (#462): cutting
|
|
48796
|
+
* power through the switch that IS the device's on/off leaves nothing to
|
|
48797
|
+
* restart, and makes "power off" and "turn off" the same press. Refused at save
|
|
48798
|
+
* time (`power-source-is-actuator`) and again by the power-source provider for a
|
|
48799
|
+
* link stored before this check existed (`switch-is-actuator`).
|
|
48800
|
+
*/
|
|
48801
|
+
function powerSourceActuatorConflicts(composition) {
|
|
48802
|
+
const index = composition.features.findIndex((f) => f.cap === "power-source");
|
|
48803
|
+
const feature = composition.features[index];
|
|
48804
|
+
if (feature === void 0 || feature.kind !== "fields" || feature.enabled === false) return [];
|
|
48805
|
+
const field = feature.fields["switchOn"];
|
|
48806
|
+
if (field === void 0) return [];
|
|
48807
|
+
const actuators = actuatorKeys(composition);
|
|
48808
|
+
return fieldReads(field).filter((read) => read.cap === ACTUATOR_CAP && actuators.has(compositionSourceKey(read.source))).map((read) => ({
|
|
48809
|
+
path: `features[${index}].fields.switchOn`,
|
|
48810
|
+
switch: read.source
|
|
48811
|
+
}));
|
|
48812
|
+
}
|
|
48813
|
+
//#endregion
|
|
47841
48814
|
//#region src/composition/validate-composition.ts
|
|
47842
48815
|
function buildCapabilityLookup(defs) {
|
|
47843
48816
|
const byName = new Map(defs.map((d) => [d.name, d]));
|
|
@@ -47899,12 +48872,25 @@ function builtCapProblems({ def, state, fields: targetFields }, feature, at, dev
|
|
|
47899
48872
|
}
|
|
47900
48873
|
return problems;
|
|
47901
48874
|
}
|
|
47902
|
-
|
|
48875
|
+
/**
|
|
48876
|
+
* A dotted leaf is planned only on a `replace` (D1034): the feature already
|
|
48877
|
+
* passed `overridesOnlyDeclared`, so the leaf is one the cap lists in its
|
|
48878
|
+
* `overridable`, and the hub sets it into the native object. Anywhere else a
|
|
48879
|
+
* nested field is still refused.
|
|
48880
|
+
*/
|
|
48881
|
+
function stateFieldOf({ fields, state }, path, mode) {
|
|
48882
|
+
if (!path.includes(".")) return fields.get(path);
|
|
48883
|
+
if (mode !== "replace") return "nested";
|
|
48884
|
+
return describeStateField(state, path) ?? void 0;
|
|
48885
|
+
}
|
|
48886
|
+
function planTopLevelField(cap, field, mode, lookupCap) {
|
|
48887
|
+
const { def } = cap;
|
|
47903
48888
|
const { featureIndex, path, source } = field;
|
|
47904
48889
|
const fieldAt = `features[${featureIndex}].fields.${path}`;
|
|
47905
|
-
|
|
47906
|
-
|
|
48890
|
+
const tf = stateFieldOf(cap, path, mode);
|
|
48891
|
+
if (tf === "nested") return refused(problem("nested-field", fieldAt, `\`${path}\` is nested — a nested field is planned only on a declared replace (D1034)`));
|
|
47907
48892
|
if (tf === void 0) return refused(problem("unknown-field", fieldAt, `\`${def.name}\` has no field \`${path}\``));
|
|
48893
|
+
if (tf.kind === "union") return refused(unionTargetProblem(def.name, path, fieldAt));
|
|
47908
48894
|
const kinds = sourceKinds(source, lookupCap);
|
|
47909
48895
|
if (!kinds.ok) return refused(problem(kinds.code, fieldAt, kinds.message));
|
|
47910
48896
|
const role = roleOf(source);
|
|
@@ -47925,7 +48911,7 @@ function planTopLevelField({ def, fields }, field, mode, lookupCap) {
|
|
|
47925
48911
|
};
|
|
47926
48912
|
const enumProblem = enumLiteralProblem(def.name, tf, source, fieldAt);
|
|
47927
48913
|
return {
|
|
47928
|
-
problems: [...compatibility(def.name, tf, kinds.kinds, fieldAt), ...enumProblem === null ? [] : [enumProblem]],
|
|
48914
|
+
problems: [...compatibility(def.name, tf, narrowUnionRead(source, tf, kinds.kinds, lookupCap), fieldAt), ...enumProblem === null ? [] : [enumProblem]],
|
|
47929
48915
|
fields: [plan],
|
|
47930
48916
|
features: [],
|
|
47931
48917
|
events: []
|
|
@@ -48028,7 +49014,7 @@ var customizeCatalog = CAP_CUSTOMIZE_CATALOG;
|
|
|
48028
49014
|
function overridesOnlyDeclared(feature) {
|
|
48029
49015
|
const entry = customizeCatalog[feature.cap];
|
|
48030
49016
|
const allowed = new Set((entry?.overridable ?? []).flatMap((o) => {
|
|
48031
|
-
const companions = ((entry?.targets.find((t) => t.id === o.by && t.path === o.path))?.companions ?? []).filter((c) => c.kind === "transition-time" || c.when === "always");
|
|
49017
|
+
const companions = ((entry?.targets.find((t) => t.id === o.by && t.path === o.path))?.companions ?? []).filter((c) => c.kind === "transition-time" || c.kind === "source-field" || c.when === "always");
|
|
48032
49018
|
return [o.path, ...companions.map((c) => c.path)];
|
|
48033
49019
|
}));
|
|
48034
49020
|
const paths = Object.keys(feature.fields);
|
|
@@ -48099,6 +49085,20 @@ function compositionSourceRefs(composition) {
|
|
|
48099
49085
|
return [...new Map([...refs, ...forwardSourceRefs(composition)].map((r) => [compositionSourceKey(r), r])).values()];
|
|
48100
49086
|
}
|
|
48101
49087
|
/**
|
|
49088
|
+
* Every DIRECT read (`from`) of a union source field (D1034): the reads whose
|
|
49089
|
+
* source's live kind a save looks up, so a numeric control is never linked to
|
|
49090
|
+
* a string field. A read inside an expression is judged by the expression.
|
|
49091
|
+
*/
|
|
49092
|
+
function compositionUnionReads(composition, lookupCap) {
|
|
49093
|
+
return composition.features.flatMap((f) => compositionFeatureEnabled(f) && f.kind === "fields" ? featureSources(f).flatMap((source) => {
|
|
49094
|
+
if (source.kind !== "from") return [];
|
|
49095
|
+
const def = lookupCap(source.cap);
|
|
49096
|
+
const schema = def?.runtimeState ?? def?.status?.schema;
|
|
49097
|
+
if (schema === void 0) return [];
|
|
49098
|
+
return describeStateField(schema, source.fieldPath)?.kind === "union" ? [source] : [];
|
|
49099
|
+
}) : []);
|
|
49100
|
+
}
|
|
49101
|
+
/**
|
|
48102
49102
|
* The candidate's device: the existing target itself, else `self`, else a
|
|
48103
49103
|
* placeholder that cannot collide with a stored target. An existing target is
|
|
48104
49104
|
* known even on create, so a second customization of it is refused on create too.
|
|
@@ -48132,6 +49132,18 @@ function selfReadProblems(read, at, fields, self) {
|
|
|
48132
49132
|
if (isNativeCap(self.native, read.cap)) return [];
|
|
48133
49133
|
return [problem("source-capability-missing", at, `the target device (device ${self.native.deviceId}) has no native \`${read.cap}\``)];
|
|
48134
49134
|
}
|
|
49135
|
+
/**
|
|
49136
|
+
* A direct read of a union field is judged by the source's LIVE kind when the
|
|
49137
|
+
* save knew it (D1034): a numeric control feeds only a number field, a select
|
|
49138
|
+
* only a string or enum one.
|
|
49139
|
+
*/
|
|
49140
|
+
function liveKindProblems(field, read, desc, at) {
|
|
49141
|
+
if (field.source.kind !== "from") return [];
|
|
49142
|
+
const live = desc.liveKinds?.get(`${read.cap}.${read.fieldPath}`);
|
|
49143
|
+
const accepted = field.kind === "enum" ? "string" : field.kind;
|
|
49144
|
+
if (live === void 0 || live === accepted) return [];
|
|
49145
|
+
return [problem("source-kind-mismatch", at, `\`${read.cap}.${read.fieldPath}\` of device ${desc.deviceId} reads a ${live} now; \`${field.cap}.${field.path}\` takes a ${accepted}`)];
|
|
49146
|
+
}
|
|
48135
49147
|
function sourceProblems(fields, ctx, self) {
|
|
48136
49148
|
const selfKey = compositionSourceKey(self.ref);
|
|
48137
49149
|
return fields.flatMap((field) => field.reads.flatMap((read) => {
|
|
@@ -48142,7 +49154,7 @@ function sourceProblems(fields, ctx, self) {
|
|
|
48142
49154
|
if (desc === void 0 || desc.kind === "unreadable") return [problem("source-unreadable", at, `could not read source \`${key}\` (${desc === void 0 ? "it was not read" : desc.error}) — the save is refused rather than stored unchecked`)];
|
|
48143
49155
|
if (desc.kind === "absent") return [problem("source-missing", at, `source \`${key}\` does not exist`)];
|
|
48144
49156
|
if (!desc.caps.has(read.cap)) return [problem("source-capability-missing", at, `source \`${key}\` (device ${desc.deviceId}) has no \`${read.cap}\``)];
|
|
48145
|
-
return
|
|
49157
|
+
return liveKindProblems(field, read, desc, at);
|
|
48146
49158
|
}));
|
|
48147
49159
|
}
|
|
48148
49160
|
/**
|
|
@@ -48234,7 +49246,8 @@ function validateComposition(composition, ctx) {
|
|
|
48234
49246
|
...sourceProblems(plan.fields, ctx, self),
|
|
48235
49247
|
...forwardSourceProblems(composition, ctx.sources),
|
|
48236
49248
|
...cycles,
|
|
48237
|
-
...helperSaveProblems(composition, facts)
|
|
49249
|
+
...helperSaveProblems(composition, facts),
|
|
49250
|
+
...powerSourceActuatorConflicts(composition).map((c) => problem("power-source-is-actuator", c.path, `the power source \`${c.switch.stableId}\` is one of this device's own switches — pick the plug that feeds it`))
|
|
48238
49251
|
];
|
|
48239
49252
|
return {
|
|
48240
49253
|
ok: problems.length === 0,
|
|
@@ -48296,13 +49309,13 @@ function describeComposableCaps(defs, deviceType) {
|
|
|
48296
49309
|
const itemArray = def.status?.itemArray;
|
|
48297
49310
|
return {
|
|
48298
49311
|
cap: def.name,
|
|
48299
|
-
fields: fields.
|
|
49312
|
+
fields: fields.flatMap((f) => f.kind === "union" ? [] : [{
|
|
48300
49313
|
path: f.path,
|
|
48301
49314
|
kind: f.kind,
|
|
48302
49315
|
nullable: f.nullable,
|
|
48303
49316
|
required: f.required,
|
|
48304
49317
|
...f.enumValues === void 0 ? {} : { enumValues: [...f.enumValues] }
|
|
48305
|
-
})
|
|
49318
|
+
}]),
|
|
48306
49319
|
...itemArray === void 0 ? {} : { itemArray: {
|
|
48307
49320
|
path: itemArray.path,
|
|
48308
49321
|
keyField: itemArray.keyField
|
|
@@ -51901,8 +52914,14 @@ var deviceManagerCapability = {
|
|
|
51901
52914
|
"string",
|
|
51902
52915
|
"number",
|
|
51903
52916
|
"boolean",
|
|
51904
|
-
"enum"
|
|
52917
|
+
"enum",
|
|
52918
|
+
"union"
|
|
51905
52919
|
]),
|
|
52920
|
+
unionMembers: z.array(z.enum([
|
|
52921
|
+
"string",
|
|
52922
|
+
"number",
|
|
52923
|
+
"boolean"
|
|
52924
|
+
])).optional(),
|
|
51906
52925
|
enumValues: z.array(z.string()).optional(),
|
|
51907
52926
|
item: z.boolean().optional(),
|
|
51908
52927
|
quantity: ReadingQuantitySchema.optional()
|
|
@@ -55929,8 +56948,88 @@ list: method(z.void(), z.array(FailureContributionSchema).readonly()) },
|
|
|
55929
56948
|
* - `FanPreset` — preset selector
|
|
55930
56949
|
* - `FanDirection` — direction toggle (ceiling fans)
|
|
55931
56950
|
* - `FanOscillating` — oscillation toggle
|
|
56951
|
+
*
|
|
56952
|
+
* Per-axis oscillation (`oscillationAxes`, `setOscillationAxis`, D1034): an air
|
|
56953
|
+
* circulator sweeps horizontally and vertically, each axis with its own
|
|
56954
|
+
* switch, fixed angle, sweep bounds and limits. A provider may report them
|
|
56955
|
+
* natively; otherwise the OPERATOR links sibling devices to each field in
|
|
56956
|
+
* Customize (a `replace` over the fields listed in `overridable` — nothing is
|
|
56957
|
+
* linked or inferred by itself), and a write to a linked field is forwarded to
|
|
56958
|
+
* its source. `oscillating` stays the single summary flag: when axes exist it
|
|
56959
|
+
* means "any axis oscillates" (`anyAxisOscillating`).
|
|
55932
56960
|
*/
|
|
55933
56961
|
var FanDirectionSchema = z.enum(["forward", "reverse"]);
|
|
56962
|
+
var FAN_OSCILLATION_AXES = ["horizontal", "vertical"];
|
|
56963
|
+
var FanOscillationAxisNameSchema = z.enum(FAN_OSCILLATION_AXES);
|
|
56964
|
+
/** The fields of one axis a caller may set. */
|
|
56965
|
+
var FAN_OSCILLATION_AXIS_SETTABLE = [
|
|
56966
|
+
"oscillating",
|
|
56967
|
+
"angle",
|
|
56968
|
+
"sweepFrom",
|
|
56969
|
+
"sweepTo"
|
|
56970
|
+
];
|
|
56971
|
+
var FanOscillationAxisFieldSchema = z.enum(FAN_OSCILLATION_AXIS_SETTABLE);
|
|
56972
|
+
/** The limits of one axis, read from the source that serves its angle. */
|
|
56973
|
+
var FAN_OSCILLATION_AXIS_LIMITS = [
|
|
56974
|
+
"min",
|
|
56975
|
+
"max",
|
|
56976
|
+
"step"
|
|
56977
|
+
];
|
|
56978
|
+
/**
|
|
56979
|
+
* One oscillation axis. Every reading the device has not reported is `null`,
|
|
56980
|
+
* never `0` (D393): `0°` is a real position. Each leaf defaults to `null`, so
|
|
56981
|
+
* a slice that names only the leaves it knows (a Customize link of one field)
|
|
56982
|
+
* is still a whole axis.
|
|
56983
|
+
*/
|
|
56984
|
+
var FanOscillationAxisSchema = z.object({
|
|
56985
|
+
/** Whether the axis sweeps. */
|
|
56986
|
+
oscillating: z.boolean().nullable().default(null),
|
|
56987
|
+
/** The fixed position (degrees) the axis holds when it does not sweep. */
|
|
56988
|
+
angle: z.number().nullable().default(null),
|
|
56989
|
+
/** The sweep bounds (degrees): left → right, bottom → top. */
|
|
56990
|
+
sweepFrom: z.number().nullable().default(null),
|
|
56991
|
+
sweepTo: z.number().nullable().default(null),
|
|
56992
|
+
/** The angles the axis accepts. Null when the device states none. */
|
|
56993
|
+
min: z.number().nullable().default(null),
|
|
56994
|
+
max: z.number().nullable().default(null),
|
|
56995
|
+
step: z.number().nullable().default(null)
|
|
56996
|
+
});
|
|
56997
|
+
/** Both axes; an axis the device does not have is `null`. */
|
|
56998
|
+
var FanOscillationAxesSchema = z.object({
|
|
56999
|
+
horizontal: FanOscillationAxisSchema.nullable().default(null),
|
|
57000
|
+
vertical: FanOscillationAxisSchema.nullable().default(null)
|
|
57001
|
+
});
|
|
57002
|
+
var FAN_OSCILLATION_AXIS_REFUSALS = [
|
|
57003
|
+
"nothing-to-set",
|
|
57004
|
+
"axis-not-linked",
|
|
57005
|
+
"out-of-range",
|
|
57006
|
+
"source-gone",
|
|
57007
|
+
"source-unknown",
|
|
57008
|
+
"source-call-failed"
|
|
57009
|
+
];
|
|
57010
|
+
var FanOscillationAxisRefusalSchema = z.enum(FAN_OSCILLATION_AXIS_REFUSALS);
|
|
57011
|
+
var FanOscillationAxisResultSchema = z.discriminatedUnion("status", [z.object({ status: z.literal("applied") }), z.object({
|
|
57012
|
+
status: z.literal("refused"),
|
|
57013
|
+
reason: FanOscillationAxisRefusalSchema,
|
|
57014
|
+
/** The field at fault, when one is. */
|
|
57015
|
+
field: FanOscillationAxisFieldSchema.optional(),
|
|
57016
|
+
/** One line for the operator, naming the axis, the field and the source. */
|
|
57017
|
+
detail: z.string(),
|
|
57018
|
+
/** Fields that DID land before the refusal (writes run in order, stop at the first failure). */
|
|
57019
|
+
applied: z.array(FanOscillationAxisFieldSchema)
|
|
57020
|
+
})]);
|
|
57021
|
+
var SetOscillationAxisInputSchema = z.object({
|
|
57022
|
+
deviceId: z.number().int().nonnegative(),
|
|
57023
|
+
axis: FanOscillationAxisNameSchema,
|
|
57024
|
+
oscillating: z.boolean().optional(),
|
|
57025
|
+
angle: z.number().optional(),
|
|
57026
|
+
sweepFrom: z.number().optional(),
|
|
57027
|
+
sweepTo: z.number().optional()
|
|
57028
|
+
});
|
|
57029
|
+
/** The state path of one axis field: `oscillationAxes.<axis>.<field>`. */
|
|
57030
|
+
function fanAxisPath(axis, field) {
|
|
57031
|
+
return `oscillationAxes.${axis}.${field}`;
|
|
57032
|
+
}
|
|
55934
57033
|
var FanControlStatusSchema = z.object({
|
|
55935
57034
|
/** Active speed as 0..100 inclusive. Null when the device has no
|
|
55936
57035
|
* speed surface (single-speed fan). */
|
|
@@ -55949,9 +57048,116 @@ var FanControlStatusSchema = z.object({
|
|
|
55949
57048
|
/** Oscillation toggle. Null when the device has no oscillation
|
|
55950
57049
|
* surface. */
|
|
55951
57050
|
oscillating: z.boolean().nullable(),
|
|
57051
|
+
/**
|
|
57052
|
+
* Per-axis oscillation (air circulators). Absent when the device has no
|
|
57053
|
+
* per-axis surface and nothing is linked in Customize.
|
|
57054
|
+
*/
|
|
57055
|
+
oscillationAxes: FanOscillationAxesSchema.optional(),
|
|
55952
57056
|
/** Ms epoch when the slice was last updated. */
|
|
55953
57057
|
lastChangedAt: z.number()
|
|
55954
57058
|
});
|
|
57059
|
+
/**
|
|
57060
|
+
* The summary flag: with axes, "any axis oscillates"; without an axis that
|
|
57061
|
+
* reports, the device's own `oscillating`.
|
|
57062
|
+
*/
|
|
57063
|
+
function anyAxisOscillating(status) {
|
|
57064
|
+
const axes = status.oscillationAxes;
|
|
57065
|
+
if (axes === void 0) return status.oscillating;
|
|
57066
|
+
const known = FAN_OSCILLATION_AXES.flatMap((axis) => {
|
|
57067
|
+
const value = axes[axis]?.oscillating;
|
|
57068
|
+
return value === null || value === void 0 ? [] : [value];
|
|
57069
|
+
});
|
|
57070
|
+
if (known.length === 0) return status.oscillating;
|
|
57071
|
+
return known.some(Boolean);
|
|
57072
|
+
}
|
|
57073
|
+
var FAN_CUSTOMIZE_DEVICE_TYPES = [DeviceType.Fan];
|
|
57074
|
+
/** The Customize section the axis targets are listed under. */
|
|
57075
|
+
var AXES_SECTION = "oscillation-axes";
|
|
57076
|
+
function axisOscillatingTarget(axis) {
|
|
57077
|
+
return {
|
|
57078
|
+
id: `${axis}-oscillating`,
|
|
57079
|
+
cardinality: "scalar",
|
|
57080
|
+
vocabulary: {
|
|
57081
|
+
cap: "fan-control",
|
|
57082
|
+
stateField: "oscillating"
|
|
57083
|
+
},
|
|
57084
|
+
deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
|
|
57085
|
+
apply: "replace",
|
|
57086
|
+
section: AXES_SECTION,
|
|
57087
|
+
path: fanAxisPath(axis, "oscillating"),
|
|
57088
|
+
sources: [{
|
|
57089
|
+
kind: "switch",
|
|
57090
|
+
transforms: [{ kind: "identity" }]
|
|
57091
|
+
}],
|
|
57092
|
+
sourceReport: { status: "assignment-status" }
|
|
57093
|
+
};
|
|
57094
|
+
}
|
|
57095
|
+
/**
|
|
57096
|
+
* A numeric axis field. The `angle` link also carries the axis limits, read
|
|
57097
|
+
* from the SAME linked control's own range (`min`/`max`/`step`), so the limits
|
|
57098
|
+
* are the source's, never guessed.
|
|
57099
|
+
*/
|
|
57100
|
+
function axisNumericTarget(axis, field) {
|
|
57101
|
+
const base = {
|
|
57102
|
+
id: `${axis}-${field}`,
|
|
57103
|
+
cardinality: "scalar",
|
|
57104
|
+
vocabulary: { cap: "fan-control" },
|
|
57105
|
+
deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
|
|
57106
|
+
apply: "replace",
|
|
57107
|
+
section: AXES_SECTION,
|
|
57108
|
+
path: fanAxisPath(axis, field),
|
|
57109
|
+
sources: [{
|
|
57110
|
+
kind: "numeric",
|
|
57111
|
+
transforms: [{ kind: "identity" }]
|
|
57112
|
+
}],
|
|
57113
|
+
sourceReport: { status: "assignment-status" }
|
|
57114
|
+
};
|
|
57115
|
+
if (field !== "angle") return base;
|
|
57116
|
+
return {
|
|
57117
|
+
...base,
|
|
57118
|
+
companions: FAN_OSCILLATION_AXIS_LIMITS.map((limit) => ({
|
|
57119
|
+
kind: "source-field",
|
|
57120
|
+
path: fanAxisPath(axis, limit),
|
|
57121
|
+
field: limit
|
|
57122
|
+
}))
|
|
57123
|
+
};
|
|
57124
|
+
}
|
|
57125
|
+
var AXIS_TARGETS = FAN_OSCILLATION_AXES.flatMap((axis) => [
|
|
57126
|
+
axisOscillatingTarget(axis),
|
|
57127
|
+
axisNumericTarget(axis, "angle"),
|
|
57128
|
+
axisNumericTarget(axis, "sweepFrom"),
|
|
57129
|
+
axisNumericTarget(axis, "sweepTo")
|
|
57130
|
+
]);
|
|
57131
|
+
/** A select (an enum control) the operator links to the fan's `preset`. */
|
|
57132
|
+
var PRESET_TARGET = {
|
|
57133
|
+
id: "preset",
|
|
57134
|
+
cardinality: "scalar",
|
|
57135
|
+
vocabulary: { cap: "fan-control" },
|
|
57136
|
+
deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
|
|
57137
|
+
apply: "replace",
|
|
57138
|
+
path: "preset",
|
|
57139
|
+
sources: [{
|
|
57140
|
+
kind: "field",
|
|
57141
|
+
valueKinds: ["string"],
|
|
57142
|
+
transforms: [{ kind: "identity" }]
|
|
57143
|
+
}],
|
|
57144
|
+
sourceReport: { status: "assignment-status" }
|
|
57145
|
+
};
|
|
57146
|
+
var FAN_CONTROL_TARGETS = [...AXIS_TARGETS, PRESET_TARGET];
|
|
57147
|
+
/**
|
|
57148
|
+
* Customize (D1034): the fan already serves `fan-control` natively, so every
|
|
57149
|
+
* target is a `replace` over a field listed in `overridable` — the axis leaves
|
|
57150
|
+
* and `preset`, nothing else. Nothing is pre-linked: the operator picks each
|
|
57151
|
+
* source (D356).
|
|
57152
|
+
*/
|
|
57153
|
+
var fanControlCustomize = {
|
|
57154
|
+
version: 1,
|
|
57155
|
+
overridable: FAN_CONTROL_TARGETS.map((target) => ({
|
|
57156
|
+
path: target.path,
|
|
57157
|
+
by: target.id
|
|
57158
|
+
})),
|
|
57159
|
+
targets: FAN_CONTROL_TARGETS
|
|
57160
|
+
};
|
|
55955
57161
|
var fanControlCapability = {
|
|
55956
57162
|
name: "fan-control",
|
|
55957
57163
|
scope: "device",
|
|
@@ -55986,6 +57192,18 @@ var fanControlCapability = {
|
|
|
55986
57192
|
}), z.void(), {
|
|
55987
57193
|
kind: "mutation",
|
|
55988
57194
|
auth: "protected"
|
|
57195
|
+
}),
|
|
57196
|
+
/**
|
|
57197
|
+
* Sets one oscillation axis: its switch, fixed angle and/or sweep bounds.
|
|
57198
|
+
* Fields left out are untouched. A field linked in Customize is forwarded
|
|
57199
|
+
* to its linked source (D1034); otherwise the native provider serves it;
|
|
57200
|
+
* neither → `axis-not-linked`. Ranges are checked against the axis limits
|
|
57201
|
+
* before anything is written; writes run in order and stop at the first
|
|
57202
|
+
* failure, which the result names.
|
|
57203
|
+
*/
|
|
57204
|
+
setOscillationAxis: optionalMethod(SetOscillationAxisInputSchema, FanOscillationAxisResultSchema, {
|
|
57205
|
+
kind: "mutation",
|
|
57206
|
+
auth: "protected"
|
|
55989
57207
|
})
|
|
55990
57208
|
},
|
|
55991
57209
|
status: {
|
|
@@ -55997,6 +57215,7 @@ var fanControlCapability = {
|
|
|
55997
57215
|
* sliders read `speed` for live updates.
|
|
55998
57216
|
*/
|
|
55999
57217
|
runtimeState: FanControlStatusSchema,
|
|
57218
|
+
customize: fanControlCustomize,
|
|
56000
57219
|
/**
|
|
56001
57220
|
* Runtime-state durability: **session** — as `brightness`.
|
|
56002
57221
|
*
|
|
@@ -56019,12 +57238,15 @@ var fanControlCapability = {
|
|
|
56019
57238
|
//#endregion
|
|
56020
57239
|
//#region src/capabilities/fan-presets.cap.ts
|
|
56021
57240
|
/**
|
|
56022
|
-
* fan-presets — named settings the operator
|
|
56023
|
-
*
|
|
56024
|
-
*
|
|
56025
|
-
*
|
|
56026
|
-
*
|
|
56027
|
-
*
|
|
57241
|
+
* fan-presets — named settings the operator keeps for a fan ("Night": speed
|
|
57242
|
+
* 25 %, horizontal sweep off, angle 30°). A preset is a DESIRED fan-control
|
|
57243
|
+
* state (D1034): the fields it names, nothing else. Applying it calls the
|
|
57244
|
+
* fan's own `fan-control` methods — `setPreset`, `setPercentage`,
|
|
57245
|
+
* `setDirection`, `setOscillationAxis` — and an axis the operator linked in
|
|
57246
|
+
* Customize reaches its sibling device through that link, never through a
|
|
57247
|
+
* step the preset stores. Every field is reported (applied / failed / not-run
|
|
57248
|
+
* / refused), so a caller tells "applied" from "the speed was set but the
|
|
57249
|
+
* angle was refused" without parsing text.
|
|
56028
57250
|
*
|
|
56029
57251
|
* It is a Customize `config` extension of a fan: the presets are the
|
|
56030
57252
|
* operator's, stored per device (D865), and the editor is derived from the
|
|
@@ -56033,17 +57255,33 @@ var fanControlCapability = {
|
|
|
56033
57255
|
* (a scene, a switch, a button) offer it.
|
|
56034
57256
|
*/
|
|
56035
57257
|
var FAN_PRESETS_MAX = 12;
|
|
56036
|
-
|
|
57258
|
+
/** One axis as a preset wants it; an absent field is left as it is. */
|
|
57259
|
+
var FanPresetAxisSchema = z.object({
|
|
57260
|
+
oscillating: z.boolean().optional(),
|
|
57261
|
+
angle: z.number().optional(),
|
|
57262
|
+
sweepFrom: z.number().optional(),
|
|
57263
|
+
sweepTo: z.number().optional()
|
|
57264
|
+
});
|
|
57265
|
+
/** The fan-control state a preset sets; an absent field is left as it is. */
|
|
57266
|
+
var FanPresetStateSchema = z.object({
|
|
57267
|
+
speed: z.number().min(0).max(100).optional(),
|
|
57268
|
+
/** The fan's own preset mode (or the linked select's option). */
|
|
57269
|
+
preset: z.string().min(1).optional(),
|
|
57270
|
+
direction: FanDirectionSchema.optional(),
|
|
57271
|
+
oscillationAxes: z.object({
|
|
57272
|
+
horizontal: FanPresetAxisSchema.optional(),
|
|
57273
|
+
vertical: FanPresetAxisSchema.optional()
|
|
57274
|
+
}).optional()
|
|
57275
|
+
});
|
|
56037
57276
|
var FanPresetSchema = z.object({
|
|
56038
57277
|
/** Stable key; never reused after a delete within one device's list. */
|
|
56039
57278
|
id: z.string().min(1).max(64),
|
|
56040
57279
|
/** What the operator and a voice assistant call it. */
|
|
56041
57280
|
name: z.string().trim().min(1).max(40),
|
|
56042
|
-
|
|
57281
|
+
state: FanPresetStateSchema
|
|
56043
57282
|
});
|
|
56044
57283
|
var FAN_PRESETS_REFUSALS = [
|
|
56045
|
-
"
|
|
56046
|
-
"bad-target",
|
|
57284
|
+
"empty-state",
|
|
56047
57285
|
"duplicate-name",
|
|
56048
57286
|
"duplicate-id",
|
|
56049
57287
|
"too-many",
|
|
@@ -56056,66 +57294,50 @@ var FanPresetsSetResultSchema = z.discriminatedUnion("status", [z.object({
|
|
|
56056
57294
|
}), z.object({
|
|
56057
57295
|
status: z.literal("refused"),
|
|
56058
57296
|
reason: FanPresetsRefusalSchema,
|
|
56059
|
-
/** Names the preset
|
|
57297
|
+
/** Names the preset at fault. */
|
|
56060
57298
|
detail: z.string()
|
|
56061
57299
|
})]);
|
|
56062
|
-
var
|
|
56063
|
-
|
|
57300
|
+
var FanPresetFieldResultSchema = z.object({
|
|
57301
|
+
/** The state path: `speed`, `preset`, `direction`, `oscillationAxes.horizontal.angle`. */
|
|
57302
|
+
field: z.string(),
|
|
56064
57303
|
outcome: z.enum([
|
|
56065
57304
|
"applied",
|
|
56066
57305
|
"failed",
|
|
56067
57306
|
"not-run",
|
|
56068
57307
|
"refused"
|
|
56069
57308
|
]),
|
|
56070
|
-
deviceId: z.number().int().nonnegative().optional(),
|
|
56071
|
-
cap: z.string().optional(),
|
|
56072
|
-
method: z.string().optional(),
|
|
56073
57309
|
/** The cause, for every outcome but `applied`. */
|
|
56074
57310
|
message: z.string().optional()
|
|
56075
57311
|
});
|
|
56076
57312
|
var FanPresetApplyResultSchema = z.object({
|
|
56077
|
-
/** `applied`: every
|
|
57313
|
+
/** `applied`: every field landed. `partial`: some did, one did not. `refused`: nothing ran. */
|
|
56078
57314
|
status: z.enum([
|
|
56079
57315
|
"applied",
|
|
56080
57316
|
"partial",
|
|
56081
57317
|
"refused"
|
|
56082
57318
|
]),
|
|
56083
|
-
|
|
57319
|
+
fields: z.array(FanPresetFieldResultSchema)
|
|
56084
57320
|
});
|
|
56085
|
-
/** The fan
|
|
57321
|
+
/** The fan-control fields a capture may take. */
|
|
56086
57322
|
var FAN_CAPTURE_FIELDS = [
|
|
56087
57323
|
"speed",
|
|
56088
|
-
"oscillating",
|
|
56089
57324
|
"direction",
|
|
56090
|
-
"preset"
|
|
57325
|
+
"preset",
|
|
57326
|
+
"oscillationAxes"
|
|
56091
57327
|
];
|
|
56092
57328
|
var FanCaptureFieldSchema = z.enum(FAN_CAPTURE_FIELDS);
|
|
56093
57329
|
var FanCaptureOmissionSchema = z.object({
|
|
56094
|
-
/** A
|
|
57330
|
+
/** A state path (`speed`, `oscillationAxes.vertical.angle`). */
|
|
56095
57331
|
what: z.string(),
|
|
56096
|
-
/** Why no value was taken: unknown reading
|
|
57332
|
+
/** Why no value was taken: an unknown reading is never stored as 0 (D393). */
|
|
56097
57333
|
reason: z.string()
|
|
56098
57334
|
});
|
|
56099
|
-
/** Where a proposed step belongs in the review list. */
|
|
56100
|
-
var FAN_CAPTURE_GROUPS = [
|
|
56101
|
-
"fan",
|
|
56102
|
-
"oscillation",
|
|
56103
|
-
"angles"
|
|
56104
|
-
];
|
|
56105
|
-
var FanCaptureGroupSchema = z.enum(FAN_CAPTURE_GROUPS);
|
|
56106
|
-
var FanCaptureItemSchema = z.object({
|
|
56107
|
-
group: FanCaptureGroupSchema,
|
|
56108
|
-
/** What the step sets, in the operator's words (a device name, a fan field). */
|
|
56109
|
-
label: z.string()
|
|
56110
|
-
});
|
|
56111
57335
|
var FanPresetCaptureResultSchema = z.object({
|
|
56112
|
-
/** The
|
|
56113
|
-
|
|
56114
|
-
/** One entry per step, same order: its review group and label. */
|
|
56115
|
-
items: z.array(FanCaptureItemSchema),
|
|
57336
|
+
/** The fan's CURRENT fan-control state, as a preset; NOT saved. */
|
|
57337
|
+
state: FanPresetStateSchema,
|
|
56116
57338
|
omitted: z.array(FanCaptureOmissionSchema)
|
|
56117
57339
|
});
|
|
56118
|
-
var deviceInput$
|
|
57340
|
+
var deviceInput$1 = z.object({ deviceId: z.number().int().nonnegative() });
|
|
56119
57341
|
var fanPresetsCustomize = {
|
|
56120
57342
|
version: 1,
|
|
56121
57343
|
targets: [{
|
|
@@ -56133,28 +57355,22 @@ var fanPresetsCapability = {
|
|
|
56133
57355
|
scope: "system",
|
|
56134
57356
|
mode: "singleton",
|
|
56135
57357
|
methods: {
|
|
56136
|
-
getPresets: method(deviceInput$
|
|
56137
|
-
setPresets: method(deviceInput$
|
|
57358
|
+
getPresets: method(deviceInput$1, z.array(FanPresetSchema), { auth: "protected" }),
|
|
57359
|
+
setPresets: method(deviceInput$1.extend({ presets: z.array(FanPresetSchema).max(12) }), FanPresetsSetResultSchema, {
|
|
56138
57360
|
kind: "mutation",
|
|
56139
57361
|
auth: "admin"
|
|
56140
57362
|
}),
|
|
56141
|
-
applyPreset: method(deviceInput$
|
|
57363
|
+
applyPreset: method(deviceInput$1.extend({ presetId: z.string().min(1) }), FanPresetApplyResultSchema, {
|
|
56142
57364
|
kind: "mutation",
|
|
56143
57365
|
auth: "protected"
|
|
56144
57366
|
}),
|
|
56145
57367
|
/**
|
|
56146
|
-
*
|
|
56147
|
-
* `fields` (all when absent)
|
|
56148
|
-
*
|
|
56149
|
-
*
|
|
56150
|
-
* oscillation, fixed angles, fan fields, speed last. A reading that is
|
|
56151
|
-
* unknown is left out and named in `omitted`, never captured as 0. Nothing
|
|
56152
|
-
* is saved.
|
|
57368
|
+
* The fan's CURRENT fan-control state as a preset: the fields named in
|
|
57369
|
+
* `fields` (all when absent), read from its merged slice — a field linked
|
|
57370
|
+
* in Customize reads its link. A reading that is unknown is left out and
|
|
57371
|
+
* named in `omitted`, never captured as 0. Nothing is saved.
|
|
56153
57372
|
*/
|
|
56154
|
-
capturePreset: method(deviceInput$
|
|
56155
|
-
fields: z.array(FanCaptureFieldSchema).optional(),
|
|
56156
|
-
steps: z.array(ActionStepSchema).max(20).default([])
|
|
56157
|
-
}), FanPresetCaptureResultSchema, { auth: "protected" })
|
|
57373
|
+
capturePreset: method(deviceInput$1.extend({ fields: z.array(FanCaptureFieldSchema).optional() }), FanPresetCaptureResultSchema, { auth: "protected" })
|
|
56158
57374
|
},
|
|
56159
57375
|
customize: fanPresetsCustomize
|
|
56160
57376
|
};
|
|
@@ -56392,8 +57608,7 @@ var groupActiveCapability = {
|
|
|
56392
57608
|
DeviceType.Valve,
|
|
56393
57609
|
DeviceType.Lock,
|
|
56394
57610
|
DeviceType.MediaPlayer,
|
|
56395
|
-
DeviceType.Climate
|
|
56396
|
-
DeviceType.Thermostat
|
|
57611
|
+
DeviceType.Climate
|
|
56397
57612
|
],
|
|
56398
57613
|
methods: {},
|
|
56399
57614
|
status: {
|
|
@@ -56444,7 +57659,6 @@ var groupCommandsCapability = {
|
|
|
56444
57659
|
DeviceType.Valve,
|
|
56445
57660
|
DeviceType.Lock,
|
|
56446
57661
|
DeviceType.MediaPlayer,
|
|
56447
|
-
DeviceType.Thermostat,
|
|
56448
57662
|
DeviceType.Climate
|
|
56449
57663
|
],
|
|
56450
57664
|
methods: {},
|
|
@@ -56502,7 +57716,6 @@ var groupStatusCapability = {
|
|
|
56502
57716
|
DeviceType.Valve,
|
|
56503
57717
|
DeviceType.Lock,
|
|
56504
57718
|
DeviceType.MediaPlayer,
|
|
56505
|
-
DeviceType.Thermostat,
|
|
56506
57719
|
DeviceType.Climate
|
|
56507
57720
|
],
|
|
56508
57721
|
methods: {},
|
|
@@ -56878,7 +58091,7 @@ var heatingValveCapability = {
|
|
|
56878
58091
|
scope: "device",
|
|
56879
58092
|
deviceNative: true,
|
|
56880
58093
|
mode: "singleton",
|
|
56881
|
-
deviceTypes: [DeviceType.
|
|
58094
|
+
deviceTypes: [DeviceType.Climate],
|
|
56882
58095
|
methods: {},
|
|
56883
58096
|
status: {
|
|
56884
58097
|
schema: HeatingValveStatusSchema,
|
|
@@ -56910,30 +58123,42 @@ var heatingValveCapability = {
|
|
|
56910
58123
|
* retried in a loop - D49); a future one is re-armed.
|
|
56911
58124
|
*
|
|
56912
58125
|
* What a device may be run for, and for how long at most, is per device type
|
|
56913
|
-
* ({@link
|
|
58126
|
+
* and role ({@link timedRunLimitOf}): the maximum is a safety bound, not a preference,
|
|
56914
58127
|
* so a request above it is REFUSED with a typed reason, never clamped.
|
|
56915
58128
|
*/
|
|
56916
58129
|
var TimedRunUnitSchema = z.enum(["s", "min"]);
|
|
56917
58130
|
/** What a timed run switches: the `switch` cap's `setState` or the fountain's `setPump`. */
|
|
56918
58131
|
var TimedRunActuatorSchema = z.enum(["switch", "pet-fountain"]);
|
|
56919
|
-
/**
|
|
56920
|
-
var
|
|
56921
|
-
|
|
56922
|
-
|
|
56923
|
-
|
|
56924
|
-
|
|
56925
|
-
quickRunDefault: 30
|
|
56926
|
-
},
|
|
56927
|
-
[DeviceType.PetFountain]: {
|
|
56928
|
-
actuator: "pet-fountain",
|
|
56929
|
-
maxSeconds: 300,
|
|
56930
|
-
unit: "s",
|
|
56931
|
-
quickRunDefault: 60
|
|
56932
|
-
}
|
|
58132
|
+
/** A plug-in heater (switch + `switch-heater`): up to 3 h, in minutes. */
|
|
58133
|
+
var TIMED_RUN_HEATER_LIMIT = {
|
|
58134
|
+
actuator: "switch",
|
|
58135
|
+
maxSeconds: 10800,
|
|
58136
|
+
unit: "min",
|
|
58137
|
+
quickRunDefault: 30
|
|
56933
58138
|
};
|
|
56934
|
-
|
|
56935
|
-
|
|
56936
|
-
|
|
58139
|
+
/** A pet fountain's pump: up to 5 min, in seconds. */
|
|
58140
|
+
var TIMED_RUN_PET_FOUNTAIN_LIMIT = {
|
|
58141
|
+
actuator: "pet-fountain",
|
|
58142
|
+
maxSeconds: 300,
|
|
58143
|
+
unit: "s",
|
|
58144
|
+
quickRunDefault: 60
|
|
58145
|
+
};
|
|
58146
|
+
/**
|
|
58147
|
+
* The device types `timed-run` may be offered on. A `switch` is narrowed by
|
|
58148
|
+
* role ({@link TIMED_RUN_DEVICE_ROLES}): only a plug-in heater runs on a timer.
|
|
58149
|
+
*/
|
|
58150
|
+
var TIMED_RUN_DEVICE_TYPES = [DeviceType.Switch, DeviceType.PetFountain];
|
|
58151
|
+
/** The roles that make a device of these types timed-run-able (D1033). */
|
|
58152
|
+
var TIMED_RUN_DEVICE_ROLES = { [DeviceType.Switch]: [DeviceRole.SwitchHeater] };
|
|
58153
|
+
/**
|
|
58154
|
+
* The longest run of a device, by its type AND role (D1033): a `switch` is a
|
|
58155
|
+
* heater only with role `switch-heater`, a pet fountain always is what it is.
|
|
58156
|
+
* `null` - the device is not offered `timed-run`.
|
|
58157
|
+
*/
|
|
58158
|
+
function timedRunLimitOf(deviceType, role) {
|
|
58159
|
+
if (deviceType === DeviceType.PetFountain) return TIMED_RUN_PET_FOUNTAIN_LIMIT;
|
|
58160
|
+
if (deviceType === DeviceType.Switch && role === DeviceRole.SwitchHeater) return TIMED_RUN_HEATER_LIMIT;
|
|
58161
|
+
return null;
|
|
56937
58162
|
}
|
|
56938
58163
|
var MS_PER_SECOND = 1e3;
|
|
56939
58164
|
var MS_PER_MINUTE = 6e4;
|
|
@@ -57015,6 +58240,7 @@ var timedRunCapability = {
|
|
|
57015
58240
|
kind: "wrapper",
|
|
57016
58241
|
defaultActive: true,
|
|
57017
58242
|
deviceTypes: TIMED_RUN_DEVICE_TYPES,
|
|
58243
|
+
deviceRoles: TIMED_RUN_DEVICE_ROLES,
|
|
57018
58244
|
deviceConfig: { ui: {
|
|
57019
58245
|
kind: "derived-form",
|
|
57020
58246
|
builderId: "timed-run",
|
|
@@ -57206,8 +58432,7 @@ var HERO_SCENE_BY_TYPE = {
|
|
|
57206
58432
|
[DeviceType.Siren]: "siren",
|
|
57207
58433
|
[DeviceType.Switch]: "plug",
|
|
57208
58434
|
[DeviceType.Sensor]: "sensor-sparkline",
|
|
57209
|
-
[DeviceType.
|
|
57210
|
-
[DeviceType.Climate]: "ac",
|
|
58435
|
+
[DeviceType.Climate]: "thermostat",
|
|
57211
58436
|
[DeviceType.Button]: "button",
|
|
57212
58437
|
[DeviceType.EventEmitter]: "event-stream",
|
|
57213
58438
|
[DeviceType.Update]: "update",
|
|
@@ -57235,7 +58460,6 @@ var HERO_SCENE_BY_TYPE = {
|
|
|
57235
58460
|
[DeviceType.PetFountain]: "pet-fountain",
|
|
57236
58461
|
[DeviceType.Dishwasher]: "dishwasher",
|
|
57237
58462
|
[DeviceType.Washer]: "washer",
|
|
57238
|
-
[DeviceType.Heater]: "heater",
|
|
57239
58463
|
[DeviceType.Dryer]: "dryer",
|
|
57240
58464
|
[DeviceType.Gateway]: "gateway"
|
|
57241
58465
|
};
|
|
@@ -57260,6 +58484,14 @@ var HERO_SCENE_BY_ROLE = {
|
|
|
57260
58484
|
[DeviceRole.CoverWindow]: "inherit",
|
|
57261
58485
|
[DeviceRole.BinaryHelper]: "inherit",
|
|
57262
58486
|
[DeviceRole.Outlet]: "plug",
|
|
58487
|
+
[DeviceRole.SwitchHeater]: "heater",
|
|
58488
|
+
[DeviceRole.SwitchFan]: "fan",
|
|
58489
|
+
[DeviceRole.ClimateAc]: "ac",
|
|
58490
|
+
[DeviceRole.ClimateThermostat]: "inherit",
|
|
58491
|
+
[DeviceRole.ClimateFloor]: "inherit",
|
|
58492
|
+
[DeviceRole.ClimateRadiator]: "inherit",
|
|
58493
|
+
[DeviceRole.ClimateHeater]: "inherit",
|
|
58494
|
+
[DeviceRole.ClimateHeatPumpCircuit]: "inherit",
|
|
57263
58495
|
[DeviceRole.MotionSensor]: "presence",
|
|
57264
58496
|
[DeviceRole.ContactSensor]: "contact",
|
|
57265
58497
|
[DeviceRole.LeakSensor]: "inherit",
|
|
@@ -57823,10 +59055,7 @@ function trailingOf(facts) {
|
|
|
57823
59055
|
* A type whose primary is a named control, not its power: a climate row is the mode
|
|
57824
59056
|
* (which carries "off") and the setpoint, with no power toggle.
|
|
57825
59057
|
*/
|
|
57826
|
-
var ROW_PRIMARY_BY_TYPE = {
|
|
57827
|
-
[DeviceType.Climate]: "climate.mode",
|
|
57828
|
-
[DeviceType.Thermostat]: "climate.mode"
|
|
57829
|
-
};
|
|
59058
|
+
var ROW_PRIMARY_BY_TYPE = { [DeviceType.Climate]: "climate.mode" };
|
|
57830
59059
|
function primaryOf(model) {
|
|
57831
59060
|
const named = ROW_PRIMARY_BY_TYPE[model.type];
|
|
57832
59061
|
if (named !== void 0) {
|
|
@@ -57859,7 +59088,6 @@ function primaryOf(model) {
|
|
|
57859
59088
|
*/
|
|
57860
59089
|
var ROW_EXTRAS_BY_TYPE = {
|
|
57861
59090
|
[DeviceType.Climate]: ["climate.target"],
|
|
57862
|
-
[DeviceType.Thermostat]: ["climate.target"],
|
|
57863
59091
|
[DeviceType.Vacuum]: ["vacuum.base"],
|
|
57864
59092
|
[DeviceType.LawnMower]: ["mower.dock"],
|
|
57865
59093
|
[DeviceType.MediaPlayer]: ["volume.level", REMOTE_OPEN_ACTION_ID]
|
|
@@ -57982,7 +59210,11 @@ var heroLayoutCapability = {
|
|
|
57982
59210
|
auth: "protected",
|
|
57983
59211
|
role: "viewer"
|
|
57984
59212
|
}),
|
|
57985
|
-
|
|
59213
|
+
/** The fixed rows of a kind: the type, refined by the role (D1033 — a heater is a switch). */
|
|
59214
|
+
getLayout: method(z.object({
|
|
59215
|
+
deviceType: z.string(),
|
|
59216
|
+
role: z.string().nullable().optional()
|
|
59217
|
+
}), HeroLayoutRowsSchema, {
|
|
57986
59218
|
auth: "protected",
|
|
57987
59219
|
role: "viewer"
|
|
57988
59220
|
})
|
|
@@ -58033,6 +59265,11 @@ var humidifierCapability = {
|
|
|
58033
59265
|
deviceNative: true,
|
|
58034
59266
|
mode: "singleton",
|
|
58035
59267
|
deviceTypes: [DeviceType.Humidifier],
|
|
59268
|
+
power: {
|
|
59269
|
+
kind: "field",
|
|
59270
|
+
field: "on",
|
|
59271
|
+
set: "setOn"
|
|
59272
|
+
},
|
|
58036
59273
|
methods: {
|
|
58037
59274
|
setOn: method(z.object({
|
|
58038
59275
|
deviceId: z.number().int().nonnegative(),
|
|
@@ -58108,7 +59345,7 @@ var humiditySensorCapability = {
|
|
|
58108
59345
|
scope: "device",
|
|
58109
59346
|
deviceNative: true,
|
|
58110
59347
|
mode: "singleton",
|
|
58111
|
-
deviceTypes: [DeviceType.Sensor, DeviceType.
|
|
59348
|
+
deviceTypes: [DeviceType.Sensor, DeviceType.Climate],
|
|
58112
59349
|
methods: {},
|
|
58113
59350
|
status: {
|
|
58114
59351
|
schema: HumiditySensorStatusSchema,
|
|
@@ -76678,6 +77915,11 @@ var petFountainCapability = {
|
|
|
76678
77915
|
deviceNative: true,
|
|
76679
77916
|
mode: "singleton",
|
|
76680
77917
|
deviceTypes: [DeviceType.PetFountain],
|
|
77918
|
+
power: {
|
|
77919
|
+
kind: "field",
|
|
77920
|
+
field: "pumpRunning",
|
|
77921
|
+
set: "setPump"
|
|
77922
|
+
},
|
|
76681
77923
|
methods: {
|
|
76682
77924
|
/** Start or stop the pump. */
|
|
76683
77925
|
setPump: method(z.object({
|
|
@@ -79592,7 +80834,6 @@ var POWER_METER_DEVICE_TYPES = [
|
|
|
79592
80834
|
DeviceType.Light,
|
|
79593
80835
|
DeviceType.Fan,
|
|
79594
80836
|
DeviceType.Climate,
|
|
79595
|
-
DeviceType.Thermostat,
|
|
79596
80837
|
DeviceType.Humidifier,
|
|
79597
80838
|
DeviceType.WaterHeater,
|
|
79598
80839
|
DeviceType.MediaPlayer,
|
|
@@ -79601,8 +80842,7 @@ var POWER_METER_DEVICE_TYPES = [
|
|
|
79601
80842
|
DeviceType.Dishwasher,
|
|
79602
80843
|
DeviceType.Vacuum,
|
|
79603
80844
|
DeviceType.LawnMower,
|
|
79604
|
-
DeviceType.PetFeeder
|
|
79605
|
-
DeviceType.Heater
|
|
80845
|
+
DeviceType.PetFeeder
|
|
79606
80846
|
];
|
|
79607
80847
|
/** Everything but a bare `Sensor`: a sensor that takes its reading from another sensor adds nothing. */
|
|
79608
80848
|
var POWER_METER_CUSTOMIZE_DEVICE_TYPES = POWER_METER_DEVICE_TYPES.filter((type) => type !== DeviceType.Sensor);
|
|
@@ -79716,146 +80956,6 @@ var powerMeterCapability = {
|
|
|
79716
80956
|
customize: powerMeterCustomize
|
|
79717
80957
|
};
|
|
79718
80958
|
//#endregion
|
|
79719
|
-
//#region src/capabilities/power-source.cap.ts
|
|
79720
|
-
/**
|
|
79721
|
-
* power-source — a device that hangs is powered by a smart switch, and the
|
|
79722
|
-
* operator picks that switch in the device's Customize. The device then offers
|
|
79723
|
-
* power on, power off and a forced restart (switch off, wait, switch on).
|
|
79724
|
-
*
|
|
79725
|
-
* Manual by default: nothing here restarts a device by itself. The one
|
|
79726
|
-
* exception (D997) is a device's OWN provider calling `forceRestart` for its own
|
|
79727
|
-
* device as a bounded self-recovery (unreachable for a long stretch, linked,
|
|
79728
|
-
* one attempt per cooldown, never with a live session); Velux is the first. It
|
|
79729
|
-
* is not the native `reboot` cap and never replaces or wraps it: `reboot` talks
|
|
79730
|
-
* to the device, this cuts the power of the device that no longer answers.
|
|
79731
|
-
*
|
|
79732
|
-
* The link is a Customize extension (`add`): one scalar target whose source is
|
|
79733
|
-
* the switch. The stored composition is the ONE copy of the link and of
|
|
79734
|
-
* `offSeconds` (`powerSourceLinkOfComposition`, D676); the composed slice only
|
|
79735
|
-
* mirrors the switch state for the UI. The methods are served by the
|
|
79736
|
-
* `core-blocks` system provider, so they are `systemMethod`s and carry a
|
|
79737
|
-
* top-level `deviceId`.
|
|
79738
|
-
*
|
|
79739
|
-
* Every action answers a typed result and never throws for an expected
|
|
79740
|
-
* refusal, so a caller tells "the switch is offline" from "a restart is
|
|
79741
|
-
* already running" without parsing text.
|
|
79742
|
-
*/
|
|
79743
|
-
/** Bounds of the off time of a forced restart, in seconds. */
|
|
79744
|
-
var POWER_SOURCE_OFF_SECONDS_MIN = 3;
|
|
79745
|
-
var POWER_SOURCE_OFF_SECONDS_MAX = 120;
|
|
79746
|
-
var POWER_SOURCE_OFF_SECONDS_DEFAULT = 10;
|
|
79747
|
-
var PowerSourceRefusalReasonSchema = z.enum([
|
|
79748
|
-
"no-power-source",
|
|
79749
|
-
"switch-missing",
|
|
79750
|
-
"switch-offline",
|
|
79751
|
-
"switch-unknown",
|
|
79752
|
-
"restart-in-progress",
|
|
79753
|
-
"switch-call-failed"
|
|
79754
|
-
]);
|
|
79755
|
-
var PowerSourceActionResultSchema = z.discriminatedUnion("accepted", [z.object({ accepted: z.literal(true) }), z.object({
|
|
79756
|
-
accepted: z.literal(false),
|
|
79757
|
-
reason: PowerSourceRefusalReasonSchema,
|
|
79758
|
-
/** One line for the operator, naming the switch. */
|
|
79759
|
-
message: z.string()
|
|
79760
|
-
})]);
|
|
79761
|
-
var PowerSourceInfoSchema = z.object({
|
|
79762
|
-
/** False when the device has no power source linked; the rest is then empty. */
|
|
79763
|
-
linked: z.boolean(),
|
|
79764
|
-
switchDeviceId: z.number().nullable(),
|
|
79765
|
-
switchName: z.string().nullable(),
|
|
79766
|
-
/** The switch's on/off state, or null when it is unknown. Never false for unknown (D393). */
|
|
79767
|
-
switchOn: z.boolean().nullable(),
|
|
79768
|
-
switchOnline: z.boolean().nullable(),
|
|
79769
|
-
restartInProgress: z.boolean(),
|
|
79770
|
-
offSeconds: z.number().int()
|
|
79771
|
-
});
|
|
79772
|
-
/** The composed slice: the switch state the link mirrors, plus the stored off time. */
|
|
79773
|
-
var PowerSourceStateSchema = z.object({
|
|
79774
|
-
/** Null while the switch has not reported: unknown is never `false` (D393). */
|
|
79775
|
-
switchOn: z.boolean().nullable(),
|
|
79776
|
-
offSeconds: z.number().int(),
|
|
79777
|
-
lastFetchedAt: z.number()
|
|
79778
|
-
});
|
|
79779
|
-
var POWER_SOURCE_DEVICE_TYPES = [
|
|
79780
|
-
DeviceType.Gateway,
|
|
79781
|
-
DeviceType.Camera,
|
|
79782
|
-
DeviceType.Sensor,
|
|
79783
|
-
DeviceType.MediaPlayer,
|
|
79784
|
-
DeviceType.Vacuum,
|
|
79785
|
-
DeviceType.Generic,
|
|
79786
|
-
DeviceType.Washer,
|
|
79787
|
-
DeviceType.Dryer,
|
|
79788
|
-
DeviceType.Dishwasher,
|
|
79789
|
-
DeviceType.PetFountain,
|
|
79790
|
-
DeviceType.Fan,
|
|
79791
|
-
DeviceType.Humidifier,
|
|
79792
|
-
DeviceType.Climate,
|
|
79793
|
-
DeviceType.WaterHeater
|
|
79794
|
-
];
|
|
79795
|
-
var powerSourceCustomize = {
|
|
79796
|
-
version: 1,
|
|
79797
|
-
targets: [{
|
|
79798
|
-
id: "switch",
|
|
79799
|
-
cardinality: "scalar",
|
|
79800
|
-
vocabulary: {
|
|
79801
|
-
cap: "power-source",
|
|
79802
|
-
stateField: "switchOn"
|
|
79803
|
-
},
|
|
79804
|
-
deviceTypes: POWER_SOURCE_DEVICE_TYPES,
|
|
79805
|
-
apply: "add",
|
|
79806
|
-
path: "switchOn",
|
|
79807
|
-
sources: [{
|
|
79808
|
-
kind: "switch",
|
|
79809
|
-
transforms: [{ kind: "identity" }]
|
|
79810
|
-
}],
|
|
79811
|
-
companions: [{
|
|
79812
|
-
kind: "constant",
|
|
79813
|
-
path: "offSeconds",
|
|
79814
|
-
value: 10,
|
|
79815
|
-
when: "add",
|
|
79816
|
-
formerValues: [0]
|
|
79817
|
-
}, {
|
|
79818
|
-
kind: "clock",
|
|
79819
|
-
path: "lastFetchedAt",
|
|
79820
|
-
when: "always"
|
|
79821
|
-
}],
|
|
79822
|
-
sourceReport: { status: "assignment-status" }
|
|
79823
|
-
}]
|
|
79824
|
-
};
|
|
79825
|
-
var deviceInput$1 = z.object({ deviceId: z.number().int().nonnegative() });
|
|
79826
|
-
var powerSourceCapability = {
|
|
79827
|
-
name: "power-source",
|
|
79828
|
-
scope: "device",
|
|
79829
|
-
mode: "singleton",
|
|
79830
|
-
deviceTypes: POWER_SOURCE_DEVICE_TYPES,
|
|
79831
|
-
methods: {
|
|
79832
|
-
getStatus: systemMethod(deviceInput$1, PowerSourceInfoSchema, { auth: "protected" }),
|
|
79833
|
-
powerOn: systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
79834
|
-
kind: "mutation",
|
|
79835
|
-
auth: "protected"
|
|
79836
|
-
}),
|
|
79837
|
-
powerOff: systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
79838
|
-
kind: "mutation",
|
|
79839
|
-
auth: "protected"
|
|
79840
|
-
}),
|
|
79841
|
-
forceRestart: systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
79842
|
-
kind: "mutation",
|
|
79843
|
-
auth: "protected"
|
|
79844
|
-
})
|
|
79845
|
-
},
|
|
79846
|
-
runtimeState: PowerSourceStateSchema,
|
|
79847
|
-
customize: powerSourceCustomize,
|
|
79848
|
-
/**
|
|
79849
|
-
* Runtime-state durability: **session** — mirrored from the linked switch on
|
|
79850
|
-
* its next report; a restored value would outlive the reading it names.
|
|
79851
|
-
*
|
|
79852
|
-
* See `RuntimeStateDurability`. Enforced by
|
|
79853
|
-
* `scripts/check-runtime-state-durability.ts`.
|
|
79854
|
-
*/
|
|
79855
|
-
durability: "session",
|
|
79856
|
-
history: "none"
|
|
79857
|
-
};
|
|
79858
|
-
//#endregion
|
|
79859
80959
|
//#region src/capabilities/presence.cap.ts
|
|
79860
80960
|
/**
|
|
79861
80961
|
* Presence cap. Models HA `person.*` and `device_tracker.*` entities
|
|
@@ -84823,9 +85923,7 @@ var RUNNING_CUSTOMIZE_DEVICE_TYPES = [
|
|
|
84823
85923
|
DeviceType.Humidifier,
|
|
84824
85924
|
DeviceType.Fan,
|
|
84825
85925
|
DeviceType.Climate,
|
|
84826
|
-
DeviceType.
|
|
84827
|
-
DeviceType.PetFeeder,
|
|
84828
|
-
DeviceType.Heater
|
|
85926
|
+
DeviceType.PetFeeder
|
|
84829
85927
|
];
|
|
84830
85928
|
var runningStateCapability = {
|
|
84831
85929
|
name: "running-state",
|
|
@@ -87513,8 +88611,7 @@ var switchCapability = {
|
|
|
87513
88611
|
DeviceType.Switch,
|
|
87514
88612
|
DeviceType.Siren,
|
|
87515
88613
|
DeviceType.Light,
|
|
87516
|
-
DeviceType.Fan
|
|
87517
|
-
DeviceType.Heater
|
|
88614
|
+
DeviceType.Fan
|
|
87518
88615
|
],
|
|
87519
88616
|
methods: { setState: method(z.object({
|
|
87520
88617
|
deviceId: z.number(),
|
|
@@ -88378,7 +89475,7 @@ var temperatureSensorCapability = {
|
|
|
88378
89475
|
scope: "device",
|
|
88379
89476
|
deviceNative: true,
|
|
88380
89477
|
mode: "singleton",
|
|
88381
|
-
deviceTypes: [DeviceType.Sensor, DeviceType.
|
|
89478
|
+
deviceTypes: [DeviceType.Sensor, DeviceType.Climate],
|
|
88382
89479
|
methods: {},
|
|
88383
89480
|
status: {
|
|
88384
89481
|
schema: TemperatureSensorStatusSchema,
|
|
@@ -90410,6 +91507,13 @@ var waterHeaterCapability = {
|
|
|
90410
91507
|
deviceNative: true,
|
|
90411
91508
|
mode: "singleton",
|
|
90412
91509
|
deviceTypes: [DeviceType.WaterHeater],
|
|
91510
|
+
power: {
|
|
91511
|
+
kind: "mode",
|
|
91512
|
+
field: "operationMode",
|
|
91513
|
+
offValue: "off",
|
|
91514
|
+
set: "setOperationMode",
|
|
91515
|
+
lastField: "lastActiveMode"
|
|
91516
|
+
},
|
|
90413
91517
|
methods: {
|
|
90414
91518
|
setTargetTemp: method(z.object({
|
|
90415
91519
|
deviceId: z.number().int().nonnegative(),
|
|
@@ -93971,6 +95075,13 @@ function describeTarget(site, ref) {
|
|
|
93971
95075
|
nativeCaps: new Map(device.caps.map((c) => [c, device.addonId]))
|
|
93972
95076
|
};
|
|
93973
95077
|
}
|
|
95078
|
+
/** The site as the time checks read it. */
|
|
95079
|
+
function readingOf$1(site) {
|
|
95080
|
+
return {
|
|
95081
|
+
location: site.location,
|
|
95082
|
+
timeZone: site.timeZone
|
|
95083
|
+
};
|
|
95084
|
+
}
|
|
93974
95085
|
function validateAutomation(site, json) {
|
|
93975
95086
|
const parsed = CurrentAutomationRecipeSchema.safeParse(json);
|
|
93976
95087
|
if (!parsed.success) return {
|
|
@@ -93982,7 +95093,8 @@ function validateAutomation(site, json) {
|
|
|
93982
95093
|
const issues = [
|
|
93983
95094
|
...bounds === null ? [] : [`when: ${bounds}`],
|
|
93984
95095
|
...leafIssues(site, recipe.when, "when"),
|
|
93985
|
-
...recipe.actions.flatMap((a, i) => stepIssues(site, a, `actions.${i}`))
|
|
95096
|
+
...recipe.actions.flatMap((a, i) => stepIssues(site, a, `actions.${i}`)),
|
|
95097
|
+
...recipeSiteIssues(recipe, readingOf$1(site)).map((i) => `${i.path}: ${i.message}`)
|
|
93986
95098
|
];
|
|
93987
95099
|
if (issues.length > 0) return {
|
|
93988
95100
|
ok: false,
|
|
@@ -94003,7 +95115,7 @@ function validateAction(site, json) {
|
|
|
94003
95115
|
ok: false,
|
|
94004
95116
|
issues: zodIssues(parsed.error)
|
|
94005
95117
|
};
|
|
94006
|
-
const issues = parsed.data.steps.flatMap((s, i) => stepIssues(site, s, `steps.${i}`));
|
|
95118
|
+
const issues = [...parsed.data.steps.flatMap((s, i) => stepIssues(site, s, `steps.${i}`)), ...stepGuardSiteIssues(parsed.data.steps, readingOf$1(site), "steps").map((i) => `${i.path}: ${i.message}`)];
|
|
94007
95119
|
return issues.length > 0 ? {
|
|
94008
95120
|
ok: false,
|
|
94009
95121
|
issues
|
|
@@ -94019,10 +95131,7 @@ function validateScheduler(site, json) {
|
|
|
94019
95131
|
issues: zodIssues(parsed.error)
|
|
94020
95132
|
};
|
|
94021
95133
|
const input = parsed.data;
|
|
94022
|
-
const verdict = validateSchedulerInput(input,
|
|
94023
|
-
location: site.location,
|
|
94024
|
-
timeZone: site.timeZone
|
|
94025
|
-
});
|
|
95134
|
+
const verdict = validateSchedulerInput(input, readingOf$1(site));
|
|
94026
95135
|
const issues = [
|
|
94027
95136
|
...verdict.ok ? [] : verdict.issues.map((i) => `${i.path}: ${i.message}`),
|
|
94028
95137
|
...input.activeWhen === void 0 ? [] : leafIssues(site, input.activeWhen, "activeWhen"),
|
|
@@ -97010,11 +98119,6 @@ function evaluateAggregate(input) {
|
|
|
97010
98119
|
}
|
|
97011
98120
|
//#endregion
|
|
97012
98121
|
//#region src/composition/helpers/source-pick.ts
|
|
97013
|
-
/**
|
|
97014
|
-
* The request the common source selector (#236) accepts for a helper (D944 §5).
|
|
97015
|
-
* The selector's layout is not specified here. Groups ask for one device type
|
|
97016
|
-
* and the catalog field; they do not opt into incompatible fields.
|
|
97017
|
-
*/
|
|
97018
98122
|
/** What the member step asks the selector for this template. */
|
|
97019
98123
|
function sourcePickForTemplate(template) {
|
|
97020
98124
|
const valueKind = template.family === "numeric" ? "number" : template.activeWhen === void 0 ? "boolean" : "state";
|
|
@@ -97096,30 +98200,6 @@ function sourcePickForMath(kind) {
|
|
|
97096
98200
|
function numericAccept() {
|
|
97097
98201
|
return historyAccept("statistic").filter((field) => field.valueKind === "number");
|
|
97098
98202
|
}
|
|
97099
|
-
/**
|
|
97100
|
-
* The one thing a naked heater needs at creation (D1004 point 5): the plug it
|
|
97101
|
-
* switches. On and off forward to that plug; no other facet is attached.
|
|
97102
|
-
*/
|
|
97103
|
-
function sourcePickForHeaterPlug() {
|
|
97104
|
-
return {
|
|
97105
|
-
fieldChoice: "operator",
|
|
97106
|
-
purpose: "member",
|
|
97107
|
-
multiple: false,
|
|
97108
|
-
max: 1,
|
|
97109
|
-
deviceTypes: [DeviceType.Switch],
|
|
97110
|
-
accept: [{
|
|
97111
|
-
cap: "switch",
|
|
97112
|
-
fieldPath: "on",
|
|
97113
|
-
valueKind: "boolean"
|
|
97114
|
-
}],
|
|
97115
|
-
history: {
|
|
97116
|
-
required: false,
|
|
97117
|
-
minRetentionMs: null
|
|
97118
|
-
},
|
|
97119
|
-
mustBindCaps: ["switch"],
|
|
97120
|
-
exclude: []
|
|
97121
|
-
};
|
|
97122
|
-
}
|
|
97123
98203
|
//#endregion
|
|
97124
98204
|
//#region src/composition/customize/field-source.ts
|
|
97125
98205
|
function fromRead(source, cap, fieldPath) {
|
|
@@ -97215,7 +98295,7 @@ function compileValue$1(input) {
|
|
|
97215
98295
|
const transform = input.draft.transform;
|
|
97216
98296
|
if (transform.kind === "identity" || transform.kind === "number") return {
|
|
97217
98297
|
ok: true,
|
|
97218
|
-
value: identityValue(read, input.sourceValueKind)
|
|
98298
|
+
value: identityValue(read, input.sourceValueKind, targetValueKind(input))
|
|
97219
98299
|
};
|
|
97220
98300
|
if (transform.kind === "invert") {
|
|
97221
98301
|
if (input.sourceValueKind !== "boolean") return fail$2("source-kind");
|
|
@@ -97228,8 +98308,16 @@ function compileValue$1(input) {
|
|
|
97228
98308
|
if (transform.kind === "linear") return linearValue$1(transform, read, input.sourceValueKind);
|
|
97229
98309
|
return fail$2("transform");
|
|
97230
98310
|
}
|
|
97231
|
-
|
|
97232
|
-
|
|
98311
|
+
/** The kind of the field a draft writes, from the catalog. */
|
|
98312
|
+
function targetValueKind(input) {
|
|
98313
|
+
return catalogTarget$4(input.draft.cap, input.draft.targetId)?.valueKind;
|
|
98314
|
+
}
|
|
98315
|
+
/**
|
|
98316
|
+
* A string reading feeds a NUMBER field through `number(x)`; a string field
|
|
98317
|
+
* (a fan `preset` linked to a select, D1034) takes the string as it is.
|
|
98318
|
+
*/
|
|
98319
|
+
function identityValue(read, valueKind, targetKind) {
|
|
98320
|
+
if (valueKind === "string" && targetKind !== "string" && targetKind !== "enum") return expression("number(x)", { x: read });
|
|
97233
98321
|
return read;
|
|
97234
98322
|
}
|
|
97235
98323
|
/**
|
|
@@ -97311,7 +98399,7 @@ function compileCompanions$1(input, target, value) {
|
|
|
97311
98399
|
});
|
|
97312
98400
|
}
|
|
97313
98401
|
function companionIncluded$1(companion, apply) {
|
|
97314
|
-
if (companion.kind === "transition-time") return true;
|
|
98402
|
+
if (companion.kind === "transition-time" || companion.kind === "source-field") return true;
|
|
97315
98403
|
return companion.when === "always" || apply === "add";
|
|
97316
98404
|
}
|
|
97317
98405
|
function companionField(input, path, companion, value) {
|
|
@@ -97327,6 +98415,10 @@ function companionField(input, path, companion, value) {
|
|
|
97327
98415
|
ok: true,
|
|
97328
98416
|
value: literal("now")
|
|
97329
98417
|
};
|
|
98418
|
+
if (companion.kind === "source-field") return {
|
|
98419
|
+
ok: true,
|
|
98420
|
+
value: fromRead(refOf$1(input.draft), input.draft.source.cap, companion.field)
|
|
98421
|
+
};
|
|
97330
98422
|
return transitionField(input, path, companion.sourceChangedAt, value);
|
|
97331
98423
|
}
|
|
97332
98424
|
function transitionField(input, path, sourceChangedAt, value) {
|
|
@@ -97520,7 +98612,12 @@ function describeRead(read) {
|
|
|
97520
98612
|
function isConfirmed(reading) {
|
|
97521
98613
|
return reading.fatal || reading.confirmed === true;
|
|
97522
98614
|
}
|
|
97523
|
-
|
|
98615
|
+
/** Whether a non-null value is of the kind a field of `kind` holds. */
|
|
98616
|
+
function valueFitsKind(value, kind) {
|
|
98617
|
+
if (value === null) return true;
|
|
98618
|
+
return typeof value === (kind === "enum" ? "string" : kind);
|
|
98619
|
+
}
|
|
98620
|
+
function fromReading(reading, read, targetKind) {
|
|
97524
98621
|
if (reading.state === "unavailable") return {
|
|
97525
98622
|
state: "unavailable",
|
|
97526
98623
|
value: null,
|
|
@@ -97528,6 +98625,13 @@ function fromReading(reading, read) {
|
|
|
97528
98625
|
fatal: reading.fatal,
|
|
97529
98626
|
confirmed: isConfirmed(reading)
|
|
97530
98627
|
};
|
|
98628
|
+
if (targetKind !== void 0 && !valueFitsKind(reading.value, targetKind)) return {
|
|
98629
|
+
state: "unavailable",
|
|
98630
|
+
value: null,
|
|
98631
|
+
reason: `${describeRead(read)}: source-kind-mismatch, it reads a ${typeof reading.value} and the field takes a ${targetKind}`,
|
|
98632
|
+
fatal: false,
|
|
98633
|
+
confirmed: true
|
|
98634
|
+
};
|
|
97531
98635
|
return {
|
|
97532
98636
|
state: reading.state,
|
|
97533
98637
|
value: reading.value,
|
|
@@ -97651,7 +98755,7 @@ function aggregateField(source, read) {
|
|
|
97651
98755
|
function evaluateCompositionField(input) {
|
|
97652
98756
|
const { source } = input;
|
|
97653
98757
|
switch (source.kind) {
|
|
97654
|
-
case "from": return fromReading(input.read(source), source);
|
|
98758
|
+
case "from": return fromReading(input.read(source), source, input.targetKind);
|
|
97655
98759
|
case "expression": return expressionOutcome(source, input.read, input.now, input.stateful);
|
|
97656
98760
|
case "aggregate": return aggregateField(source, input.read);
|
|
97657
98761
|
case "series": return {
|
|
@@ -97887,56 +98991,6 @@ function lockDoorLinkOfComposition(composition) {
|
|
|
97887
98991
|
};
|
|
97888
98992
|
}
|
|
97889
98993
|
//#endregion
|
|
97890
|
-
//#region src/composition/power-source-link.ts
|
|
97891
|
-
/**
|
|
97892
|
-
* Which smart switch powers a device (the `power-source` Customize extension):
|
|
97893
|
-
* the source its stored `power-source.switchOn` field reads, and the off time of
|
|
97894
|
-
* a forced restart stored beside it. Read from the STORED composition, never kept
|
|
97895
|
-
* as a second copy (D676). Shared by the hub (which acts on the switch) and the
|
|
97896
|
-
* admin UI (which shows it).
|
|
97897
|
-
*/
|
|
97898
|
-
/**
|
|
97899
|
-
* The stored off time, or the default when none is stored. A stored number out
|
|
97900
|
-
* of range is CLAMPED to the bounds (a hand-written value never refuses the
|
|
97901
|
-
* link, it just cannot cut power for an absurd time); a non-integer is rounded.
|
|
97902
|
-
*/
|
|
97903
|
-
function normalizeOffSeconds(value) {
|
|
97904
|
-
if (typeof value !== "number" || !Number.isFinite(value)) return 10;
|
|
97905
|
-
return Math.min(120, Math.max(3, Math.round(value)));
|
|
97906
|
-
}
|
|
97907
|
-
/** The constant a stored `offSeconds` field carries, or undefined when it is not a literal number. */
|
|
97908
|
-
function storedOffSeconds(composition) {
|
|
97909
|
-
const feature = composition.features.find((f) => f.cap === "power-source");
|
|
97910
|
-
if (feature === void 0 || feature.kind !== "fields") return void 0;
|
|
97911
|
-
const field = feature.fields["offSeconds"];
|
|
97912
|
-
if (field === void 0 || field.kind !== "expression") return void 0;
|
|
97913
|
-
const n = Number(field.expr);
|
|
97914
|
-
return field.expr.trim() === "" || !Number.isFinite(n) ? void 0 : n;
|
|
97915
|
-
}
|
|
97916
|
-
/**
|
|
97917
|
-
* The link a composition stores. An `existing` target names its own device; a
|
|
97918
|
-
* `new` target (a composed device) is the composer's own device, so the caller
|
|
97919
|
-
* passes the block id and a new-target composition without one has no link.
|
|
97920
|
-
*/
|
|
97921
|
-
function powerSourceLinkOfComposition(composition, blockId) {
|
|
97922
|
-
if (composition === null) return null;
|
|
97923
|
-
let device;
|
|
97924
|
-
if (composition.target.kind === "existing") device = composition.target.device;
|
|
97925
|
-
else if (blockId !== void 0) device = composedDeviceRef(blockId);
|
|
97926
|
-
else return null;
|
|
97927
|
-
const feature = composition.features.find((f) => f.cap === "power-source");
|
|
97928
|
-
if (feature === void 0 || feature.kind !== "fields" || feature.enabled === false) return null;
|
|
97929
|
-
const field = feature.fields["switchOn"];
|
|
97930
|
-
if (field === void 0) return null;
|
|
97931
|
-
const read = fieldReads(field).find((r) => r.cap === "switch");
|
|
97932
|
-
if (read === void 0) return null;
|
|
97933
|
-
return {
|
|
97934
|
-
device,
|
|
97935
|
-
switch: read.source,
|
|
97936
|
-
offSeconds: normalizeOffSeconds(storedOffSeconds(composition))
|
|
97937
|
-
};
|
|
97938
|
-
}
|
|
97939
|
-
//#endregion
|
|
97940
98994
|
//#region src/composition/presets/numeric-transforms.ts
|
|
97941
98995
|
/**
|
|
97942
98996
|
* Self-only invert / unit-convert composition features (D663, D939).
|
|
@@ -98764,7 +99818,7 @@ function drafted(field, transform, sourceValueKind, cap, targetId) {
|
|
|
98764
99818
|
};
|
|
98765
99819
|
}
|
|
98766
99820
|
function inferApply$1(target, fields) {
|
|
98767
|
-
const addPaths = (target.companions ?? []).flatMap((companion) => companion.kind
|
|
99821
|
+
const addPaths = (target.companions ?? []).flatMap((companion) => (companion.kind === "constant" || companion.kind === "clock") && companion.when === "add" ? [companion.path] : []);
|
|
98768
99822
|
if (addPaths.length === 0) return "replace";
|
|
98769
99823
|
const present = addPaths.filter((path) => fields[path] !== void 0);
|
|
98770
99824
|
if (present.length === addPaths.length) return "add";
|
|
@@ -99109,7 +100163,7 @@ function compileCompanions(target, apply) {
|
|
|
99109
100163
|
});
|
|
99110
100164
|
}
|
|
99111
100165
|
function companionIncluded(companion, apply) {
|
|
99112
|
-
if (companion.kind === "transition-time") return false;
|
|
100166
|
+
if (companion.kind === "transition-time" || companion.kind === "source-field") return false;
|
|
99113
100167
|
return companion.when === "always" || apply === "add";
|
|
99114
100168
|
}
|
|
99115
100169
|
function refOf(draft) {
|
|
@@ -99288,7 +100342,7 @@ function isConstant(source) {
|
|
|
99288
100342
|
return source?.kind === "expression" && Object.keys(source.bindings).length === 0;
|
|
99289
100343
|
}
|
|
99290
100344
|
function inferApply(target, fields) {
|
|
99291
|
-
const addPaths = (target.companions ?? []).flatMap((companion) => companion.kind
|
|
100345
|
+
const addPaths = (target.companions ?? []).flatMap((companion) => (companion.kind === "constant" || companion.kind === "clock") && companion.when === "add" ? [companion.path] : []);
|
|
99292
100346
|
if (addPaths.length === 0) return "replace";
|
|
99293
100347
|
const present = addPaths.filter((path) => fields[path] !== void 0);
|
|
99294
100348
|
if (present.length === addPaths.length) return "add";
|
|
@@ -99297,7 +100351,7 @@ function inferApply(target, fields) {
|
|
|
99297
100351
|
}
|
|
99298
100352
|
function companionsMatch(target, fields, apply) {
|
|
99299
100353
|
const expected = (target.companions ?? []).flatMap((companion) => {
|
|
99300
|
-
if (companion.kind === "transition-time") return [];
|
|
100354
|
+
if (companion.kind === "transition-time" || companion.kind === "source-field") return [];
|
|
99301
100355
|
if (companion.when === "always" || apply === "add") return [companion.path];
|
|
99302
100356
|
return [];
|
|
99303
100357
|
});
|
|
@@ -101361,15 +102415,16 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
101361
102415
|
});
|
|
101362
102416
|
const meta = await this.ctx.api.deviceManager.loadMeta.query({ deviceId: id });
|
|
101363
102417
|
if (meta === null) throw new Error(`${this.providerName}: no persisted meta for "${stableId}" (id ${id}) — cannot reload`);
|
|
101364
|
-
const
|
|
101365
|
-
|
|
102418
|
+
const Class = this.deviceClassForRow({
|
|
102419
|
+
type: meta.type,
|
|
102420
|
+
stableId
|
|
102421
|
+
});
|
|
101366
102422
|
if (!Class) throw new Error(`${this.providerName}: no device class for type "${meta.type}" — "${stableId}" is an accessory child; reload its parent instead`);
|
|
101367
102423
|
await devices.create(stableId, Class, {}, meta.parentDeviceId ?? null);
|
|
101368
102424
|
const rows = await this.ctx.api.deviceManager.listPersistedByAddon.query({ addonId: this.addonId });
|
|
101369
102425
|
for (const row of rows) {
|
|
101370
102426
|
if (row.parentDeviceId !== id) continue;
|
|
101371
|
-
const
|
|
101372
|
-
const ChildClass = childType !== void 0 ? this.deviceClasses[childType] : void 0;
|
|
102427
|
+
const ChildClass = this.deviceClassForRow(row);
|
|
101373
102428
|
if (!ChildClass) continue;
|
|
101374
102429
|
try {
|
|
101375
102430
|
await devices.create(row.stableId, ChildClass, {}, id);
|
|
@@ -101396,6 +102451,16 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
101396
102451
|
return { deviceId: id };
|
|
101397
102452
|
}
|
|
101398
102453
|
/**
|
|
102454
|
+
* The class a PERSISTED row is rebuilt with. Default: by type, from
|
|
102455
|
+
* `deviceClasses`. A provider whose distinct devices share one type (D1033:
|
|
102456
|
+
* a radiator valve and a room climate are both `climate`) overrides this
|
|
102457
|
+
* and tells them apart by the row's stable id or config.
|
|
102458
|
+
*/
|
|
102459
|
+
deviceClassForRow(row) {
|
|
102460
|
+
const type = Object.values(DeviceType).find((t) => t === row.type);
|
|
102461
|
+
return type !== void 0 ? this.deviceClasses[type] : void 0;
|
|
102462
|
+
}
|
|
102463
|
+
/**
|
|
101399
102464
|
* Restore devices from persisted state. Two-pass:
|
|
101400
102465
|
*
|
|
101401
102466
|
* 1. **Top-level pass** — invokes `kernel.devices.create()` for every
|
|
@@ -101456,7 +102521,7 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
101456
102521
|
restored.add(saved.id);
|
|
101457
102522
|
return;
|
|
101458
102523
|
}
|
|
101459
|
-
const Class = this.
|
|
102524
|
+
const Class = this.deviceClassForRow(saved);
|
|
101460
102525
|
if (!Class) throw new Error(`no device class registered for type "${saved.type}"`);
|
|
101461
102526
|
if (saved.parentDeviceId !== null && !restored.has(saved.parentDeviceId)) throw new Error(`parent device ${saved.parentDeviceId} not restored`);
|
|
101462
102527
|
await this.healSavedConfig(saved, savedDevices);
|
|
@@ -101473,7 +102538,7 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
101473
102538
|
};
|
|
101474
102539
|
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
101475
102540
|
const restoreOne = async (saved) => {
|
|
101476
|
-
if (!this.
|
|
102541
|
+
if (!this.deviceClassForRow(saved)) {
|
|
101477
102542
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
101478
102543
|
tags: {
|
|
101479
102544
|
deviceId: saved.id,
|
|
@@ -101512,7 +102577,7 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
101512
102577
|
const failedTopLevelIds = new Set(failures.map((failure) => failure.saved.id));
|
|
101513
102578
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
101514
102579
|
for (const saved of childRows) {
|
|
101515
|
-
if (!this.
|
|
102580
|
+
if (!this.deviceClassForRow(saved)) continue;
|
|
101516
102581
|
if (saved.parentDeviceId === null) continue;
|
|
101517
102582
|
if (restored.has(saved.parentDeviceId)) {
|
|
101518
102583
|
try {
|
|
@@ -101703,7 +102768,6 @@ function applyPrimaryChildRule(rule, children) {
|
|
|
101703
102768
|
var CONTAINER_CHILD_PRIORITY = [
|
|
101704
102769
|
"media-player",
|
|
101705
102770
|
"alarm-panel",
|
|
101706
|
-
"thermostat",
|
|
101707
102771
|
"climate",
|
|
101708
102772
|
"humidifier",
|
|
101709
102773
|
"water-heater",
|
|
@@ -102323,6 +103387,73 @@ function widenDeviceConstructor(ctor) {
|
|
|
102323
103387
|
return ctor;
|
|
102324
103388
|
}
|
|
102325
103389
|
//#endregion
|
|
103390
|
+
//#region src/device/device-kind.ts
|
|
103391
|
+
/**
|
|
103392
|
+
* A device's KIND is its type plus its role (D1033): the type is the set of
|
|
103393
|
+
* controls it has, the role says which thing it is among the devices that
|
|
103394
|
+
* share those controls. A plug-in heater is a `switch` with role
|
|
103395
|
+
* `switch-heater`; an air conditioner and a radiator valve are both `climate`,
|
|
103396
|
+
* told apart by their `climate-*` role.
|
|
103397
|
+
*/
|
|
103398
|
+
/**
|
|
103399
|
+
* Type values a persisted row may still carry after the type was retired, and
|
|
103400
|
+
* the type each one is read as. The row is rewritten by the next registration
|
|
103401
|
+
* of the device (its provider stamps the live type), so this is a read alias,
|
|
103402
|
+
* not a migration.
|
|
103403
|
+
*
|
|
103404
|
+
* `heater` is deliberately absent: the only heaters were composed devices the
|
|
103405
|
+
* operator deletes. Such a row stays an unknown type, which every reader
|
|
103406
|
+
* treats as a generic device.
|
|
103407
|
+
*/
|
|
103408
|
+
var RETIRED_DEVICE_TYPES = { thermostat: DeviceType.Climate };
|
|
103409
|
+
/** The live type a stored `type` value stands for (itself unless retired). */
|
|
103410
|
+
function canonicalStoredDeviceType(stored) {
|
|
103411
|
+
return RETIRED_DEVICE_TYPES[stored] ?? stored;
|
|
103412
|
+
}
|
|
103413
|
+
/** The `climate-*` roles, in the order the role picker lists them. */
|
|
103414
|
+
var CLIMATE_ROLES = [
|
|
103415
|
+
DeviceRole.ClimateThermostat,
|
|
103416
|
+
DeviceRole.ClimateAc,
|
|
103417
|
+
DeviceRole.ClimateRadiator,
|
|
103418
|
+
DeviceRole.ClimateFloor,
|
|
103419
|
+
DeviceRole.ClimateHeater,
|
|
103420
|
+
DeviceRole.ClimateHeatPumpCircuit
|
|
103421
|
+
];
|
|
103422
|
+
function isClimateRole(role) {
|
|
103423
|
+
return CLIMATE_ROLES.some((candidate) => candidate === role);
|
|
103424
|
+
}
|
|
103425
|
+
/**
|
|
103426
|
+
* Which climate device this is. A climate device with no role, or a role that
|
|
103427
|
+
* is not a climate one, is a room thermostat: that is what most of them are,
|
|
103428
|
+
* and it is the presentation a thermostat had before the types were folded.
|
|
103429
|
+
*/
|
|
103430
|
+
function climateRoleOf(role) {
|
|
103431
|
+
return role !== null && role !== void 0 && isClimateRole(role) ? role : DeviceRole.ClimateThermostat;
|
|
103432
|
+
}
|
|
103433
|
+
/** An air conditioner: exports present it as an AC unit, not a thermostat. */
|
|
103434
|
+
function isAirConditioner(type, role) {
|
|
103435
|
+
return type === DeviceType.Climate && climateRoleOf(role) === DeviceRole.ClimateAc;
|
|
103436
|
+
}
|
|
103437
|
+
/**
|
|
103438
|
+
* Is a capability offered on a device of this type and role?
|
|
103439
|
+
*
|
|
103440
|
+
* Fails open where the old type-only gate did: no `deviceTypes` (or an empty
|
|
103441
|
+
* list) applies to every device, and an unknown type never filters (a failed
|
|
103442
|
+
* meta read must not destroy work, D49). A type the cap's `deviceRoles` names
|
|
103443
|
+
* is offered only to the roles listed there; an unknown role is NOT one of
|
|
103444
|
+
* them, so a `switch` whose role could not be read is not a heater.
|
|
103445
|
+
*/
|
|
103446
|
+
function capAppliesToDeviceKind(gate, deviceType, role) {
|
|
103447
|
+
if (deviceType === void 0) return true;
|
|
103448
|
+
const types = gate?.deviceTypes;
|
|
103449
|
+
if (!types || types.length === 0) return true;
|
|
103450
|
+
const type = types.find((candidate) => candidate === deviceType);
|
|
103451
|
+
if (type === void 0) return false;
|
|
103452
|
+
const roles = gate?.deviceRoles?.[type];
|
|
103453
|
+
if (roles === void 0) return true;
|
|
103454
|
+
return role !== null && role !== void 0 && roles.some((candidate) => candidate === role);
|
|
103455
|
+
}
|
|
103456
|
+
//#endregion
|
|
102326
103457
|
//#region src/device/device-control-resolution.ts
|
|
102327
103458
|
/**
|
|
102328
103459
|
* Device-control RESOLUTION LOGIC — the single, presentation-free source of
|
|
@@ -102375,8 +103506,7 @@ var DEVICE_TYPE_CONTROL_KIND = {
|
|
|
102375
103506
|
[DeviceType.Light]: "light",
|
|
102376
103507
|
[DeviceType.Fan]: "fan",
|
|
102377
103508
|
[DeviceType.Sensor]: "sensor",
|
|
102378
|
-
[DeviceType.
|
|
102379
|
-
[DeviceType.Climate]: "climate",
|
|
103509
|
+
[DeviceType.Climate]: "thermostat",
|
|
102380
103510
|
[DeviceType.Button]: "button",
|
|
102381
103511
|
[DeviceType.EventEmitter]: "dummy",
|
|
102382
103512
|
[DeviceType.Update]: "update",
|
|
@@ -102396,7 +103526,6 @@ var DEVICE_TYPE_CONTROL_KIND = {
|
|
|
102396
103526
|
[DeviceType.Image]: "image",
|
|
102397
103527
|
[DeviceType.PetFeeder]: "pet-feeder",
|
|
102398
103528
|
[DeviceType.PetFountain]: "pet-fountain",
|
|
102399
|
-
[DeviceType.Heater]: "heater",
|
|
102400
103529
|
[DeviceType.Dishwasher]: "dishwasher",
|
|
102401
103530
|
[DeviceType.Washer]: "appliance",
|
|
102402
103531
|
[DeviceType.Dryer]: "appliance",
|
|
@@ -102410,8 +103539,11 @@ var DEVICE_TYPE_VALUES = new Set(Object.values(DeviceType));
|
|
|
102410
103539
|
* narrows the string to a `DeviceType` before indexing (documented enum-string
|
|
102411
103540
|
* boundary).
|
|
102412
103541
|
*/
|
|
102413
|
-
function resolveDeviceControlKind(type) {
|
|
102414
|
-
|
|
103542
|
+
function resolveDeviceControlKind(type, role) {
|
|
103543
|
+
if (!DEVICE_TYPE_VALUES.has(type)) return null;
|
|
103544
|
+
if (isAirConditioner(type, role)) return "climate";
|
|
103545
|
+
if (type === DeviceType.Switch && role === DeviceRole.SwitchHeater) return "heater";
|
|
103546
|
+
return DEVICE_TYPE_CONTROL_KIND[type];
|
|
102415
103547
|
}
|
|
102416
103548
|
/** Kebab feature flag advertised by an accessory that auto-activates when its
|
|
102417
103549
|
* parent camera detects motion. The cap's kebab name is `motion-trigger` (see
|
|
@@ -104733,9 +105865,6 @@ function durationText(seconds) {
|
|
|
104733
105865
|
const text = `${Math.floor(m / 60)} h ${String(m % 60).padStart(2, "0")}`;
|
|
104734
105866
|
return t(text, text);
|
|
104735
105867
|
}
|
|
104736
|
-
function deviceTypeOf(type) {
|
|
104737
|
-
return Object.values(DeviceType).find((t) => t === type);
|
|
104738
|
-
}
|
|
104739
105868
|
var switchContribution = contribution("switch", SwitchStatusSchema, (slice) => {
|
|
104740
105869
|
const on = slice?.on ?? null;
|
|
104741
105870
|
return {
|
|
@@ -104916,8 +106045,7 @@ function remainingWords(amount, unit) {
|
|
|
104916
106045
|
return t(`${amount} ${word}`, `${amount} ${word}`);
|
|
104917
106046
|
}
|
|
104918
106047
|
var timedRunContribution = contribution("timed-run", TimedRunStatusSchema, (slice, ctx) => {
|
|
104919
|
-
const
|
|
104920
|
-
const limit = type === void 0 ? null : timedRunLimitOf(type);
|
|
106048
|
+
const limit = timedRunLimitOf(ctx.type, ctx.role);
|
|
104921
106049
|
if (limit === null) return {};
|
|
104922
106050
|
const quickRun = slice?.quickRun ?? timedRunQuickRun(limit, null);
|
|
104923
106051
|
const activeUntil = slice?.activeUntil != null && slice.activeUntil > ctx.now ? slice.activeUntil : null;
|
|
@@ -105358,7 +106486,6 @@ var HERO_LAYOUT_BY_TYPE = {
|
|
|
105358
106486
|
[DeviceType.Siren]: HERO_LAYOUT_DEFAULT,
|
|
105359
106487
|
[DeviceType.Switch]: SWITCH_LAYOUT,
|
|
105360
106488
|
[DeviceType.Sensor]: HERO_LAYOUT_DEFAULT,
|
|
105361
|
-
[DeviceType.Thermostat]: CLIMATE_LAYOUT,
|
|
105362
106489
|
[DeviceType.Climate]: CLIMATE_LAYOUT,
|
|
105363
106490
|
[DeviceType.Button]: BUTTON_LAYOUT,
|
|
105364
106491
|
[DeviceType.EventEmitter]: HERO_LAYOUT_DEFAULT,
|
|
@@ -105387,7 +106514,6 @@ var HERO_LAYOUT_BY_TYPE = {
|
|
|
105387
106514
|
[DeviceType.PetFountain]: FOUNTAIN_LAYOUT,
|
|
105388
106515
|
[DeviceType.Dishwasher]: DISHWASHER_LAYOUT,
|
|
105389
106516
|
[DeviceType.Washer]: APPLIANCE_LAYOUT,
|
|
105390
|
-
[DeviceType.Heater]: HEATER_LAYOUT,
|
|
105391
106517
|
[DeviceType.Dryer]: APPLIANCE_LAYOUT,
|
|
105392
106518
|
[DeviceType.Gateway]: HERO_LAYOUT_DEFAULT
|
|
105393
106519
|
};
|
|
@@ -105395,7 +106521,8 @@ function isDeviceType$1(type) {
|
|
|
105395
106521
|
return Object.values(DeviceType).includes(type);
|
|
105396
106522
|
}
|
|
105397
106523
|
/** The layout of a type; a type this build does not know gets the default. */
|
|
105398
|
-
function resolveHeroLayout(type) {
|
|
106524
|
+
function resolveHeroLayout(type, role = null) {
|
|
106525
|
+
if (type === DeviceType.Switch && role === DeviceRole.SwitchHeater) return HEATER_LAYOUT;
|
|
105399
106526
|
return isDeviceType$1(type) ? HERO_LAYOUT_BY_TYPE[type] : HERO_LAYOUT_DEFAULT;
|
|
105400
106527
|
}
|
|
105401
106528
|
//#endregion
|
|
@@ -106076,7 +107203,7 @@ var HERO_MODE_LOOK = {
|
|
|
106076
107203
|
open: null,
|
|
106077
107204
|
closed: null
|
|
106078
107205
|
};
|
|
106079
|
-
var MODE_LOOK_TYPES = [DeviceType.Climate
|
|
107206
|
+
var MODE_LOOK_TYPES = [DeviceType.Climate];
|
|
106080
107207
|
var HERO_LOOK_BY_TYPE = {
|
|
106081
107208
|
[DeviceType.Camera]: CAMERA_LOOK,
|
|
106082
107209
|
[DeviceType.Hub]: HERO_LOOK_DEFAULT,
|
|
@@ -106084,8 +107211,7 @@ var HERO_LOOK_BY_TYPE = {
|
|
|
106084
107211
|
[DeviceType.Siren]: HERO_LOOK_DEFAULT,
|
|
106085
107212
|
[DeviceType.Switch]: SWITCH_LOOK,
|
|
106086
107213
|
[DeviceType.Sensor]: READING_SENSOR_LOOK,
|
|
106087
|
-
[DeviceType.
|
|
106088
|
-
[DeviceType.Climate]: CLIMATE_LOOK,
|
|
107214
|
+
[DeviceType.Climate]: THERMOSTAT_LOOK,
|
|
106089
107215
|
[DeviceType.Button]: BUTTON_LOOK,
|
|
106090
107216
|
[DeviceType.EventEmitter]: EVENT_EMITTER_LOOK,
|
|
106091
107217
|
[DeviceType.Update]: UPDATE_LOOK,
|
|
@@ -106113,7 +107239,6 @@ var HERO_LOOK_BY_TYPE = {
|
|
|
106113
107239
|
[DeviceType.PetFountain]: FOUNTAIN_LOOK,
|
|
106114
107240
|
[DeviceType.Dishwasher]: DISHWASHER_LOOK,
|
|
106115
107241
|
[DeviceType.Washer]: WASHER_LOOK,
|
|
106116
|
-
[DeviceType.Heater]: HEATER_LOOK,
|
|
106117
107242
|
[DeviceType.Dryer]: DRYER_LOOK,
|
|
106118
107243
|
[DeviceType.Gateway]: HERO_LOOK_DEFAULT
|
|
106119
107244
|
};
|
|
@@ -106138,6 +107263,14 @@ var HERO_LOOK_BY_ROLE = {
|
|
|
106138
107263
|
[DeviceRole.CoverWindow]: "inherit",
|
|
106139
107264
|
[DeviceRole.BinaryHelper]: "inherit",
|
|
106140
107265
|
[DeviceRole.Outlet]: "inherit",
|
|
107266
|
+
[DeviceRole.SwitchHeater]: HEATER_LOOK,
|
|
107267
|
+
[DeviceRole.SwitchFan]: FAN_LOOK,
|
|
107268
|
+
[DeviceRole.ClimateAc]: "inherit",
|
|
107269
|
+
[DeviceRole.ClimateThermostat]: "inherit",
|
|
107270
|
+
[DeviceRole.ClimateFloor]: "inherit",
|
|
107271
|
+
[DeviceRole.ClimateRadiator]: "inherit",
|
|
107272
|
+
[DeviceRole.ClimateHeater]: "inherit",
|
|
107273
|
+
[DeviceRole.ClimateHeatPumpCircuit]: "inherit",
|
|
106141
107274
|
[DeviceRole.MotionSensor]: MOTION_LOOK,
|
|
106142
107275
|
[DeviceRole.ContactSensor]: "inherit",
|
|
106143
107276
|
[DeviceRole.LeakSensor]: LEAK_LOOK,
|
|
@@ -106195,6 +107328,7 @@ function resolveHeroLook(role, type, state, mode = null) {
|
|
|
106195
107328
|
const byMode = HERO_MODE_LOOK[mode];
|
|
106196
107329
|
if (byMode !== null) return byMode;
|
|
106197
107330
|
}
|
|
107331
|
+
if (isAirConditioner(type, role)) return CLIMATE_LOOK[state];
|
|
106198
107332
|
return ((isDeviceType(type) ? HERO_LOOK_BY_TYPE[type] : void 0) ?? HERO_LOOK_DEFAULT)[state];
|
|
106199
107333
|
}
|
|
106200
107334
|
/** Every look the model declares, for the exhaustiveness guard and its spec. */
|
|
@@ -106377,6 +107511,7 @@ function buildHeroModel(input) {
|
|
|
106377
107511
|
const ctx = {
|
|
106378
107512
|
deviceId: device.id,
|
|
106379
107513
|
type: device.type,
|
|
107514
|
+
role: device.role,
|
|
106380
107515
|
features: input.features,
|
|
106381
107516
|
now: input.now,
|
|
106382
107517
|
running: runningOf(input),
|
|
@@ -106405,7 +107540,7 @@ function buildHeroModel(input) {
|
|
|
106405
107540
|
}
|
|
106406
107541
|
};
|
|
106407
107542
|
const allRows = fragments.flatMap((f) => f.rows ?? []);
|
|
106408
|
-
const rows = resolveHeroLayout(device.type).rows.flatMap((id) => {
|
|
107543
|
+
const rows = resolveHeroLayout(device.type, device.role).rows.flatMap((id) => {
|
|
106409
107544
|
return allRows.filter((r) => r.id === id).map((r) => HERO_SCENE_ROW_IDS.has(r.id) ? {
|
|
106410
107545
|
...r,
|
|
106411
107546
|
placement: "scene"
|
|
@@ -109982,6 +111117,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
109982
111117
|
access: "create",
|
|
109983
111118
|
role: "viewer"
|
|
109984
111119
|
},
|
|
111120
|
+
"fanControl.setOscillationAxis": {
|
|
111121
|
+
capName: "fan-control",
|
|
111122
|
+
capScope: "device",
|
|
111123
|
+
addonId: null,
|
|
111124
|
+
access: "create",
|
|
111125
|
+
role: "viewer"
|
|
111126
|
+
},
|
|
109985
111127
|
"fanControl.setPercentage": {
|
|
109986
111128
|
capName: "fan-control",
|
|
109987
111129
|
capScope: "device",
|
|
@@ -117501,7 +118643,6 @@ var DEVICE_TYPE_DO_CAPS = {
|
|
|
117501
118643
|
[DeviceType.Siren]: ["switch", "motion-trigger"],
|
|
117502
118644
|
[DeviceType.Switch]: ["switch", "motion-trigger"],
|
|
117503
118645
|
[DeviceType.Sensor]: [],
|
|
117504
|
-
[DeviceType.Thermostat]: ["climate-control"],
|
|
117505
118646
|
[DeviceType.Climate]: ["climate-control"],
|
|
117506
118647
|
[DeviceType.Button]: ["button"],
|
|
117507
118648
|
[DeviceType.EventEmitter]: [],
|
|
@@ -117528,7 +118669,6 @@ var DEVICE_TYPE_DO_CAPS = {
|
|
|
117528
118669
|
[DeviceType.Image]: [],
|
|
117529
118670
|
[DeviceType.PetFeeder]: ["pet-feeder"],
|
|
117530
118671
|
[DeviceType.PetFountain]: ["pet-fountain", "timed-run"],
|
|
117531
|
-
[DeviceType.Heater]: ["switch", "timed-run"],
|
|
117532
118672
|
[DeviceType.Dishwasher]: ["dishwasher"],
|
|
117533
118673
|
[DeviceType.Washer]: [],
|
|
117534
118674
|
[DeviceType.Dryer]: [],
|
|
@@ -117553,7 +118693,6 @@ function isDoPickerDeviceType(type) {
|
|
|
117553
118693
|
function deviceDoFamily(type) {
|
|
117554
118694
|
switch (type) {
|
|
117555
118695
|
case DeviceType.Climate:
|
|
117556
|
-
case DeviceType.Thermostat:
|
|
117557
118696
|
case DeviceType.Humidifier:
|
|
117558
118697
|
case DeviceType.WaterHeater:
|
|
117559
118698
|
case DeviceType.HeatPump: return "climate-family";
|
|
@@ -118476,6 +119615,151 @@ function createRuntimeStateBridge(params) {
|
|
|
118476
119615
|
};
|
|
118477
119616
|
}
|
|
118478
119617
|
//#endregion
|
|
119618
|
+
//#region src/device/power-switch.ts
|
|
119619
|
+
var PowerSwitchRefusedError = class extends Error {
|
|
119620
|
+
reason;
|
|
119621
|
+
constructor(reason, message) {
|
|
119622
|
+
super(message);
|
|
119623
|
+
this.name = "PowerSwitchRefusedError";
|
|
119624
|
+
this.reason = reason;
|
|
119625
|
+
}
|
|
119626
|
+
};
|
|
119627
|
+
/** `true` / `false` from the owner slice, `null` when the hinted field is
|
|
119628
|
+
* absent or not of the hinted shape. */
|
|
119629
|
+
function powerOnFromSlice(hint, slice) {
|
|
119630
|
+
const value = slice?.[hint.field];
|
|
119631
|
+
switch (hint.kind) {
|
|
119632
|
+
case "field": return typeof value === "boolean" ? value : null;
|
|
119633
|
+
case "methods": return typeof value === "string" ? !hint.offValues.includes(value) : null;
|
|
119634
|
+
case "mode": return typeof value === "string" ? value !== hint.offValue : null;
|
|
119635
|
+
}
|
|
119636
|
+
}
|
|
119637
|
+
function ownerMethod(owner, name, capName) {
|
|
119638
|
+
const fn = Reflect.get(owner, name);
|
|
119639
|
+
if (typeof fn !== "function") throw new PowerSwitchRefusedError("owner-method-missing", `${capName} provider does not serve '${name}', which its power hint names`);
|
|
119640
|
+
return async (input) => fn.call(owner, input);
|
|
119641
|
+
}
|
|
119642
|
+
async function lastNonOffMode(host, capName, hint) {
|
|
119643
|
+
const isMode = (v) => typeof v === "string" && v.length > 0 && v !== hint.offValue;
|
|
119644
|
+
const fromHub = (await host.readHubSlice(capName).catch(() => null))?.[hint.lastField];
|
|
119645
|
+
if (isMode(fromHub)) return fromHub;
|
|
119646
|
+
const local = host.runtimeState.getCapState(capName)?.[hint.lastField];
|
|
119647
|
+
return isMode(local) ? local : null;
|
|
119648
|
+
}
|
|
119649
|
+
async function applyPower(host, capName, hint, owner, on) {
|
|
119650
|
+
const deviceId = host.deviceId;
|
|
119651
|
+
switch (hint.kind) {
|
|
119652
|
+
case "field":
|
|
119653
|
+
await ownerMethod(owner, hint.set, capName)({
|
|
119654
|
+
deviceId,
|
|
119655
|
+
on
|
|
119656
|
+
});
|
|
119657
|
+
return;
|
|
119658
|
+
case "methods":
|
|
119659
|
+
await ownerMethod(owner, on ? hint.on : hint.off, capName)({ deviceId });
|
|
119660
|
+
return;
|
|
119661
|
+
case "mode": {
|
|
119662
|
+
const set = ownerMethod(owner, hint.set, capName);
|
|
119663
|
+
if (!on) {
|
|
119664
|
+
await set({
|
|
119665
|
+
deviceId,
|
|
119666
|
+
mode: hint.offValue
|
|
119667
|
+
});
|
|
119668
|
+
return;
|
|
119669
|
+
}
|
|
119670
|
+
const mode = await lastNonOffMode(host, capName, hint);
|
|
119671
|
+
if (mode === null) throw new PowerSwitchRefusedError("no-last-mode", `device ${deviceId}: ${capName} has no last non-off mode to restore; pick a mode instead`);
|
|
119672
|
+
await set({
|
|
119673
|
+
deviceId,
|
|
119674
|
+
mode
|
|
119675
|
+
});
|
|
119676
|
+
return;
|
|
119677
|
+
}
|
|
119678
|
+
}
|
|
119679
|
+
}
|
|
119680
|
+
function hintedMethods(hint) {
|
|
119681
|
+
return hint.kind === "methods" ? [hint.on, hint.off] : [hint.set];
|
|
119682
|
+
}
|
|
119683
|
+
/** Whether `owner` serves every method its cap's power hint names. A media
|
|
119684
|
+
* player whose `turnOn` / `turnOff` are not served has no power, so no switch. */
|
|
119685
|
+
function powerServedBy(hint, owner) {
|
|
119686
|
+
if (hint === void 0) return false;
|
|
119687
|
+
return hintedMethods(hint).every((name) => typeof Reflect.get(owner, name) === "function");
|
|
119688
|
+
}
|
|
119689
|
+
/** Builds the `switch` provider and starts the slice projection. Exported
|
|
119690
|
+
* for the specs; providers call `registerPowerSwitch`. */
|
|
119691
|
+
function buildPowerSwitch(host, cap, owner) {
|
|
119692
|
+
const hint = cap.power;
|
|
119693
|
+
if (hint === void 0) throw new Error(`capability '${cap.name}' has no power hint: it has no switch to project`);
|
|
119694
|
+
const read = () => powerOnFromSlice(hint, host.runtimeState.getCapState(cap.name));
|
|
119695
|
+
const project = () => {
|
|
119696
|
+
const on = read();
|
|
119697
|
+
const current = host.runtimeState.getCapState(switchCapability.name);
|
|
119698
|
+
if (current !== void 0 && current["on"] === on) return;
|
|
119699
|
+
const next = {
|
|
119700
|
+
on,
|
|
119701
|
+
lastChangedAt: Date.now()
|
|
119702
|
+
};
|
|
119703
|
+
host.runtimeState.setCapState(switchCapability.name, next);
|
|
119704
|
+
};
|
|
119705
|
+
const stop = host.runtimeState.subscribeCap(cap.name, project);
|
|
119706
|
+
if (host.runtimeState.getCapState(cap.name) !== void 0) project();
|
|
119707
|
+
return {
|
|
119708
|
+
provider: {
|
|
119709
|
+
getStatus: async () => {
|
|
119710
|
+
const current = host.runtimeState.getCapState(switchCapability.name);
|
|
119711
|
+
const lastChangedAt = typeof current?.["lastChangedAt"] === "number" ? current["lastChangedAt"] : 0;
|
|
119712
|
+
return {
|
|
119713
|
+
on: read(),
|
|
119714
|
+
lastChangedAt
|
|
119715
|
+
};
|
|
119716
|
+
},
|
|
119717
|
+
setState: async ({ on }) => applyPower(host, cap.name, hint, owner, on)
|
|
119718
|
+
},
|
|
119719
|
+
dispose: stop
|
|
119720
|
+
};
|
|
119721
|
+
}
|
|
119722
|
+
/**
|
|
119723
|
+
* Registers `switch` for a device whose `cap` carries a `power` hint, built
|
|
119724
|
+
* from `owner` (the provider the device registered for `cap`). Call it right
|
|
119725
|
+
* after `registerNativeCap(cap, owner)`.
|
|
119726
|
+
*/
|
|
119727
|
+
function registerPowerSwitch(device, cap, owner) {
|
|
119728
|
+
const deviceId = device.ctx.id;
|
|
119729
|
+
if (cap.power !== void 0 && !powerServedBy(cap.power, owner)) {
|
|
119730
|
+
device.ctx.logger.debug("power switch: owner serves no power control, no switch registered", {
|
|
119731
|
+
tags: { deviceId },
|
|
119732
|
+
meta: { capName: cap.name }
|
|
119733
|
+
});
|
|
119734
|
+
return () => {};
|
|
119735
|
+
}
|
|
119736
|
+
const host = {
|
|
119737
|
+
deviceId,
|
|
119738
|
+
runtimeState: device.runtimeState,
|
|
119739
|
+
registerNativeCap: (c, p) => device.ctx.registerNativeCap(c, p),
|
|
119740
|
+
readHubSlice: async (capName) => {
|
|
119741
|
+
try {
|
|
119742
|
+
return await device.ctx.api.deviceState.getCapSlice.query({
|
|
119743
|
+
deviceId,
|
|
119744
|
+
capName
|
|
119745
|
+
});
|
|
119746
|
+
} catch (err) {
|
|
119747
|
+
device.ctx.logger.warn("power switch: hub slice read failed", {
|
|
119748
|
+
tags: { deviceId },
|
|
119749
|
+
meta: {
|
|
119750
|
+
capName,
|
|
119751
|
+
error: err instanceof Error ? err.message : String(err)
|
|
119752
|
+
}
|
|
119753
|
+
});
|
|
119754
|
+
return null;
|
|
119755
|
+
}
|
|
119756
|
+
}
|
|
119757
|
+
};
|
|
119758
|
+
const built = buildPowerSwitch(host, cap, owner);
|
|
119759
|
+
host.registerNativeCap(switchCapability, built.provider);
|
|
119760
|
+
return built.dispose;
|
|
119761
|
+
}
|
|
119762
|
+
//#endregion
|
|
118479
119763
|
//#region src/device/system-mirror.ts
|
|
118480
119764
|
var STATE_CHANGED_CATEGORY = "device.state-changed";
|
|
118481
119765
|
var BINDING_CHANGED_CATEGORY = "capability.binding-changed";
|
|
@@ -120349,6 +121633,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
120349
121633
|
form: "single",
|
|
120350
121634
|
optional: false
|
|
120351
121635
|
}],
|
|
121636
|
+
"fanControl.setOscillationAxis": [{
|
|
121637
|
+
name: "deviceId",
|
|
121638
|
+
form: "single",
|
|
121639
|
+
optional: false
|
|
121640
|
+
}],
|
|
120352
121641
|
"fanControl.setPercentage": [{
|
|
120353
121642
|
name: "deviceId",
|
|
120354
121643
|
form: "single",
|
|
@@ -123204,6 +124493,12 @@ var CUSTOMIZE_CARDINALITIES = [
|
|
|
123204
124493
|
var CUSTOMIZE_EVENT_SHAPES = ["pulse", "span"];
|
|
123205
124494
|
/** Who applies a stored event or scalar assignment; the table branches on it. */
|
|
123206
124495
|
var CUSTOMIZE_APPLY_AUTHORITY_KINDS = ["composition-claim", "camera-sensors"];
|
|
124496
|
+
/**
|
|
124497
|
+
* A named group a cap may file its targets under in the Customize table
|
|
124498
|
+
* (D1034). Admin-ui keys a section title off this list; a target without one
|
|
124499
|
+
* lands in the section its cardinality implies.
|
|
124500
|
+
*/
|
|
124501
|
+
var CUSTOMIZE_TARGET_SECTIONS = ["oscillation-axes"];
|
|
123207
124502
|
//#endregion
|
|
123208
124503
|
//#region src/composition/customize/scalar-status.ts
|
|
123209
124504
|
function projectScalarAssignment(input) {
|
|
@@ -136247,4 +137542,4 @@ function brokerLinkPortsOver(deps) {
|
|
|
136247
137542
|
};
|
|
136248
137543
|
}
|
|
136249
137544
|
//#endregion
|
|
136250
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ACTION_RUN_MAX_MS, ACTION_RUN_TIMEOUT_MS, ACTION_RUN_TRANSPORT_MARGIN_MS, ACTION_TARGET_INVALIDATION_EVENTS, ACTIVE_CRITERIA, ACTUATOR_METHODS, ACTUATOR_TEMPLATE_IDS, ADMIN_SCOPE, AGENT_MDNS_QUERY_NAME, AGENT_MDNS_SERVICE_TYPE, AGENT_MDNS_TXT_KEYS, AGGREGATE_REDUCERS, AGGREGATE_THROUGHPUT_BY_KIND, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, ALL_METHOD_ACCESS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, APPLIANCE_EXPORT, APP_AUTH_CALLBACK_MAX_LENGTH, APP_AUTH_CALLBACK_URLS, APP_FLOW_DEFAULT_REDIRECT, APP_FLOW_REFUSAL_MESSAGES, APP_FLOW_STATE_PREFIX, APP_REFUSED_PATH, APP_START_REFUSAL_MESSAGES, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, ARITHMETIC_OPS, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_GRADIENT_ALPHAS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AUTOMATION_LEAF_CATALOG, AUTOMATION_LEAF_CATEGORIES, AUTOMATION_LEAF_KINDS, AUTO_SHARE_HEADROOM, AUTO_TUNE_FAMILY, AcceleratorComputeSchema, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, ActionEntrySchema, ActionError, ActionErrorCodeSchema, ActionInputSchema, ActionLinksSchema, ActionMinDelaySecSchema, ActionRunChangedSchema, ActionRunOriginSchema, ActionRunOutcomeSchema, ActionRunResultSchema, ActionSourceKindSchema, ActionStatusSchema, ActionStepSchema, ActionTargetResolver, ActionTargetSchema, ActionVariableSchema, ActionVariableTypeSchema, ActionVariableValueSchema, ActiveCriterionSchema, AddBrokerInputSchema, AddRetrainFrameFromRecordingResultSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonMigrationDefinitionError, AddonMigrationsBlockedError, AddonPageDeclarationSchema, AddonPageInfoSchema, AddonRoutesScopeSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AggregateReducerSchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertEpisodePayloadSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, AppFlowPurposeSchema, AppLoginPathSchema, AppPageLangSchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ApplianceRunDetailSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, ArithmeticHelperSpecSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, AutoTuneOptionsSchema, AutoTunePhaseResultSchema, AutoTunePlanSchema, AutoTuneWarningSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationCapStepSchema, AutomationConditionOperatorSchema, AutomationConditionTraceNodeSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationRunModeSchema, AutomationRunOutcomeSchema, AutomationRunTraceSchema, AutomationRunVerdictSchema, AutomationStateDocSchema, AutomationStepTraceSchema, AutomationTriggerTraceSchema, AutomationWaitStepSchema, AutomationWhenSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BENCH_ROOT_STEP_ID, BINARY_AGGREGATES, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_REMOTE_COMPONENTS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupArchiveEncryptionSchema, BackupDestinationInfoSchema, BackupEncryptionStatusSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatchTooLargeError, BatteryStatusSchema, BecomesOperatorSchema, BecomesWatch, BinaryStatusSchema, BirthDecisionCropSourceSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoardKeyFailureReasonSchema, BoundingBoxSchema, BrightnessStatusSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BucketAccumulator, BulkRecordSchema, CALENDAR_PERIODS, CALLER_STAMPED_CAPABILITIES, CALLER_USERNAME_HEADER, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAMSTACK_EVENT_PREFIX, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_COMMAND_ORIGIN_CONTEXT_KEY, CAP_CUSTOMIZE_CATALOG, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CAP_RUNTIME_FIELD_UNITS, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, CATALOG_LANGS, CIVIL_TWILIGHT_ALTITUDE_DEG, CLASS_MAP_MACRO_TARGETS, CLIP_BROKER_PACED_RATES, CLIP_LABEL_EVENT_FETCH_LIMIT, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, COMPOSITION_LINK_KINDS, COMPOSITION_TARGET_CAP_NAMES, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CONTAINER_PRIMARY_CHILD_RULES, CORAL_DEFAULT_MODEL_ID, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CORE_ULTRA_265K_IGPU_CLOCK_MHZ, CORE_ULTRA_265K_IGPU_EU, CREDENTIAL_TOKEN_AUDIENCE, CREDENTIAL_TOKEN_KIND, CROP_CLASS_FLOORS, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CUSTOMIZE_APPLY_AUTHORITY_KINDS, CUSTOMIZE_CARDINALITIES, CUSTOMIZE_EVENT_SHAPES, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CalendarWindowSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionSourceSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CamstackError, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CapacityFallbackSchema, CapacitySourceSchema, CarbonMonoxideStatusSchema, CatalogFileSchema, CatalogLangSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, CleanupDeletedDevicesResultSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, ClusterUpdateBlockerSchema, ClusterUpdateFailureReasonSchema, ClusterUpdateJobSchema, ClusterUpdateJobStateSchema, ClusterUpdateOptionsSchema, ClusterUpdatePlanSchema, ClusterUpdateStepKindSchema, ClusterUpdateStepSchema, ClusterUpdateStepStatusSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, CommandOriginClaimSchema, CompleteEnrollmentInputSchema, CompleteEnrollmentOutputSchema, CompleteEnrollmentResultSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionAggregateSourceSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionExtensionCommandSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardArgSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSeriesSourceSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConditionMirror, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableFormSchema, ConsumableItemSchema, ConsumableKindSchema, ConsumableLevelSchema, ConsumableRemainingKindSchema, ConsumableRemainingSchema, ConsumableStatusSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateUserInputSchema, CredentialScopeSchema, CredentialTokenClaimsSchema, CurrentAutomationRecipeSchema, CustomActionInputSchema, CustomModelDescriptorSchema, CustomizeAssignmentStatusSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DATA_STORE_DATABASES, DAYS_PER_WEEK, DAY_MS, DAY_NAMES, DEBUG_CHANNEL_PREFIX, DEBUG_WATCH_HARD_CAP_MS, DEBUG_WATCH_REARM_EVERY_MS, DEBUG_WATCH_WINDOW_MS, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_FPS, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CATALOG_LANG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_DISPLAY_PREFERENCE, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_HISTORY_RETENTION, DEFAULT_HOLD_OVERRIDE, DEFAULT_MAX_HOLD_ATTEMPTS, DEFAULT_MAX_LATE_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_MIN_SESSIONS_PER_DEVICE, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_LOST_DEBOUNCE_MS, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_SHARE_SOURCE, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DEFAULT_TRACE_KEEP, DEFAULT_VIEWER_SCOPE, DEFINITIVE_DEVICE_REFUSALS, DERIVATIVE_UNITS, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_LABEL_SOURCES, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_ALIAS_MAX_LENGTH, DEVICE_ALIAS_PATTERN, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_CERT_SIGNATURE, DEVICE_CERT_VALIDITY_DAYS, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_DO_ACTIONS, DEVICE_ENROLLMENT_TTL_MS, DEVICE_FEATURE_REQUIREMENTS, DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_ORPHAN_DELETE_MAX, DEVICE_HISTORY_ORPHAN_LIST_MAX, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, DEVICE_ID_FIELD, DEVICE_NONCE_TTL_MS, DEVICE_PROFILES, DEVICE_RAMP, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_RUNS_MAX_PAGE, DEVICE_SAN_CREDENTIAL_PREFIX, DEVICE_SAN_USER_PREFIX, DEVICE_SCOPED_CAPS, DEVICE_SEARCH_DEFAULT_LIMIT, DEVICE_SEARCH_MAX_LIMIT, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_SIGNATURE_MESSAGE_VERSION, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TEMPLATE_BUDGET_MS, DEVICE_TEMPLATE_FILTERS, DEVICE_TEMPLATE_MAX_LENGTH, DEVICE_TEMPLATE_MAX_OUTPUT, DEVICE_TEMPLATE_NOW_ALIAS, DEVICE_TEMPLATE_REFUSAL_REASONS, DEVICE_TEMPLATE_THIS_ALIAS, DEVICE_TEMPLATE_TRACE_REASONS, DEVICE_TEMPLATE_UNAVAILABLE, DEVICE_TEMPLATE_VALUES_CAP, DEVICE_TOMBSTONE_RETENTION_MS, DEVICE_TRANSITIONS_MAX_PAGE, DEVICE_TRANSITIONS_RECORD_BATCH_MAX, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_PREFERENCES, DISPLAY_PRESETS, DOORBELL_RISE_DEBOUNCE_MS, DRAFT_KINDS, DataStoreDatabaseSchema, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotRequestSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DatabaseSnapshotWrittenSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DebugInterest, DebugWatchTable, DeclarationRefusedError, DeclareCollectionInputSchema, DeclareKindResultSchema, DeclaredDevices, DecodedAudioChunkSchema, DeleteIntegrationResultSchema, DeliveryParamSchema, DeliveryParamValueSchema, DerivativeHelperSpecSchema, DesktopAppStatusSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectionSubjectSchema, DetectionTriggerFilter, DeviceAdminLinkSchema, DeviceAliasSchema, DeviceCaStatusSchema, DeviceCertificateLoginMethodSchema, DeviceCertificateSettingsSchema, DeviceChallengeResultSchema, DeviceChallengeSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceCredentialSchema, DeviceCredentialStatusSchema, DeviceDataEntrySchema, DeviceEnrollProofSchema, ExposeInputSchema as DeviceExportExposeInputSchema, InstancePinSchema as DeviceExportInstancePinSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceHistoryKindSchema, DeviceHistoryOrphanDeleteRefusalSchema, DeviceHistoryOrphanReasonSchema, DeviceHistoryProducerKindSchema, DeviceHistoryRefusalReasonSchema, DeviceHistoryResolutionSchema, DeviceHistoryStatusSchema, DeviceHistorySubjectSchema, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DevicePlatformSchema, DeviceProofInputSchema, DeviceRecommendationSchema, DeviceRefusalReasonSchema, DeviceRefusalSchema, DeviceRemovedInputSchema, DeviceRemovedResultSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRunDetailSchema, DeviceRunEnergyMethodSchema, DeviceRunKindSchema, DeviceRunOutcomeSchema, DeviceRunPhaseSchema, DeviceRunSchema, DeviceRunSourceSchema, DeviceRunStateSchema, DeviceRuntimeState, DeviceSearchFacetIntegrationSchema, DeviceSearchFacetValueSchema, DeviceSearchFacetsSchema, DeviceSearchFiltersSchema, DeviceSearchInputSchema, DeviceSearchItemSchema, DeviceSearchRequiresSchema, DeviceSearchResultSchema, DeviceSelectorSchema, DeviceSignaturePurposeSchema, DeviceStatusSchema, DeviceTemplateRefusalSchema, DeviceTemplateRenderSchema, DeviceTemplateSchema, DeviceTemplateThisDeviceSchema, DeviceTemplateTraceEntrySchema, DeviceTemplateValueSchema, DeviceTombstoneSchema, DeviceTransitionSchema, DeviceType, DeviceValueOptionSchema, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiscoveryHitSchema, DiscoveryModeSchema, DiscoveryObservationSchema, DiscoveryProposalBodySchema, DiscoveryProposalSchema, DishwasherAccessSchema, DishwasherAvailabilitySchema, DishwasherOperationStateSchema, DishwasherOptionDescriptorSchema, DishwasherOptionsSchema, DishwasherProgramSchema, DishwasherStateSchema, DishwasherStatusSchema, DishwasherValueSchema, DiskReconcileJobSchema, DisposerChain, DoNotDisturbStatusSchema, DoorbellPressEventSchema, DoorbellStatusSchema, DraftKindSchema, DraftSiteDeviceSchema, DraftSiteSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EMPTY_AUTOMATION_STATE, EMPTY_REMOTE_ASSUMED_STATE, EMPTY_REMOTE_CONFIG, ESTIMATE_COMPUTE_RATIO_MAX, ESTIMATE_COMPUTE_RATIO_MIN, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPORT_INSTANCE_UNKNOWN, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXPRESSION_OUTPUTS, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveDeviceShareSchema, EffectiveNodeShareSchema, EffectiveSharesSchema, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EnrichedWidgetMetadataSchema, EnrollSelfInputSchema, EntryDescriptorSchema, EntryKindInfoSchema, EntryViewSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, ErrorCodeSchema, ErrorI18nPayloadSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportEntityKindSchema, ExportEntityRefSchema, ExportFootageSubjectSchema, ExportInstanceSchema, ExportInstanceUnknownError, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposeEntityInputSchema, ExposedDeviceSchema, ExposedEntitySchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionHelperSpecSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, FACE_RESCORE_INTERVAL_FIELD, FACE_RESCORE_INTERVAL_KEY, FACE_RESCORE_INTERVAL_MIN_RUNNING, FACE_RESCORE_SECTION_ID, FAN_CAPTURE_FIELDS, FAN_CAPTURE_GROUPS, FAN_OUT_CONCURRENCY, FAN_PRESETS_MAX, FAN_PRESETS_REFUSALS, FAN_PRESET_STEPS_MAX, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FEW_SHOT_COUNT, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FORBIDDEN_MESSAGE_PREFIX, FORWARD_INPUT_KEY, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanCaptureFieldSchema, FanCaptureGroupSchema, FanCaptureItemSchema, FanCaptureOmissionSchema, FanControlStatusSchema, FanDirectionSchema, FanPresetApplyResultSchema, FanPresetCaptureResultSchema, FanPresetSchema, FanPresetStepResultSchema, FanPresetsRefusalSchema, FanPresetsSetResultSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FilterRequiredError, FloodStatusSchema, Fmp4BoxSplitter, ForeignSecretMarkerError, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GRAMMAR_MAX_LINES, GROUP_TEMPLATES, GROUP_TEMPLATE_IDS, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, GroupActiveSchema, GroupCommandResultSchema, GroupCommandsSchema, GroupHelperSpecSchema, GroupStatusSchema, GroupTemplateIdSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HEAT_PUMP_CIRCUIT_KINDS, HERO_ANIMATIONS, HERO_BACKGROUNDS, HERO_CAP_CONTRIBUTIONS, HERO_CAP_COVERAGE, HERO_LAYOUT_BY_TYPE, HERO_LAYOUT_DEFAULT, HERO_LOOK_BY_ROLE, HERO_LOOK_BY_TYPE, HERO_LOOK_DEFAULT, HERO_ROW_IDS, HERO_ROW_LABELS, HERO_ROW_MODELS_MAX, HERO_SCENES, HERO_SCENE_BY_ROLE, HERO_SCENE_BY_TYPE, HERO_SCENE_MODES, HERO_STATES, HERO_TONES, HF_BASE_URL, HF_REPO, HISTORY_BUCKET_MS, HISTORY_CATALOG, HISTORY_DEFAULT_MIN_INTERVAL_MS, HISTORY_FAST_MS, HISTORY_ITEM_CATALOG, HISTORY_NONE_CAPS, HISTORY_SLOW_MS, HISTORY_TIERS, HISTORY_UNIT_LABELS, HOURS_PER_DAY, HOUR_MS, HUB_ADDRESS_ROLES, HUB_ID_PATTERN, HUB_MDNS_QUERY_NAME, HUB_MDNS_ROLE, HUB_MDNS_SERVICE_TYPE, HUB_MDNS_TXT_KEYS, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HeatPumpCircuitKindSchema, HeatPumpCircuitSchema, HeatPumpEnergySchema, HeatPumpOptionSettingSchema, HeatPumpPowerSchema, HeatPumpRangeSettingSchema, HeatPumpStatusSchema, HeatPumpSystemSchema, HeatPumpTemperaturesSchema, HeatingValveStatusSchema, HelperMemberSchema, HelperSpecSchema, HeroLayoutRowsSchema, HeroRowModelSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HoldCore, HoldOverrideSchema, HoldSpecSchema, HoldTargetStatusSchema, HoldTraceSchema, HoldTracker, HttpsLeafInfoSchema, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ICON_CATALOG_SOURCE, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IDLE_ACTION_STATUS, INFERENCE_DEVICE_EXCLUSION_REASONS, INITIAL_PULSE, INITIAL_SPAN, INTEGRAL_OUTPUTS, INTERNAL_ACTION_PREFIX, INVERTIBLE_CAPS, IR_TIMINGS_MAX, IconKeySchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, ImportModelBundleInputSchema, ImportModelBundleResultSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstallDesktopUpdateReasonSchema, InstallDesktopUpdateResultSchema, InstalledPackageSchema, InstanceInUseError, IntegralHelperSpecSchema, IntegrationInstanceDescriptionSchema, IntegrationInstanceDiscoverySchema, IntegrationInstanceIdSchema, IntegrationInstanceKindSchema, IntegrationInstanceLinkSchema, IntegrationInstanceModeSchema, IntegrationInstancePatchSchema, IntegrationInstanceRoleSchema, IntegrationInstanceSchema, IntegrationInstanceStatusSchema, IntegrationLiteSchema, IntegrationSessionReporter, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, InvalidRecordError, IrCodecError, IrMediumSchema, IrPayloadSchema, IrSendResultSchema, IrTimingsSchema, IrTransmitterInfoSchema, KEYCHAIN_MAX_REFS_PER_CALL, KEYCHAIN_RESET_CONFIRMATION, KEYCHAIN_RESET_TRIGGER_ACTOR, KNOWN_CAP_NAMES, KWH_PER_WATT_MS, KeptReasonSchema, KeyEventSchema, KeychainAdminSecretSchema, KeychainAuditActionSchema, KeychainAuditEntrySchema, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KeychainResetRecordSchema, KeychainResolveEntrySchema, KeychainResolveResultSchema, KeychainSecretMetaSchema, KeychainSecretUsageSchema, KeychainStateSchema, KeychainStatusSchema, KeychainUnavailableReasonSchema, KeychainWriteRefusedError, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LATER_PHASE, LAYOUT_EDIT_REFUSALS, LEGACY_READ_ONLY_CONFIG_KEY, LIGHT_SHARED_CAPS, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LLM_PROFILE_KIND_PATTERN, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCAL_DATE_PATTERN, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LatencySourceSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyAutomationRecipeSchema, LegacyConditionSchema, LegacyTriggerSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListNodeBenchmarkResultsInputSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LiveViewerCountSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmListModelsErrorCodeSchema, LlmListModelsInputSchema, LlmListModelsResultSchema, LlmModelFeaturesSchema, LlmModelInfoSchema, LlmNodeModelSchema, LlmProfileFieldSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmProviderConfigSchema, LlmProviderWidgetSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogReadCapabilitiesSchema, LogReadEntrySchema, LogReadQuerySchema, LogReadResultSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPONENT_BUTTONS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_HELPER_MEMBERS, MAX_HOLD_ATTEMPTS_LIMIT, MAX_KEYS, MAX_LAYOUT_GROUPS, MAX_LAYOUT_SPAN, MAX_REASONS_PER_KEY, MAX_REMOTE_BINDINGS, MAX_REMOTE_CHANNEL_DIGITS, MAX_REMOTE_CUSTOM_BUTTONS, MAX_REMOTE_SOURCES, MAX_REMOTE_SOURCE_STEPS, MAX_REQUEUED_BUCKETS_PER_SERIES, MAX_SENSOR_TRIGGER_DEVICES, MAX_STEP_DEVICE_OUTCOMES, MAX_TRACE_ARGS, MAX_TRACE_ARG_LENGTH, MAX_TRACE_KEEP, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MAX_WHEN_DEPTH, MAX_WHEN_LEAVES, MEDIA_OWNER_TYPES, MEDIA_PLAYER_MAX_STEPS, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MIGRATION_API_V1_METHODS, MIGRATION_API_VERSION, MIGRATION_ID_PATTERN, MINUTES_PER_DAY, MINUTE_MS, MIN_CUSTOM_MINUTES, MIN_RUN_MS, MIN_SCRUBBED_LENGTH, MIN_SESSIONS_PER_DEVICE_RANGE, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_CROP_DISPATCH_KEY, MOTION_CROP_MAX_REGIONS, MOTION_CROP_MOTION_PAD, MOTION_CROP_TRACKED_PAD, MOTION_SOURCE_LABELS, MOTION_SPAN_TIMEOUT_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaLocationCensusInputSchema, MediaLocationCensusRowSchema, MediaLocationCensusSchema, MediaPlayerAssumedFieldSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStateSourceSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshLeafInfoSchema, MeshPeerSchema, MeshStatusSchema, MeterStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, MigrationApiInfoSchema, MigrationBodyKindSchema, MigrationCatalogueSchema, MigrationCycleError, MigrationDryRunResultSchema, MigrationEditSchema, MigrationIdSchema, MigrationLedgerEntrySchema, MigrationLevelSchema, MigrationMetaSchema, MigrationOnFailureSchema, MigrationOwnerResultSchema, MigrationOwnerStepSchema, MigrationPendingEntrySchema, MigrationPlanSchema, MigrationProcedureResultSchema, MigrationScopeSchema, MigrationStatusSchema, MigrationStoreSchema, MinVersionSchema, ModelBundleFileSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema as MqttBrokerInfoSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, N100_IGPU_CLOCK_MHZ, N100_IGPU_EU, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, 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_LEGACY_SYSTEM_EVENT_KINDS, NC_MAX_PER_TRACK_IMMEDIATE, NC_MEDIA_IMAGE_MODES, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_MEANINGS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_STATE_SUMMARY_SECTION_IDS, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CLASS_SPECS, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_TITLE_MAX_CHARS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NEXT_OCCURRENCE_HORIZON_DAYS, NODE_BENCHMARK_DEFAULTS, NODE_COLOR_IDS, NOTIFICATION_FIELDS, NOTIFICATION_OUTPUT_CAP, NOT_A_HERO_FACT, NO_MEASURED_CAPACITY, NUMERIC_AGGREGATES, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionIdSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookActionIdsSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaImageSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventDeliveryToggleSchema, NcSystemEventKindSchema, NcTargetAttachmentSchema, NcTargetOverrideSchema, NcTargetOverridesSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateDefaultSchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NetworkTunnelStartedDataSchema, NoCallerError, NodeBenchCellSchema, NodeBenchClipSchema, NodeBenchDeviceCellSchema, NodeBenchFingerprintSchema, NodeBenchLimitSchema, NodeBenchPipelineCellSchema, NodeBenchProgressSchema, NodeBenchRampStepSchema, NodeBenchRunnerInputSchema, NodeBenchRunnerStateSchema, NodeBenchRunnerStatusSchema, NodeBenchmarkCandidatesSchema, NodeBenchmarkDevicePlanSchema, NodeBenchmarkEndReasonSchema, NodeBenchmarkManifestSchema, NodeBenchmarkMovingCameraSchema, NodeBenchmarkPhaseSchema, NodeBenchmarkPlanSchema, NodeBenchmarkPreflightSchema, NodeBenchmarkRefusalKindSchema, NodeBenchmarkRefusalSchema, NodeBenchmarkResultSchema, NodeBenchmarkResultViewSchema, NodeBenchmarkRunSchema, NodeBenchmarkStateSchema, NodeBenchmarkStatusSchema, NodeBenchmarkStayingCameraSchema, NodeColorIdSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeHttpsStateSchema, NodeRecommendationSchema, NodeRemovedInputSchema, NodeRemovedResultSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFieldSchema, NotificationFormatSchema, NotificationSchema, NotificationTargetStore, NotifierStatusSchema, NumericSensorStatusSchema, OAUTH_LANDING_PATH, OAUTH_LANDING_REASONS, OBJECT_DETECTION_STEP_ID, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, ORPHAN_SWEEP_MIN_INTERVAL_MS, OSD_TEMPLATE_TEXT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OldTargetBodySchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OrphanDeviceDataSchema, OrphanIntegrationSweep, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceSchema, OsdStatusSchema, OsdTemplatePreviewSchema, OverrideDraftSchema, PALETTE_BACKGROUNDS, PALETTE_ENTRY_IDS, PALETTE_MIN_CONTRAST, PALETTE_MIN_DELTA_E, PALETTE_MIN_DELTA_E_MARK, PALETTE_PRESET_IDS, PAUSE_MAX_MS, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PET_FOUNTAIN_WATER_KEY, PHOENIX_780M_CU, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PIPELINE_RAMP, PLUG_APPLIANCE_TYPES, PLUS_CATALOG_CLASS_FLOORS, PLUS_CATALOG_STOCK_CLASS_FLOORS, PLUS_CATALOG_TO_MACRO, PLUS_CATALOG_UNMAPPED_LABELS, POWER_SOURCE_OFF_SECONDS_DEFAULT, POWER_SOURCE_OFF_SECONDS_MAX, POWER_SOURCE_OFF_SECONDS_MIN, PREFERENCES_MAX_DEVICE_ID_LENGTH, PREFERENCES_MAX_NAMESPACES, PREFERENCES_MAX_VALUE_BYTES, PREFERENCES_NAMESPACE_PATTERN, PREFERENCES_SELF_SCOPE, PRIVACY_MASK_CAP_NAME, PROPOSAL_MIN_SPAN_MS, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PULSE_MAX_MS, PYTHON_SCRIPT, PackageInstallationSchema, PackageInstallationsSchema, PackageLlmVerdictSchema, PackageRequiresSchema, PackageUpdateSchema, PackageVersionInfoSchema, PaletteRejectedError, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PetFountainStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PlaintextSecretError, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PowerSourceActionResultSchema, PowerSourceInfoSchema, PowerSourceRefusalReasonSchema, PowerSourceStateSchema, PrecisionGopsSchema, PreferenceDeviceIdSchema, PreferenceNamespaceSchema, PreferenceRowSchema, PreferenceValueSchema, PreferencesChangedSinceInputSchema, PreferencesChangedSinceOutputSchema, PreferencesDeleteInputSchema, PreferencesDeleteOutputSchema, PreferencesGetInputSchema, PreferencesGetOutputSchema, PreferencesPutInputSchema, PreferencesPutOutputSchema, PreferencesSelfScopeSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderJobStateSchema, ProviderJobStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, PumpCycleStatusSchema, QUANTITY_BASE, QuantityUnitError, QuantityValueSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, RECORDS_ERROR_CODES, RECORD_BATCH_MAX, RECORD_BATCH_MAX_BYTES, RECORD_CLASSES, RECORD_DATABASES, RECORD_DEFAULT_MAX_DATA_BYTES, RECORD_DELETE_BATCH, RECORD_ID_MAX_LENGTH, RECORD_MAX_DATA_BYTES, RECORD_MAX_INDEXES, RECORD_MAX_INDEX_FIELDS, RECORD_QUERY_MAX, RECORD_SECRET_COLLECTION_PREFIX, RECORD_SETTINGS_MAX_ROWS, RECORD_SWEEP_INTERVAL_MS, RECOVERY_CROP_MAX_SIDE_PX, RECOVERY_CROP_MIN_SIDE_PX, RECOVERY_CROP_PADDING_RATIO, RECOVERY_EDGE_MARGIN_PX, RECOVERY_FUSE_CONTAINMENT, RECOVERY_FUSE_IOU, RECOVERY_MAX_CROPS_PER_FRAME, RECOVERY_MAX_REGION_FRAME_FRACTION, RECOVERY_MIN_INTERVAL_MS, RECOVERY_MIN_UNCOVERED_FRACTION, RECOVERY_MOTION_MAX_AGE_MS, RECOVERY_VIEW_PX, REDACTED_ARG, REDACTED_SECRET, REFERENCE_COMPUTE, REFERENCE_MATCH_FRACTION, REMOTE_BUTTON_SHAPES, REMOTE_BUTTON_TONES, REMOTE_COMPONENT_CATEGORIES, REMOTE_CONFIG_REFUSALS, REMOTE_CUSTOM_ROLE_ICON, REMOTE_CUSTOM_ROLE_PREFIX, REMOTE_GROUP_FRAMES, REMOTE_KNOWN_ROLES, REMOTE_MAX_REPEAT, REMOTE_MEDIA_COMMANDS, REMOTE_OPEN_ACTION_ID, REMOTE_REFUSAL_REASONS, REMOTE_ROLE_VOCABULARY, REMOTE_SOURCE_KINDS, REMOTE_STEP_DELAY_DEFAULT_MS, REMOTE_STEP_DELAY_MAX_MS, REMOTE_STEP_DELAY_MIN_MS, REMOTE_WIDGET_ROLES, REMOVAL_RECONCILE_INTERVAL_MS, REMOVED_MODEL_IDS, REMOVE_LEAF, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESET_PERIODS, RESTORED_CAP_NAMES, RESTREAM_INPUT_PROBE, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, REVALIDATE_AFTER_MS, ROLLING_SPANS, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNNING_POWER_DEFAULTS_BY_TYPE, RUNNING_POWER_GLOBAL_DEFAULTS, RUNNING_POWER_MIN_SAMPLES, RUNNING_POWER_START_DELAY_MS, RUNNING_POWER_STOP_DELAY_MS, RUNNING_POWER_THRESHOLD_WATTS, RUNNING_STATE_COLD, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, ReadingQuantitySchema, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordBodySchema, RecordFieldPathSchema, RecordIdSchema, RecordIndexSchema, RecordInputSchema, RecordIntegrationInstances, RecordKindDeclarationSchema, RecordKindNameSchema, RecordNotFoundError, RecordQueryInputSchema, RecordQueryResultSchema, RecordRetentionSchema, RecordSecretRefsSchema, RecordSecretUnavailableError, RecordTooLargeError, RecordTransactOpSchema, RecordTriggerSchema, RecordUniqueViolationError, RecordViewSchema, RecordWhereSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RecordsError, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RemoteAssumedStateSchema, RemoteBindingActionSchema, RemoteBindingSchema, RemoteBoundCommandSchema, RemoteButtonShapeSchema, RemoteButtonToneSchema, RemoteCommandListSchema, RemoteComponentButtonSchema, RemoteComponentCategorySchema, RemoteConfigSchema, RemoteCustomButtonSchema, RemoteDigitsSourceSchema, RemoteGroupFrameSchema, RemoteIrSourceSchema, RemoteLayoutButtonSchema, RemoteLayoutComponentSchema, RemoteLayoutGroupSchema, RemoteLayoutPayloadSchema, RemoteMediaCommandResultSchema, RemoteMediaCommandSchema, RemoteRefusalReasonSchema, RemoteRefusedSourceSchema, RemoteRoleSchema, RemoteSendResultSchema, RemoteSequenceSourceSchema, RemoteSetConfigResultSchema, RemoteSourceKindSchema, RemoteSourceSchema, RenderedAsSchema, RenewDeviceCertificateOutputSchema, RenewDeviceCertificateResultSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RequiredAddonUpdateSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainArchiveResultSchema, RetrainArchiveTargetSchema, RetrainAssistProfileSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainBoxReviewSchema, RetrainCollectionCreateResultSchema, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, RetrainCopyRefusalSchema, RetrainCorpusFilterSchema, RetrainCorpusKpiCameraRowSchema, RetrainCorpusKpiSchema, RetrainCorpusPageFrameSchema, RetrainCorpusPageSchema, RetrainDatasetSelectionSchema, RetrainDatasetStatsSchema, RetrainDatasetVersionSchema, RetrainDismissedSchema, RetrainExportFilterSchema, RetrainExportLayoutSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameOriginSchema, RetrainFrameReviewSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainFrameWorkStateSchema, RetrainLlmAssistResultSchema, RetrainLlmProposalSchema, RetrainLlmReviewSchema, RetrainMacroClassSchema, RetrainOriginSchema, RetrainPipelineBoxSchema, RetrainReviewStatusSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTrainingCorpusResolveResultSchema, RetrainTrainingCorpusSelectionSchema, RetrainTransitionResultSchema, RetrainVerdictSchema, RetrainVerdictSubjectSchema, RetrainVerdictValueSchema, RevConflictError, RevokeOwnDeviceCertificateResultSchema, RingBuffer, RollingWindowSchema, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RuleFireOriginSchema, RunGate, RunnerBootCheckSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, RunnerRefusalSchema, RunningProposalConfidenceSchema, RunningProposalEvidenceSchema, RunningProposalInsufficientEvidenceSchema, RunningProposalInsufficientReasonSchema, RunningProposalReplaySchema, RunningProposalTierSchema, RunningStateSourceSchema, RunningStateStatusSchema, RunningThresholdProposalSchema, SAMSUNG_CARRIER_HZ, SAMSUNG_MAX_BITS, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPED_SETTINGS_SCOPES, SCOPE_PRESETS, SECRET_CLEAR, SECRET_META, SECRET_REF_SCHEME, SENSOR_FEATURES, SENSOR_MAP, SERIAL_CAPACITY_CAMERA_FPS, SERIES_KINDS, SERVER_NAME_MAX_LENGTH, SERVER_NAME_SETTING_KEY, SESSION_LOST_ALERT_CATEGORY, SESSION_PLACEMENT_SETTING_KEY, SHARE_AFFINITY_TOLERANCE_SESSIONS, SHARE_SOURCE_SETTING_KEY, SHARE_VIEW_KINDS, SHARE_VIEW_MAX_DEVICES, SINGLE_HUB_ADDRESS_ROLES, SLICE_MAX_LINES, SMTP_INBOUND_DEFAULT_DOMAIN, SMTP_INBOUND_DEFAULT_ID, SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES, SMTP_INBOUND_DEFAULT_PORT, SMTP_INBOUND_KIND, SMTP_INBOUND_RING_MAX_AGE_MS, SMTP_INBOUND_RING_MAX_MESSAGES, SMTP_INBOUND_TEXT_MAX_CHARS, SMTP_RECIPIENT_CLAIMED, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, SSO_STATE_COOKIE, SSO_STATE_COOKIE_MAX_AGE_SEC, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STATISTIC_STATS, STEP_DEVICE_CONCURRENCY, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUBJECT_PATH_DWELL_EPS, SUBJECT_PATH_FULL_FRAME_COVERAGE, SUBJECT_PATH_MAX_POINTS, SUB_DETECTION_TYPES, SUNRISE_ALTITUDE_DEG, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, SchedulerConflictSchema, SchedulerError, SchedulerErrorCodeSchema, SchedulerInputSchema, SchedulerOutcomeSchema, SchedulerPointModeSchema, SchedulerPointSchema, SchedulerPreviewPointSchema, SchedulerPreviewSchema, SchedulerProfileSchema, SchedulerSchema, SchedulerStateTreeSchema, SchedulerStatusSchema, SchedulerTimeSpecSchema, ScopedTokenSchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerNameInfoSchema, ServerNameSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionHealthTracker, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetShareSourceInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShareSourceSchema, ShareViewGrantSchema, ShareViewScopeSchema, ShareWeightsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpInboundAttachmentSchema, SmtpInboundConfigSchema, SmtpInboundFilterSchema, SmtpInboundMessageSchema, SmtpInboundSettingsSchema, SmtpInboundSinceSchema, SmtpRecipientSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDataReportSchema, StaleDevicePinSchema, StaleKindFindingSchema, StaleSettingsKeyFindingSchema, StartClusterUpdateResultSchema, StartEmbeddedInputSchema, StartEnrollmentOutputSchema, StationaryObjectSchema, StationarySubjectSchema, StatisticHelperSpecSchema, StatisticWindowSchema, StepDeviceTraceSchema, StepTemplateError, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageKindSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, StorageTableSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StoredRecordKindDeclarationSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SunEventSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemHeldSecretNameSchema, SystemMetricsSchema, SystemMirror, TARGET_OWNER_KEY, TEMPLATE_KINDS, TEMPLATE_PAYLOAD_SCHEMAS, TEMPLATE_WRITE_REFUSALS, THRESHOLD_GRID_W, TIMED_RUN_DEVICE_TYPES, TIMED_RUN_LIMITS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, TRAINING_JOB_SCHEMA, TRAINING_RESULT_SCHEMA, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetKindTextCapsSchema, TargetSchema, TemperatureSensorStatusSchema, TemplateDeleteResultSchema, TemplateKindSchema, TemplateRecordSchema, TemplateUserSchema, TemplateWriteResultSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, ThresholdHelperSpecSchema, TimeSpecSchema, TimedRunActuatorSchema, TimedRunOptionsSchema, TimedRunQuickRunSchema, TimedRunRefusalSchema, TimedRunResultSchema, TimedRunSettingsPatchSchema, TimedRunStatusSchema, TimedRunUnitSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TraceNodeOutcomeSchema, TraceValueSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackPlacementSchema, TrackProjectionSchema, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainerSourceRefSchema, TrainingAcceleratorRefSchema, TrainingBaseModelSchema, TrainingCanarySchema, TrainingCanaryTargetSchema, TrainingCatalogDraftSchema, TrainingCorpusSelectionSchema, TrainingEvalClassSchema, TrainingEvalReportSchema, TrainingEventSchema, TrainingExportDeviceTotalsSchema, TrainingExportSchema, TrainingExportSummarySchema, TrainingFailureReasonSchema, TrainingGpuOptionSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobSpecSchema, TrainingJobStateSchema, TrainingLogLineSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingProviderEntrySchema, TrainingProviderTypeSchema, TrainingRefusalReasonSchema, TrainingRegionOptionSchema, TrainingResultFileSchema, TrainingResultSchema, TrainingSplitPlanSchema, TrainingStageSchema, TransactRefusedError, TransitionActorKindSchema, TransitionActorSchema, TransitionCommandSchema, TransitionOutcomeSchema, TransitionRecordResultSchema, TransitionRefusalReasonSchema, TransitionValueSchema, TransitionsStatusSchema, TransmitSettingKeySchema, TransmitSettingsSchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, UNLOCK_CONFIRMATION, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UnexposeEntityInputSchema, UnindexedFilterError, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, UnitConversionError, UnitWarningSchema, UnknownInstanceError, UnknownInstanceKindError, UnknownRecordKindError, UnmetRequirementSchema, UnreleasedClaimSchema, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateBlockerSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserScopeSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VENDOR_LOGIN_PROXY_PREFIX, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VIEWER_FEATURES, VIEWER_FEATURE_IDS, VISIT_MERGE_GAP_MS, VOCAB_TEMPLATES, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VendorLoginProxy, VibrationStatusSchema, VideoEncodeSchema, ViewerDeviceAllowSchema, ViewerFeatureIdSchema, ViewerTokenScopeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WHEN_UNROLL_DEPTH, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WeekdayKeySchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetDebugInterestForTests, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryChildrenComplete, accessoryChildrenUnknown, accessoryStableId, actionEffect, actionSourceCapability, actionWaitTotalMs, actionsCapability, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, activeForReducer, actuatorMethodRow, actuatorSwitchDrivesRunning, actuatorSwitchRead, addonCatalogHref, addonIdOfActionId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advertisedHubOrigins, aggregateThroughputFactor, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertEpisodeId, alertEpisodeKind, alertEpisodePayload, alertNodeId, alertsCapability, allDoActions, allHeroLooks, allVocabActions, allowedSuppliedEffect, ambientLightSensorCapability, annotateClipsWithEventLabels, anySubjectMatches, appFlowLocation, appendTrace, applianceExport, applyBlockingEdit, applyCropClassFloors, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applyPrimaryChildPreference, applyPrimaryChildRule, applySecureOnArmEdit, arithmeticDraft, armRemovalReconcile, arrayItemFieldPath, asBoolean, asJsonArray, asJsonObject, asNumber, asRecordsError, asString, assertInstanceUnused, assertOwnExportInstance, assertTimelapseCadences, assertTransactScope, assertValidDeclaration, assignNodeColorId, attachmentKindsOf, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, auditedFields, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, baseUnitForQuantity, baseUnitOf, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, boardKeySourceCapability, brightnessCapability, brokerCapability, brokerLinkPortsOver, bucketStartOf, buildActionSteps, buildAddonRouteProvider, buildAudioArgs, buildBenchStepTree, buildCapabilityLookup, buildDeviceAdminUrl, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, buildDraftJsonSchema, buildDraftPrompt, buildEventKindDescriptor, buildFfmpegArgs, buildHeroModel, buildInputArgs, buildLinkedInstances, buildModelVariantGroups, buildNcTaxonomy, buildNotificationTargetInstances, buildPlusCatalogClassMap, buildRepairPrompt, buildRoleScopes, buildSecretRef, buildSessionLostAlert, buildStepArgsTrace, buildStreamParamsConfigSchema, buildSubjectPath, buildTriggerTrace, buildUserScopedNotificationTargetInstances, buildVideoArgs, buildViewerLink, buildVocabularySlice, builtCapabilityBlockers, builtinRemoteComponent, bundledCamstack, buttonCapability, calendarEventLocalSpan, calendarEventOnLocalDay, calendarRecordId, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraScopedStepSettings, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, canonicalIconKey, canonicalJson, canonicalizeAppCallback, capUnitResolver, capabilityScopesOf, capacityForModel, capacitySessionsOf, carbonMonoxideCapability, carriesDeviceTemplate, catalogueIssues, cellsToRects, checkDeviceAlias, checkRoleAddress, checkTemplatePayload, claimDevicesMigration, claimDevicesPortsOver, claimDevicesToDefaultIntegration, claimedRequestOrigins, classifyBearerPrincipal, classifyCamerasForBenchmark, classifyFieldSource, classifyInferenceHardware, classifyRetrainReview, classifySecretWrite, classifyStoreError, classifyStream, classifyStreams, clearKnownSecrets, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, clipEventLabelDepsFromApi, clipExportFailure, clipExportFailureOf, clipLabelsForWindow, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, clusterUpdateCapability, codecIsAccepted, collectDeviceTemplates, collectHydratedFieldEntries, collectHydratedFieldValues, collectKeychainStoredKeys, collectMirrorSources, collectModelBoundKeys, collectOwnerIntegrationIds, collectSecretConfigKeys, collectSecretLeaves, collectSecretMarkerRefs, collectWhenMirrorSources, collectZodSecretPaths, colorCapability, colorForKind, commandEffect, commandMethodProblems, commandOrigin, commandedMethods, commitWatchdogRestart, compareDraft, compareToTarget, compareVersions, compileExpression, compileExpressionSafe, compileHelper, compileKeyedArrayOverride, compilePulseOverride, compileScalarOverride, compileSpanOverride, composeInstanceKinds, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionFillStatus, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, compositionTargetCaps, computeCapacityShares, computeScores, conditionExclusionReason, conditionVisibleForKind, connectivityCapability, consumableFormOf, consumableKindOf, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertLegacyCondition, convertLegacyRecipe, convertLegacyWhen, convertPresetFeature, convertQuantityInput, convertUnit, convertUnitTargets, coralUsableUnits, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countRecoverySkips, countWhenLeaves, coverCapability, createAlarmProfile, createDebugEmitter, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRecordsAccess, createRuntimeStateBridge, createSecretsAccess, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customKeyOfRole, customModelRegistryCapability, customRole, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declarationsOf, declareLinkKind, declareLogChannel, declaredSeriesKind, decodeCompositionToCards, decodeKeyedArrayOverride, decodePronto, decodePulseOverride, decodeScalarOverride, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defaultIntegrationApiOver, defaultIntegrationDepsOver, defaultIntegrationMigrationIds, defaultIntegrationMigrations, defaultIntegrationOf, defaultIntegrationPortsOver, defaultThresholdSamples, defineAddonMigrations, defineCustomActions, defineEntryKind, defineExtensionSlotProvider, defineNotificationTargetKind, defineRecordKinds, dehydrateConfigField, dehydrateSchema, deleteAlarmProfile, deliverableFields, deliveryParamsDeclaredBy, derivativeDraft, derivativeUnitLabel, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveFeatureProvenance, deriveMaskSupplies, deriveMediaPlayerView, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeHold, describeHoldMs, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSubject, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, describeUnmet, detectAccessRole, detectionClassMatches, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceAttentionKind, deviceBackendToFormat, deviceCredentialsCapability, deviceCustomAction, deviceDoFamily, deviceExportCapability, statusInstanceOf as deviceExportStatusInstanceOf, statusInstanceOf, deviceExtensionCapability, deviceHistoryCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceRefusalFromMessage, deviceRemovalHookCapability, deviceRunsCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, deviceTransitionsCapability, diffStepSettings, disarmRoseMemory, dishwasherCapability, displayPaletteCapability, displayUnitFor, doActionSelectValue, doNotDisturbCapability, dominantClipLabels, doorbellCapability, droppedConditionsForKind, edgetpuDelegateDevice, effectiveStepSettings, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, electByShareWithAffinity, eligibleUnderBenchmark, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeCardsToComposition, encodeFlipperParsed, encodeProfileFromStreamShape, encodeSamsung, encodeVectorBase64, ensureAlarmProfiles, entryBody, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, estimateNodeBenchmarkDurationMs, evaluateAggregate, evaluateAst, evaluateCompositionField, evaluateConditionTree, evaluateCount, evaluateDerivative, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateStationaryTrigger, evaluateStatistic, evaluateStepCondition, evaluateWhenTree, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, eventOverlapsClipWindow, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, expandDraft, expandSystemEventClasses, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, expressionDraft, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, fanOutTargets, fanPresetsCapability, featureFieldEntries, featureForwards, featureOfRole, featureProbeCapability, featureSources, featuresOfBoundCaps, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldEntryToSource, fieldReads, fieldSupportForTargets, fieldUnitKeys, fieldUserFinder, fieldsPinnedAtValueBelow, filesystemBrowseCapability, fillWidthScale, findCandidateCycles, findChannelSource, findCompositionCycles, findMigrationsBlocked, findTimezone, findVocabAction, flattenNestedRecords, flattenPortsOver, flipperIrDraft, flipperIrTable, flipperRole, floodCapability, foldSnapshotByFunction, followSwitchRunningFeature, forEachLeaf, forbiddenError, foreignCapacityCells, forgetKnownSecret, formatDeviceRevoker, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatPaletteViolations, formatParkedFor, formatReading, formatSecretScope, formulaProblem, forwardProblems, forwardSourceProblems, forwardSourceRefs, freshResults, fuseRecoveredDetections, gasCapability, gbToBytes, generateAutomationBlock, generateDeviceAlias, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getDebugInterest, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, globalSecretScope, grammarFor, grantRowsOf, groupActiveCapability, groupCommandsCapability, groupStatusCapability, groupTemplate, guardInstanceDelete, hasEventLeaves, hasHoldLeaves, hasModelBoundOverrides, hasMotionTrigger, hasOwnRunningPowerDefaults, hasUrlScheme, heatPumpControlCapability, heatPumpInstantCop, heatPumpStatusCapability, heatingValveCapability, helperMembers, helperSaveProblems, heroArgsWithValue, heroLayoutCapability, t as heroText, hfModelUrl, historyFieldsFor, historyItemFieldPath, historyRetentionFromSettings, historyUnitFor, holdOf, holdRefusalOf, holdVarSlots, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, iconCategoryLabel, iconEntry, iconsInCategory, imageCapability, imageModesForKind, imageSettingsCapability, implementedMethodsOf, inferExpressionKinds, inferModelProvider, ingestReading, initialPoolMemoryState, insertComponent, instanceApiOverTargets, instanceSourceOverApi, instancesOfCap, instantKindsOf, integralCadenceMs, integralDraft, integrateReading, integrationBodyFromRows, integrationInstancesCapability, integrationRowsApiOver, integrationRowsMigration, integrationRowsPortsOver, integrationRowsPortsOverApi, integrationRowsToRecordId, integrationsCapability, intercomCapability, internalActionId, interpolate, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, irSourceProblem, irTransmitterCapability, isAgentOnlyPlacement, isAlarmControllableCap, isAlertEpisodeOpen, isAlertEpisodeSeverity, isAppLinkBase, isAppStartRefusal, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isAutomaticShareSource, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isCommand, isCredentialTokenPayload, isDebugChannelName, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDefinitiveDeviceRefusal, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDoActionActuatable, isDoPickerDeviceType, isDrawableSubjectPath, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventLeaf, isEventOwnerType, isFirstLevelMacroClass, isForwardInputRef, isHeldBackTemplateVar, isHistoryHelper, isHubId, isIconKey, isInstanceEnabled, isInternalActionId, isIsolatedBuiltin, isKernelDerivedFeature, isKeychainStoredField, isKnownTemplateVar, isKnownTimeZone, isLabelSupplyStepId, isLeaf, isLocationEnabled, isMediaOwnerType, isModelScopedStepSettingKey, isNode, isOauthLandingReason, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isPlugApplianceType, isPositionTicking, isQuantityValue, isReadingQuantity, isRemoteCustomKey, isRemoteKnownRole, isRemoteRole, isRemoteWidgetRole, isRemovedModelId, isReservedDeviceAlias, isRestoredCap, isRetiredClearKey, isRootRelativeUrl, isRootSuppliableStepId, isRunningOptOut, isSameAddonId, isScheduleActive, isScheduleOnlySystemRule, isSecretClear, isSecretConfigField, isSecretFieldView, isSecretMarker, isSecretMarkerLike, isSecretRef, isSecretRefOwnedBy, isSingleHubAddressRole, isSkippedTrace, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventRecoveryKind, isSystemEventSummaryRule, isSystemRuleKind, isTemplateKind, isUnfilledRequiredProblem, isUsableTimeZone, isVectorIndexDimConflict, isVoidInput, isZodSecret, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, keychainAdminCapability, keychainCapability, kindOfValue, kindsForDiscriminator, knownSecretCount, knownValues, lawnMowerControlCapability, leafCatalogEntry, leafKindsFor, legacyAutoLinkIds, legacyImageMode, legacyModeOf, legacyTargetsOver, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkField, linkFieldDescriptor, linkUserFinder, linkedId, linkedIdOf, linkedLabelStepId, linkedStepOf, linksOfKind, listBenchDetailSteps, listNotificationTargets, llmCapability, llmRuntimeCapability, loadContributionCapability, localDateOf, localNetworkCapability, localizeConfigTree, locationIconKey, locationSimilarity, lockControlCapability, lockDoorLinkOfComposition, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeInMemoryRecords, makeProfileBrokerId, makeSecretMarker, makeSourceBrokerId, mapAudioLabelToMacro, mapSecretLeaves, markFieldEdited, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, maxDurationMs, mayReadLocation, mayWriteToLocation, measuredCapacityFromResults, measuredDetectorCells, mediaPlayerCapability, mediaPlayerExtensionCommands, mediaPlayerFeaturesOfRoles, memoizePinnedFfmpeg, mergeClipLabels, mergeKeyedArrayItem, mergeOverrides, mergeScalarTarget, mergeSecretStatePaths, mergeSettingsBags, mergeSkipTraces, mergeSourceInfo, meshNetworkCapability, meterCapability, method, methodAccessForHttpMethod, methodRefusal, methodRoleOf, metricsProviderCapability, migrateLegacyDeviceSignalConfig, migrationSet, migrationsCapability, minimumOf, minutesToTimeOfDay, modeForSwitch, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, modelScopedStepSettingKeys, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, moveBrokerLinksToConnections, moveCalendarIdsToRecords, moveGroup, moveIntegrationRowsToRecords, moveRegistrySwitchToBody, moveTargetRows, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, ncMediaPolicyError, networkAccessCapability, networkLinkCapability, networkQualityCapability, nextLocalMidnight, nextOccurrence, nodeBenchmarkRefusals, nodeCertificatesCapability, nodeIdOfScopedKey, nodePickerItems, nodePin, nodeRemovalHookCapability, nodesCapability, normalizeActionUnits, normalizeAddonInitResult, normalizeAudioLabel, normalizeCapStep, normalizeConditionUnits, normalizeCoreBlockWrite, normalizeNcMediaPolicy, normalizeNodeId, normalizeOffSeconds, normalizeOrigin, normalizeRecipeUnits, normalizeSecretOwner, normalizeStepTargets, normalizeTokenScopes, normalizeUnit, normalizedArea, notificationOutputCapability, notificationRulesCapability, notificationTargetKindName, notificationTargetKindOf, notificationTargetKinds, notificationTargetParts, notifierCapability, numericSensorCapability, oauthIntegrationCapability, oauthLandingUrl, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, observeHoldLeaves, occupancyScope, occurrenceOn, omitTransientConfig, openReset, openStatistic, optionalAncestors, optionalLinkField, optionalMethod, orderMigrations, osdCapability, osdManagerCapability, overlayClusterStepSettings, ownedSlice, packagePickerItems, paintHex, paletteEntryLabel, paletteFromInput, paletteFromStored, paletteLegend, paletteResultSchema, paletteSwatchSchema, paramMeta, paramMetaOf, parseAcceleratorFactsJson, parseAdminBase, parseAlertEpisodePayload, parseAppAuthCallback, parseAppFlowRequest, parseAppPageLang, parseCameraStreamConfig, parseColorInput, parseCredentialScopes, parseDeviceEnrollmentLink, parseExpression, parseFlipperIr, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOauthLandingFragment, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRetrainRevisionConflict, parseRuleSection, parseSecretPath, parseSecretRef, parseSecretStatePath, parseSessionPlacementPolicy, parseShareSource, parseSmartIr, parseSmtpSinceKey, parseStreamParamsFormPatch, parseTrainingEventLine, patchAudio, petFeederCapability, petFountainCapability, petFountainFromEntitiesComposition, petFountainWaterItem, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickFaceRescoreIntervalMinutes, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRequestOrigin, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pinUnderBenchmark, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, planMotionCropRegions, planMotionCrops, planRecoveryCrops, planResetTier, planStatisticTier, plateGalleryCapability, platformProbeCapability, plusCatalogDefaultClassFloors, plusCatalogLabelFields, poolMemoryThreshold, powerMeterCapability, powerSourceCapability, powerSourceLinkOfComposition, preconditionOf, prepareNotification, prepareRecipeUnits, presenceCapability, presetById, pressureSensorCapability, primaryCapForRole, primaryChildPreferenceOf, principalMayReachAddon, priorityLevelsOf, privacyMaskCapability, probeToTestResult, problemsBlockSave, procedureAuthKey, processTimeZoneOr, projectDeviceRow, projectKeyedArrayAssignment, projectPulseAssignment, projectScalarAssignment, projectSpanAssignment, projectSubjectPath, projectedPositionMs, proposeRunningThreshold, providerMotionEvent, pruneDeletedEntities, ptzAutotrackCapability, ptzCapability, publicEndpointReaderFrom, publicEventCategories, pumpCycleCapability, pythonScriptForBackend, quantityFromUnit, rankStreams, readClusterStepModels, readClusterStepSettings, readCommandOrigin, readDetailCropConvention, readDeviceStateFrom, readErrorI18n, readFaceRescoreIntervalMinutes, readHubMotionDetected, readHubMotionStatus, readKeyedArrayItems, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readRecoveryRecipe, readRecoveryRecipeForSteps, readStoredRemoteConfig, readTimelapseGeneratedAt, readUseRootModel, readinessKey, readingMeta, rebootCapability, recommendNode, reconcileBlockDevices, reconcileRemovedDevices, reconcileReportedFeatures, recordArrayItemPath, recordEntriesCapability, recordSecretCollection, recordSecretRef, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, recordsCapability, recordsErrorFromMessage, recordsOverMigrationApi, rectContains, rectsOverlap, rectsToCells, reducePoints, reducerForActive, registerKnownSecret, registrySwitchPortsOver, registrySwitchToBodyId, registrySwitchToBodyMigration, remapCropDetections, remoteCapability, remoteLayoutComponentsCapability, remoteRoleIcon, remoteRoleLabel, remoteRoleLegend, remoteSourceSteps, removeGroup, removeScalarTarget, renameAlarmProfile, renderVocabPhrase, replacedFieldKeys, replayDwellIntervals, reportIsScalable, requestMountPrefix, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveActionVariables, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveAttachmentUrls, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeliveryParams, resolveDeviceControlKind, resolveDeviceProfile, resolveDeviceSettings, resolveDeviceTarget, resolveEffectiveShares, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHeroLayout, resolveHeroLook, resolveHeroSceneId, resolveHubAddressRoles, resolveHydratedFieldValue, resolveIconKey, resolveInternalAddress, resolveLatencyColumn, resolveLocationMode, resolveMethodAuth, resolveMethodRole, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNcMediaImage, resolveNotificationTapAddress, resolveOwnPower, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRemoteSource, resolveRootSupply, resolveRunnerId, resolveSecretMarkers, resolveSecretViewsIn, resolveServerName, resolveStepArgs, resolveStepArgsWithTemplates, resolveStreamMaps, resolveTemplateRef, resolveVariantModelId, resolveViewableDeviceIds, resolvedValues, resultCellKey, resultStandings, retiredTargetsOver, retrainBoxIou, retrainRevisionConflictMessage, rewriteBody as rewriteLoginProxyBody, rewriteLocation as rewriteLoginProxyLocation, rewriteReferer as rewriteLoginProxyReferer, rewriteSetCookie as rewriteLoginProxySetCookie, roleSpec, rollingDurationMs, roomCompositionExample, rootSuppliesOf, rootSupplyServes, rowsDepsOver, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleFireOfClaim, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, ruleTriggerZoneIds, runAddonMigrations, runExportedAction, runFanOut, runForDevices, runInferenceStep, runSteps, runningFollowsSwitch, runningFromDishwasherOperation, runningFromLawnMower, runningFromMediaPlayer, runningFromVacuumState, runningOptOutFeature, runningPowerDefaultsFor, runningStateCapability, runtimeDevices, runtimeFieldUnit, runtimeStatePolicyFor, sameDoFamily, sameHelperBody, sameRead, sanitizeTargetOverride, scalarTargetCount, sceneMonitorCapability, scheduleForSendTimes, schedulersCapability, schemaDeclaresAnyField, scopeInherits, scopeInstancesToCaller, scopeKey, scopesAllowAddon, scopesAllowAddonRoutes, scopesAllowDeviceCap, scopesAllowOwnPreferences, scopesGrantAdmin, scoreRuntimes, scriptRunnerCapability, scrubKnownSecrets, searchIcons, secretArrayPrefixes, secretKeysOf, secretTreeFromPaths, secretTreeFromSchema, secretViewsOf, secretsOverMigrationApi, secureActuationFor, seedInstanceOnce, seedLeaf, seekPatch, selectAppConnectionEndpoints, selectAssignedProfileSlots, selectFewShots, selectRecoveryStep, sendTimesForEditor, sendTimesOfSchedule, sendToExportedTarget, sensorRaisedOf, sensorTransitionMeaning, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, sessionLostAlertId, sessionsOfDeviceCell, setByPath, setFormulaExpr, setPaletteInputSchema, settingValuesEqual, settingsBelow, settingsStoreCapability, settleDeviceFeatures, shareViewGrantOf, sharedActuatorFeatures, sharedActuatorMethods, sharedColorModes, sharedLightCaps, shortHostname, shortSecretRefHash, signalPercentFromBars, signalPercentFromRssi, siteFor, siteZoneKey, skipSignature, sleep, sleepCancellable, sliceActiveValue, sliceCapOf, sliceChangedAt, slugifyDeviceAlias, smartIrDraft, smokeCapability, smtpProviderCapability, smtpSinceKey, snapshotCapability, sourcePickForHeaterPlug, sourcePickForHistory, sourcePickForMath, sourcePickForTemplate, splitTranslationRef, squareAround, ssoBridgeCapability, stableIdKey, stableIdMapOf, startMoverUnderClearance, startReachabilityPoll, stateLabel, stateVocabularyFor, statisticCadenceMs, statisticDraft, stepModelRunsOnFormat, stepPulse, stepSettingSource, stepSpan, storageAdminCapability, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, storedFromReady, storedPaletteSchema, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subClassesOf, subKindsOf, subjectFromClassName, subjectHasPath, subjectMatches, subjectPathSampleFromBox, subjectPathSvgPoints, summarisePrivacyAudio, summarizeEffectiveScope, summarizeReview, sunCrossings, sunTimes, supplyFor, supportedRuntimes, swatchHex, switchCapability, switchRecordsOverMigrationApi, switchStateOfMode, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventClassKinds, systemEventClassOf, systemEventClassesFor, systemEventDeliveryAsModes, systemEventDeliveryModesOf, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, targetAttachmentAllows, targetBody, targetFeature, targetOfRecord, targetRowPortsOver, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCapKey, templateCapability, templateCarriesSummary, templateDeviceType, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, thresholdDraft, thresholdToBase, thresholdToDisplay, timeOfDayToMinutes, timedRunCapability, timedRunLimitOf, timedRunMaxIn, timedRunQuickRun, timedRunRemaining, timedRunSeconds, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toPercentShares, toSecretFieldView, toStreamSourceEntry, toTimings, toastCapability, toggleAudioLabel, tokenize, trainingCapability, trainingProviderCapability, transcodeBody, transformSecretWrite, triggerLeafVariables, triggerVariablesOf, tryConvertDelta, tryConvertUnit, turnProviderCapability, twilightTimes, ungroup, unitCompanionField, unitDimension, unitsForDimension, unitsForQuantity, unmetRequirements, unreachableExtensionSlotRow, unwrapSchema, updateCapability, usableProcessTimeZone, userError, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateDraft, validateExpressionSource, validatePalette, validateRecipeBounds, validateSchedulerInput, validateTimeSpecForSite, validateWhenTree, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerAdmitsDevice, viewerHoldsRole, viewerLinkBaseOf, viewerScopeOf, viewerUiCapability, vocabActionIdFor, actionsForDevice$1 as vocabularyActionsForDevice, triggersForDevice as vocabularyTriggersForDevice, waterHeaterCapability, wattMillisecondsToKwh, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weekdayOfLocalDate, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, whenDepth, widenDeviceConstructor, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withClipEventLabels, withDefaultRunning, withFieldFrom, withLocationMode, withSystemEventClasses, withSystemEventModes, withoutCallerStamp, withoutField, withoutKeyedArrayItem, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneOnlySite, zoneRulesCapability, zonesCapability };
|
|
137545
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ACTION_RUN_MAX_MS, ACTION_RUN_TIMEOUT_MS, ACTION_RUN_TRANSPORT_MARGIN_MS, ACTION_TARGET_INVALIDATION_EVENTS, ACTIVE_CRITERIA, ACTUATOR_METHODS, ACTUATOR_TEMPLATE_IDS, ADMIN_SCOPE, AGENT_MDNS_QUERY_NAME, AGENT_MDNS_SERVICE_TYPE, AGENT_MDNS_TXT_KEYS, AGGREGATE_REDUCERS, AGGREGATE_THROUGHPUT_BY_KIND, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, ALL_METHOD_ACCESS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, APPLIANCE_EXPORT, APP_AUTH_CALLBACK_MAX_LENGTH, APP_AUTH_CALLBACK_URLS, APP_FLOW_DEFAULT_REDIRECT, APP_FLOW_REFUSAL_MESSAGES, APP_FLOW_STATE_PREFIX, APP_REFUSED_PATH, APP_START_REFUSAL_MESSAGES, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, ARITHMETIC_OPS, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_GRADIENT_ALPHAS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AUTOMATION_LEAF_CATALOG, AUTOMATION_LEAF_CATEGORIES, AUTOMATION_LEAF_KINDS, AUTO_SHARE_HEADROOM, AUTO_TUNE_FAMILY, AcceleratorComputeSchema, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, ActionEntrySchema, ActionError, ActionErrorCodeSchema, ActionInputSchema, ActionLinksSchema, ActionMinDelaySecSchema, ActionRunChangedSchema, ActionRunOriginSchema, ActionRunOutcomeSchema, ActionRunResultSchema, ActionSourceKindSchema, ActionStatusSchema, ActionStepSchema, ActionTargetResolver, ActionTargetSchema, ActionVariableSchema, ActionVariableTypeSchema, ActionVariableValueSchema, ActiveCriterionSchema, AddBrokerInputSchema, AddRetrainFrameFromRecordingResultSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonMigrationDefinitionError, AddonMigrationsBlockedError, AddonPageDeclarationSchema, AddonPageInfoSchema, AddonRoutesScopeSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AggregateReducerSchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertEpisodePayloadSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, AppFlowPurposeSchema, AppLoginPathSchema, AppPageLangSchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ApplianceRunDetailSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, ArithmeticHelperSpecSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, AutoTuneOptionsSchema, AutoTunePhaseResultSchema, AutoTunePlanSchema, AutoTuneWarningSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationCapStepSchema, AutomationConditionOperatorSchema, AutomationConditionTraceNodeSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationRunModeSchema, AutomationRunOutcomeSchema, AutomationRunTraceSchema, AutomationRunVerdictSchema, AutomationStateDocSchema, AutomationStepTraceSchema, AutomationTriggerTraceSchema, AutomationWaitStepSchema, AutomationWhenSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BENCH_ROOT_STEP_ID, BINARY_AGGREGATES, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_REMOTE_COMPONENTS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupArchiveEncryptionSchema, BackupDestinationInfoSchema, BackupEncryptionStatusSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatchTooLargeError, BatteryStatusSchema, BecomesOperatorSchema, BecomesWatch, BinaryStatusSchema, BirthDecisionCropSourceSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoardKeyFailureReasonSchema, BoundingBoxSchema, BrightnessStatusSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BucketAccumulator, BulkRecordSchema, CALENDAR_PERIODS, CALLER_STAMPED_CAPABILITIES, CALLER_USERNAME_HEADER, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAMSTACK_EVENT_PREFIX, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_COMMAND_ORIGIN_CONTEXT_KEY, CAP_CUSTOMIZE_CATALOG, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CAP_RUNTIME_FIELD_UNITS, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, CATALOG_LANGS, CIVIL_TWILIGHT_ALTITUDE_DEG, CLASS_MAP_MACRO_TARGETS, CLIMATE_ROLES, CLIP_BROKER_PACED_RATES, CLIP_LABEL_EVENT_FETCH_LIMIT, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, COMPOSITION_LINK_KINDS, COMPOSITION_TARGET_CAP_NAMES, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CONTAINER_PRIMARY_CHILD_RULES, CORAL_DEFAULT_MODEL_ID, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CORE_ULTRA_265K_IGPU_CLOCK_MHZ, CORE_ULTRA_265K_IGPU_EU, CREDENTIAL_TOKEN_AUDIENCE, CREDENTIAL_TOKEN_KIND, CROP_CLASS_FLOORS, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CUSTOMIZE_APPLY_AUTHORITY_KINDS, CUSTOMIZE_CARDINALITIES, CUSTOMIZE_EVENT_SHAPES, CUSTOMIZE_TARGET_SECTIONS, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CalendarWindowSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionSourceSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CamstackError, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CapacityFallbackSchema, CapacitySourceSchema, CarbonMonoxideStatusSchema, CatalogFileSchema, CatalogLangSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, CleanupDeletedDevicesResultSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, ClusterUpdateBlockerSchema, ClusterUpdateFailureReasonSchema, ClusterUpdateJobSchema, ClusterUpdateJobStateSchema, ClusterUpdateOptionsSchema, ClusterUpdatePlanSchema, ClusterUpdateStepKindSchema, ClusterUpdateStepSchema, ClusterUpdateStepStatusSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, CommandOriginClaimSchema, CompleteEnrollmentInputSchema, CompleteEnrollmentOutputSchema, CompleteEnrollmentResultSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionAggregateSourceSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionExtensionCommandSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardArgSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSeriesSourceSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConditionMirror, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableFormSchema, ConsumableItemSchema, ConsumableKindSchema, ConsumableLevelSchema, ConsumableRemainingKindSchema, ConsumableRemainingSchema, ConsumableStatusSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateUserInputSchema, CredentialScopeSchema, CredentialTokenClaimsSchema, CurrentAutomationRecipeSchema, CustomActionInputSchema, CustomModelDescriptorSchema, CustomizeAssignmentStatusSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DATA_STORE_DATABASES, DAYS_PER_WEEK, DAY_MS, DAY_NAMES, DEBUG_CHANNEL_PREFIX, DEBUG_WATCH_HARD_CAP_MS, DEBUG_WATCH_REARM_EVERY_MS, DEBUG_WATCH_WINDOW_MS, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_FPS, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CATALOG_LANG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_DISPLAY_PREFERENCE, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_HISTORY_RETENTION, DEFAULT_HOLD_OVERRIDE, DEFAULT_MAX_HOLD_ATTEMPTS, DEFAULT_MAX_LATE_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_MIN_SESSIONS_PER_DEVICE, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_LOST_DEBOUNCE_MS, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_SHARE_SOURCE, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DEFAULT_TRACE_KEEP, DEFAULT_VIEWER_SCOPE, DEFINITIVE_DEVICE_REFUSALS, DERIVATIVE_UNITS, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_LABEL_SOURCES, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_ALIAS_MAX_LENGTH, DEVICE_ALIAS_PATTERN, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_CERT_SIGNATURE, DEVICE_CERT_VALIDITY_DAYS, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_DO_ACTIONS, DEVICE_ENROLLMENT_TTL_MS, DEVICE_FEATURE_REQUIREMENTS, DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_ORPHAN_DELETE_MAX, DEVICE_HISTORY_ORPHAN_LIST_MAX, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, DEVICE_ID_FIELD, DEVICE_NONCE_TTL_MS, DEVICE_PROFILES, DEVICE_RAMP, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_RUNS_MAX_PAGE, DEVICE_SAN_CREDENTIAL_PREFIX, DEVICE_SAN_USER_PREFIX, DEVICE_SCOPED_CAPS, DEVICE_SEARCH_DEFAULT_LIMIT, DEVICE_SEARCH_MAX_LIMIT, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_SIGNATURE_MESSAGE_VERSION, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TEMPLATE_BUDGET_MS, DEVICE_TEMPLATE_FILTERS, DEVICE_TEMPLATE_MAX_LENGTH, DEVICE_TEMPLATE_MAX_OUTPUT, DEVICE_TEMPLATE_NOW_ALIAS, DEVICE_TEMPLATE_REFUSAL_REASONS, DEVICE_TEMPLATE_THIS_ALIAS, DEVICE_TEMPLATE_TRACE_REASONS, DEVICE_TEMPLATE_UNAVAILABLE, DEVICE_TEMPLATE_VALUES_CAP, DEVICE_TOMBSTONE_RETENTION_MS, DEVICE_TRANSITIONS_MAX_PAGE, DEVICE_TRANSITIONS_RECORD_BATCH_MAX, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_PREFERENCES, DISPLAY_PRESETS, DOORBELL_RISE_DEBOUNCE_MS, DRAFT_KINDS, DataStoreDatabaseSchema, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotRequestSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DatabaseSnapshotWrittenSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DebugInterest, DebugWatchTable, DeclarationRefusedError, DeclareCollectionInputSchema, DeclareKindResultSchema, DeclaredDevices, DecodedAudioChunkSchema, DeleteIntegrationResultSchema, DeliveryParamSchema, DeliveryParamValueSchema, DerivativeHelperSpecSchema, DesktopAppStatusSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectionSubjectSchema, DetectionTriggerFilter, DeviceAdminLinkSchema, DeviceAliasSchema, DeviceCaStatusSchema, DeviceCertificateLoginMethodSchema, DeviceCertificateSettingsSchema, DeviceChallengeResultSchema, DeviceChallengeSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceCredentialSchema, DeviceCredentialStatusSchema, DeviceDataEntrySchema, DeviceEnrollProofSchema, ExposeInputSchema as DeviceExportExposeInputSchema, InstancePinSchema as DeviceExportInstancePinSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceHistoryKindSchema, DeviceHistoryOrphanDeleteRefusalSchema, DeviceHistoryOrphanReasonSchema, DeviceHistoryProducerKindSchema, DeviceHistoryRefusalReasonSchema, DeviceHistoryResolutionSchema, DeviceHistoryStatusSchema, DeviceHistorySubjectSchema, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DevicePlatformSchema, DeviceProofInputSchema, DeviceRecommendationSchema, DeviceRefusalReasonSchema, DeviceRefusalSchema, DeviceRemovedInputSchema, DeviceRemovedResultSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRunDetailSchema, DeviceRunEnergyMethodSchema, DeviceRunKindSchema, DeviceRunOutcomeSchema, DeviceRunPhaseSchema, DeviceRunSchema, DeviceRunSourceSchema, DeviceRunStateSchema, DeviceRuntimeState, DeviceSearchFacetIntegrationSchema, DeviceSearchFacetValueSchema, DeviceSearchFacetsSchema, DeviceSearchFiltersSchema, DeviceSearchInputSchema, DeviceSearchItemSchema, DeviceSearchRequiresSchema, DeviceSearchResultSchema, DeviceSelectorSchema, DeviceSignaturePurposeSchema, DeviceStatusSchema, DeviceTemplateRefusalSchema, DeviceTemplateRenderSchema, DeviceTemplateSchema, DeviceTemplateThisDeviceSchema, DeviceTemplateTraceEntrySchema, DeviceTemplateValueSchema, DeviceTombstoneSchema, DeviceTransitionSchema, DeviceType, DeviceValueOptionSchema, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiscoveryHitSchema, DiscoveryModeSchema, DiscoveryObservationSchema, DiscoveryProposalBodySchema, DiscoveryProposalSchema, DishwasherAccessSchema, DishwasherAvailabilitySchema, DishwasherOperationStateSchema, DishwasherOptionDescriptorSchema, DishwasherOptionsSchema, DishwasherProgramSchema, DishwasherStateSchema, DishwasherStatusSchema, DishwasherValueSchema, DiskReconcileJobSchema, DisposerChain, DoNotDisturbStatusSchema, DoorbellPressEventSchema, DoorbellStatusSchema, DraftKindSchema, DraftSiteDeviceSchema, DraftSiteSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EMPTY_AUTOMATION_STATE, EMPTY_REMOTE_ASSUMED_STATE, EMPTY_REMOTE_CONFIG, ESTIMATE_COMPUTE_RATIO_MAX, ESTIMATE_COMPUTE_RATIO_MIN, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_LEAF_ID_RE, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPORT_INSTANCE_UNKNOWN, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXPRESSION_OUTPUTS, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveDeviceShareSchema, EffectiveNodeShareSchema, EffectiveSharesSchema, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EnrichedWidgetMetadataSchema, EnrollSelfInputSchema, EntryDescriptorSchema, EntryKindInfoSchema, EntryViewSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, ErrorCodeSchema, ErrorI18nPayloadSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportEntityKindSchema, ExportEntityRefSchema, ExportFootageSubjectSchema, ExportInstanceSchema, ExportInstanceUnknownError, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposeEntityInputSchema, ExposedDeviceSchema, ExposedEntitySchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionHelperSpecSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, FACE_RESCORE_INTERVAL_FIELD, FACE_RESCORE_INTERVAL_KEY, FACE_RESCORE_INTERVAL_MIN_RUNNING, FACE_RESCORE_SECTION_ID, FAN_CAPTURE_FIELDS, FAN_OSCILLATION_AXES, FAN_OSCILLATION_AXIS_LIMITS, FAN_OSCILLATION_AXIS_REFUSALS, FAN_OSCILLATION_AXIS_SETTABLE, FAN_OUT_CONCURRENCY, FAN_PRESETS_MAX, FAN_PRESETS_REFUSALS, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FEW_SHOT_COUNT, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FORBIDDEN_MESSAGE_PREFIX, FORWARD_INPUT_KEY, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanCaptureFieldSchema, FanCaptureOmissionSchema, FanControlStatusSchema, FanDirectionSchema, FanOscillationAxesSchema, FanOscillationAxisFieldSchema, FanOscillationAxisNameSchema, FanOscillationAxisRefusalSchema, FanOscillationAxisResultSchema, FanOscillationAxisSchema, FanPresetApplyResultSchema, FanPresetAxisSchema, FanPresetCaptureResultSchema, FanPresetFieldResultSchema, FanPresetSchema, FanPresetStateSchema, FanPresetsRefusalSchema, FanPresetsSetResultSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FilterRequiredError, FloodStatusSchema, Fmp4BoxSplitter, ForeignSecretMarkerError, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GRAMMAR_MAX_LINES, GROUP_TEMPLATES, GROUP_TEMPLATE_IDS, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, GroupActiveSchema, GroupCommandResultSchema, GroupCommandsSchema, GroupHelperSpecSchema, GroupStatusSchema, GroupTemplateIdSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HEAT_PUMP_CIRCUIT_KINDS, HERO_ANIMATIONS, HERO_BACKGROUNDS, HERO_CAP_CONTRIBUTIONS, HERO_CAP_COVERAGE, HERO_LAYOUT_BY_TYPE, HERO_LAYOUT_DEFAULT, HERO_LOOK_BY_ROLE, HERO_LOOK_BY_TYPE, HERO_LOOK_DEFAULT, HERO_ROW_IDS, HERO_ROW_LABELS, HERO_ROW_MODELS_MAX, HERO_SCENES, HERO_SCENE_BY_ROLE, HERO_SCENE_BY_TYPE, HERO_SCENE_MODES, HERO_STATES, HERO_TONES, HF_BASE_URL, HF_REPO, HISTORY_BUCKET_MS, HISTORY_CATALOG, HISTORY_DEFAULT_MIN_INTERVAL_MS, HISTORY_FAST_MS, HISTORY_ITEM_CATALOG, HISTORY_NONE_CAPS, HISTORY_SLOW_MS, HISTORY_TIERS, HISTORY_UNIT_LABELS, HOURS_PER_DAY, HOUR_MS, HUB_ADDRESS_ROLES, HUB_ID_PATTERN, HUB_MDNS_QUERY_NAME, HUB_MDNS_ROLE, HUB_MDNS_SERVICE_TYPE, HUB_MDNS_TXT_KEYS, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HeatPumpCircuitKindSchema, HeatPumpCircuitSchema, HeatPumpEnergySchema, HeatPumpOptionSettingSchema, HeatPumpPowerSchema, HeatPumpRangeSettingSchema, HeatPumpStatusSchema, HeatPumpSystemSchema, HeatPumpTemperaturesSchema, HeatingValveStatusSchema, HelperMemberSchema, HelperSpecSchema, HeroLayoutRowsSchema, HeroRowModelSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HoldCore, HoldOverrideSchema, HoldSpecSchema, HoldTargetStatusSchema, HoldTraceSchema, HoldTracker, HttpsLeafInfoSchema, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ICON_CATALOG_SOURCE, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IDLE_ACTION_STATUS, INFERENCE_DEVICE_EXCLUSION_REASONS, INITIAL_PULSE, INITIAL_SPAN, INTEGRAL_OUTPUTS, INTERNAL_ACTION_PREFIX, INVERTIBLE_CAPS, IR_TIMINGS_MAX, IconKeySchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, ImportModelBundleInputSchema, ImportModelBundleResultSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstallDesktopUpdateReasonSchema, InstallDesktopUpdateResultSchema, InstalledPackageSchema, InstanceInUseError, IntegralHelperSpecSchema, IntegrationInstanceDescriptionSchema, IntegrationInstanceDiscoverySchema, IntegrationInstanceIdSchema, IntegrationInstanceKindSchema, IntegrationInstanceLinkSchema, IntegrationInstanceModeSchema, IntegrationInstancePatchSchema, IntegrationInstanceRoleSchema, IntegrationInstanceSchema, IntegrationInstanceStatusSchema, IntegrationLiteSchema, IntegrationSessionReporter, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, InvalidRecordError, IrCodecError, IrMediumSchema, IrPayloadSchema, IrSendResultSchema, IrTimingsSchema, IrTransmitterInfoSchema, KEYCHAIN_MAX_REFS_PER_CALL, KEYCHAIN_RESET_CONFIRMATION, KEYCHAIN_RESET_TRIGGER_ACTOR, KNOWN_CAP_NAMES, KWH_PER_WATT_MS, KeptReasonSchema, KeyEventSchema, KeychainAdminSecretSchema, KeychainAuditActionSchema, KeychainAuditEntrySchema, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KeychainResetRecordSchema, KeychainResolveEntrySchema, KeychainResolveResultSchema, KeychainSecretMetaSchema, KeychainSecretUsageSchema, KeychainStateSchema, KeychainStatusSchema, KeychainUnavailableReasonSchema, KeychainWriteRefusedError, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LATER_PHASE, LAYOUT_EDIT_REFUSALS, LEGACY_READ_ONLY_CONFIG_KEY, LIGHT_SHARED_CAPS, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LLM_PROFILE_KIND_PATTERN, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCAL_DATE_PATTERN, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LatencySourceSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyAutomationRecipeSchema, LegacyConditionSchema, LegacyTriggerSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListNodeBenchmarkResultsInputSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LiveViewerCountSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmListModelsErrorCodeSchema, LlmListModelsInputSchema, LlmListModelsResultSchema, LlmModelFeaturesSchema, LlmModelInfoSchema, LlmNodeModelSchema, LlmProfileFieldSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmProviderConfigSchema, LlmProviderWidgetSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogReadCapabilitiesSchema, LogReadEntrySchema, LogReadQuerySchema, LogReadResultSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPONENT_BUTTONS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_HELPER_MEMBERS, MAX_HOLD_ATTEMPTS_LIMIT, MAX_KEYS, MAX_LAYOUT_GROUPS, MAX_LAYOUT_SPAN, MAX_REASONS_PER_KEY, MAX_REMOTE_BINDINGS, MAX_REMOTE_CHANNEL_DIGITS, MAX_REMOTE_CUSTOM_BUTTONS, MAX_REMOTE_SOURCES, MAX_REMOTE_SOURCE_STEPS, MAX_REQUEUED_BUCKETS_PER_SERIES, MAX_SENSOR_TRIGGER_DEVICES, MAX_STEP_DEVICE_OUTCOMES, MAX_TRACE_ARGS, MAX_TRACE_ARG_LENGTH, MAX_TRACE_KEEP, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MAX_WHEN_DEPTH, MAX_WHEN_LEAVES, MEDIA_OWNER_TYPES, MEDIA_PLAYER_MAX_STEPS, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MIGRATION_API_V1_METHODS, MIGRATION_API_VERSION, MIGRATION_ID_PATTERN, MINUTES_PER_DAY, MINUTE_MS, MIN_CUSTOM_MINUTES, MIN_RUN_MS, MIN_SCRUBBED_LENGTH, MIN_SESSIONS_PER_DEVICE_RANGE, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_CROP_DISPATCH_KEY, MOTION_CROP_MAX_REGIONS, MOTION_CROP_MOTION_PAD, MOTION_CROP_TRACKED_PAD, MOTION_SOURCE_LABELS, MOTION_SPAN_TIMEOUT_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaLocationCensusInputSchema, MediaLocationCensusRowSchema, MediaLocationCensusSchema, MediaPlayerAssumedFieldSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStateSourceSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshLeafInfoSchema, MeshPeerSchema, MeshStatusSchema, MeterStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, MigrationApiInfoSchema, MigrationBodyKindSchema, MigrationCatalogueSchema, MigrationCycleError, MigrationDryRunResultSchema, MigrationEditSchema, MigrationIdSchema, MigrationLedgerEntrySchema, MigrationLevelSchema, MigrationMetaSchema, MigrationOnFailureSchema, MigrationOwnerResultSchema, MigrationOwnerStepSchema, MigrationPendingEntrySchema, MigrationPlanSchema, MigrationProcedureResultSchema, MigrationScopeSchema, MigrationStatusSchema, MigrationStoreSchema, MinVersionSchema, ModelBundleFileSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema as MqttBrokerInfoSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, N100_IGPU_CLOCK_MHZ, N100_IGPU_EU, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, 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_LEGACY_SYSTEM_EVENT_KINDS, NC_MAX_PER_TRACK_IMMEDIATE, NC_MEDIA_IMAGE_MODES, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_MEANINGS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_STATE_SUMMARY_SECTION_IDS, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CLASS_SPECS, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_TITLE_MAX_CHARS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NEXT_OCCURRENCE_HORIZON_DAYS, NODE_BENCHMARK_DEFAULTS, NODE_COLOR_IDS, NOTIFICATION_FIELDS, NOTIFICATION_OUTPUT_CAP, NOT_A_HERO_FACT, NO_MEASURED_CAPACITY, NUMERIC_AGGREGATES, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionIdSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookActionIdsSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaImageSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventDeliveryToggleSchema, NcSystemEventKindSchema, NcTargetAttachmentSchema, NcTargetOverrideSchema, NcTargetOverridesSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateDefaultSchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NetworkTunnelStartedDataSchema, NoCallerError, NodeBenchCellSchema, NodeBenchClipSchema, NodeBenchDeviceCellSchema, NodeBenchFingerprintSchema, NodeBenchLimitSchema, NodeBenchPipelineCellSchema, NodeBenchProgressSchema, NodeBenchRampStepSchema, NodeBenchRunnerInputSchema, NodeBenchRunnerStateSchema, NodeBenchRunnerStatusSchema, NodeBenchmarkCandidatesSchema, NodeBenchmarkDevicePlanSchema, NodeBenchmarkEndReasonSchema, NodeBenchmarkManifestSchema, NodeBenchmarkMovingCameraSchema, NodeBenchmarkPhaseSchema, NodeBenchmarkPlanSchema, NodeBenchmarkPreflightSchema, NodeBenchmarkRefusalKindSchema, NodeBenchmarkRefusalSchema, NodeBenchmarkResultSchema, NodeBenchmarkResultViewSchema, NodeBenchmarkRunSchema, NodeBenchmarkStateSchema, NodeBenchmarkStatusSchema, NodeBenchmarkStayingCameraSchema, NodeColorIdSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeHttpsStateSchema, NodeRecommendationSchema, NodeRemovedInputSchema, NodeRemovedResultSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFieldSchema, NotificationFormatSchema, NotificationSchema, NotificationTargetStore, NotifierStatusSchema, NumericSensorStatusSchema, OAUTH_LANDING_PATH, OAUTH_LANDING_REASONS, OBJECT_DETECTION_STEP_ID, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, ORPHAN_SWEEP_MIN_INTERVAL_MS, OSD_TEMPLATE_TEXT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OldTargetBodySchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OrphanDeviceDataSchema, OrphanIntegrationSweep, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceSchema, OsdStatusSchema, OsdTemplatePreviewSchema, OverrideDraftSchema, PALETTE_BACKGROUNDS, PALETTE_ENTRY_IDS, PALETTE_MIN_CONTRAST, PALETTE_MIN_DELTA_E, PALETTE_MIN_DELTA_E_MARK, PALETTE_PRESET_IDS, PAUSE_MAX_MS, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PET_FOUNTAIN_WATER_KEY, PHOENIX_780M_CU, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PIPELINE_RAMP, PLUG_APPLIANCE_TYPES, PLUS_CATALOG_CLASS_FLOORS, PLUS_CATALOG_STOCK_CLASS_FLOORS, PLUS_CATALOG_TO_MACRO, PLUS_CATALOG_UNMAPPED_LABELS, POWER_SOURCE_OFF_SECONDS_DEFAULT, POWER_SOURCE_OFF_SECONDS_MAX, POWER_SOURCE_OFF_SECONDS_MIN, PREFERENCES_MAX_DEVICE_ID_LENGTH, PREFERENCES_MAX_NAMESPACES, PREFERENCES_MAX_VALUE_BYTES, PREFERENCES_NAMESPACE_PATTERN, PREFERENCES_SELF_SCOPE, PRIVACY_MASK_CAP_NAME, PROPOSAL_MIN_SPAN_MS, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PULSE_MAX_MS, PYTHON_SCRIPT, PackageInstallationSchema, PackageInstallationsSchema, PackageLlmVerdictSchema, PackageRequiresSchema, PackageUpdateSchema, PackageVersionInfoSchema, PaletteRejectedError, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PetFountainStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PlaintextSecretError, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PowerSourceActionResultSchema, PowerSourceInfoSchema, PowerSourceRefusalReasonSchema, PowerSourceStateSchema, PowerSwitchRefusedError, PrecisionGopsSchema, PreferenceDeviceIdSchema, PreferenceNamespaceSchema, PreferenceRowSchema, PreferenceValueSchema, PreferencesChangedSinceInputSchema, PreferencesChangedSinceOutputSchema, PreferencesDeleteInputSchema, PreferencesDeleteOutputSchema, PreferencesGetInputSchema, PreferencesGetOutputSchema, PreferencesPutInputSchema, PreferencesPutOutputSchema, PreferencesSelfScopeSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderJobStateSchema, ProviderJobStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, PumpCycleStatusSchema, QUANTITY_BASE, QuantityUnitError, QuantityValueSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, RECORDS_ERROR_CODES, RECORD_BATCH_MAX, RECORD_BATCH_MAX_BYTES, RECORD_CLASSES, RECORD_DATABASES, RECORD_DEFAULT_MAX_DATA_BYTES, RECORD_DELETE_BATCH, RECORD_ID_MAX_LENGTH, RECORD_MAX_DATA_BYTES, RECORD_MAX_INDEXES, RECORD_MAX_INDEX_FIELDS, RECORD_QUERY_MAX, RECORD_SECRET_COLLECTION_PREFIX, RECORD_SETTINGS_MAX_ROWS, RECORD_SWEEP_INTERVAL_MS, RECOVERY_CROP_MAX_SIDE_PX, RECOVERY_CROP_MIN_SIDE_PX, RECOVERY_CROP_PADDING_RATIO, RECOVERY_EDGE_MARGIN_PX, RECOVERY_FUSE_CONTAINMENT, RECOVERY_FUSE_IOU, RECOVERY_MAX_CROPS_PER_FRAME, RECOVERY_MAX_REGION_FRAME_FRACTION, RECOVERY_MIN_INTERVAL_MS, RECOVERY_MIN_UNCOVERED_FRACTION, RECOVERY_MOTION_MAX_AGE_MS, RECOVERY_VIEW_PX, REDACTED_ARG, REDACTED_SECRET, REFERENCE_COMPUTE, REFERENCE_MATCH_FRACTION, REMOTE_BUTTON_SHAPES, REMOTE_BUTTON_TONES, REMOTE_COMPONENT_CATEGORIES, REMOTE_CONFIG_REFUSALS, REMOTE_CUSTOM_ROLE_ICON, REMOTE_CUSTOM_ROLE_PREFIX, REMOTE_GROUP_FRAMES, REMOTE_KNOWN_ROLES, REMOTE_MAX_REPEAT, REMOTE_MEDIA_COMMANDS, REMOTE_OPEN_ACTION_ID, REMOTE_REFUSAL_REASONS, REMOTE_ROLE_VOCABULARY, REMOTE_SOURCE_KINDS, REMOTE_STEP_DELAY_DEFAULT_MS, REMOTE_STEP_DELAY_MAX_MS, REMOTE_STEP_DELAY_MIN_MS, REMOTE_WIDGET_ROLES, REMOVAL_RECONCILE_INTERVAL_MS, REMOVED_MODEL_IDS, REMOVE_LEAF, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESET_PERIODS, RESTORED_CAP_NAMES, RESTREAM_INPUT_PROBE, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, REVALIDATE_AFTER_MS, ROLLING_SPANS, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNNING_POWER_DEFAULTS_BY_TYPE, RUNNING_POWER_GLOBAL_DEFAULTS, RUNNING_POWER_MIN_SAMPLES, RUNNING_POWER_START_DELAY_MS, RUNNING_POWER_STOP_DELAY_MS, RUNNING_POWER_THRESHOLD_WATTS, RUNNING_STATE_COLD, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, ReadingQuantitySchema, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordBodySchema, RecordFieldPathSchema, RecordIdSchema, RecordIndexSchema, RecordInputSchema, RecordIntegrationInstances, RecordKindDeclarationSchema, RecordKindNameSchema, RecordNotFoundError, RecordQueryInputSchema, RecordQueryResultSchema, RecordRetentionSchema, RecordSecretRefsSchema, RecordSecretUnavailableError, RecordTooLargeError, RecordTransactOpSchema, RecordTriggerSchema, RecordUniqueViolationError, RecordViewSchema, RecordWhereSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RecordsError, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RemoteAssumedStateSchema, RemoteBindingActionSchema, RemoteBindingSchema, RemoteBoundCommandSchema, RemoteButtonShapeSchema, RemoteButtonToneSchema, RemoteCommandListSchema, RemoteComponentButtonSchema, RemoteComponentCategorySchema, RemoteConfigSchema, RemoteCustomButtonSchema, RemoteDigitsSourceSchema, RemoteGroupFrameSchema, RemoteIrSourceSchema, RemoteLayoutButtonSchema, RemoteLayoutComponentSchema, RemoteLayoutGroupSchema, RemoteLayoutPayloadSchema, RemoteMediaCommandResultSchema, RemoteMediaCommandSchema, RemoteRefusalReasonSchema, RemoteRefusedSourceSchema, RemoteRoleSchema, RemoteSendResultSchema, RemoteSequenceSourceSchema, RemoteSetConfigResultSchema, RemoteSourceKindSchema, RemoteSourceSchema, RenderedAsSchema, RenewDeviceCertificateOutputSchema, RenewDeviceCertificateResultSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RequiredAddonUpdateSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainArchiveResultSchema, RetrainArchiveTargetSchema, RetrainAssistProfileSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainBoxReviewSchema, RetrainCollectionCreateResultSchema, RetrainCollectionRenameResultSchema, RetrainCollectionSchema, RetrainCopyRefusalSchema, RetrainCorpusFilterSchema, RetrainCorpusKpiCameraRowSchema, RetrainCorpusKpiSchema, RetrainCorpusPageFrameSchema, RetrainCorpusPageSchema, RetrainDatasetSelectionSchema, RetrainDatasetStatsSchema, RetrainDatasetVersionSchema, RetrainDismissedSchema, RetrainExportFilterSchema, RetrainExportLayoutSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameOriginSchema, RetrainFrameReviewSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainFrameWorkStateSchema, RetrainLlmAssistResultSchema, RetrainLlmProposalSchema, RetrainLlmReviewSchema, RetrainMacroClassSchema, RetrainOriginSchema, RetrainPipelineBoxSchema, RetrainReviewStatusSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTrainingCorpusResolveResultSchema, RetrainTrainingCorpusSelectionSchema, RetrainTransitionResultSchema, RetrainVerdictSchema, RetrainVerdictSubjectSchema, RetrainVerdictValueSchema, RevConflictError, RevokeOwnDeviceCertificateResultSchema, RingBuffer, RollingWindowSchema, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RuleFireOriginSchema, RunGate, RunnerBootCheckSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, RunnerRefusalSchema, RunningProposalConfidenceSchema, RunningProposalEvidenceSchema, RunningProposalInsufficientEvidenceSchema, RunningProposalInsufficientReasonSchema, RunningProposalReplaySchema, RunningProposalTierSchema, RunningStateSourceSchema, RunningStateStatusSchema, RunningThresholdProposalSchema, SAMSUNG_CARRIER_HZ, SAMSUNG_MAX_BITS, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPED_SETTINGS_SCOPES, SCOPE_PRESETS, SECRET_CLEAR, SECRET_META, SECRET_REF_SCHEME, SENSOR_FEATURES, SENSOR_MAP, SERIAL_CAPACITY_CAMERA_FPS, SERIES_KINDS, SERVER_NAME_MAX_LENGTH, SERVER_NAME_SETTING_KEY, SESSION_LOST_ALERT_CATEGORY, SESSION_PLACEMENT_SETTING_KEY, SHARE_AFFINITY_TOLERANCE_SESSIONS, SHARE_SOURCE_SETTING_KEY, SHARE_VIEW_KINDS, SHARE_VIEW_MAX_DEVICES, SINGLE_HUB_ADDRESS_ROLES, SLICE_MAX_LINES, SMTP_INBOUND_DEFAULT_DOMAIN, SMTP_INBOUND_DEFAULT_ID, SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES, SMTP_INBOUND_DEFAULT_PORT, SMTP_INBOUND_KIND, SMTP_INBOUND_RING_MAX_AGE_MS, SMTP_INBOUND_RING_MAX_MESSAGES, SMTP_INBOUND_TEXT_MAX_CHARS, SMTP_RECIPIENT_CLAIMED, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, SSO_STATE_COOKIE, SSO_STATE_COOKIE_MAX_AGE_SEC, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STATISTIC_STATS, STEP_DEVICE_CONCURRENCY, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUBJECT_PATH_DWELL_EPS, SUBJECT_PATH_FULL_FRAME_COVERAGE, SUBJECT_PATH_MAX_POINTS, SUB_DETECTION_TYPES, SUNRISE_ALTITUDE_DEG, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, SchedulerConflictSchema, SchedulerError, SchedulerErrorCodeSchema, SchedulerInputSchema, SchedulerOutcomeSchema, SchedulerPointModeSchema, SchedulerPointSchema, SchedulerPreviewPointSchema, SchedulerPreviewSchema, SchedulerProfileSchema, SchedulerSchema, SchedulerStateTreeSchema, SchedulerStatusSchema, SchedulerTimeSpecSchema, ScopedTokenSchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerNameInfoSchema, ServerNameSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionHealthTracker, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetOscillationAxisInputSchema, SetShareSourceInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShareSourceSchema, ShareViewGrantSchema, ShareViewScopeSchema, ShareWeightsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpInboundAttachmentSchema, SmtpInboundConfigSchema, SmtpInboundFilterSchema, SmtpInboundMessageSchema, SmtpInboundSettingsSchema, SmtpInboundSinceSchema, SmtpRecipientSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDataReportSchema, StaleDevicePinSchema, StaleKindFindingSchema, StaleSettingsKeyFindingSchema, StartClusterUpdateResultSchema, StartEmbeddedInputSchema, StartEnrollmentOutputSchema, StationaryObjectSchema, StationarySubjectSchema, StatisticHelperSpecSchema, StatisticWindowSchema, StepDeviceTraceSchema, StepTemplateError, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageKindSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, StorageTableSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StoredRecordKindDeclarationSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SunEventSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemHeldSecretNameSchema, SystemMetricsSchema, SystemMirror, TARGET_OWNER_KEY, TEMPLATE_KINDS, TEMPLATE_PAYLOAD_SCHEMAS, TEMPLATE_WRITE_REFUSALS, THRESHOLD_GRID_W, TIMED_RUN_DEVICE_ROLES, TIMED_RUN_DEVICE_TYPES, TIMED_RUN_HEATER_LIMIT, TIMED_RUN_PET_FOUNTAIN_LIMIT, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, TRAINING_JOB_SCHEMA, TRAINING_RESULT_SCHEMA, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TRIGGERED_BY_MAX_IDS, TamperStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetKindTextCapsSchema, TargetSchema, TemperatureSensorStatusSchema, TemplateDeleteResultSchema, TemplateKindSchema, TemplateRecordSchema, TemplateUserSchema, TemplateWriteResultSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, ThresholdHelperSpecSchema, TimeSpecSchema, TimedRunActuatorSchema, TimedRunOptionsSchema, TimedRunQuickRunSchema, TimedRunRefusalSchema, TimedRunResultSchema, TimedRunSettingsPatchSchema, TimedRunStatusSchema, TimedRunUnitSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TraceNodeOutcomeSchema, TraceValueSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackPlacementSchema, TrackProjectionSchema, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainerSourceRefSchema, TrainingAcceleratorRefSchema, TrainingBaseModelSchema, TrainingCanarySchema, TrainingCanaryTargetSchema, TrainingCatalogDraftSchema, TrainingCorpusSelectionSchema, TrainingEvalClassSchema, TrainingEvalReportSchema, TrainingEventSchema, TrainingExportDeviceTotalsSchema, TrainingExportSchema, TrainingExportSummarySchema, TrainingFailureReasonSchema, TrainingGpuOptionSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobSpecSchema, TrainingJobStateSchema, TrainingLogLineSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingProviderEntrySchema, TrainingProviderTypeSchema, TrainingRefusalReasonSchema, TrainingRegionOptionSchema, TrainingResultFileSchema, TrainingResultSchema, TrainingSplitPlanSchema, TrainingStageSchema, TransactRefusedError, TransitionActorKindSchema, TransitionActorSchema, TransitionCommandSchema, TransitionOutcomeSchema, TransitionRecordResultSchema, TransitionRefusalReasonSchema, TransitionValueSchema, TransitionsStatusSchema, TransmitSettingKeySchema, TransmitSettingsSchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, UNLOCK_CONFIRMATION, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UnexposeEntityInputSchema, UnindexedFilterError, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, UnitConversionError, UnitWarningSchema, UnknownInstanceError, UnknownInstanceKindError, UnknownRecordKindError, UnmetRequirementSchema, UnreleasedClaimSchema, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateBlockerSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserScopeSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VENDOR_LOGIN_PROXY_PREFIX, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VIEWER_FEATURES, VIEWER_FEATURE_IDS, VISIT_MERGE_GAP_MS, VOCAB_TEMPLATES, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VendorLoginProxy, VibrationStatusSchema, VideoEncodeSchema, ViewerDeviceAllowSchema, ViewerFeatureIdSchema, ViewerTokenScopeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WHEN_UNROLL_DEPTH, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WeekdayKeySchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetDebugInterestForTests, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryChildrenComplete, accessoryChildrenUnknown, accessoryStableId, actionEffect, actionSourceCapability, actionWaitTotalMs, actionsCapability, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, activeForReducer, actuatorMethodRow, actuatorSwitchDrivesRunning, actuatorSwitchRead, addonCatalogHref, addonIdOfActionId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advertisedHubOrigins, aggregateThroughputFactor, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertEpisodeId, alertEpisodeKind, alertEpisodePayload, alertNodeId, alertsCapability, allDoActions, allHeroLooks, allVocabActions, allowedSuppliedEffect, ambientLightSensorCapability, annotateClipsWithEventLabels, anyAxisOscillating, anySubjectMatches, appFlowLocation, appendTrace, applianceExport, applyBlockingEdit, applyCropClassFloors, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applyPrimaryChildPreference, applyPrimaryChildRule, applySecureOnArmEdit, arithmeticDraft, armRemovalReconcile, arrayItemFieldPath, asBoolean, asJsonArray, asJsonObject, asNumber, asRecordsError, asString, assertInstanceUnused, assertOwnExportInstance, assertTimelapseCadences, assertTransactScope, assertValidDeclaration, assignNodeColorId, attachmentKindsOf, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, auditedFields, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, baseUnitForQuantity, baseUnitOf, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, boardKeySourceCapability, brightnessCapability, brokerCapability, brokerLinkPortsOver, bucketStartOf, buildActionSteps, buildAddonRouteProvider, buildAudioArgs, buildBenchStepTree, buildCapabilityLookup, buildDeviceAdminUrl, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, buildDraftJsonSchema, buildDraftPrompt, buildEventKindDescriptor, buildFfmpegArgs, buildHeroModel, buildInputArgs, buildLinkedInstances, buildModelVariantGroups, buildNcTaxonomy, buildNotificationTargetInstances, buildPlusCatalogClassMap, buildPowerSwitch, buildRepairPrompt, buildRoleScopes, buildSecretRef, buildSessionLostAlert, buildStepArgsTrace, buildStreamParamsConfigSchema, buildSubjectPath, buildTriggerTrace, buildUserScopedNotificationTargetInstances, buildVideoArgs, buildViewerLink, buildVocabularySlice, builtCapabilityBlockers, builtinRemoteComponent, bundledCamstack, buttonCapability, calendarEventLocalSpan, calendarEventOnLocalDay, calendarRecordId, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraScopedStepSettings, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, canonicalIconKey, canonicalJson, canonicalStoredDeviceType, canonicalizeAppCallback, capAppliesToDeviceKind, capUnitResolver, capabilityScopesOf, capacityForModel, capacitySessionsOf, carbonMonoxideCapability, carriesDeviceTemplate, catalogueIssues, cellsToRects, checkDeviceAlias, checkRoleAddress, checkTemplatePayload, claimDevicesMigration, claimDevicesPortsOver, claimDevicesToDefaultIntegration, claimedRequestOrigins, classifyBearerPrincipal, classifyCamerasForBenchmark, classifyFieldSource, classifyInferenceHardware, classifyRetrainReview, classifySecretWrite, classifyStoreError, classifyStream, classifyStreams, clearKnownSecrets, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, climateRoleOf, clipEventLabelDepsFromApi, clipExportFailure, clipExportFailureOf, clipLabelsForWindow, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, clusterUpdateCapability, codecIsAccepted, collectDeviceTemplates, collectHydratedFieldEntries, collectHydratedFieldValues, collectKeychainStoredKeys, collectMirrorSources, collectModelBoundKeys, collectOwnerIntegrationIds, collectSecretConfigKeys, collectSecretLeaves, collectSecretMarkerRefs, collectWhenMirrorSources, collectZodSecretPaths, colorCapability, colorForKind, commandEffect, commandMethodProblems, commandOrigin, commandedMethods, commitWatchdogRestart, compareDraft, compareToTarget, compareVersions, compileExpression, compileExpressionSafe, compileHelper, compileKeyedArrayOverride, compilePulseOverride, compileScalarOverride, compileSpanOverride, composeInstanceKinds, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionFillStatus, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, compositionTargetCaps, compositionUnionReads, computeCapacityShares, computeScores, conditionExclusionReason, conditionVisibleForKind, connectivityCapability, consumableFormOf, consumableKindOf, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertLegacyCondition, convertLegacyRecipe, convertLegacyWhen, convertPresetFeature, convertQuantityInput, convertUnit, convertUnitTargets, coralUsableUnits, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countRecoverySkips, countWhenLeaves, coverCapability, createAlarmProfile, createDebugEmitter, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRecordsAccess, createRuntimeStateBridge, createSecretsAccess, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customKeyOfRole, customModelRegistryCapability, customRole, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declarationsOf, declareLinkKind, declareLogChannel, declaredSeriesKind, decodeCompositionToCards, decodeKeyedArrayOverride, decodePronto, decodePulseOverride, decodeScalarOverride, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defaultIntegrationApiOver, defaultIntegrationDepsOver, defaultIntegrationMigrationIds, defaultIntegrationMigrations, defaultIntegrationOf, defaultIntegrationPortsOver, defaultThresholdSamples, defineAddonMigrations, defineCustomActions, defineEntryKind, defineExtensionSlotProvider, defineNotificationTargetKind, defineRecordKinds, dehydrateConfigField, dehydrateSchema, deleteAlarmProfile, deliverableFields, deliveryParamsDeclaredBy, derivativeDraft, derivativeUnitLabel, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveFeatureProvenance, deriveMaskSupplies, deriveMediaPlayerView, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeHold, describeHoldMs, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSubject, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, describeUnmet, detectAccessRole, detectionClassMatches, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceAttentionKind, deviceBackendToFormat, deviceCredentialsCapability, deviceCustomAction, deviceDoFamily, deviceExportCapability, statusInstanceOf as deviceExportStatusInstanceOf, statusInstanceOf, deviceExtensionCapability, deviceHistoryCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceRefusalFromMessage, deviceRemovalHookCapability, deviceRunsCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, deviceTransitionsCapability, diffStepSettings, disarmRoseMemory, dishwasherCapability, displayPaletteCapability, displayUnitFor, doActionSelectValue, doNotDisturbCapability, dominantClipLabels, doorbellCapability, droppedConditionsForKind, edgetpuDelegateDevice, effectiveStepSettings, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, electByShareWithAffinity, eligibleUnderBenchmark, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeCardsToComposition, encodeFlipperParsed, encodeProfileFromStreamShape, encodeSamsung, encodeVectorBase64, ensureAlarmProfiles, entryBody, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, estimateNodeBenchmarkDurationMs, evaluateAggregate, evaluateAst, evaluateCompositionField, evaluateConditionTree, evaluateCount, evaluateDerivative, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateStationaryTrigger, evaluateStatistic, evaluateStepCondition, evaluateWhenTree, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, eventLeafIdAt, eventOverlapsClipWindow, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, expandDraft, expandSystemEventClasses, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, expressionDraft, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanAxisPath, fanControlCapability, fanOutTargets, fanPresetsCapability, featureFieldEntries, featureForwards, featureOfRole, featureProbeCapability, featureSources, featuresOfBoundCaps, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldEntryToSource, fieldReads, fieldSupportForTargets, fieldUnitKeys, fieldUserFinder, fieldsPinnedAtValueBelow, filesystemBrowseCapability, fillWidthScale, findCandidateCycles, findChannelSource, findCompositionCycles, findMigrationsBlocked, findTimezone, findVocabAction, flattenNestedRecords, flattenPortsOver, flipperIrDraft, flipperIrTable, flipperRole, floodCapability, foldSnapshotByFunction, followSwitchRunningFeature, forEachLeaf, forbiddenError, foreignCapacityCells, forgetKnownSecret, formatDeviceRevoker, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatPaletteViolations, formatParkedFor, formatReading, formatSecretScope, formulaProblem, forwardProblems, forwardSourceProblems, forwardSourceRefs, freshResults, fuseRecoveredDetections, gasCapability, gbToBytes, generateAutomationBlock, generateDeviceAlias, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getDebugInterest, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, globalSecretScope, grammarFor, grantRowsOf, groupActiveCapability, groupCommandsCapability, groupStatusCapability, groupTemplate, guardInstanceDelete, hasEventLeaves, hasHoldLeaves, hasModelBoundOverrides, hasMotionTrigger, hasOwnRunningPowerDefaults, hasTimeLeaves, hasTriggeredByLeaves, hasUrlScheme, heatPumpControlCapability, heatPumpInstantCop, heatPumpStatusCapability, heatingValveCapability, helperMembers, helperSaveProblems, heroArgsWithValue, heroLayoutCapability, t as heroText, hfModelUrl, historyFieldsFor, historyItemFieldPath, historyRetentionFromSettings, historyUnitFor, holdOf, holdRefusalOf, holdVarSlots, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, iconCategoryLabel, iconEntry, iconsInCategory, identifiedEventLeaves, imageCapability, imageModesForKind, imageSettingsCapability, implementedMethodsOf, inferExpressionKinds, inferModelProvider, ingestReading, initialPoolMemoryState, insertComponent, instanceApiOverTargets, instanceSourceOverApi, instancesOfCap, instantKindsOf, integralCadenceMs, integralDraft, integrateReading, integrationBodyFromRows, integrationInstancesCapability, integrationRowsApiOver, integrationRowsMigration, integrationRowsPortsOver, integrationRowsPortsOverApi, integrationRowsToRecordId, integrationsCapability, intercomCapability, internalActionId, interpolate, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, irSourceProblem, irTransmitterCapability, isAgentOnlyPlacement, isAirConditioner, isAlarmControllableCap, isAlertEpisodeOpen, isAlertEpisodeSeverity, isAppLinkBase, isAppStartRefusal, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isAutomaticShareSource, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isCommand, isCredentialTokenPayload, isDebugChannelName, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDefinitiveDeviceRefusal, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDoActionActuatable, isDoPickerDeviceType, isDrawableSubjectPath, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventLeaf, isEventOwnerType, isFirstLevelMacroClass, isForwardInputRef, isHeldBackTemplateVar, isHistoryHelper, isHubId, isIconKey, isInstanceEnabled, isInternalActionId, isIsolatedBuiltin, isKernelDerivedFeature, isKeychainStoredField, isKnownTemplateVar, isKnownTimeZone, isLabelSupplyStepId, isLeaf, isLocationEnabled, isMediaOwnerType, isModelScopedStepSettingKey, isNode, isOauthLandingReason, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isPlugApplianceType, isPositionTicking, isQuantityValue, isReadingQuantity, isRemoteCustomKey, isRemoteKnownRole, isRemoteRole, isRemoteWidgetRole, isRemovedModelId, isReservedDeviceAlias, isRestoredCap, isRetiredClearKey, isRootRelativeUrl, isRootSuppliableStepId, isRunningOptOut, isSameAddonId, isScheduleActive, isScheduleOnlySystemRule, isSecretClear, isSecretConfigField, isSecretFieldView, isSecretMarker, isSecretMarkerLike, isSecretRef, isSecretRefOwnedBy, isSingleHubAddressRole, isSkippedTrace, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventRecoveryKind, isSystemEventSummaryRule, isSystemRuleKind, isTemplateKind, isUnfilledRequiredProblem, isUsableTimeZone, isVectorIndexDimConflict, isVoidInput, isZodSecret, ituDbfsFromPreEpoch, jobKindSchema, judgeTimeWindow, kebabToCamel, keychainAdminCapability, keychainCapability, kindOfValue, kindsForDiscriminator, knownSecretCount, knownValues, lawnMowerControlCapability, leafCatalogEntry, leafKindsFor, legacyAutoLinkIds, legacyImageMode, legacyModeOf, legacyTargetsOver, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkField, linkFieldDescriptor, linkUserFinder, linkedId, linkedIdOf, linkedLabelStepId, linkedStepOf, linksOfKind, listBenchDetailSteps, listNotificationTargets, llmCapability, llmRuntimeCapability, loadContributionCapability, localDateOf, localNetworkCapability, localizeConfigTree, locationIconKey, locationSimilarity, lockControlCapability, lockDoorLinkOfComposition, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeInMemoryRecords, makeProfileBrokerId, makeSecretMarker, makeSourceBrokerId, mapAudioLabelToMacro, mapSecretLeaves, markFieldEdited, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, maxDurationMs, mayReadLocation, mayWriteToLocation, measuredCapacityFromResults, measuredDetectorCells, mediaPlayerCapability, mediaPlayerExtensionCommands, mediaPlayerFeaturesOfRoles, memoizePinnedFfmpeg, mergeClipLabels, mergeKeyedArrayItem, mergeOverrides, mergeScalarTarget, mergeSecretStatePaths, mergeSettingsBags, mergeSkipTraces, mergeSourceInfo, meshNetworkCapability, meterCapability, method, methodAccessForHttpMethod, methodRefusal, methodRoleOf, metricsProviderCapability, migrateLegacyDeviceSignalConfig, migrationSet, migrationsCapability, minimumOf, minutesToTimeOfDay, modeForSwitch, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, modelScopedStepSettingKeys, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, moveBrokerLinksToConnections, moveCalendarIdsToRecords, moveGroup, moveIntegrationRowsToRecords, moveRegistrySwitchToBody, moveTargetRows, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, ncMediaPolicyError, networkAccessCapability, networkLinkCapability, networkQualityCapability, nextLocalMidnight, nextOccurrence, nextTimeBoundaryInMs, nodeBenchmarkRefusals, nodeCertificatesCapability, nodeIdOfScopedKey, nodePickerItems, nodePin, nodeRemovalHookCapability, nodesCapability, normalizeActionUnits, normalizeAddonInitResult, normalizeAudioLabel, normalizeCapStep, normalizeConditionUnits, normalizeCoreBlockWrite, normalizeNcMediaPolicy, normalizeNodeId, normalizeOffSeconds, normalizeOrigin, normalizeRecipeUnits, normalizeSecretOwner, normalizeStepTargets, normalizeTokenScopes, normalizeUnit, normalizedArea, notificationOutputCapability, notificationRulesCapability, notificationTargetKindName, notificationTargetKindOf, notificationTargetKinds, notificationTargetParts, notifierCapability, numericSensorCapability, oauthIntegrationCapability, oauthLandingUrl, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, observeHoldLeaves, occupancyScope, occurrenceOn, omitTransientConfig, openReset, openStatistic, optionalAncestors, optionalLinkField, optionalMethod, orderMigrations, osdCapability, osdManagerCapability, overlayClusterStepSettings, ownedSlice, packagePickerItems, paintHex, paletteEntryLabel, paletteFromInput, paletteFromStored, paletteLegend, paletteResultSchema, paletteSwatchSchema, paramMeta, paramMetaOf, parseAcceleratorFactsJson, parseAdminBase, parseAlertEpisodePayload, parseAppAuthCallback, parseAppFlowRequest, parseAppPageLang, parseCameraStreamConfig, parseColorInput, parseCredentialScopes, parseDeviceEnrollmentLink, parseExpression, parseFlipperIr, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOauthLandingFragment, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRetrainRevisionConflict, parseRuleSection, parseSecretPath, parseSecretRef, parseSecretStatePath, parseSessionPlacementPolicy, parseShareSource, parseSmartIr, parseSmtpSinceKey, parseStreamParamsFormPatch, parseTrainingEventLine, patchAudio, petFeederCapability, petFountainCapability, petFountainFromEntitiesComposition, petFountainWaterItem, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickFaceRescoreIntervalMinutes, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRequestOrigin, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pinUnderBenchmark, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, planMotionCropRegions, planMotionCrops, planRecoveryCrops, planResetTier, planStatisticTier, plateGalleryCapability, platformProbeCapability, plusCatalogDefaultClassFloors, plusCatalogLabelFields, poolMemoryThreshold, powerMeterCapability, powerOnFromSlice, powerServedBy, powerSourceActuatorConflicts, powerSourceCapability, powerSourceLinkOfComposition, preconditionOf, prepareNotification, prepareRecipeUnits, presenceCapability, presetById, pressureSensorCapability, primaryCapForRole, primaryChildPreferenceOf, principalMayReachAddon, priorityLevelsOf, privacyMaskCapability, probeToTestResult, problemsBlockSave, procedureAuthKey, processTimeZoneOr, projectDeviceRow, projectKeyedArrayAssignment, projectPulseAssignment, projectScalarAssignment, projectSpanAssignment, projectSubjectPath, projectedPositionMs, proposeRunningThreshold, providerMotionEvent, pruneDeletedEntities, ptzAutotrackCapability, ptzCapability, publicEndpointReaderFrom, publicEventCategories, pumpCycleCapability, pythonScriptForBackend, quantityFromUnit, rankStreams, readClusterStepModels, readClusterStepSettings, readCommandOrigin, readDetailCropConvention, readDeviceStateFrom, readErrorI18n, readFaceRescoreIntervalMinutes, readHubMotionDetected, readHubMotionStatus, readKeyedArrayItems, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readRecoveryRecipe, readRecoveryRecipeForSteps, readStoredRemoteConfig, readTimelapseGeneratedAt, readUseRootModel, readinessKey, readingMeta, rebootCapability, recipeSiteIssues, recommendNode, reconcileBlockDevices, reconcileRemovedDevices, reconcileReportedFeatures, recordArrayItemPath, recordEntriesCapability, recordSecretCollection, recordSecretRef, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, recordsCapability, recordsErrorFromMessage, recordsOverMigrationApi, rectContains, rectsOverlap, rectsToCells, reducePoints, reducerForActive, registerKnownSecret, registerPowerSwitch, registrySwitchPortsOver, registrySwitchToBodyId, registrySwitchToBodyMigration, remapCropDetections, remoteCapability, remoteLayoutComponentsCapability, remoteRoleIcon, remoteRoleLabel, remoteRoleLegend, remoteSourceSteps, removeGroup, removeScalarTarget, renameAlarmProfile, renderVocabPhrase, replacedFieldKeys, replayDwellIntervals, reportIsScalable, requestMountPrefix, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveActionVariables, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveAttachmentUrls, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeliveryParams, resolveDeviceControlKind, resolveDeviceProfile, resolveDeviceSettings, resolveDeviceTarget, resolveEffectiveShares, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHeroLayout, resolveHeroLook, resolveHeroSceneId, resolveHubAddressRoles, resolveHydratedFieldValue, resolveIconKey, resolveInternalAddress, resolveLatencyColumn, resolveLocationMode, resolveMethodAuth, resolveMethodRole, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNcMediaImage, resolveNotificationTapAddress, resolveOwnPower, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRemoteSource, resolveRootSupply, resolveRunnerId, resolveSecretMarkers, resolveSecretViewsIn, resolveServerName, resolveStepArgs, resolveStepArgsWithTemplates, resolveStreamMaps, resolveTemplateRef, resolveVariantModelId, resolveViewableDeviceIds, resolvedValues, resultCellKey, resultStandings, retiredTargetsOver, retrainBoxIou, retrainRevisionConflictMessage, rewriteBody as rewriteLoginProxyBody, rewriteLocation as rewriteLoginProxyLocation, rewriteReferer as rewriteLoginProxyReferer, rewriteSetCookie as rewriteLoginProxySetCookie, roleSpec, rollingDurationMs, roomCompositionExample, rootSuppliesOf, rootSupplyServes, rowsDepsOver, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleFireOfClaim, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, ruleTriggerZoneIds, runAddonMigrations, runExportedAction, runFanOut, runForDevices, runInferenceStep, runSteps, runningFollowsSwitch, runningFromDishwasherOperation, runningFromLawnMower, runningFromMediaPlayer, runningFromVacuumState, runningOptOutFeature, runningPowerDefaultsFor, runningStateCapability, runtimeDevices, runtimeFieldUnit, runtimeStatePolicyFor, sameDoFamily, sameHelperBody, sameRead, sanitizeTargetOverride, scalarTargetCount, sceneMonitorCapability, scheduleForSendTimes, schedulersCapability, schemaDeclaresAnyField, scopeInherits, scopeInstancesToCaller, scopeKey, scopesAllowAddon, scopesAllowAddonRoutes, scopesAllowDeviceCap, scopesAllowOwnPreferences, scopesGrantAdmin, scoreRuntimes, scriptRunnerCapability, scrubKnownSecrets, searchIcons, secretArrayPrefixes, secretKeysOf, secretTreeFromPaths, secretTreeFromSchema, secretViewsOf, secretsOverMigrationApi, secureActuationFor, seedInstanceOnce, seedLeaf, seekPatch, selectAppConnectionEndpoints, selectAssignedProfileSlots, selectFewShots, selectRecoveryStep, sendTimesForEditor, sendTimesOfSchedule, sendToExportedTarget, sensorRaisedOf, sensorTransitionMeaning, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, sessionLostAlertId, sessionsOfDeviceCell, setByPath, setFormulaExpr, setPaletteInputSchema, settingValuesEqual, settingsBelow, settingsStoreCapability, settleDeviceFeatures, shareViewGrantOf, sharedActuatorFeatures, sharedActuatorMethods, sharedColorModes, sharedLightCaps, shortHostname, shortSecretRefHash, signalPercentFromBars, signalPercentFromRssi, siteFor, siteZoneKey, skipSignature, sleep, sleepCancellable, sliceActiveValue, sliceCapOf, sliceChangedAt, slugifyDeviceAlias, smartIrDraft, smokeCapability, smtpProviderCapability, smtpSinceKey, snapshotCapability, sourcePickForHistory, sourcePickForMath, sourcePickForTemplate, splitTranslationRef, squareAround, ssoBridgeCapability, stableIdKey, stableIdMapOf, startMoverUnderClearance, startReachabilityPoll, stateLabel, stateVocabularyFor, statisticCadenceMs, statisticDraft, stepGuardSiteIssues, stepModelRunsOnFormat, stepPulse, stepSettingSource, stepSpan, storageAdminCapability, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, storedFromReady, storedPaletteSchema, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subClassesOf, subKindsOf, subjectFromClassName, subjectHasPath, subjectMatches, subjectPathSampleFromBox, subjectPathSvgPoints, summarisePrivacyAudio, summarizeEffectiveScope, summarizeReview, sunCrossings, sunTimes, supplyFor, supportedRuntimes, swatchHex, switchCapability, switchRecordsOverMigrationApi, switchStateOfMode, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventClassKinds, systemEventClassOf, systemEventClassesFor, systemEventDeliveryAsModes, systemEventDeliveryModesOf, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, targetAttachmentAllows, targetBody, targetFeature, targetOfRecord, targetRowPortsOver, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCapKey, templateCapability, templateCarriesSummary, templateDeviceType, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, thresholdDraft, thresholdToBase, thresholdToDisplay, timeOfDayToMinutes, timedRunCapability, timedRunLimitOf, timedRunMaxIn, timedRunQuickRun, timedRunRemaining, timedRunSeconds, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toPercentShares, toSecretFieldView, toStreamSourceEntry, toTimings, toastCapability, toggleAudioLabel, tokenize, trainingCapability, trainingProviderCapability, transcodeBody, transformSecretWrite, triggerLeafVariables, triggerVariablesOf, triggeredByIssue, tryConvertDelta, tryConvertUnit, turnProviderCapability, twilightTimes, ungroup, unitCompanionField, unitDimension, unitsForDimension, unitsForQuantity, unmetRequirements, unreachableExtensionSlotRow, unwrapSchema, updateCapability, usableProcessTimeZone, userError, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateDraft, validateExpressionSource, validatePalette, validateRecipeBounds, validateSchedulerInput, validateTimeSpecForSite, validateWhenTree, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerAdmitsDevice, viewerHoldsRole, viewerLinkBaseOf, viewerScopeOf, viewerUiCapability, vocabActionIdFor, actionsForDevice$1 as vocabularyActionsForDevice, triggersForDevice as vocabularyTriggersForDevice, waterHeaterCapability, wattMillisecondsToKwh, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weekdayOfLocalDate, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, whenDepth, whenSiteIssues, widenDeviceConstructor, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withClipEventLabels, withDefaultRunning, withFieldFrom, withLocationMode, withSystemEventClasses, withSystemEventModes, withoutCallerStamp, withoutField, withoutKeyedArrayItem, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneOnlySite, zoneRulesCapability, zonesCapability };
|