@camstack/types 1.2.549 → 1.2.551
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 +28 -0
- package/dist/addon/addon-instance.d.ts +23 -0
- package/dist/addon/build-addon-route-provider.d.ts +2 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/automation/fired-trigger.d.ts +44 -0
- package/dist/automation/index.d.ts +8 -5
- package/dist/automation/recipe.d.ts +12105 -604
- package/dist/automation/scheduler.d.ts +7 -0
- package/dist/automation/step-runner.d.ts +70 -0
- package/dist/automation/trace.d.ts +254 -145
- package/dist/automation/wait-until.d.ts +32 -0
- package/dist/automation/when-site.d.ts +1 -1
- package/dist/automation/when.d.ts +39 -1
- package/dist/capabilities/actions.cap.d.ts +1 -178
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/core-blocks.cap.d.ts +117 -8723
- package/dist/capabilities/event-emitter.cap.d.ts +99 -3
- package/dist/capabilities/event-vocabulary.d.ts +99 -0
- package/dist/capabilities/index.d.ts +1 -0
- package/dist/capabilities/oauth-integration.cap.d.ts +8 -0
- package/dist/capabilities/schedulers.cap.d.ts +1 -178
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
- package/dist/capabilities/user-management.cap.d.ts +4 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1488 -156
- package/dist/index.mjs +1442 -157
- package/dist/interfaces/addon-routes.d.ts +13 -0
- package/dist/interfaces/config-ui.d.ts +15 -24
- package/dist/{sleep-Bn346wCJ.mjs → sleep-D0roI_CZ.mjs} +4 -0
- package/dist/{sleep-LFKpQ2_f.js → sleep-dcR4vBFG.js} +4 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-D0roI_CZ.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
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
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";
|
|
@@ -460,6 +460,7 @@ function buildAddonRouteProvider(id, routes) {
|
|
|
460
460
|
query: input.query,
|
|
461
461
|
body: input.body,
|
|
462
462
|
headers: input.headers,
|
|
463
|
+
...match.route.perInstance === true && input.instanceId !== void 0 ? { instanceId: input.instanceId } : {},
|
|
463
464
|
...input.user ? { user: input.user } : {},
|
|
464
465
|
...input.scopedToken !== void 0 ? { scopedToken: input.scopedToken } : {}
|
|
465
466
|
};
|
|
@@ -528,6 +529,35 @@ function buildCapturingReply(envelope) {
|
|
|
528
529
|
return wrapper;
|
|
529
530
|
}
|
|
530
531
|
//#endregion
|
|
532
|
+
//#region src/addon/addon-instance.ts
|
|
533
|
+
/**
|
|
534
|
+
* The integration instance of an addon, as it appears in an address or on an
|
|
535
|
+
* OAuth link (planning#415, D1046).
|
|
536
|
+
*
|
|
537
|
+
* The DEFAULT instance has two spellings on the wire and one in the code: a
|
|
538
|
+
* path with no instance segment and a link with no instance both mean it, and
|
|
539
|
+
* its id is the addon id. {@link oauthLinkServesInstance} is the one
|
|
540
|
+
* comparison a per-instance route is meant to call, so nobody compares
|
|
541
|
+
* `undefined` with an id. The Alexa export's routes are its first caller.
|
|
542
|
+
*/
|
|
543
|
+
/** An instance id as it may appear in a path or a query: no separator, no escape, bounded. */
|
|
544
|
+
var ADDON_INSTANCE_ID_RE = /^[A-Za-z0-9._-]{1,64}$/;
|
|
545
|
+
function isAddonInstanceId(value) {
|
|
546
|
+
return ADDON_INSTANCE_ID_RE.test(value);
|
|
547
|
+
}
|
|
548
|
+
/** The instance a link was made for, with the default one spelled as the addon id. */
|
|
549
|
+
function oauthLinkInstanceId(link, addonId) {
|
|
550
|
+
return link.instanceId ?? addonId;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* True when a verified link may be used on a request addressed to
|
|
554
|
+
* `requestInstanceId` (`AddonHttpRequest.instanceId`, absent on a route that
|
|
555
|
+
* is not per-instance, which is the default instance).
|
|
556
|
+
*/
|
|
557
|
+
function oauthLinkServesInstance(link, requestInstanceId, addonId) {
|
|
558
|
+
return oauthLinkInstanceId(link, addonId) === (requestInstanceId ?? addonId);
|
|
559
|
+
}
|
|
560
|
+
//#endregion
|
|
531
561
|
//#region src/addon/session-health.ts
|
|
532
562
|
var SESSION_LOST_ALERT_CATEGORY = "integration.session-lost";
|
|
533
563
|
var SESSION_EPISODE_KEY = "session-lost";
|
|
@@ -5709,12 +5739,12 @@ function toStreamSourceEntry(stream) {
|
|
|
5709
5739
|
function isString(v) {
|
|
5710
5740
|
return typeof v === "string";
|
|
5711
5741
|
}
|
|
5712
|
-
function isRecord$
|
|
5742
|
+
function isRecord$6(v) {
|
|
5713
5743
|
return typeof v === "object" && v !== null && !Array.isArray(v);
|
|
5714
5744
|
}
|
|
5715
5745
|
function parseStreamEntry(v) {
|
|
5716
5746
|
if (isString(v) && v.trim()) return { url: v };
|
|
5717
|
-
if (isRecord$
|
|
5747
|
+
if (isRecord$6(v) && isString(v["url"]) && v["url"].trim()) return {
|
|
5718
5748
|
url: v["url"],
|
|
5719
5749
|
label: isString(v["label"]) ? v["label"] : void 0
|
|
5720
5750
|
};
|
|
@@ -6355,20 +6385,20 @@ var SURVIVING_TRIGGER_KEYS = [
|
|
|
6355
6385
|
"objectClasses",
|
|
6356
6386
|
"sensorDeviceIds"
|
|
6357
6387
|
];
|
|
6358
|
-
function isRecord$
|
|
6388
|
+
function isRecord$5(value) {
|
|
6359
6389
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6360
6390
|
}
|
|
6361
6391
|
function listensToLegacySignal(band) {
|
|
6362
|
-
return isRecord$
|
|
6392
|
+
return isRecord$5(band) && isRecord$5(band.triggers) && band.triggers.deviceSignal === true;
|
|
6363
6393
|
}
|
|
6364
6394
|
function hasSurvivingTrigger(band) {
|
|
6365
6395
|
const triggers = band.triggers;
|
|
6366
|
-
if (!isRecord$
|
|
6396
|
+
if (!isRecord$5(triggers)) return false;
|
|
6367
6397
|
return SURVIVING_TRIGGER_KEYS.some((key) => triggers[key] !== void 0);
|
|
6368
6398
|
}
|
|
6369
6399
|
function withoutLegacySignal(band) {
|
|
6370
6400
|
const triggers = band.triggers;
|
|
6371
|
-
if (!isRecord$
|
|
6401
|
+
if (!isRecord$5(triggers)) return band;
|
|
6372
6402
|
const { deviceSignal: _retired, ...rest } = triggers;
|
|
6373
6403
|
return {
|
|
6374
6404
|
...band,
|
|
@@ -6398,11 +6428,11 @@ function migrateLegacyDeviceSignalConfig(raw) {
|
|
|
6398
6428
|
migrated: false,
|
|
6399
6429
|
strippedOnly: false
|
|
6400
6430
|
};
|
|
6401
|
-
if (!isRecord$
|
|
6431
|
+
if (!isRecord$5(raw) || !Array.isArray(raw.bands)) return unchanged;
|
|
6402
6432
|
if (!raw.bands.some(listensToLegacySignal)) return unchanged;
|
|
6403
6433
|
const kept = [];
|
|
6404
6434
|
for (const band of raw.bands) {
|
|
6405
|
-
if (!listensToLegacySignal(band) || !isRecord$
|
|
6435
|
+
if (!listensToLegacySignal(band) || !isRecord$5(band)) {
|
|
6406
6436
|
kept.push(band);
|
|
6407
6437
|
continue;
|
|
6408
6438
|
}
|
|
@@ -32140,6 +32170,143 @@ function anySubjectMatches(subjects, observed) {
|
|
|
32140
32170
|
};
|
|
32141
32171
|
}
|
|
32142
32172
|
//#endregion
|
|
32173
|
+
//#region src/capabilities/event-vocabulary.ts
|
|
32174
|
+
/**
|
|
32175
|
+
* The declared vocabulary of an `event-emitter` device (D1044): what the
|
|
32176
|
+
* device can fire, named for a person and typed for a rule.
|
|
32177
|
+
*
|
|
32178
|
+
* `id` is the native token, verbatim. `kind` is the meaning shared by every
|
|
32179
|
+
* integration, so "any long press" can be asked without knowing a vendor's
|
|
32180
|
+
* token. A device with several buttons declares one entry per button and
|
|
32181
|
+
* token: an entry is identified by its token AND its source.
|
|
32182
|
+
*/
|
|
32183
|
+
/** The cross-integration meaning of an event. */
|
|
32184
|
+
var EVENT_VOCABULARY_KINDS = [
|
|
32185
|
+
"press",
|
|
32186
|
+
"long-press",
|
|
32187
|
+
"long-press-start",
|
|
32188
|
+
"release",
|
|
32189
|
+
"repeat",
|
|
32190
|
+
"double-press",
|
|
32191
|
+
"other"
|
|
32192
|
+
];
|
|
32193
|
+
var EventVocabularyKindSchema = z.enum(EVENT_VOCABULARY_KINDS);
|
|
32194
|
+
/** The part of the device an event comes from: a button, a channel. */
|
|
32195
|
+
var EventVocabularySourceSchema = z.object({
|
|
32196
|
+
id: z.string().min(1),
|
|
32197
|
+
label: z.string().min(1)
|
|
32198
|
+
});
|
|
32199
|
+
/** One scalar field of an event's `data`, by dotted path. */
|
|
32200
|
+
var EventVocabularyFieldSchema = z.object({
|
|
32201
|
+
path: z.string().min(1),
|
|
32202
|
+
kind: z.enum([
|
|
32203
|
+
"string",
|
|
32204
|
+
"number",
|
|
32205
|
+
"boolean",
|
|
32206
|
+
"enum"
|
|
32207
|
+
]),
|
|
32208
|
+
enumValues: z.array(z.string()).optional(),
|
|
32209
|
+
label: z.string().min(1).optional()
|
|
32210
|
+
});
|
|
32211
|
+
var EventVocabularyEntrySchema = z.object({
|
|
32212
|
+
/** The native token, verbatim. */
|
|
32213
|
+
id: z.string().min(1),
|
|
32214
|
+
source: EventVocabularySourceSchema.optional(),
|
|
32215
|
+
label: z.string().min(1),
|
|
32216
|
+
description: z.string().optional(),
|
|
32217
|
+
kind: EventVocabularyKindSchema.optional(),
|
|
32218
|
+
payload: z.array(EventVocabularyFieldSchema).optional()
|
|
32219
|
+
});
|
|
32220
|
+
/**
|
|
32221
|
+
* The vocabulary of a source that declares tokens and nothing else: one
|
|
32222
|
+
* entry per token, labelled with the token itself.
|
|
32223
|
+
*/
|
|
32224
|
+
function plainEventVocabulary(eventTypes) {
|
|
32225
|
+
return [...new Set(eventTypes)].filter((eventType) => eventType !== "").map((eventType) => ({
|
|
32226
|
+
id: eventType,
|
|
32227
|
+
label: eventType
|
|
32228
|
+
}));
|
|
32229
|
+
}
|
|
32230
|
+
/**
|
|
32231
|
+
* Tokens many integrations use for a button, by their normalised spelling
|
|
32232
|
+
* (lower case, words joined by `_`). Exact matches only: a token that
|
|
32233
|
+
* merely contains one of these words gets no kind.
|
|
32234
|
+
*/
|
|
32235
|
+
var CONVENTIONAL_KINDS = {
|
|
32236
|
+
press: "press",
|
|
32237
|
+
pressed: "press",
|
|
32238
|
+
single: "press",
|
|
32239
|
+
single_press: "press",
|
|
32240
|
+
single_click: "press",
|
|
32241
|
+
short_press: "press",
|
|
32242
|
+
press_short: "press",
|
|
32243
|
+
click: "press",
|
|
32244
|
+
initial_press: "press",
|
|
32245
|
+
long_press: "long-press",
|
|
32246
|
+
press_long: "long-press",
|
|
32247
|
+
long_click: "long-press",
|
|
32248
|
+
hold: "long-press",
|
|
32249
|
+
long_press_start: "long-press-start",
|
|
32250
|
+
press_long_start: "long-press-start",
|
|
32251
|
+
release: "release",
|
|
32252
|
+
released: "release",
|
|
32253
|
+
long_release: "release",
|
|
32254
|
+
long_press_release: "release",
|
|
32255
|
+
press_long_release: "release",
|
|
32256
|
+
short_release: "release",
|
|
32257
|
+
repeat: "repeat",
|
|
32258
|
+
hold_repeat: "repeat",
|
|
32259
|
+
press_cont: "repeat",
|
|
32260
|
+
double_press: "double-press",
|
|
32261
|
+
double_click: "double-press",
|
|
32262
|
+
double: "double-press",
|
|
32263
|
+
multi_press_2: "double-press"
|
|
32264
|
+
};
|
|
32265
|
+
function normalisedToken(token) {
|
|
32266
|
+
return token.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
|
|
32267
|
+
}
|
|
32268
|
+
function readableToken(token) {
|
|
32269
|
+
const words = normalisedToken(token).replace(/_/g, " ");
|
|
32270
|
+
if (words === "") return token;
|
|
32271
|
+
return `${words.charAt(0).toUpperCase()}${words.slice(1)}`;
|
|
32272
|
+
}
|
|
32273
|
+
/**
|
|
32274
|
+
* The vocabulary of a source that declares tokens only, read by convention:
|
|
32275
|
+
* a readable label, and the shared kind when the token is one many
|
|
32276
|
+
* integrations use for a button. The token itself is kept verbatim.
|
|
32277
|
+
*/
|
|
32278
|
+
function conventionalEventVocabulary(eventTypes) {
|
|
32279
|
+
return plainEventVocabulary(eventTypes).map((entry) => {
|
|
32280
|
+
const kind = CONVENTIONAL_KINDS[normalisedToken(entry.id)];
|
|
32281
|
+
const label = readableToken(entry.id);
|
|
32282
|
+
return kind === void 0 ? {
|
|
32283
|
+
id: entry.id,
|
|
32284
|
+
label
|
|
32285
|
+
} : {
|
|
32286
|
+
id: entry.id,
|
|
32287
|
+
label,
|
|
32288
|
+
kind
|
|
32289
|
+
};
|
|
32290
|
+
});
|
|
32291
|
+
}
|
|
32292
|
+
/** The native tokens of a vocabulary, each once, in declaration order. */
|
|
32293
|
+
function eventTypesOfVocabulary(vocabulary) {
|
|
32294
|
+
return [...new Set(vocabulary.map((entry) => entry.id))];
|
|
32295
|
+
}
|
|
32296
|
+
/**
|
|
32297
|
+
* The vocabulary to show and match against. A status with none declared
|
|
32298
|
+
* answers with its plain tokens, so an older provider is still usable.
|
|
32299
|
+
*/
|
|
32300
|
+
function readEventVocabulary(status) {
|
|
32301
|
+
const declared = status.vocabulary;
|
|
32302
|
+
if (declared !== void 0 && declared.length > 0) return declared;
|
|
32303
|
+
return plainEventVocabulary(status.eventTypes);
|
|
32304
|
+
}
|
|
32305
|
+
/** The entry a fire belongs to: same token, same source (or both without one). */
|
|
32306
|
+
function findVocabularyEntry(vocabulary, eventType, sourceId) {
|
|
32307
|
+
return vocabulary.find((entry) => entry.id === eventType && entry.source?.id === sourceId);
|
|
32308
|
+
}
|
|
32309
|
+
//#endregion
|
|
32143
32310
|
//#region src/time/solar.ts
|
|
32144
32311
|
/**
|
|
32145
32312
|
* Where the sun is, from a latitude and a longitude — the one solar
|
|
@@ -32890,6 +33057,33 @@ var ScheduleLeafSchema = z.object({
|
|
|
32890
33057
|
/** @deprecated legacy cron — new schedules use `at`. */
|
|
32891
33058
|
cron: z.string().min(1).max(120).optional()
|
|
32892
33059
|
}).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" });
|
|
33060
|
+
/**
|
|
33061
|
+
* One payload predicate of a `device-fired` row: the value at `path` inside
|
|
33062
|
+
* the fire's `data` (dotted) equals `equals`. Compared strictly, no coercion.
|
|
33063
|
+
*/
|
|
33064
|
+
var DeviceFiredMatchSchema = z.object({
|
|
33065
|
+
path: z.string().min(1).max(120),
|
|
33066
|
+
equals: z.union([
|
|
33067
|
+
z.string(),
|
|
33068
|
+
z.number(),
|
|
33069
|
+
z.boolean()
|
|
33070
|
+
])
|
|
33071
|
+
});
|
|
33072
|
+
/**
|
|
33073
|
+
* "fires": one device of the `event-emitter` capability reported an event
|
|
33074
|
+
* (D1045). Every list is an OR, the lists together an AND; an absent list does
|
|
33075
|
+
* not narrow. `eventIds` are the device's own tokens, `sourceIds` the parts of
|
|
33076
|
+
* the device (a button), `kinds` the shared press kinds of its vocabulary.
|
|
33077
|
+
*/
|
|
33078
|
+
var DeviceFiredLeafSchema = z.object({
|
|
33079
|
+
kind: z.literal("device-fired"),
|
|
33080
|
+
...eventLeafId,
|
|
33081
|
+
deviceId: z.number().int().nonnegative(),
|
|
33082
|
+
eventIds: z.array(z.string().min(1)).min(1).max(64).optional(),
|
|
33083
|
+
sourceIds: z.array(z.string().min(1)).min(1).max(64).optional(),
|
|
33084
|
+
kinds: z.array(EventVocabularyKindSchema).min(1).optional(),
|
|
33085
|
+
match: z.array(DeviceFiredMatchSchema).min(1).max(8).optional()
|
|
33086
|
+
});
|
|
32893
33087
|
var ManualLeafSchema = z.object({
|
|
32894
33088
|
kind: z.literal("manual"),
|
|
32895
33089
|
...eventLeafId
|
|
@@ -33033,6 +33227,7 @@ var AutomationWhenSchema = z.lazy(() => z.discriminatedUnion("kind", [
|
|
|
33033
33227
|
}),
|
|
33034
33228
|
DeviceBecomesLeafSchema,
|
|
33035
33229
|
DeviceEventLeafSchema,
|
|
33230
|
+
DeviceFiredLeafSchema,
|
|
33036
33231
|
ScheduleLeafSchema,
|
|
33037
33232
|
ManualLeafSchema,
|
|
33038
33233
|
IntervalLeafSchema,
|
|
@@ -33047,6 +33242,7 @@ var AutomationWhenSchema = z.lazy(() => z.discriminatedUnion("kind", [
|
|
|
33047
33242
|
var EVENT_KINDS = new Set([
|
|
33048
33243
|
"device-becomes",
|
|
33049
33244
|
"device-event",
|
|
33245
|
+
"device-fired",
|
|
33050
33246
|
"schedule",
|
|
33051
33247
|
"manual",
|
|
33052
33248
|
"interval",
|
|
@@ -33145,6 +33341,7 @@ function hasEmptyContainer(node) {
|
|
|
33145
33341
|
var LEAF_WORDS = {
|
|
33146
33342
|
"device-becomes": "a device value that becomes",
|
|
33147
33343
|
"device-event": "a device event",
|
|
33344
|
+
"device-fired": "a device firing an event",
|
|
33148
33345
|
schedule: "a schedule",
|
|
33149
33346
|
manual: "a manual run",
|
|
33150
33347
|
interval: "an interval",
|
|
@@ -33414,9 +33611,12 @@ function convertLegacyWhen(half) {
|
|
|
33414
33611
|
* every caller — automations, Actions, and the notification centre, which runs
|
|
33415
33612
|
* only Actions (planning#473).
|
|
33416
33613
|
*/
|
|
33614
|
+
/** The longest one `wait` step lasts. It is cut by a restart of the run and does not survive a hub restart. */
|
|
33615
|
+
var WAIT_MAX_SECONDS = 3600;
|
|
33616
|
+
var WAIT_TOO_LONG = `a wait is at most one hour (${WAIT_MAX_SECONDS} s)`;
|
|
33417
33617
|
var AutomationWaitStepSchema = z.object({
|
|
33418
33618
|
kind: z.literal("wait"),
|
|
33419
|
-
seconds: z.number().min(0).max(
|
|
33619
|
+
seconds: z.number().min(0).max(WAIT_MAX_SECONDS, WAIT_TOO_LONG)
|
|
33420
33620
|
});
|
|
33421
33621
|
/** The legacy `deviceId` of a cap step: still READ, never written (D983). */
|
|
33422
33622
|
var LegacyStepDeviceSchema = z.union([
|
|
@@ -33546,20 +33746,224 @@ var ActionStepSchema = z.discriminatedUnion("kind", [GuardedWaitStepSchema, Guar
|
|
|
33546
33746
|
path: ["if"]
|
|
33547
33747
|
});
|
|
33548
33748
|
});
|
|
33749
|
+
/**
|
|
33750
|
+
* Flow control of an AUTOMATION's list (#500). A standalone list (an action, a
|
|
33751
|
+
* scheduler point, a preset) stays `wait` and `cap`: it has no run of its own
|
|
33752
|
+
* to end and no variable bag to write.
|
|
33753
|
+
*/
|
|
33754
|
+
var continueOnErrorShape = {
|
|
33755
|
+
/** A failure of this step is traced `failed-continued` and the next step runs. */
|
|
33756
|
+
continueOnError: z.literal(true).optional() };
|
|
33757
|
+
/** An automation's cap step: the shared guarded cap step, plus `continueOnError`. */
|
|
33758
|
+
var AutomationGuardedCapStepSchema = AutomationCapStepBaseSchema.extend({
|
|
33759
|
+
...stepGuardShape,
|
|
33760
|
+
...continueOnErrorShape
|
|
33761
|
+
}).refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
33762
|
+
message: "a cap step needs a target",
|
|
33763
|
+
path: ["target"]
|
|
33764
|
+
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
33765
|
+
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
33766
|
+
path: ["actionId"]
|
|
33767
|
+
}).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf);
|
|
33768
|
+
var STOP_REASON_MAX = 200;
|
|
33769
|
+
/** End the run here, on purpose. `reason` may carry `{{vars.x}}` slots. */
|
|
33770
|
+
var AutomationStopStepSchema = z.object({
|
|
33771
|
+
kind: z.literal("stop"),
|
|
33772
|
+
reason: z.string().min(1, "a stop needs a reason: it is what the run trace shows").max(200),
|
|
33773
|
+
/** `ok`: the run ends as a success. `failed`: it ends as a failure, with the reason. */
|
|
33774
|
+
outcome: z.enum(["ok", "failed"]),
|
|
33775
|
+
/** Stop only when this reads true; false or unknown does not stop. */
|
|
33776
|
+
if: AutomationWhenSchema.optional()
|
|
33777
|
+
});
|
|
33778
|
+
var SET_VARS_MAX = 20;
|
|
33779
|
+
var SET_VAR_VALUE_MAX = 500;
|
|
33780
|
+
var SET_VAR_NAME_RE = /^[A-Za-z_][A-Za-z0-9_]{0,39}$/;
|
|
33781
|
+
/** Names the run itself writes and reads (`leaf` is what `triggered-by` judges): a step may not overwrite them. */
|
|
33782
|
+
var RESERVED_RUN_VARS = [
|
|
33783
|
+
"kind",
|
|
33784
|
+
"leaf",
|
|
33785
|
+
"at"
|
|
33786
|
+
];
|
|
33787
|
+
/**
|
|
33788
|
+
* Write variables into the run's bag, for the steps after it. SUBSTITUTION
|
|
33789
|
+
* only, never evaluation: a text value may carry `{{vars.x}}` slots.
|
|
33790
|
+
*/
|
|
33791
|
+
var AutomationSetStepSchema = z.object({
|
|
33792
|
+
kind: z.literal("set"),
|
|
33793
|
+
vars: z.record(z.string(), z.union([
|
|
33794
|
+
z.string().max(500),
|
|
33795
|
+
z.number(),
|
|
33796
|
+
z.boolean()
|
|
33797
|
+
])).refine((vars) => Object.keys(vars).every((name) => SET_VAR_NAME_RE.test(name)), { message: "a variable name is letters, digits and _, not starting with a digit (max 40)" }).refine((vars) => Object.keys(vars).length >= 1, { message: "set needs at least one variable" }).refine((vars) => Object.keys(vars).length <= 20, { message: `set holds at most 20 variables` }).refine((vars) => Object.keys(vars).every((name) => !RESERVED_RUN_VARS.includes(name)), { message: `the names ${RESERVED_RUN_VARS.join(", ")} belong to the run and cannot be set` }),
|
|
33798
|
+
/** Set only when this reads true; false or unknown leaves the bag as it is. */
|
|
33799
|
+
if: AutomationWhenSchema.optional()
|
|
33800
|
+
});
|
|
33801
|
+
var AutomationRunActionStepSchema = z.object({
|
|
33802
|
+
kind: z.literal("action"),
|
|
33803
|
+
/** An entry of the `actions` surface (`internal:<uuid>` or `<addonId>:<localId>`). */
|
|
33804
|
+
actionId: z.string().min(1),
|
|
33805
|
+
/** Values for the action's declared variables; the others take their default. */
|
|
33806
|
+
variables: z.record(z.string(), z.union([
|
|
33807
|
+
z.string(),
|
|
33808
|
+
z.number(),
|
|
33809
|
+
z.boolean()
|
|
33810
|
+
])).optional(),
|
|
33811
|
+
...continueOnErrorShape
|
|
33812
|
+
});
|
|
33813
|
+
/** How many branches one `choose` holds. */
|
|
33814
|
+
var CHOOSE_BRANCHES_MAX = 6;
|
|
33815
|
+
/**
|
|
33816
|
+
* A step INSIDE a branch of a `choose`: a flow step with no condition of its
|
|
33817
|
+
* own (the branch is the condition) and no block inside it. Strict, so an `if`
|
|
33818
|
+
* written on such a step is refused rather than dropped.
|
|
33819
|
+
*/
|
|
33820
|
+
/** The longest a `wait-until` may wait: six hours. */
|
|
33821
|
+
var WAIT_UNTIL_TIMEOUT_MAX_S = 21600;
|
|
33822
|
+
/**
|
|
33823
|
+
* Pause the run until a condition is true (#500). The timeout is mandatory: a
|
|
33824
|
+
* run never waits without an end. `onTimeout` says what a wait that ran out
|
|
33825
|
+
* does: `continue` goes on to the next step, `stop` ends the run as a failure.
|
|
33826
|
+
* A condition that cannot be read is not "true": the wait goes on (D49).
|
|
33827
|
+
*/
|
|
33828
|
+
var AutomationWaitUntilStepSchema = z.object({
|
|
33829
|
+
kind: z.literal("wait-until"),
|
|
33830
|
+
when: AutomationWhenSchema,
|
|
33831
|
+
timeoutS: z.number().int().min(1, "a wait needs a timeout of at least one second").max(WAIT_UNTIL_TIMEOUT_MAX_S, `a wait for a condition is at most six hours (${WAIT_UNTIL_TIMEOUT_MAX_S} s)`),
|
|
33832
|
+
onTimeout: z.enum(["continue", "stop"])
|
|
33833
|
+
}).strict();
|
|
33834
|
+
/** The step kinds that hold steps of their own, or pause on a condition: they nest two levels at most. */
|
|
33835
|
+
var BLOCK_STEP_KINDS = [
|
|
33836
|
+
"choose",
|
|
33837
|
+
"repeat",
|
|
33838
|
+
"parallel",
|
|
33839
|
+
"wait-until"
|
|
33840
|
+
];
|
|
33841
|
+
var STEP_NEST_MAX = 2;
|
|
33842
|
+
var NEST_TOO_DEEP = `steps nest two levels at most: a step inside a nested choose or repeat can be a plain step only`;
|
|
33843
|
+
function kindOf(input) {
|
|
33844
|
+
return typeof input === "object" && input !== null ? Reflect.get(input, "kind") : void 0;
|
|
33845
|
+
}
|
|
33846
|
+
/** Where the nesting ends, a block step is refused in words rather than as an unknown kind. */
|
|
33847
|
+
function nestTooDeep(issue) {
|
|
33848
|
+
const kind = kindOf(issue.input);
|
|
33849
|
+
return typeof kind === "string" && BLOCK_STEP_KINDS.includes(kind) ? NEST_TOO_DEEP : void 0;
|
|
33850
|
+
}
|
|
33851
|
+
var plainStepSchemas = [
|
|
33852
|
+
AutomationWaitStepSchema.strict(),
|
|
33853
|
+
AutomationCapStepBaseSchema.extend(continueOnErrorShape).strict().refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
33854
|
+
message: "a cap step needs a target",
|
|
33855
|
+
path: ["target"]
|
|
33856
|
+
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
33857
|
+
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
33858
|
+
path: ["actionId"]
|
|
33859
|
+
}),
|
|
33860
|
+
AutomationStopStepSchema.omit({ if: true }).strict(),
|
|
33861
|
+
AutomationSetStepSchema.omit({ if: true }).strict(),
|
|
33862
|
+
AutomationRunActionStepSchema.strict()
|
|
33863
|
+
];
|
|
33864
|
+
/**
|
|
33865
|
+
* A plain step: a flow step with no condition of its own and no step inside
|
|
33866
|
+
* it. The second (last) level of nesting holds these only.
|
|
33867
|
+
*/
|
|
33868
|
+
var AutomationBranchStepSchema = z.discriminatedUnion("kind", plainStepSchemas, { error: nestTooDeep });
|
|
33869
|
+
var PARALLEL_STEPS_MIN = 2;
|
|
33870
|
+
var PARALLEL_STEPS_MAX = 5;
|
|
33871
|
+
/** A step that can run beside others: it writes no variable and does not end the run. */
|
|
33872
|
+
var AutomationParallelMemberSchema = AutomationBranchStepSchema.refine((step) => step.kind === "cap" || step.kind === "action" || step.kind === "wait", "a parallel holds device commands, actions and waits only: a set or a stop beside other steps has no order");
|
|
33873
|
+
/**
|
|
33874
|
+
* Several steps at once (#500): all are started together and all are awaited.
|
|
33875
|
+
* A failure fails the run once the others finished, as in a sequence; a member
|
|
33876
|
+
* marked "continue if this fails" does not.
|
|
33877
|
+
*/
|
|
33878
|
+
var AutomationParallelStepSchema = z.object({
|
|
33879
|
+
kind: z.literal("parallel"),
|
|
33880
|
+
steps: z.array(AutomationParallelMemberSchema).min(2, "a parallel needs at least two steps").max(5, `a parallel takes at most 5 steps`)
|
|
33881
|
+
}).strict();
|
|
33882
|
+
var REPEAT_COUNT_MAX = 20;
|
|
33883
|
+
var REPEAT_ITERATIONS_MAX = 50;
|
|
33884
|
+
var REPEAT_STEPS_MAX = 10;
|
|
33885
|
+
var REPEAT_DEVICES_MAX = 50;
|
|
33886
|
+
/** The run variable a loop over devices writes before each iteration: the device id. */
|
|
33887
|
+
var REPEAT_ITEM_VAR = "item";
|
|
33888
|
+
var REPEAT_NEEDS_MAX = "a repeat on a condition needs a maximum number of iterations";
|
|
33889
|
+
/** A loop on a condition: the bound is mandatory, so a run never loops without an end. */
|
|
33890
|
+
var repeatConditionShape = {
|
|
33891
|
+
when: AutomationWhenSchema,
|
|
33892
|
+
maxIterations: z.number({ error: REPEAT_NEEDS_MAX }).int().min(1, REPEAT_NEEDS_MAX).max(50, `a repeat on a condition runs at most 50 times`),
|
|
33893
|
+
/** A pause between two iterations, never after the last. */
|
|
33894
|
+
waitS: z.number().int().min(1).max(WAIT_MAX_SECONDS, WAIT_TOO_LONG).optional()
|
|
33895
|
+
};
|
|
33896
|
+
/** What decides how many times a `repeat` runs. */
|
|
33897
|
+
var AutomationRepeatLoopSchema = z.discriminatedUnion("by", [
|
|
33898
|
+
z.object({
|
|
33899
|
+
by: z.literal("count"),
|
|
33900
|
+
count: z.number().int().min(1).max(20, `a repeat runs at most 20 times`)
|
|
33901
|
+
}).strict(),
|
|
33902
|
+
z.object({
|
|
33903
|
+
by: z.literal("while"),
|
|
33904
|
+
...repeatConditionShape
|
|
33905
|
+
}).strict(),
|
|
33906
|
+
z.object({
|
|
33907
|
+
by: z.literal("until"),
|
|
33908
|
+
...repeatConditionShape
|
|
33909
|
+
}).strict(),
|
|
33910
|
+
z.object({
|
|
33911
|
+
by: z.literal("forEach"),
|
|
33912
|
+
target: z.object({
|
|
33913
|
+
kind: z.literal("devices"),
|
|
33914
|
+
ids: z.array(z.number().int()).min(1, "a repeat over devices needs at least one device").max(50, `a repeat over devices takes at most 50 devices`)
|
|
33915
|
+
}).strict()
|
|
33916
|
+
}).strict()
|
|
33917
|
+
]);
|
|
33918
|
+
/**
|
|
33919
|
+
* The same steps several times (#500). Every form is bounded at save, so a
|
|
33920
|
+
* run cannot loop without an end. A failure or a `stop` in the steps ends the
|
|
33921
|
+
* loop and the run, as in a sequence.
|
|
33922
|
+
*/
|
|
33923
|
+
function repeatSchemaOf(step) {
|
|
33924
|
+
return z.object({
|
|
33925
|
+
kind: z.literal("repeat"),
|
|
33926
|
+
loop: AutomationRepeatLoopSchema,
|
|
33927
|
+
steps: z.array(step).min(1, "a repeat needs at least one step").max(10, `a repeat takes at most 10 steps`)
|
|
33928
|
+
}).strict();
|
|
33929
|
+
}
|
|
33930
|
+
/**
|
|
33931
|
+
* One step, several ways (#500): the branches are read in order and the FIRST
|
|
33932
|
+
* whose condition is true runs; `else` runs when every branch is false. A
|
|
33933
|
+
* branch that cannot be read ends the choice: nothing runs, not the branches
|
|
33934
|
+
* after it and not the else (D49). The #472 `if` / `else` of a wait or cap
|
|
33935
|
+
* step is the one-branch case and stays as it is stored.
|
|
33936
|
+
*/
|
|
33937
|
+
function chooseSchemaOf(step) {
|
|
33938
|
+
const steps = z.array(step).max(10);
|
|
33939
|
+
return z.object({
|
|
33940
|
+
kind: z.literal("choose"),
|
|
33941
|
+
branches: z.array(z.object({
|
|
33942
|
+
if: AutomationWhenSchema,
|
|
33943
|
+
steps: steps.min(1, "a branch needs at least one step")
|
|
33944
|
+
})).min(1, "a choose needs at least one branch").max(6, `a choose takes at most 6 branches`),
|
|
33945
|
+
else: steps.optional()
|
|
33946
|
+
});
|
|
33947
|
+
}
|
|
33948
|
+
var AutomationBodyStepSchema = z.discriminatedUnion("kind", [
|
|
33949
|
+
...plainStepSchemas,
|
|
33950
|
+
AutomationWaitUntilStepSchema,
|
|
33951
|
+
AutomationParallelStepSchema,
|
|
33952
|
+
chooseSchemaOf(AutomationBranchStepSchema),
|
|
33953
|
+
repeatSchemaOf(AutomationBranchStepSchema)
|
|
33954
|
+
]);
|
|
33955
|
+
var AutomationRepeatStepSchema = repeatSchemaOf(AutomationBodyStepSchema);
|
|
33956
|
+
var AutomationChooseStepSchema = chooseSchemaOf(AutomationBodyStepSchema);
|
|
33549
33957
|
var AutomationActionSchema = z.discriminatedUnion("kind", [
|
|
33550
33958
|
GuardedWaitStepSchema,
|
|
33551
|
-
|
|
33552
|
-
|
|
33553
|
-
|
|
33554
|
-
|
|
33555
|
-
|
|
33556
|
-
|
|
33557
|
-
|
|
33558
|
-
|
|
33559
|
-
z.number(),
|
|
33560
|
-
z.boolean()
|
|
33561
|
-
])).optional()
|
|
33562
|
-
}),
|
|
33959
|
+
AutomationGuardedCapStepSchema,
|
|
33960
|
+
AutomationStopStepSchema,
|
|
33961
|
+
AutomationSetStepSchema,
|
|
33962
|
+
AutomationChooseStepSchema,
|
|
33963
|
+
AutomationWaitUntilStepSchema,
|
|
33964
|
+
AutomationParallelStepSchema,
|
|
33965
|
+
AutomationRepeatStepSchema,
|
|
33966
|
+
AutomationRunActionStepSchema,
|
|
33563
33967
|
z.object({
|
|
33564
33968
|
kind: z.literal("code"),
|
|
33565
33969
|
/** Compiled into the automation's OWN block by esbuild — not a third
|
|
@@ -33625,12 +34029,47 @@ function convertLegacyRecipe(legacy) {
|
|
|
33625
34029
|
...rest
|
|
33626
34030
|
};
|
|
33627
34031
|
}
|
|
33628
|
-
/**
|
|
33629
|
-
* Where recipes are PARSED (the core-blocks cap, the MCP tool, the literal a
|
|
33630
|
-
* saved block carries): the new shape as it is, or the old shape converted to
|
|
33631
|
-
* it. The output type is always the new one.
|
|
33632
|
-
*/
|
|
33633
34032
|
var AutomationRecipeSchema = z.union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
|
|
34033
|
+
/** The `if` of a step that can carry one (`action`, `code`, `choose` and `wait-until` steps cannot). */
|
|
34034
|
+
function stepGuardOf(action) {
|
|
34035
|
+
switch (action.kind) {
|
|
34036
|
+
case "action":
|
|
34037
|
+
case "code":
|
|
34038
|
+
case "choose":
|
|
34039
|
+
case "wait-until":
|
|
34040
|
+
case "parallel":
|
|
34041
|
+
case "repeat": return;
|
|
34042
|
+
default: return action.if;
|
|
34043
|
+
}
|
|
34044
|
+
}
|
|
34045
|
+
/** Every condition of a step: its own `if`, or the `if` of each branch of a `choose`. */
|
|
34046
|
+
function stepConditionsOf(action) {
|
|
34047
|
+
const under = (prefix, steps) => steps.flatMap((step, at) => stepConditionsOf(step).map((ref) => ({
|
|
34048
|
+
...ref,
|
|
34049
|
+
path: `${prefix}.${at}.${ref.path}`
|
|
34050
|
+
})));
|
|
34051
|
+
if (action.kind === "choose") return [...action.branches.flatMap((branch, i) => [{
|
|
34052
|
+
path: `branches.${i}.if`,
|
|
34053
|
+
when: branch.if
|
|
34054
|
+
}, ...under(`branches.${i}.steps`, branch.steps)]), ...under("else", action.else ?? [])];
|
|
34055
|
+
if (action.kind === "wait-until") return [{
|
|
34056
|
+
path: "when",
|
|
34057
|
+
when: action.when
|
|
34058
|
+
}];
|
|
34059
|
+
if (action.kind === "repeat") return [...action.loop.by === "while" || action.loop.by === "until" ? [{
|
|
34060
|
+
path: "loop.when",
|
|
34061
|
+
when: action.loop.when
|
|
34062
|
+
}] : [], ...under("steps", action.steps)];
|
|
34063
|
+
const when = stepGuardOf(action);
|
|
34064
|
+
return when === void 0 ? [] : [{
|
|
34065
|
+
path: "if",
|
|
34066
|
+
when
|
|
34067
|
+
}];
|
|
34068
|
+
}
|
|
34069
|
+
/** Every step a block step holds, at both levels, in the order they are written; none for a plain step. */
|
|
34070
|
+
function nestedStepsOf(action) {
|
|
34071
|
+
return (action.kind === "parallel" || action.kind === "repeat" ? action.steps : action.kind === "choose" ? [...action.branches.flatMap((branch) => branch.steps), ...action.else ?? []] : []).flatMap((step) => [step, ...nestedStepsOf(step)]);
|
|
34072
|
+
}
|
|
33634
34073
|
/** Bounds, shared by `when` and the old names the guards still know. */
|
|
33635
34074
|
var MAX_CONDITION_DEPTH = 4;
|
|
33636
34075
|
var MAX_CONDITION_LEAVES = 32;
|
|
@@ -33646,9 +34085,8 @@ function validateRecipeBounds(recipe) {
|
|
|
33646
34085
|
const ids = new Set(identifiedEventLeaves(recipe.when).map((entry) => entry.id));
|
|
33647
34086
|
const inRules = triggeredByIssue(recipe.when, ids, "the rules");
|
|
33648
34087
|
if (inRules !== null) return inRules;
|
|
33649
|
-
for (const [index, action] of recipe.actions.entries()) {
|
|
33650
|
-
|
|
33651
|
-
const issue = triggeredByIssue(action.if, ids, `step ${index + 1}`);
|
|
34088
|
+
for (const [index, action] of recipe.actions.entries()) for (const condition of stepConditionsOf(action)) {
|
|
34089
|
+
const issue = triggeredByIssue(condition.when, ids, `step ${index + 1}`);
|
|
33652
34090
|
if (issue !== null) return issue;
|
|
33653
34091
|
}
|
|
33654
34092
|
return null;
|
|
@@ -34372,6 +34810,16 @@ var BECOMES_DESCRIPTIONS = {
|
|
|
34372
34810
|
from: "the value before the change, empty when it is not known",
|
|
34373
34811
|
to: "the value it changed to"
|
|
34374
34812
|
};
|
|
34813
|
+
/**
|
|
34814
|
+
* A fire's payload is offered too, as `data.<path>` (`{{vars.data.channel}}`):
|
|
34815
|
+
* those names depend on the device, so they are not in this list.
|
|
34816
|
+
*/
|
|
34817
|
+
var FIRED_DESCRIPTIONS = {
|
|
34818
|
+
deviceId: "the device that fired",
|
|
34819
|
+
eventType: "the event, as the device names it",
|
|
34820
|
+
sourceId: "the part of the device that fired (a button), empty when it names none",
|
|
34821
|
+
eventKind: "the kind of press (press, long-press …), empty when the device declares none"
|
|
34822
|
+
};
|
|
34375
34823
|
function describe$1(descriptions) {
|
|
34376
34824
|
return Object.entries(descriptions).map(([name, description]) => ({
|
|
34377
34825
|
name,
|
|
@@ -34380,6 +34828,10 @@ function describe$1(descriptions) {
|
|
|
34380
34828
|
}
|
|
34381
34829
|
var DETECTION_VARIABLES = describe$1(DETECTION_DESCRIPTIONS);
|
|
34382
34830
|
var STATIONARY_VARIABLES = describe$1(STATIONARY_DESCRIPTIONS);
|
|
34831
|
+
var FIRED_VARIABLES = describe$1(FIRED_DESCRIPTIONS).map((v) => v.name === "deviceId" ? {
|
|
34832
|
+
...v,
|
|
34833
|
+
hintKey: "firedDeviceId"
|
|
34834
|
+
} : v);
|
|
34383
34835
|
var BECOMES_VARIABLES = describe$1(BECOMES_DESCRIPTIONS).map((v) => v.name === "deviceId" ? {
|
|
34384
34836
|
...v,
|
|
34385
34837
|
hintKey: "becomesDeviceId"
|
|
@@ -34395,6 +34847,7 @@ function triggerLeafVariables(kind) {
|
|
|
34395
34847
|
if (kind === "detection") return DETECTION_VARIABLES;
|
|
34396
34848
|
if (kind === "stationary") return STATIONARY_VARIABLES;
|
|
34397
34849
|
if (kind === "device-becomes") return BECOMES_VARIABLES;
|
|
34850
|
+
if (kind === "device-fired") return FIRED_VARIABLES;
|
|
34398
34851
|
return [];
|
|
34399
34852
|
}
|
|
34400
34853
|
/**
|
|
@@ -34424,6 +34877,12 @@ function stepMetaOf(action) {
|
|
|
34424
34877
|
case "wait": return { kind: "wait" };
|
|
34425
34878
|
case "code": return { kind: "code" };
|
|
34426
34879
|
case "action": return { kind: "action" };
|
|
34880
|
+
case "stop": return { kind: "stop" };
|
|
34881
|
+
case "wait-until": return { kind: "wait-until" };
|
|
34882
|
+
case "parallel": return { kind: "parallel" };
|
|
34883
|
+
case "repeat": return { kind: "repeat" };
|
|
34884
|
+
case "set": return { kind: "set" };
|
|
34885
|
+
case "choose": return { kind: "choose" };
|
|
34427
34886
|
case "cap": {
|
|
34428
34887
|
const { target, actionId } = normalizeCapStep(action);
|
|
34429
34888
|
return {
|
|
@@ -34508,6 +34967,52 @@ function emitLeaf(trigger, path) {
|
|
|
34508
34967
|
},
|
|
34509
34968
|
),
|
|
34510
34969
|
)`;
|
|
34970
|
+
case "device-fired": return ` // event leaf ${path}: device fired — the bus event is the normal door; the
|
|
34971
|
+
// reconcile reads the device's event-emitter slice, so a fire whose event was
|
|
34972
|
+
// dropped is still seen while it is the LATEST one (D8, D1045). The first good
|
|
34973
|
+
// read only seeds: what fired before the start is not a trigger.
|
|
34974
|
+
{
|
|
34975
|
+
const watch = new DeviceFiredWatch(${j(trigger)})
|
|
34976
|
+
// The reconcile answers the same "nothing new" every tick: said once per reason.
|
|
34977
|
+
let lastQuiet = ''
|
|
34978
|
+
const land = (decision: ReturnType<DeviceFiredWatch['onEvent']>, door: 'event' | 'reconcile'): void => {
|
|
34979
|
+
if (decision.kind === 'ignore') {
|
|
34980
|
+
if (door === 'reconcile' && decision.why === lastQuiet) return
|
|
34981
|
+
if (door === 'reconcile') lastQuiet = decision.why
|
|
34982
|
+
ctx.logger.debug('device-fired trigger did not run — ' + decision.why, {
|
|
34983
|
+
tags: { deviceId: ${j(trigger.deviceId)} },
|
|
34984
|
+
leaf: ${at},
|
|
34985
|
+
door,
|
|
34986
|
+
})
|
|
34987
|
+
return
|
|
34988
|
+
}
|
|
34989
|
+
if (decision.kind === 'reject') {
|
|
34990
|
+
ctx.logger.debug('device-fired trigger rejected a fire', {
|
|
34991
|
+
tags: { deviceId: decision.vars.deviceId },
|
|
34992
|
+
reason: decision.reason,
|
|
34993
|
+
})
|
|
34994
|
+
}
|
|
34995
|
+
void run(
|
|
34996
|
+
{ kind: 'device-fired', leaf: ${at}, at: Date.now(), ${varsPick("device-fired")}, ...decision.data },
|
|
34997
|
+
decision.reason,
|
|
34998
|
+
decision.kind === 'fire',
|
|
34999
|
+
)
|
|
35000
|
+
}
|
|
35001
|
+
disposers.push(
|
|
35002
|
+
ctx.eventBus.subscribe(
|
|
35003
|
+
{ category: EventCategory.EventEmitted, deviceId: ${j(trigger.deviceId)} },
|
|
35004
|
+
(event) => land(watch.onEvent(event.data), 'event'),
|
|
35005
|
+
),
|
|
35006
|
+
)
|
|
35007
|
+
const check = async (): Promise<void> => {
|
|
35008
|
+
const read = await readCapSlice(${j(trigger.deviceId)}, 'event-emitter')
|
|
35009
|
+
if (!read.ok) return // a failed read changes nothing: the next good one still seeds (D49)
|
|
35010
|
+
land(watch.onStatus(read.slice), 'reconcile')
|
|
35011
|
+
}
|
|
35012
|
+
void check()
|
|
35013
|
+
const reconcile = setInterval(() => { void check() }, RECONCILE_MS)
|
|
35014
|
+
disposers.push(() => clearInterval(reconcile))
|
|
35015
|
+
}`;
|
|
34511
35016
|
case "device-becomes": {
|
|
34512
35017
|
const hold = holdOf(trigger);
|
|
34513
35018
|
return ` // event leaf ${path}: device state — the mirror is the authority, the
|
|
@@ -34644,42 +35149,15 @@ function emitLeaf(trigger, path) {
|
|
|
34644
35149
|
}`;
|
|
34645
35150
|
}
|
|
34646
35151
|
}
|
|
34647
|
-
/**
|
|
34648
|
-
function
|
|
35152
|
+
/** What a plain step does when it runs: the body of its `run`, wherever the step sits. */
|
|
35153
|
+
function emitStepBody(action) {
|
|
34649
35154
|
switch (action.kind) {
|
|
34650
35155
|
case "wait": return ` await sleep(${j(action.seconds * 1e3)})`;
|
|
34651
35156
|
case "cap": {
|
|
34652
35157
|
const { target, actionId } = normalizeCapStep(action);
|
|
34653
35158
|
return ` await actuateTarget(scope, ${j(target)}, ${j(actionId)}, ${j(action.cap)}, ${j(action.method)}, ${j(action.args ?? {})}, vars)`;
|
|
34654
35159
|
}
|
|
34655
|
-
|
|
34656
|
-
}
|
|
34657
|
-
}
|
|
34658
|
-
/** A step's `if` (#472) and its else list, as the fields of a RunnableStep. */
|
|
34659
|
-
function emitGuard(action, index) {
|
|
34660
|
-
if (action.kind !== "wait" && action.kind !== "cap") return "";
|
|
34661
|
-
if (action.if === void 0) return "";
|
|
34662
|
-
const otherwise = (action.else ?? []).map((el) => {
|
|
34663
|
-
const body = emitLeafBody(el);
|
|
34664
|
-
return `{ meta: ${j(stepMetaOf(el))}, run: async (scope) => {\n${body ?? ""}\n } }`;
|
|
34665
|
-
}).join(", ");
|
|
34666
|
-
return ` guard: () => evaluateCondition(${j(action.if)}, ${j(`actions.${index}.if`)}, vars),${otherwise === "" ? "" : `\n otherwise: [${otherwise}],`}
|
|
34667
|
-
`;
|
|
34668
|
-
}
|
|
34669
|
-
function emitAction(action, index) {
|
|
34670
|
-
const step = (body) => ` {
|
|
34671
|
-
meta: STEP_META[${index}]!,
|
|
34672
|
-
${emitGuard(action, index)} run: async (scope) => {
|
|
34673
|
-
${body}
|
|
34674
|
-
},
|
|
34675
|
-
},`;
|
|
34676
|
-
switch (action.kind) {
|
|
34677
|
-
case "wait": return step(` await sleep(${j(action.seconds * 1e3)})`);
|
|
34678
|
-
case "cap": {
|
|
34679
|
-
const { target, actionId } = normalizeCapStep(action);
|
|
34680
|
-
return step(` await actuateTarget(scope, ${j(target)}, ${j(actionId)}, ${j(action.cap)}, ${j(action.method)}, ${j(action.args ?? {})}, vars)`);
|
|
34681
|
-
}
|
|
34682
|
-
case "action": return step(` // an Action run, awaited: the step takes THAT run's outcome
|
|
35160
|
+
case "action": return ` // an Action run, awaited: the step takes THAT run's outcome
|
|
34683
35161
|
const result = await ctx.api.actions.run.mutate({
|
|
34684
35162
|
actionId: ${j(action.actionId)},
|
|
34685
35163
|
variables: substituteVariables(${j(action.variables ?? {})}, vars),
|
|
@@ -34688,13 +35166,153 @@ ${body}
|
|
|
34688
35166
|
})
|
|
34689
35167
|
if (result.outcome !== 'ran') {
|
|
34690
35168
|
throw new Error('action ' + ${j(action.actionId)} + ' ' + result.outcome + (result.message === undefined ? '' : ': ' + result.message))
|
|
34691
|
-
}
|
|
34692
|
-
case "
|
|
35169
|
+
}`;
|
|
35170
|
+
case "stop": return ` // end the run here, on purpose: the steps after it are not-run with this reason
|
|
35171
|
+
scope.stop(String(substitute(${j(action.reason)}, vars)), ${j(action.outcome)})`;
|
|
35172
|
+
case "set": return ` // write the run's own bag, for the steps after this one — substitution only
|
|
35173
|
+
Object.assign(vars, substituteVariables(${j(action.vars)}, vars))`;
|
|
35174
|
+
case "code": return ` // inline code action — a fragment of THIS block, bundled by esbuild
|
|
34693
35175
|
await (async () => {
|
|
34694
35176
|
${action.code.split("\n").map((line) => ` ${line}`).join("\n")}
|
|
34695
|
-
})()
|
|
35177
|
+
})()`;
|
|
34696
35178
|
}
|
|
34697
35179
|
}
|
|
35180
|
+
function continues(action) {
|
|
35181
|
+
return (action.kind === "cap" || action.kind === "action") && action.continueOnError === true;
|
|
35182
|
+
}
|
|
35183
|
+
/** Whether the site is inside a block step: the automation's own steps sit at `actions.<n>`. */
|
|
35184
|
+
function isNestedSite(site) {
|
|
35185
|
+
return site.path.split(".").length > 2;
|
|
35186
|
+
}
|
|
35187
|
+
/** A list of steps under `path` (a branch, an else list, the steps of a repeat or a parallel). */
|
|
35188
|
+
function emitList(steps, path) {
|
|
35189
|
+
return steps.map((step, at) => emitStep(step, {
|
|
35190
|
+
meta: j(stepMetaOf(step)),
|
|
35191
|
+
path: `${path}.${at}`
|
|
35192
|
+
})).join("\n");
|
|
35193
|
+
}
|
|
35194
|
+
/** A step's `if` (#472) and its else list, as the fields of a RunnableStep. */
|
|
35195
|
+
function emitGuard(action, site) {
|
|
35196
|
+
const when = stepGuardOf(action);
|
|
35197
|
+
if (when === void 0) return "";
|
|
35198
|
+
const otherwise = emitList(action.kind === "wait" || action.kind === "cap" ? action.else ?? [] : [], `${site.path}.else`);
|
|
35199
|
+
return ` guard: () => evaluateCondition(${j(when)}, ${j(`${site.path}.if`)}, vars),${otherwise === "" ? "" : `\n otherwise: [\n${otherwise}\n],`}
|
|
35200
|
+
`;
|
|
35201
|
+
}
|
|
35202
|
+
/** A `choose` step: its branches, each a condition and a list, and its else list. */
|
|
35203
|
+
function emitChoose(action, site) {
|
|
35204
|
+
const branches = action.branches.map((branch, b) => ` {
|
|
35205
|
+
guard: () => evaluateCondition(${j(branch.if)}, ${j(`${site.path}.branches.${b}.if`)}, vars),
|
|
35206
|
+
steps: [
|
|
35207
|
+
${emitList(branch.steps, `${site.path}.branches.${b}.steps`)}
|
|
35208
|
+
],
|
|
35209
|
+
},`).join("\n");
|
|
35210
|
+
const otherwise = emitList(action.else ?? [], `${site.path}.else`);
|
|
35211
|
+
return ` {
|
|
35212
|
+
meta: ${site.meta},
|
|
35213
|
+
// a choose step: the runner reads the branches in order and runs the first that is true
|
|
35214
|
+
run: async () => {},
|
|
35215
|
+
choose: {
|
|
35216
|
+
branches: [
|
|
35217
|
+
${branches}
|
|
35218
|
+
],${otherwise === "" ? "" : `\n otherwise: [\n${otherwise}\n],`}
|
|
35219
|
+
},
|
|
35220
|
+
},`;
|
|
35221
|
+
}
|
|
35222
|
+
/** The devices whose report can change a tree's answer; null when one is named by a stable id (any report wakes it). */
|
|
35223
|
+
function wakeDevicesOf(when) {
|
|
35224
|
+
const ids = [];
|
|
35225
|
+
for (const source of collectWhenMirrorSources(when)) {
|
|
35226
|
+
if (source.kind !== "device") return null;
|
|
35227
|
+
if (!ids.includes(source.deviceId)) ids.push(source.deviceId);
|
|
35228
|
+
}
|
|
35229
|
+
return ids;
|
|
35230
|
+
}
|
|
35231
|
+
/** A `wait-until` step: read the condition, wait for a wake, read again, until the timeout. */
|
|
35232
|
+
function emitWaitUntil(action, site) {
|
|
35233
|
+
const onTimeout = action.onTimeout === "stop" ? `scope.stop(message, 'failed')` : "scope.markTimedOut(message)";
|
|
35234
|
+
return ` {
|
|
35235
|
+
meta: ${site.meta},
|
|
35236
|
+
run: async (scope) => {
|
|
35237
|
+
// woken by a report of one of its devices, by the reconcile tick, or by a restart
|
|
35238
|
+
const waited = await waitUntil({
|
|
35239
|
+
read: () => evaluateCondition(${j(action.when)}, ${j(`${site.path}.when`)}, vars),
|
|
35240
|
+
timeoutMs: ${j(action.timeoutS * 1e3)},
|
|
35241
|
+
now: () => Date.now(),
|
|
35242
|
+
isAborted: () => token.aborted,
|
|
35243
|
+
nextWake: (ms) => waitForWake(ms, token, ${j(wakeDevicesOf(action.when))}),
|
|
35244
|
+
})
|
|
35245
|
+
if (waited.result === 'timed-out') {
|
|
35246
|
+
const message = waitTimedOutMessage(${j(action.timeoutS)}, waited.lastReason)
|
|
35247
|
+
ctx.logger.info('wait-until timed out', { step: ${j(site.path)}, onTimeout: ${j(action.onTimeout)}, reason: waited.lastReason })
|
|
35248
|
+
${onTimeout}
|
|
35249
|
+
}
|
|
35250
|
+
},
|
|
35251
|
+
},`;
|
|
35252
|
+
}
|
|
35253
|
+
/** How a `repeat` decides its iterations, as the fields of a RunnableRepeat. */
|
|
35254
|
+
function emitRepeatLoop(loop, site) {
|
|
35255
|
+
switch (loop.by) {
|
|
35256
|
+
case "count": return `limit: ${j(loop.count)}, limitIsTimeout: false,`;
|
|
35257
|
+
case "forEach": return `// once per device: the device id is in vars.${REPEAT_ITEM_VAR} for the steps of that iteration
|
|
35258
|
+
limit: ${j(loop.target.ids.length)}, limitIsTimeout: false,
|
|
35259
|
+
...(() => {
|
|
35260
|
+
const ids = ${j(loop.target.ids)}
|
|
35261
|
+
let outer: unknown
|
|
35262
|
+
return {
|
|
35263
|
+
before: async (iteration) => {
|
|
35264
|
+
if (iteration === 0) outer = vars[${j(REPEAT_ITEM_VAR)}]
|
|
35265
|
+
if (iteration < ids.length) vars[${j(REPEAT_ITEM_VAR)}] = ids[iteration]
|
|
35266
|
+
else if (${j(isNestedSite(site))} && outer !== undefined) vars[${j(REPEAT_ITEM_VAR)}] = outer
|
|
35267
|
+
return { go: true }
|
|
35268
|
+
},
|
|
35269
|
+
}
|
|
35270
|
+
})(),`;
|
|
35271
|
+
case "while":
|
|
35272
|
+
case "until": {
|
|
35273
|
+
const read = `repeatCheck(${j(loop.by)}, await evaluateCondition(${j(loop.when)}, ${j(`${site.path}.loop.when`)}, vars))`;
|
|
35274
|
+
const pause = loop.waitS === void 0 ? "" : `\n between: () => sleep(${j(loop.waitS * 1e3)}),`;
|
|
35275
|
+
return `limit: ${j(loop.maxIterations)}, limitIsTimeout: true,
|
|
35276
|
+
${loop.by === "while" ? "before" : "after"}: async () => ${read},${pause}`;
|
|
35277
|
+
}
|
|
35278
|
+
}
|
|
35279
|
+
}
|
|
35280
|
+
/** One step, wherever it sits: a block step emits its own steps one level down, under its path. */
|
|
35281
|
+
function emitStep(action, site) {
|
|
35282
|
+
if (action.kind === "repeat") return ` {
|
|
35283
|
+
meta: ${site.meta},
|
|
35284
|
+
// a repeat step: the runner runs these once per iteration, under the bound
|
|
35285
|
+
run: async () => {},
|
|
35286
|
+
repeat: {
|
|
35287
|
+
steps: [
|
|
35288
|
+
${emitList(action.steps, `${site.path}.steps`)}
|
|
35289
|
+
],
|
|
35290
|
+
${emitRepeatLoop(action.loop, site)}
|
|
35291
|
+
},
|
|
35292
|
+
},`;
|
|
35293
|
+
if (action.kind === "choose") return emitChoose(action, site);
|
|
35294
|
+
if (action.kind === "wait-until") return emitWaitUntil(action, site);
|
|
35295
|
+
if (action.kind === "parallel") return ` {
|
|
35296
|
+
meta: ${site.meta},
|
|
35297
|
+
// a parallel step: the runner starts these together and awaits them all
|
|
35298
|
+
run: async () => {},
|
|
35299
|
+
parallel: [
|
|
35300
|
+
${emitList(action.steps, `${site.path}.steps`)}
|
|
35301
|
+
],
|
|
35302
|
+
},`;
|
|
35303
|
+
return ` {
|
|
35304
|
+
meta: ${site.meta},
|
|
35305
|
+
${emitGuard(action, site)}${continues(action) ? " continueOnError: true,\n" : ""} run: async (scope) => {
|
|
35306
|
+
${emitStepBody(action)}
|
|
35307
|
+
},
|
|
35308
|
+
},`;
|
|
35309
|
+
}
|
|
35310
|
+
function emitAction(action, index) {
|
|
35311
|
+
return emitStep(action, {
|
|
35312
|
+
meta: `STEP_META[${index}]!`,
|
|
35313
|
+
path: `actions.${index}`
|
|
35314
|
+
});
|
|
35315
|
+
}
|
|
34698
35316
|
/**
|
|
34699
35317
|
* Compile a recipe to the TypeScript of a core block.
|
|
34700
35318
|
*
|
|
@@ -34708,12 +35326,18 @@ function generateAutomationBlock(input) {
|
|
|
34708
35326
|
const { name, recipe } = input;
|
|
34709
35327
|
const runMode = recipe.runMode ?? { mode: "single" };
|
|
34710
35328
|
const stepMeta = recipe.actions.map(stepMetaOf);
|
|
34711
|
-
const
|
|
34712
|
-
const
|
|
34713
|
-
|
|
34714
|
-
|
|
34715
|
-
|
|
34716
|
-
|
|
35329
|
+
const elseSteps = (a) => a.kind === "wait" || a.kind === "cap" ? a.else ?? [] : [];
|
|
35330
|
+
const hasDomainTarget = recipe.actions.flatMap((a) => [
|
|
35331
|
+
a,
|
|
35332
|
+
...elseSteps(a),
|
|
35333
|
+
...nestedStepsOf(a)
|
|
35334
|
+
]).some((a) => a.kind === "cap" && normalizeCapStep(a).target.kind === "domain");
|
|
35335
|
+
const guardHoldTrees = recipe.actions.flatMap((a, i) => stepConditionsOf(a).flatMap(({ path, when }) => hasHoldLeaves(when) ? [{
|
|
35336
|
+
path: `actions.${i}.${path}`,
|
|
35337
|
+
when
|
|
35338
|
+
}] : []));
|
|
35339
|
+
const hasTime = hasTimeLeaves(recipe.when) || recipe.actions.some((a) => stepConditionsOf(a).some(({ when }) => hasTimeLeaves(when)));
|
|
35340
|
+
const hasWaitUntil = recipe.actions.some((a) => a.kind === "wait-until" || nestedStepsOf(a).some((n) => n.kind === "wait-until"));
|
|
34717
35341
|
const eventLeaves = [];
|
|
34718
35342
|
forEachLeaf(recipe.when, (leaf, path) => {
|
|
34719
35343
|
if (isEventLeaf(leaf)) eventLeaves.push({
|
|
@@ -34742,6 +35366,7 @@ import {
|
|
|
34742
35366
|
ConditionMirror,
|
|
34743
35367
|
HoldTracker,
|
|
34744
35368
|
DetectionTriggerFilter,
|
|
35369
|
+
DeviceFiredWatch,
|
|
34745
35370
|
EventCategory,
|
|
34746
35371
|
RunGate,
|
|
34747
35372
|
buildTriggerTrace,
|
|
@@ -34762,6 +35387,9 @@ import {
|
|
|
34762
35387
|
runForDevices,
|
|
34763
35388
|
evaluateStepCondition,
|
|
34764
35389
|
runSteps,
|
|
35390
|
+
repeatCheck,
|
|
35391
|
+
waitUntil,
|
|
35392
|
+
waitTimedOutMessage,
|
|
34765
35393
|
siteFor,
|
|
34766
35394
|
validateTimeSpecForSite,
|
|
34767
35395
|
zoneOnlySite,
|
|
@@ -34889,7 +35517,8 @@ ${hasTime ? ` /** The site clock a \`time-is\` leaf reads: memory only at evalu
|
|
|
34889
35517
|
|
|
34890
35518
|
interface RunToken {
|
|
34891
35519
|
aborted: boolean
|
|
34892
|
-
|
|
35520
|
+
/** What cuts short whatever the run is paused on; several at once inside a \`parallel\`. */
|
|
35521
|
+
readonly wakes: Set<() => void>
|
|
34893
35522
|
}
|
|
34894
35523
|
interface QueuedRun {
|
|
34895
35524
|
readonly trigger: Record<string, unknown>
|
|
@@ -34900,11 +35529,29 @@ ${hasTime ? ` /** The site clock a \`time-is\` leaf reads: memory only at evalu
|
|
|
34900
35529
|
/** Sleep that a restart can cut short. */
|
|
34901
35530
|
const abortableSleep = (ms: number, token: RunToken): Promise<void> =>
|
|
34902
35531
|
new Promise((resolve) => {
|
|
34903
|
-
const
|
|
34904
|
-
|
|
35532
|
+
const done = (): void => {
|
|
35533
|
+
clearTimeout(timer)
|
|
35534
|
+
token.wakes.delete(done)
|
|
35535
|
+
resolve()
|
|
35536
|
+
}
|
|
35537
|
+
const timer = setTimeout(done, ms)
|
|
35538
|
+
token.wakes.add(done)
|
|
35539
|
+
})
|
|
35540
|
+
|
|
35541
|
+
/** The runs paused on a \`wait-until\`, each with the devices whose report wakes it (null = any). */
|
|
35542
|
+
const stateWaiters = new Map<() => void, readonly number[] | null>()
|
|
35543
|
+
/** Resolve at a report of one of \`deviceIds\`, at the reconcile tick, at a restart, or after \`ms\`. */
|
|
35544
|
+
const waitForWake = (ms: number, token: RunToken, deviceIds: readonly number[] | null): Promise<void> =>
|
|
35545
|
+
new Promise((resolve) => {
|
|
35546
|
+
const done = (): void => {
|
|
34905
35547
|
clearTimeout(timer)
|
|
35548
|
+
stateWaiters.delete(done)
|
|
35549
|
+
token.wakes.delete(done)
|
|
34906
35550
|
resolve()
|
|
34907
35551
|
}
|
|
35552
|
+
const timer = setTimeout(done, Math.min(ms, RECONCILE_MS))
|
|
35553
|
+
stateWaiters.set(done, deviceIds)
|
|
35554
|
+
token.wakes.add(done)
|
|
34908
35555
|
})
|
|
34909
35556
|
|
|
34910
35557
|
// ── the hub's runs ledger: the stamp is read ONCE here, the ring is written through RPC ──
|
|
@@ -35062,24 +35709,15 @@ ${hasTime ? ` // a time-is leaf changes sides at a boundary with no device ev
|
|
|
35062
35709
|
}
|
|
35063
35710
|
}
|
|
35064
35711
|
|
|
35065
|
-
/**
|
|
35066
|
-
*
|
|
35067
|
-
|
|
35068
|
-
* debug with the device. (Conditions read the ConditionMirror instead.) */
|
|
35069
|
-
async function readField(
|
|
35712
|
+
/** One cap slice off the state mirror. \`ok: false\` when the read threw —
|
|
35713
|
+
* logged at debug with the device; the caller decides what that means. */
|
|
35714
|
+
async function readCapSlice(
|
|
35070
35715
|
deviceId: number,
|
|
35071
35716
|
cap: string,
|
|
35072
|
-
|
|
35073
|
-
): Promise<{ readonly ok: true; readonly value: unknown } | { readonly ok: false }> {
|
|
35717
|
+
): Promise<{ readonly ok: true; readonly slice: unknown } | { readonly ok: false }> {
|
|
35074
35718
|
try {
|
|
35075
35719
|
const slice = await ctx.api.deviceState.getCapSlice.query({ deviceId, capName: cap })
|
|
35076
|
-
|
|
35077
|
-
for (const part of fieldPath.split('.')) {
|
|
35078
|
-
if (cursor === null || typeof cursor !== 'object') return { ok: false }
|
|
35079
|
-
cursor = Reflect.get(cursor, part)
|
|
35080
|
-
}
|
|
35081
|
-
if (cursor === undefined) return { ok: false }
|
|
35082
|
-
return { ok: true, value: cursor }
|
|
35720
|
+
return { ok: true, slice }
|
|
35083
35721
|
} catch (err: unknown) {
|
|
35084
35722
|
ctx.logger.debug('device state read failed — the leaf keeps what it knew', {
|
|
35085
35723
|
tags: { deviceId },
|
|
@@ -35090,6 +35728,26 @@ ${hasTime ? ` // a time-is leaf changes sides at a boundary with no device ev
|
|
|
35090
35728
|
}
|
|
35091
35729
|
}
|
|
35092
35730
|
|
|
35731
|
+
/** Read one cap field off the state mirror. \`ok: false\` when the device,
|
|
35732
|
+
* the cap or the field cannot be resolved — the caller decides what that
|
|
35733
|
+
* means (the device-state trigger changes nothing). (Conditions read the
|
|
35734
|
+
* ConditionMirror instead.) */
|
|
35735
|
+
async function readField(
|
|
35736
|
+
deviceId: number,
|
|
35737
|
+
cap: string,
|
|
35738
|
+
fieldPath: string,
|
|
35739
|
+
): Promise<{ readonly ok: true; readonly value: unknown } | { readonly ok: false }> {
|
|
35740
|
+
const read = await readCapSlice(deviceId, cap)
|
|
35741
|
+
if (!read.ok) return { ok: false }
|
|
35742
|
+
let cursor: unknown = read.slice
|
|
35743
|
+
for (const part of fieldPath.split('.')) {
|
|
35744
|
+
if (cursor === null || typeof cursor !== 'object') return { ok: false }
|
|
35745
|
+
cursor = Reflect.get(cursor, part)
|
|
35746
|
+
}
|
|
35747
|
+
if (cursor === undefined) return { ok: false }
|
|
35748
|
+
return { ok: true, value: cursor }
|
|
35749
|
+
}
|
|
35750
|
+
|
|
35093
35751
|
/** A trigger var keeps primitives only. */
|
|
35094
35752
|
function toTraceScalar(value: unknown): string | number | boolean | null {
|
|
35095
35753
|
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' ? value : null
|
|
@@ -35232,6 +35890,13 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35232
35890
|
error: failure.message,
|
|
35233
35891
|
})
|
|
35234
35892
|
},
|
|
35893
|
+
onContinuedFailure: (failure) => {
|
|
35894
|
+
ctx.logger.warn('action failed — continuing, the step is marked to be passed over', {
|
|
35895
|
+
...(failure.deviceId === undefined ? {} : { tags: { deviceId: failure.deviceId } }),
|
|
35896
|
+
step: failure.index,
|
|
35897
|
+
error: failure.message,
|
|
35898
|
+
})
|
|
35899
|
+
},
|
|
35235
35900
|
onGuardUnknown: (skipped) => {
|
|
35236
35901
|
ctx.logger.warn('step skipped — its condition could not be read', {
|
|
35237
35902
|
...(skipped.deviceId === undefined ? {} : { tags: { deviceId: skipped.deviceId } }),
|
|
@@ -35281,7 +35946,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35281
35946
|
reason: string,
|
|
35282
35947
|
admission: AutomationRunVerdict,
|
|
35283
35948
|
): Promise<void> {
|
|
35284
|
-
const token: RunToken = { aborted: false }
|
|
35949
|
+
const token: RunToken = { aborted: false, wakes: new Set() }
|
|
35285
35950
|
runningTokens.add(token)
|
|
35286
35951
|
const startedAt = Date.now()
|
|
35287
35952
|
const runId = newRunId(startedAt)
|
|
@@ -35395,7 +36060,7 @@ ${recipe.actions.map((a, i) => emitAction(a, i)).join("\n")}
|
|
|
35395
36060
|
ctx.logger.info('automation restarting — ' + admission.reason, deviceTags(trigger))
|
|
35396
36061
|
for (const running of runningTokens) {
|
|
35397
36062
|
running.aborted = true
|
|
35398
|
-
running.wake
|
|
36063
|
+
for (const wake of [...running.wakes]) wake()
|
|
35399
36064
|
}
|
|
35400
36065
|
break
|
|
35401
36066
|
case 'run':
|
|
@@ -35454,6 +36119,16 @@ ${hasTime ? " await refreshSite()\n" : ""} await refreshMirror()
|
|
|
35454
36119
|
disposers.push(() => clearInterval(mirrorReconcile))
|
|
35455
36120
|
}
|
|
35456
36121
|
|
|
36122
|
+
${hasWaitUntil ? ` // a paused run reads its condition again when one of its devices reports
|
|
36123
|
+
disposers.push(
|
|
36124
|
+
ctx.eventBus.subscribe({ category: EventCategory.DeviceStateChanged }, (event) => {
|
|
36125
|
+
const deviceId = event.data['deviceId']
|
|
36126
|
+
for (const [wake, deviceIds] of [...stateWaiters]) {
|
|
36127
|
+
if (deviceIds === null || (typeof deviceId === 'number' && deviceIds.includes(deviceId))) wake()
|
|
36128
|
+
}
|
|
36129
|
+
}),
|
|
36130
|
+
)
|
|
36131
|
+
` : ""}
|
|
35457
36132
|
${eventLeaves.map(({ leaf, path }) => emitLeaf(leaf, path)).join("\n\n")}
|
|
35458
36133
|
|
|
35459
36134
|
return () => {
|
|
@@ -35463,7 +36138,7 @@ ${eventLeaves.map(({ leaf, path }) => emitLeaf(leaf, path)).join("\n\n")}
|
|
|
35463
36138
|
flushSkip()
|
|
35464
36139
|
for (const running of runningTokens) {
|
|
35465
36140
|
running.aborted = true
|
|
35466
|
-
running.wake
|
|
36141
|
+
for (const wake of [...running.wakes]) wake()
|
|
35467
36142
|
}
|
|
35468
36143
|
for (const dispose of disposers) dispose()
|
|
35469
36144
|
}
|
|
@@ -35656,6 +36331,236 @@ function evaluateStationaryTrigger(trigger, event) {
|
|
|
35656
36331
|
};
|
|
35657
36332
|
}
|
|
35658
36333
|
//#endregion
|
|
36334
|
+
//#region src/capabilities/event-emitter.cap.ts
|
|
36335
|
+
/**
|
|
36336
|
+
* Generic stateless event emitter. Installed on a `DeviceType.EventEmitter`
|
|
36337
|
+
* device. Carries the device's EXACT declared event vocabulary verbatim
|
|
36338
|
+
* (NO normalization). Two shapes:
|
|
36339
|
+
* - structured source (HA `event.*` entity) → `vocabulary` is the fixed
|
|
36340
|
+
* declared set (e.g. press_short, press_long, …).
|
|
36341
|
+
* - generic/legacy source (HA bus events, e.g. zha_event) → `vocabulary`
|
|
36342
|
+
* is [] (open) and `lastEvent.data` carries the complex payload.
|
|
36343
|
+
* `vocabulary` (D1044) names each event for a person and types it for a
|
|
36344
|
+
* rule; `eventTypes` is its list of native tokens, kept for older readers.
|
|
36345
|
+
* A fire names the part of the device it came from in `sourceId` when the
|
|
36346
|
+
* vocabulary declares sources (a remote's buttons).
|
|
36347
|
+
* `seq` is monotonic so two identical events still produce distinct slice writes.
|
|
36348
|
+
*/
|
|
36349
|
+
var EventFireSchema = z.object({
|
|
36350
|
+
deviceId: z.number(),
|
|
36351
|
+
eventType: z.string(),
|
|
36352
|
+
sourceId: z.string().optional(),
|
|
36353
|
+
data: z.record(z.string(), z.unknown()).nullable(),
|
|
36354
|
+
timestamp: z.number().meta(readingMeta("none")),
|
|
36355
|
+
seq: z.number().meta(readingMeta("count"))
|
|
36356
|
+
});
|
|
36357
|
+
var EventEmitterStatusSchema = z.object({
|
|
36358
|
+
eventTypes: z.array(z.string()),
|
|
36359
|
+
/**
|
|
36360
|
+
* Required of a provider by the type. A status written before the field
|
|
36361
|
+
* existed still parses, as an empty vocabulary: read it through
|
|
36362
|
+
* `readEventVocabulary`, which then answers with the plain tokens.
|
|
36363
|
+
*/
|
|
36364
|
+
vocabulary: z.array(EventVocabularyEntrySchema).default([]),
|
|
36365
|
+
lastEvent: EventFireSchema.nullable(),
|
|
36366
|
+
eventCountSinceStart: z.number().meta(readingMeta("count"))
|
|
36367
|
+
});
|
|
36368
|
+
var eventEmitterCapability = {
|
|
36369
|
+
name: "event-emitter",
|
|
36370
|
+
scope: "device",
|
|
36371
|
+
deviceNative: true,
|
|
36372
|
+
mode: "singleton",
|
|
36373
|
+
deviceTypes: [DeviceType.EventEmitter],
|
|
36374
|
+
methods: {},
|
|
36375
|
+
events: { onEvent: { data: EventFireSchema } },
|
|
36376
|
+
status: {
|
|
36377
|
+
schema: EventEmitterStatusSchema,
|
|
36378
|
+
kind: "push"
|
|
36379
|
+
},
|
|
36380
|
+
runtimeState: EventEmitterStatusSchema,
|
|
36381
|
+
/**
|
|
36382
|
+
* Runtime-state durability: **session** — `eventCountSinceStart` names its own scope.
|
|
36383
|
+
*
|
|
36384
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
36385
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
36386
|
+
*/
|
|
36387
|
+
durability: "session",
|
|
36388
|
+
/**
|
|
36389
|
+
* History (D850): none — `eventCountSinceStart` resets with the addon; events live in ledgers.
|
|
36390
|
+
*/
|
|
36391
|
+
history: "none"
|
|
36392
|
+
};
|
|
36393
|
+
//#endregion
|
|
36394
|
+
//#region src/automation/fired-trigger.ts
|
|
36395
|
+
/**
|
|
36396
|
+
* The `device-fired` trigger: does this fire of an `event-emitter` device start
|
|
36397
|
+
* a run (D1045).
|
|
36398
|
+
*
|
|
36399
|
+
* Two doors lead here, and a fire passes exactly one of them:
|
|
36400
|
+
* - the bus event (`EventCategory.EventEmitted`, payload `EventFire`) — the
|
|
36401
|
+
* normal path;
|
|
36402
|
+
* - the reconcile read of the device's `event-emitter` slice — events are
|
|
36403
|
+
* telemetry (D8), so a fire whose event was dropped is still seen as
|
|
36404
|
+
* `lastEvent`, when it is the latest one. Only the LATEST is recoverable.
|
|
36405
|
+
*
|
|
36406
|
+
* The watch remembers the newest fire it has handled. "Newer" is the fire's
|
|
36407
|
+
* timestamp, then its `seq`: `seq` restarts at 1 with the provider, so it
|
|
36408
|
+
* orders two fires of one provider run and nothing else.
|
|
36409
|
+
*
|
|
36410
|
+
* The first reading of the slice only SEEDS (a restart is not a press), and a
|
|
36411
|
+
* read that failed changes nothing (D49): the next good one still seeds.
|
|
36412
|
+
*/
|
|
36413
|
+
/** How deep a payload is walked, and how many variables one fire may add. */
|
|
36414
|
+
var MAX_DATA_DEPTH = 3;
|
|
36415
|
+
var MAX_DATA_VARS = 32;
|
|
36416
|
+
function isScalar(value) {
|
|
36417
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean";
|
|
36418
|
+
}
|
|
36419
|
+
function isRecord$4(value) {
|
|
36420
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
36421
|
+
}
|
|
36422
|
+
/** The scalars of a fire's payload as `data.<path>` variables; lists and nulls are left out. */
|
|
36423
|
+
function firedDataVars(data) {
|
|
36424
|
+
const out = {};
|
|
36425
|
+
const walk = (value, path, depth) => {
|
|
36426
|
+
if (Object.keys(out).length >= MAX_DATA_VARS) return;
|
|
36427
|
+
if (isScalar(value)) {
|
|
36428
|
+
out[path] = value;
|
|
36429
|
+
return;
|
|
36430
|
+
}
|
|
36431
|
+
if (!isRecord$4(value) || depth >= MAX_DATA_DEPTH) return;
|
|
36432
|
+
for (const [key, child] of Object.entries(value)) walk(child, `${path}.${key}`, depth + 1);
|
|
36433
|
+
};
|
|
36434
|
+
if (isRecord$4(data)) for (const [key, child] of Object.entries(data)) walk(child, `data.${key}`, 1);
|
|
36435
|
+
return out;
|
|
36436
|
+
}
|
|
36437
|
+
function readPath(data, path) {
|
|
36438
|
+
let cursor = data;
|
|
36439
|
+
for (const part of path.split(".")) {
|
|
36440
|
+
if (!isRecord$4(cursor)) return void 0;
|
|
36441
|
+
cursor = cursor[part];
|
|
36442
|
+
}
|
|
36443
|
+
return cursor;
|
|
36444
|
+
}
|
|
36445
|
+
function isNewer(fire, than) {
|
|
36446
|
+
if (than === null) return true;
|
|
36447
|
+
if (fire.timestamp !== than.timestamp) return fire.timestamp > than.timestamp;
|
|
36448
|
+
return fire.seq > than.seq;
|
|
36449
|
+
}
|
|
36450
|
+
/** Said in the trace when the reconcile, not the bus event, brought the fire. */
|
|
36451
|
+
var FIRED_RECOVERED_NOTE = "recovered by reconcile";
|
|
36452
|
+
var DeviceFiredWatch = class {
|
|
36453
|
+
leaf;
|
|
36454
|
+
/** The newest fire handled, by either door. */
|
|
36455
|
+
#last = null;
|
|
36456
|
+
/** A baseline exists: a slice was read, or a bus event arrived. */
|
|
36457
|
+
#seeded = false;
|
|
36458
|
+
/** The device's vocabulary as last read; `null` until a slice answered. */
|
|
36459
|
+
#vocabulary = null;
|
|
36460
|
+
constructor(leaf) {
|
|
36461
|
+
this.leaf = leaf;
|
|
36462
|
+
}
|
|
36463
|
+
/** A bus event (`event.data` of `EventCategory.EventEmitted`). */
|
|
36464
|
+
onEvent(data) {
|
|
36465
|
+
const parsed = EventFireSchema.safeParse(data);
|
|
36466
|
+
if (!parsed.success) return {
|
|
36467
|
+
kind: "ignore",
|
|
36468
|
+
why: "malformed event"
|
|
36469
|
+
};
|
|
36470
|
+
const fire = parsed.data;
|
|
36471
|
+
if (fire.deviceId !== this.leaf.deviceId) return {
|
|
36472
|
+
kind: "ignore",
|
|
36473
|
+
why: `device ${fire.deviceId} is not the trigger's device`
|
|
36474
|
+
};
|
|
36475
|
+
if (!isNewer(fire, this.#last)) return {
|
|
36476
|
+
kind: "ignore",
|
|
36477
|
+
why: "this fire was already handled"
|
|
36478
|
+
};
|
|
36479
|
+
this.#last = {
|
|
36480
|
+
timestamp: fire.timestamp,
|
|
36481
|
+
seq: fire.seq
|
|
36482
|
+
};
|
|
36483
|
+
this.#seeded = true;
|
|
36484
|
+
return this.#judge(fire, false);
|
|
36485
|
+
}
|
|
36486
|
+
/** A reading of the device's `event-emitter` slice (seed, then reconcile). */
|
|
36487
|
+
onStatus(status) {
|
|
36488
|
+
const parsed = EventEmitterStatusSchema.safeParse(status);
|
|
36489
|
+
if (!parsed.success) return {
|
|
36490
|
+
kind: "ignore",
|
|
36491
|
+
why: "the event-emitter status is unreadable"
|
|
36492
|
+
};
|
|
36493
|
+
this.#vocabulary = readEventVocabulary(parsed.data);
|
|
36494
|
+
const fire = parsed.data.lastEvent;
|
|
36495
|
+
const first = !this.#seeded;
|
|
36496
|
+
this.#seeded = true;
|
|
36497
|
+
if (fire === null) return {
|
|
36498
|
+
kind: "ignore",
|
|
36499
|
+
why: "the device has not fired"
|
|
36500
|
+
};
|
|
36501
|
+
if (!isNewer(fire, this.#last)) return {
|
|
36502
|
+
kind: "ignore",
|
|
36503
|
+
why: "this fire was already handled"
|
|
36504
|
+
};
|
|
36505
|
+
this.#last = {
|
|
36506
|
+
timestamp: fire.timestamp,
|
|
36507
|
+
seq: fire.seq
|
|
36508
|
+
};
|
|
36509
|
+
if (first) return {
|
|
36510
|
+
kind: "ignore",
|
|
36511
|
+
why: "seeded: what fired before the start is not a trigger"
|
|
36512
|
+
};
|
|
36513
|
+
if (fire.deviceId !== this.leaf.deviceId) return {
|
|
36514
|
+
kind: "ignore",
|
|
36515
|
+
why: `device ${fire.deviceId} is not the trigger's device`
|
|
36516
|
+
};
|
|
36517
|
+
return this.#judge(fire, true);
|
|
36518
|
+
}
|
|
36519
|
+
#kindOf(fire) {
|
|
36520
|
+
const vocabulary = this.#vocabulary ?? conventionalEventVocabulary([fire.eventType]);
|
|
36521
|
+
return (findVocabularyEntry(vocabulary, fire.eventType, fire.sourceId) ?? findVocabularyEntry(vocabulary, fire.eventType))?.kind;
|
|
36522
|
+
}
|
|
36523
|
+
#judge(fire, recovered) {
|
|
36524
|
+
const { eventIds, sourceIds, kinds, match } = this.leaf;
|
|
36525
|
+
if (eventIds !== void 0 && !eventIds.includes(fire.eventType)) return {
|
|
36526
|
+
kind: "ignore",
|
|
36527
|
+
why: `event ${fire.eventType} is not one of [${eventIds.join(", ")}]`
|
|
36528
|
+
};
|
|
36529
|
+
if (sourceIds !== void 0 && (fire.sourceId === void 0 || !sourceIds.includes(fire.sourceId))) return {
|
|
36530
|
+
kind: "ignore",
|
|
36531
|
+
why: `source ${fire.sourceId ?? "(none)"} is not one of [${sourceIds.join(", ")}]`
|
|
36532
|
+
};
|
|
36533
|
+
const kind = this.#kindOf(fire);
|
|
36534
|
+
if (kinds !== void 0 && (kind === void 0 || !kinds.includes(kind))) return {
|
|
36535
|
+
kind: "ignore",
|
|
36536
|
+
why: `kind ${kind ?? "(none)"} is not one of [${kinds.join(", ")}]`
|
|
36537
|
+
};
|
|
36538
|
+
const vars = {
|
|
36539
|
+
deviceId: fire.deviceId,
|
|
36540
|
+
eventType: fire.eventType,
|
|
36541
|
+
sourceId: fire.sourceId ?? "",
|
|
36542
|
+
eventKind: kind ?? ""
|
|
36543
|
+
};
|
|
36544
|
+
const data = firedDataVars(fire.data);
|
|
36545
|
+
for (const predicate of match ?? []) {
|
|
36546
|
+
const found = readPath(fire.data, predicate.path);
|
|
36547
|
+
if (found !== predicate.equals) return {
|
|
36548
|
+
kind: "reject",
|
|
36549
|
+
reason: `data.${predicate.path} is ${JSON.stringify(found) ?? "not set"}, the trigger wants ${JSON.stringify(predicate.equals)}`,
|
|
36550
|
+
vars,
|
|
36551
|
+
data
|
|
36552
|
+
};
|
|
36553
|
+
}
|
|
36554
|
+
const what = `${fire.eventType}${fire.sourceId === void 0 ? "" : ` from ${fire.sourceId}`}`;
|
|
36555
|
+
return {
|
|
36556
|
+
kind: "fire",
|
|
36557
|
+
reason: recovered ? `${what} — ${FIRED_RECOVERED_NOTE}` : what,
|
|
36558
|
+
vars,
|
|
36559
|
+
data
|
|
36560
|
+
};
|
|
36561
|
+
}
|
|
36562
|
+
};
|
|
36563
|
+
//#endregion
|
|
35659
36564
|
//#region src/automation/run-gate.ts
|
|
35660
36565
|
var MINUTE_MS$2 = 6e4;
|
|
35661
36566
|
function minutes(ms) {
|
|
@@ -35808,7 +36713,7 @@ function stepGuardSiteIssues(steps, reading, rootPath) {
|
|
|
35808
36713
|
}
|
|
35809
36714
|
/** The whole recipe: its `when` tree and every step guard. */
|
|
35810
36715
|
function recipeSiteIssues(recipe, reading) {
|
|
35811
|
-
return [...whenSiteIssues(recipe.when, reading), ...
|
|
36716
|
+
return [...whenSiteIssues(recipe.when, reading), ...recipe.actions.flatMap((action, i) => stepConditionsOf(action).flatMap((condition) => whenSiteIssues(condition.when, reading, `actions.${i}.${condition.path}`)))];
|
|
35812
36717
|
}
|
|
35813
36718
|
//#endregion
|
|
35814
36719
|
//#region src/automation/scheduler.ts
|
|
@@ -35867,12 +36772,23 @@ var DEFAULT_MAX_HOLD_ATTEMPTS = 3;
|
|
|
35867
36772
|
var MAX_HOLD_ATTEMPTS_LIMIT = 20;
|
|
35868
36773
|
/** A missed edge up to this late still runs. */
|
|
35869
36774
|
var DEFAULT_MAX_LATE_MS = 10 * 6e4;
|
|
36775
|
+
/**
|
|
36776
|
+
* The longest one `wait` of a scheduler point lasts. A point's steps run in
|
|
36777
|
+
* the scheduler's one serial queue, with no run ceiling: a wait holds every
|
|
36778
|
+
* other scheduler's points for as long as it lasts. An action (one hour) has
|
|
36779
|
+
* its own run and ceiling; a point keeps the five minutes it always had.
|
|
36780
|
+
*/
|
|
36781
|
+
var SCHEDULER_WAIT_MAX_SECONDS = 300;
|
|
36782
|
+
var SchedulerStepSchema = ActionStepSchema.refine((step) => step.kind !== "wait" || step.seconds <= 300, {
|
|
36783
|
+
message: `a scheduler point waits at most five minutes (300 s); put a longer wait in an action`,
|
|
36784
|
+
path: ["seconds"]
|
|
36785
|
+
});
|
|
35870
36786
|
var SchedulerPointSchema = z.object({
|
|
35871
36787
|
id: z.string().min(1).max(64),
|
|
35872
36788
|
at: SchedulerTimeSpecSchema,
|
|
35873
36789
|
mode: SchedulerPointModeSchema,
|
|
35874
36790
|
/** The actions of an `edge` or `hold`; a `release` has none. */
|
|
35875
|
-
steps: z.array(
|
|
36791
|
+
steps: z.array(SchedulerStepSchema).max(20).default([]),
|
|
35876
36792
|
/** Checked when the point runs (an edge) or is applied (a hold). */
|
|
35877
36793
|
conditions: SchedulerStateTreeSchema.optional(),
|
|
35878
36794
|
/** Hold only; absent means `respect`. */
|
|
@@ -36176,6 +37092,7 @@ var AutomationConditionTraceNodeSchema = z.object({
|
|
|
36176
37092
|
"triggered-by",
|
|
36177
37093
|
"device-becomes",
|
|
36178
37094
|
"device-event",
|
|
37095
|
+
"device-fired",
|
|
36179
37096
|
"schedule",
|
|
36180
37097
|
"interval",
|
|
36181
37098
|
"manual",
|
|
@@ -36249,18 +37166,46 @@ var StepTraceBaseSchema = z.object({
|
|
|
36249
37166
|
]).optional(),
|
|
36250
37167
|
/** Why the condition read what it read, in the evaluator's own words. */
|
|
36251
37168
|
conditionReason: z.string().optional(),
|
|
36252
|
-
/** `empty`: the target resolved to no device, so nothing was done — never silently `ok`. `skipped`: its `if` was false (or unknown) and nothing ran in its place. */
|
|
37169
|
+
/** `empty`: the target resolved to no device, so nothing was done — never silently `ok`. `skipped`: its `if` was false (or unknown) and nothing ran in its place. `failed-continued`: it failed and was marked to be passed over (#500). */
|
|
36253
37170
|
outcome: z.enum([
|
|
36254
37171
|
"ok",
|
|
36255
37172
|
"error",
|
|
36256
37173
|
"not-run",
|
|
36257
37174
|
"empty",
|
|
36258
|
-
"skipped"
|
|
37175
|
+
"skipped",
|
|
37176
|
+
"failed-continued",
|
|
37177
|
+
"timed-out"
|
|
36259
37178
|
]),
|
|
36260
37179
|
message: z.string().optional()
|
|
36261
37180
|
});
|
|
37181
|
+
/** What a block step adds to its row: which list ran, what each branch read, how many rounds. */
|
|
37182
|
+
var blockTraceShape = {
|
|
37183
|
+
/** A `choose` step (#500): the list that ran, `branches.<n>` or `else`. Absent when none did. */
|
|
37184
|
+
branch: z.string().optional(),
|
|
37185
|
+
/** A `choose` step: what each branch read, in order, up to the one that decided. */
|
|
37186
|
+
branchChecks: z.array(z.object({
|
|
37187
|
+
condition: z.enum([
|
|
37188
|
+
"true",
|
|
37189
|
+
"false",
|
|
37190
|
+
"unknown"
|
|
37191
|
+
]),
|
|
37192
|
+
conditionReason: z.string().optional()
|
|
37193
|
+
})).optional(),
|
|
37194
|
+
/** A `repeat` step (#500): how many times its steps ran. */
|
|
37195
|
+
iterations: z.number().int().optional()
|
|
37196
|
+
};
|
|
37197
|
+
/** A step one level down: it may be a block step itself, whose own steps are plain rows (the nesting ends there). */
|
|
37198
|
+
var NestedStepTraceSchema = StepTraceBaseSchema.extend({
|
|
37199
|
+
...blockTraceShape,
|
|
37200
|
+
steps: z.array(StepTraceBaseSchema).optional()
|
|
37201
|
+
});
|
|
36262
37202
|
/** A step trace; the `else` steps that ran are one level of the same shape (the nesting is bounded at one). */
|
|
36263
|
-
var AutomationStepTraceSchema = StepTraceBaseSchema.extend({
|
|
37203
|
+
var AutomationStepTraceSchema = StepTraceBaseSchema.extend({
|
|
37204
|
+
else: z.array(StepTraceBaseSchema).optional(),
|
|
37205
|
+
...blockTraceShape,
|
|
37206
|
+
/** A `choose` step: the steps of the list that ran. A `parallel`: its members. A `repeat`: the LAST iteration. */
|
|
37207
|
+
steps: z.array(NestedStepTraceSchema).optional()
|
|
37208
|
+
});
|
|
36264
37209
|
var AutomationRunTraceSchema = z.object({
|
|
36265
37210
|
runId: z.string().min(1),
|
|
36266
37211
|
startedAt: z.number(),
|
|
@@ -36663,6 +37608,46 @@ async function evaluateStepCondition(when, fetchers, now = Date.now, history, si
|
|
|
36663
37608
|
}
|
|
36664
37609
|
//#endregion
|
|
36665
37610
|
//#region src/automation/step-runner.ts
|
|
37611
|
+
/**
|
|
37612
|
+
* Read the branches in order and stop at the first that decides: `true` runs
|
|
37613
|
+
* it, `unknown` ends the choice with nothing run (D49). All `false` runs the
|
|
37614
|
+
* else list, when there is one.
|
|
37615
|
+
*/
|
|
37616
|
+
async function readChoose(choose) {
|
|
37617
|
+
const checks = [];
|
|
37618
|
+
for (const [index, branch] of choose.branches.entries()) {
|
|
37619
|
+
const verdict = await readGuard(branch.guard);
|
|
37620
|
+
checks.push({
|
|
37621
|
+
condition: verdict.result,
|
|
37622
|
+
conditionReason: verdict.reason
|
|
37623
|
+
});
|
|
37624
|
+
if (verdict.result === "true") return {
|
|
37625
|
+
checks,
|
|
37626
|
+
decision: {
|
|
37627
|
+
kind: "run",
|
|
37628
|
+
branch: `branches.${index}`,
|
|
37629
|
+
steps: branch.steps
|
|
37630
|
+
}
|
|
37631
|
+
};
|
|
37632
|
+
if (verdict.result === "unknown") return {
|
|
37633
|
+
checks,
|
|
37634
|
+
decision: {
|
|
37635
|
+
kind: "unknown",
|
|
37636
|
+
index,
|
|
37637
|
+
reason: verdict.reason
|
|
37638
|
+
}
|
|
37639
|
+
};
|
|
37640
|
+
}
|
|
37641
|
+
const otherwise = choose.otherwise ?? [];
|
|
37642
|
+
return {
|
|
37643
|
+
checks,
|
|
37644
|
+
decision: otherwise.length === 0 ? { kind: "none" } : {
|
|
37645
|
+
kind: "run",
|
|
37646
|
+
branch: "else",
|
|
37647
|
+
steps: otherwise
|
|
37648
|
+
}
|
|
37649
|
+
};
|
|
37650
|
+
}
|
|
36666
37651
|
function errorMessage(err) {
|
|
36667
37652
|
return err instanceof Error ? err.message : String(err);
|
|
36668
37653
|
}
|
|
@@ -36677,17 +37662,125 @@ async function readGuard(guard) {
|
|
|
36677
37662
|
};
|
|
36678
37663
|
}
|
|
36679
37664
|
}
|
|
37665
|
+
/**
|
|
37666
|
+
* What a loop's condition says about going on. A `while` goes on while it
|
|
37667
|
+
* reads true, an `until` goes on while it reads false; `unknown` ends either,
|
|
37668
|
+
* with the reason (D49): a loop never runs on a value it could not read.
|
|
37669
|
+
*/
|
|
37670
|
+
function repeatCheck(by, verdict) {
|
|
37671
|
+
if (verdict.result === "unknown") return {
|
|
37672
|
+
go: false,
|
|
37673
|
+
reason: `the condition could not be read: ${verdict.reason}`,
|
|
37674
|
+
unknown: true
|
|
37675
|
+
};
|
|
37676
|
+
if (by === "while") return verdict.result === "true" ? { go: true } : {
|
|
37677
|
+
go: false,
|
|
37678
|
+
reason: "the condition is no longer true"
|
|
37679
|
+
};
|
|
37680
|
+
return verdict.result === "true" ? {
|
|
37681
|
+
go: false,
|
|
37682
|
+
reason: "the condition is true"
|
|
37683
|
+
} : { go: true };
|
|
37684
|
+
}
|
|
37685
|
+
/** A loop condition that throws ends the loop as unreadable, never a crash of the run. */
|
|
37686
|
+
async function readRepeatCheck(check, iteration) {
|
|
37687
|
+
if (check === void 0) return { go: true };
|
|
37688
|
+
try {
|
|
37689
|
+
return await check(iteration);
|
|
37690
|
+
} catch (err) {
|
|
37691
|
+
return {
|
|
37692
|
+
go: false,
|
|
37693
|
+
reason: `the condition could not be read: ${errorMessage(err)}`,
|
|
37694
|
+
unknown: true
|
|
37695
|
+
};
|
|
37696
|
+
}
|
|
37697
|
+
}
|
|
37698
|
+
/** Run a loop's steps until its count, its condition, its bound, a failure, a stop or an abort ends it. */
|
|
37699
|
+
async function runRepeat(repeat, options, path) {
|
|
37700
|
+
let iterations = 0;
|
|
37701
|
+
let last;
|
|
37702
|
+
for (;;) {
|
|
37703
|
+
if (options.isAborted()) return {
|
|
37704
|
+
iterations,
|
|
37705
|
+
last,
|
|
37706
|
+
timedOut: false
|
|
37707
|
+
};
|
|
37708
|
+
const before = await readRepeatCheck(repeat.before, iterations);
|
|
37709
|
+
if (!before.go) return {
|
|
37710
|
+
iterations,
|
|
37711
|
+
last,
|
|
37712
|
+
ended: before.reason,
|
|
37713
|
+
timedOut: false,
|
|
37714
|
+
...before.unknown === true ? { unknown: before.reason } : {}
|
|
37715
|
+
};
|
|
37716
|
+
if (iterations >= repeat.limit) return repeat.limitIsTimeout ? {
|
|
37717
|
+
iterations,
|
|
37718
|
+
last,
|
|
37719
|
+
ended: `stopped at ${repeat.limit} iterations`,
|
|
37720
|
+
timedOut: true
|
|
37721
|
+
} : {
|
|
37722
|
+
iterations,
|
|
37723
|
+
last,
|
|
37724
|
+
ended: "",
|
|
37725
|
+
timedOut: false
|
|
37726
|
+
};
|
|
37727
|
+
last = await runSteps(repeat.steps, {
|
|
37728
|
+
...options,
|
|
37729
|
+
pathPrefix: `${path}.steps`,
|
|
37730
|
+
indexOffset: 0
|
|
37731
|
+
});
|
|
37732
|
+
iterations += 1;
|
|
37733
|
+
if (last.failed || last.aborted || last.stopped !== void 0) return {
|
|
37734
|
+
iterations,
|
|
37735
|
+
last,
|
|
37736
|
+
timedOut: false
|
|
37737
|
+
};
|
|
37738
|
+
const after = await readRepeatCheck(repeat.after, iterations - 1);
|
|
37739
|
+
if (!after.go) return {
|
|
37740
|
+
iterations,
|
|
37741
|
+
last,
|
|
37742
|
+
ended: after.reason,
|
|
37743
|
+
timedOut: false,
|
|
37744
|
+
...after.unknown === true ? { unknown: after.reason } : {}
|
|
37745
|
+
};
|
|
37746
|
+
if (repeat.between !== void 0 && iterations < repeat.limit) await repeat.between();
|
|
37747
|
+
}
|
|
37748
|
+
}
|
|
36680
37749
|
/** The else level of a trace is one level deep: a nested trace carries no `else` of its own. */
|
|
36681
37750
|
function withoutElse(trace) {
|
|
36682
37751
|
const { else: _else, ...rest } = trace;
|
|
36683
37752
|
return rest;
|
|
36684
37753
|
}
|
|
37754
|
+
/** A plain row: the last level of a trace carries no list of its own. */
|
|
37755
|
+
function plainRow(trace) {
|
|
37756
|
+
const { else: _else, steps: _steps, ...rest } = trace;
|
|
37757
|
+
return rest;
|
|
37758
|
+
}
|
|
37759
|
+
/** A row one level down: it keeps its own steps as plain rows, and no `else`. */
|
|
37760
|
+
function withoutNested(trace) {
|
|
37761
|
+
const { else: _else, steps, ...rest } = trace;
|
|
37762
|
+
return steps === void 0 ? rest : {
|
|
37763
|
+
...rest,
|
|
37764
|
+
steps: steps.map(plainRow)
|
|
37765
|
+
};
|
|
37766
|
+
}
|
|
36685
37767
|
async function runSteps(steps, options) {
|
|
36686
37768
|
const traces = [];
|
|
36687
37769
|
let failed = false;
|
|
36688
37770
|
let aborted = false;
|
|
36689
|
-
|
|
37771
|
+
let stopped;
|
|
37772
|
+
for (const [position, step] of steps.entries()) {
|
|
37773
|
+
const index = position + (options.indexOffset ?? 0);
|
|
36690
37774
|
const path = `${options.pathPrefix}.${index}`;
|
|
37775
|
+
if (stopped !== void 0) {
|
|
37776
|
+
traces.push({
|
|
37777
|
+
...step.meta,
|
|
37778
|
+
path,
|
|
37779
|
+
outcome: "not-run",
|
|
37780
|
+
message: `stopped at ${stopped.path}: ${stopped.reason}`
|
|
37781
|
+
});
|
|
37782
|
+
continue;
|
|
37783
|
+
}
|
|
36691
37784
|
if (failed || aborted || options.isAborted()) {
|
|
36692
37785
|
if (!failed) aborted = true;
|
|
36693
37786
|
traces.push({
|
|
@@ -36699,6 +37792,96 @@ async function runSteps(steps, options) {
|
|
|
36699
37792
|
continue;
|
|
36700
37793
|
}
|
|
36701
37794
|
const startedAt = options.now();
|
|
37795
|
+
if (step.parallel !== void 0) {
|
|
37796
|
+
const members = await Promise.all(step.parallel.map((member, at) => runSteps([member], {
|
|
37797
|
+
...options,
|
|
37798
|
+
pathPrefix: `${path}.steps`,
|
|
37799
|
+
indexOffset: at
|
|
37800
|
+
})));
|
|
37801
|
+
const anyFailed = members.some((m) => m.failed);
|
|
37802
|
+
if (anyFailed) failed = true;
|
|
37803
|
+
else if (members.some((m) => m.aborted)) aborted = true;
|
|
37804
|
+
traces.push({
|
|
37805
|
+
...step.meta,
|
|
37806
|
+
path,
|
|
37807
|
+
startedAt,
|
|
37808
|
+
endedAt: options.now(),
|
|
37809
|
+
outcome: anyFailed ? "error" : "ok",
|
|
37810
|
+
...anyFailed ? { message: "a parallel step failed" } : {},
|
|
37811
|
+
steps: members.flatMap((m) => m.steps.map(withoutNested))
|
|
37812
|
+
});
|
|
37813
|
+
continue;
|
|
37814
|
+
}
|
|
37815
|
+
if (step.repeat !== void 0) {
|
|
37816
|
+
const loop = await runRepeat(step.repeat, options, path);
|
|
37817
|
+
const sub = loop.last;
|
|
37818
|
+
if (loop.unknown !== void 0) options.onGuardUnknown?.({
|
|
37819
|
+
index,
|
|
37820
|
+
path: `${path}.loop.when`,
|
|
37821
|
+
reason: loop.unknown,
|
|
37822
|
+
deviceId: step.meta.deviceId
|
|
37823
|
+
});
|
|
37824
|
+
const bodyFailed = loop.ended === void 0 && sub?.failed === true;
|
|
37825
|
+
if (bodyFailed) failed = true;
|
|
37826
|
+
else if (loop.ended === void 0 && sub?.stopped !== void 0) stopped = sub.stopped;
|
|
37827
|
+
else if (loop.ended === void 0) aborted = true;
|
|
37828
|
+
const times = `ran ${loop.iterations} times`;
|
|
37829
|
+
const message = bodyFailed ? `a step failed in iteration ${loop.iterations}` : loop.ended === void 0 ? times : loop.timedOut ? loop.ended : loop.ended === "" ? times : `${times}: ${loop.ended}`;
|
|
37830
|
+
traces.push({
|
|
37831
|
+
...step.meta,
|
|
37832
|
+
path,
|
|
37833
|
+
startedAt,
|
|
37834
|
+
endedAt: options.now(),
|
|
37835
|
+
outcome: bodyFailed ? "error" : loop.timedOut ? "timed-out" : "ok",
|
|
37836
|
+
message,
|
|
37837
|
+
iterations: loop.iterations,
|
|
37838
|
+
...sub === void 0 ? {} : { steps: sub.steps.map(withoutNested) }
|
|
37839
|
+
});
|
|
37840
|
+
continue;
|
|
37841
|
+
}
|
|
37842
|
+
if (step.choose !== void 0) {
|
|
37843
|
+
const reading = await readChoose(step.choose);
|
|
37844
|
+
const base = {
|
|
37845
|
+
...step.meta,
|
|
37846
|
+
path,
|
|
37847
|
+
startedAt,
|
|
37848
|
+
branchChecks: [...reading.checks]
|
|
37849
|
+
};
|
|
37850
|
+
const { decision } = reading;
|
|
37851
|
+
if (decision.kind !== "run") {
|
|
37852
|
+
if (decision.kind === "unknown") options.onGuardUnknown?.({
|
|
37853
|
+
index,
|
|
37854
|
+
path: `${path}.branches.${decision.index}.if`,
|
|
37855
|
+
reason: decision.reason,
|
|
37856
|
+
deviceId: step.meta.deviceId
|
|
37857
|
+
});
|
|
37858
|
+
traces.push({
|
|
37859
|
+
...base,
|
|
37860
|
+
endedAt: options.now(),
|
|
37861
|
+
outcome: "skipped",
|
|
37862
|
+
message: decision.kind === "unknown" ? `not run: branch ${decision.index + 1} could not be read (${decision.reason})` : "not run: no branch is true"
|
|
37863
|
+
});
|
|
37864
|
+
continue;
|
|
37865
|
+
}
|
|
37866
|
+
const listPath = decision.branch === "else" ? `${path}.else` : `${path}.${decision.branch}.steps`;
|
|
37867
|
+
const sub = await runSteps(decision.steps, {
|
|
37868
|
+
...options,
|
|
37869
|
+
pathPrefix: listPath,
|
|
37870
|
+
indexOffset: 0
|
|
37871
|
+
});
|
|
37872
|
+
if (sub.failed) failed = true;
|
|
37873
|
+
else if (sub.aborted) aborted = true;
|
|
37874
|
+
if (sub.stopped !== void 0) stopped = sub.stopped;
|
|
37875
|
+
traces.push({
|
|
37876
|
+
...base,
|
|
37877
|
+
endedAt: options.now(),
|
|
37878
|
+
outcome: sub.failed ? "error" : "ok",
|
|
37879
|
+
...sub.failed ? { message: "a step of the branch failed" } : {},
|
|
37880
|
+
branch: decision.branch,
|
|
37881
|
+
steps: sub.steps.map(withoutNested)
|
|
37882
|
+
});
|
|
37883
|
+
continue;
|
|
37884
|
+
}
|
|
36702
37885
|
let guardTrace = {};
|
|
36703
37886
|
if (step.guard !== void 0) {
|
|
36704
37887
|
const verdict = await readGuard(step.guard);
|
|
@@ -36728,10 +37911,12 @@ async function runSteps(steps, options) {
|
|
|
36728
37911
|
}
|
|
36729
37912
|
const sub = await runSteps(branch, {
|
|
36730
37913
|
...options,
|
|
36731
|
-
pathPrefix: `${path}.else
|
|
37914
|
+
pathPrefix: `${path}.else`,
|
|
37915
|
+
indexOffset: 0
|
|
36732
37916
|
});
|
|
36733
37917
|
if (sub.failed) failed = true;
|
|
36734
37918
|
else if (sub.aborted) aborted = true;
|
|
37919
|
+
if (sub.stopped !== void 0) stopped = sub.stopped;
|
|
36735
37920
|
traces.push({
|
|
36736
37921
|
...step.meta,
|
|
36737
37922
|
...guardTrace,
|
|
@@ -36749,6 +37934,7 @@ async function runSteps(steps, options) {
|
|
|
36749
37934
|
let sent;
|
|
36750
37935
|
const perDevice = [];
|
|
36751
37936
|
let emptyReason;
|
|
37937
|
+
let timedOutReason;
|
|
36752
37938
|
let templateNotes = [];
|
|
36753
37939
|
const scope = {
|
|
36754
37940
|
setDeviceId: (id) => {
|
|
@@ -36765,6 +37951,16 @@ async function runSteps(steps, options) {
|
|
|
36765
37951
|
},
|
|
36766
37952
|
setTemplateNotes: (notes) => {
|
|
36767
37953
|
templateNotes = notes.slice(0, 20);
|
|
37954
|
+
},
|
|
37955
|
+
stop: (reason, outcome) => {
|
|
37956
|
+
stopped = {
|
|
37957
|
+
reason,
|
|
37958
|
+
outcome,
|
|
37959
|
+
path
|
|
37960
|
+
};
|
|
37961
|
+
},
|
|
37962
|
+
markTimedOut: (reason) => {
|
|
37963
|
+
timedOutReason = reason;
|
|
36768
37964
|
}
|
|
36769
37965
|
};
|
|
36770
37966
|
const templatesTrace = () => templateNotes.length === 0 ? {} : { templates: [...templateNotes] };
|
|
@@ -36772,6 +37968,29 @@ async function runSteps(steps, options) {
|
|
|
36772
37968
|
const devicesTrace = () => perDevice.length === 0 ? {} : { devices: perDevice.slice(0, 200) };
|
|
36773
37969
|
try {
|
|
36774
37970
|
await step.run(scope);
|
|
37971
|
+
const stop = (() => stopped)();
|
|
37972
|
+
if (stop !== void 0) {
|
|
37973
|
+
const message = `stopped: ${stop.reason}`;
|
|
37974
|
+
if (stop.outcome === "failed") {
|
|
37975
|
+
failed = true;
|
|
37976
|
+
options.onFailure({
|
|
37977
|
+
index,
|
|
37978
|
+
path,
|
|
37979
|
+
message,
|
|
37980
|
+
deviceId
|
|
37981
|
+
});
|
|
37982
|
+
}
|
|
37983
|
+
traces.push({
|
|
37984
|
+
...step.meta,
|
|
37985
|
+
...guardTrace,
|
|
37986
|
+
path,
|
|
37987
|
+
startedAt,
|
|
37988
|
+
endedAt: options.now(),
|
|
37989
|
+
outcome: stop.outcome === "failed" ? "error" : "ok",
|
|
37990
|
+
message
|
|
37991
|
+
});
|
|
37992
|
+
continue;
|
|
37993
|
+
}
|
|
36775
37994
|
traces.push({
|
|
36776
37995
|
...step.meta,
|
|
36777
37996
|
...deviceId === void 0 || perDevice.length > 1 ? {} : { deviceId },
|
|
@@ -36782,18 +38001,27 @@ async function runSteps(steps, options) {
|
|
|
36782
38001
|
path,
|
|
36783
38002
|
startedAt,
|
|
36784
38003
|
endedAt: options.now(),
|
|
36785
|
-
outcome: emptyReason === void 0 ? "ok" : "empty",
|
|
36786
|
-
...emptyReason === void 0 ? {} : { message: emptyReason }
|
|
38004
|
+
outcome: timedOutReason !== void 0 ? "timed-out" : emptyReason === void 0 ? "ok" : "empty",
|
|
38005
|
+
...timedOutReason !== void 0 ? { message: timedOutReason } : emptyReason === void 0 ? {} : { message: emptyReason }
|
|
36787
38006
|
});
|
|
36788
38007
|
} catch (err) {
|
|
36789
|
-
failed = true;
|
|
36790
38008
|
const message = errorMessage(err);
|
|
36791
|
-
|
|
38009
|
+
const continued = step.continueOnError === true;
|
|
38010
|
+
if (continued) options.onContinuedFailure?.({
|
|
36792
38011
|
index,
|
|
36793
38012
|
path,
|
|
36794
38013
|
message,
|
|
36795
38014
|
deviceId
|
|
36796
38015
|
});
|
|
38016
|
+
else {
|
|
38017
|
+
failed = true;
|
|
38018
|
+
options.onFailure({
|
|
38019
|
+
index,
|
|
38020
|
+
path,
|
|
38021
|
+
message,
|
|
38022
|
+
deviceId
|
|
38023
|
+
});
|
|
38024
|
+
}
|
|
36797
38025
|
traces.push({
|
|
36798
38026
|
...step.meta,
|
|
36799
38027
|
...deviceId === void 0 || perDevice.length > 1 ? {} : { deviceId },
|
|
@@ -36804,7 +38032,7 @@ async function runSteps(steps, options) {
|
|
|
36804
38032
|
path,
|
|
36805
38033
|
startedAt,
|
|
36806
38034
|
endedAt: options.now(),
|
|
36807
|
-
outcome: "error",
|
|
38035
|
+
outcome: continued ? "failed-continued" : "error",
|
|
36808
38036
|
message
|
|
36809
38037
|
});
|
|
36810
38038
|
}
|
|
@@ -36812,7 +38040,8 @@ async function runSteps(steps, options) {
|
|
|
36812
38040
|
return {
|
|
36813
38041
|
steps: traces,
|
|
36814
38042
|
failed,
|
|
36815
|
-
aborted: aborted && !failed
|
|
38043
|
+
aborted: aborted && !failed,
|
|
38044
|
+
...stopped === void 0 ? {} : { stopped }
|
|
36816
38045
|
};
|
|
36817
38046
|
}
|
|
36818
38047
|
function isVarRef(value) {
|
|
@@ -36820,7 +38049,8 @@ function isVarRef(value) {
|
|
|
36820
38049
|
const keys = Object.keys(value);
|
|
36821
38050
|
return keys.length === 1 && keys[0] === "$var" && typeof Reflect.get(value, "$var") === "string";
|
|
36822
38051
|
}
|
|
36823
|
-
|
|
38052
|
+
/** `{{vars.name}}`, or a dotted name (`{{vars.data.channel}}`): the bag is flat, the dots are part of the key. */
|
|
38053
|
+
var TEMPLATE_RE = /\{\{\s*vars\.([A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*)\s*\}\}/g;
|
|
36824
38054
|
/**
|
|
36825
38055
|
* Substitute a step's args from the run's variables. SUBSTITUTION only, never
|
|
36826
38056
|
* evaluation:
|
|
@@ -36870,7 +38100,7 @@ function newSlotNonce() {
|
|
|
36870
38100
|
return Math.random().toString(36).slice(2, 12);
|
|
36871
38101
|
}
|
|
36872
38102
|
function slotPattern(nonce) {
|
|
36873
|
-
return new RegExp(`${VAR_SLOT_OPEN}${nonce}:([A-Za-z_][A-Za-z0-9_]*)${VAR_SLOT_CLOSE}`, "g");
|
|
38103
|
+
return new RegExp(`${VAR_SLOT_OPEN}${nonce}:([A-Za-z_][A-Za-z0-9_.]*)${VAR_SLOT_CLOSE}`, "g");
|
|
36874
38104
|
}
|
|
36875
38105
|
/** `text` with every `{{vars.x}}` slot (the only slot the run-time holds) replaced by `replacement`. */
|
|
36876
38106
|
function holdVarSlots(text, replacement) {
|
|
@@ -37094,6 +38324,49 @@ function buildActionSteps(steps, vars, deps) {
|
|
|
37094
38324
|
});
|
|
37095
38325
|
}
|
|
37096
38326
|
//#endregion
|
|
38327
|
+
//#region src/automation/wait-until.ts
|
|
38328
|
+
async function readSafely(read) {
|
|
38329
|
+
try {
|
|
38330
|
+
return await read();
|
|
38331
|
+
} catch (err) {
|
|
38332
|
+
return {
|
|
38333
|
+
result: "unknown",
|
|
38334
|
+
reason: err instanceof Error ? err.message : String(err)
|
|
38335
|
+
};
|
|
38336
|
+
}
|
|
38337
|
+
}
|
|
38338
|
+
async function waitUntil(input) {
|
|
38339
|
+
const startedAt = input.now();
|
|
38340
|
+
const deadline = startedAt + input.timeoutMs;
|
|
38341
|
+
for (;;) {
|
|
38342
|
+
const verdict = await readSafely(input.read);
|
|
38343
|
+
const waitedMs = input.now() - startedAt;
|
|
38344
|
+
if (input.isAborted()) return {
|
|
38345
|
+
result: "aborted",
|
|
38346
|
+
waitedMs
|
|
38347
|
+
};
|
|
38348
|
+
if (verdict.result === "true") return {
|
|
38349
|
+
result: "met",
|
|
38350
|
+
waitedMs
|
|
38351
|
+
};
|
|
38352
|
+
const remaining = deadline - input.now();
|
|
38353
|
+
if (remaining <= 0) return {
|
|
38354
|
+
result: "timed-out",
|
|
38355
|
+
waitedMs,
|
|
38356
|
+
lastReason: verdict.reason
|
|
38357
|
+
};
|
|
38358
|
+
await input.nextWake(remaining);
|
|
38359
|
+
if (input.isAborted()) return {
|
|
38360
|
+
result: "aborted",
|
|
38361
|
+
waitedMs: input.now() - startedAt
|
|
38362
|
+
};
|
|
38363
|
+
}
|
|
38364
|
+
}
|
|
38365
|
+
/** What the run trace says of a wait that ran out. */
|
|
38366
|
+
function waitTimedOutMessage(timeoutS, lastReason) {
|
|
38367
|
+
return `timed out after ${timeoutS} s: ${lastReason}`;
|
|
38368
|
+
}
|
|
38369
|
+
//#endregion
|
|
37097
38370
|
//#region src/units/quantity-units.ts
|
|
37098
38371
|
/**
|
|
37099
38372
|
* Which units a person may pick for a number of a given quantity. The
|
|
@@ -37516,6 +38789,29 @@ var AUTOMATION_LEAF_CATALOG = {
|
|
|
37516
38789
|
category: ""
|
|
37517
38790
|
})
|
|
37518
38791
|
},
|
|
38792
|
+
"device-fired": {
|
|
38793
|
+
kind: "device-fired",
|
|
38794
|
+
category: "devices",
|
|
38795
|
+
role: "event",
|
|
38796
|
+
allowedIn: EVENT_CONTEXTS,
|
|
38797
|
+
i18nKey: "automation.leafCatalog.device-fired",
|
|
38798
|
+
keywords: [
|
|
38799
|
+
"button",
|
|
38800
|
+
"press",
|
|
38801
|
+
"long",
|
|
38802
|
+
"remote",
|
|
38803
|
+
"switch",
|
|
38804
|
+
"key",
|
|
38805
|
+
"fires",
|
|
38806
|
+
"event",
|
|
38807
|
+
"click"
|
|
38808
|
+
],
|
|
38809
|
+
needsDeviceValue: false,
|
|
38810
|
+
seed: () => ({
|
|
38811
|
+
kind: "device-fired",
|
|
38812
|
+
deviceId: 0
|
|
38813
|
+
})
|
|
38814
|
+
},
|
|
37519
38815
|
schedule: {
|
|
37520
38816
|
kind: "schedule",
|
|
37521
38817
|
category: "time",
|
|
@@ -37703,6 +38999,7 @@ var AUTOMATION_LEAF_KINDS = [
|
|
|
37703
38999
|
"detection",
|
|
37704
39000
|
"stationary",
|
|
37705
39001
|
"device-becomes",
|
|
39002
|
+
"device-fired",
|
|
37706
39003
|
"device-event",
|
|
37707
39004
|
"schedule",
|
|
37708
39005
|
"interval",
|
|
@@ -38266,7 +39563,9 @@ var AddonHttpRouteSchema = z.object({
|
|
|
38266
39563
|
]).optional(),
|
|
38267
39564
|
description: z.string().optional(),
|
|
38268
39565
|
/** The hub limits this route per client address before the handler runs. */
|
|
38269
|
-
rateLimit: z.enum(["auth"]).optional()
|
|
39566
|
+
rateLimit: z.enum(["auth"]).optional(),
|
|
39567
|
+
/** Served once per integration instance; the handler reads `instanceId`. */
|
|
39568
|
+
perInstance: z.boolean().optional()
|
|
38270
39569
|
});
|
|
38271
39570
|
/**
|
|
38272
39571
|
* Cross-process route invocation envelope. The hub captures the
|
|
@@ -38283,6 +39582,8 @@ var InvokeRequestSchema = z.object({
|
|
|
38283
39582
|
query: z.record(z.string(), z.string()),
|
|
38284
39583
|
body: z.unknown(),
|
|
38285
39584
|
headers: z.record(z.string(), z.string()),
|
|
39585
|
+
/** The instance the hub resolved for a `perInstance` route. */
|
|
39586
|
+
instanceId: z.string().optional(),
|
|
38286
39587
|
user: z.object({
|
|
38287
39588
|
id: z.string(),
|
|
38288
39589
|
username: z.string(),
|
|
@@ -56346,55 +57647,6 @@ var enumSensorCapability = {
|
|
|
56346
57647
|
volatileStateFields: ["lastFetchedAt", "timestamp"]
|
|
56347
57648
|
};
|
|
56348
57649
|
//#endregion
|
|
56349
|
-
//#region src/capabilities/event-emitter.cap.ts
|
|
56350
|
-
/**
|
|
56351
|
-
* Generic stateless event emitter. Installed on a `DeviceType.EventEmitter`
|
|
56352
|
-
* device. Carries the device's EXACT declared event vocabulary verbatim
|
|
56353
|
-
* (NO normalization). Two shapes:
|
|
56354
|
-
* - structured source (HA `event.*` entity) → `eventTypes` is the fixed
|
|
56355
|
-
* declared vocabulary (e.g. ['press_short','press_long',...]).
|
|
56356
|
-
* - generic/legacy source (HA bus events, e.g. zha_event) → `eventTypes`
|
|
56357
|
-
* is [] (open) and `lastEvent.data` carries the complex payload.
|
|
56358
|
-
* `seq` is monotonic so two identical events still produce distinct slice writes.
|
|
56359
|
-
*/
|
|
56360
|
-
var EventFireSchema = z.object({
|
|
56361
|
-
deviceId: z.number(),
|
|
56362
|
-
eventType: z.string(),
|
|
56363
|
-
data: z.record(z.string(), z.unknown()).nullable(),
|
|
56364
|
-
timestamp: z.number().meta(readingMeta("none")),
|
|
56365
|
-
seq: z.number().meta(readingMeta("count"))
|
|
56366
|
-
});
|
|
56367
|
-
var EventEmitterStatusSchema = z.object({
|
|
56368
|
-
eventTypes: z.array(z.string()),
|
|
56369
|
-
lastEvent: EventFireSchema.nullable(),
|
|
56370
|
-
eventCountSinceStart: z.number().meta(readingMeta("count"))
|
|
56371
|
-
});
|
|
56372
|
-
var eventEmitterCapability = {
|
|
56373
|
-
name: "event-emitter",
|
|
56374
|
-
scope: "device",
|
|
56375
|
-
deviceNative: true,
|
|
56376
|
-
mode: "singleton",
|
|
56377
|
-
deviceTypes: [DeviceType.EventEmitter],
|
|
56378
|
-
methods: {},
|
|
56379
|
-
events: { onEvent: { data: EventFireSchema } },
|
|
56380
|
-
status: {
|
|
56381
|
-
schema: EventEmitterStatusSchema,
|
|
56382
|
-
kind: "push"
|
|
56383
|
-
},
|
|
56384
|
-
runtimeState: EventEmitterStatusSchema,
|
|
56385
|
-
/**
|
|
56386
|
-
* Runtime-state durability: **session** — `eventCountSinceStart` names its own scope.
|
|
56387
|
-
*
|
|
56388
|
-
* See `RuntimeStateDurability`. Enforced by
|
|
56389
|
-
* `scripts/check-runtime-state-durability.ts`.
|
|
56390
|
-
*/
|
|
56391
|
-
durability: "session",
|
|
56392
|
-
/**
|
|
56393
|
-
* History (D850): none — `eventCountSinceStart` resets with the addon; events live in ledgers.
|
|
56394
|
-
*/
|
|
56395
|
-
history: "none"
|
|
56396
|
-
};
|
|
56397
|
-
//#endregion
|
|
56398
57650
|
//#region src/capabilities/face-gallery.cap.ts
|
|
56399
57651
|
var IdentitySchema = z.object({
|
|
56400
57652
|
id: z.string(),
|
|
@@ -77239,7 +78491,18 @@ var OauthIntegrationDescriptorSchema = z.object({
|
|
|
77239
78491
|
* The value is baked into the authorization code at `/authorize` and travels
|
|
77240
78492
|
* on the tokens, so editing this field changes FUTURE links only.
|
|
77241
78493
|
*/
|
|
77242
|
-
refreshTokenTtlSec: z.union([z.number().int().positive(), z.literal("never")]).optional()
|
|
78494
|
+
refreshTokenTtlSec: z.union([z.number().int().positive(), z.literal("never")]).optional(),
|
|
78495
|
+
/**
|
|
78496
|
+
* The integration instances an account can be linked to (planning#415),
|
|
78497
|
+
* beside the default one. `/api/oauth2/authorize?instance=<id>` is accepted
|
|
78498
|
+
* only for an id listed here; with no `instance=` the link is made to the
|
|
78499
|
+
* default instance, which is never listed and always accepted — it is the
|
|
78500
|
+
* address third parties already hold. Omit for a single-instance integration.
|
|
78501
|
+
*/
|
|
78502
|
+
instances: z.array(z.object({
|
|
78503
|
+
id: z.string(),
|
|
78504
|
+
displayName: z.string()
|
|
78505
|
+
})).optional()
|
|
77243
78506
|
});
|
|
77244
78507
|
var oauthIntegrationCapability = {
|
|
77245
78508
|
name: "oauth-integration",
|
|
@@ -87494,6 +88757,13 @@ var SsoBridgeClaimsSchema = z.object({
|
|
|
87494
88757
|
/** OAuth authorization-code binding — set only on `oauth-code` tokens. */
|
|
87495
88758
|
redirectUri: z.string().optional(),
|
|
87496
88759
|
integrationId: z.string().optional(),
|
|
88760
|
+
/**
|
|
88761
|
+
* The integration INSTANCE an OAuth link was made for (planning#415). Set on
|
|
88762
|
+
* `oauth-code`, `oauth-access` and `oauth-refresh` tokens of a link made
|
|
88763
|
+
* with `instance=`; absent on a link to the default instance. A cloud relay
|
|
88764
|
+
* reads it off the access token to route; the hub answers from the session.
|
|
88765
|
+
*/
|
|
88766
|
+
instanceId: z.string().optional(),
|
|
87497
88767
|
/** JWT ID — unique per issued code; consumed-set enforces single-use. */
|
|
87498
88768
|
jti: z.string().optional(),
|
|
87499
88769
|
/** PKCE S256 challenge — set only on `oauth-code` tokens issued to a public
|
|
@@ -90555,6 +91825,8 @@ var OauthSessionSummarySchema = z.object({
|
|
|
90555
91825
|
userId: z.string(),
|
|
90556
91826
|
username: z.string(),
|
|
90557
91827
|
integrationId: z.string(),
|
|
91828
|
+
/** The instance the link was made for; `null` = the default instance. */
|
|
91829
|
+
instanceId: z.string().nullable().optional(),
|
|
90558
91830
|
scopes: z.array(TokenScopeSchema),
|
|
90559
91831
|
createdAt: z.number(),
|
|
90560
91832
|
lastUsedAt: z.number(),
|
|
@@ -90683,6 +91955,9 @@ var userManagementCapability = {
|
|
|
90683
91955
|
}),
|
|
90684
91956
|
oauthIssueCode: method(z.object({
|
|
90685
91957
|
integrationId: z.string(),
|
|
91958
|
+
/** The integration instance the link is for. Omit for the default
|
|
91959
|
+
* instance — never pass the addon id to mean it. */
|
|
91960
|
+
instanceId: z.string().optional(),
|
|
90686
91961
|
userId: z.string(),
|
|
90687
91962
|
username: z.string(),
|
|
90688
91963
|
scopes: z.array(TokenScopeSchema),
|
|
@@ -90724,7 +91999,13 @@ var userManagementCapability = {
|
|
|
90724
91999
|
oauthVerifyAccessToken: method(z.object({ token: z.string() }), z.object({
|
|
90725
92000
|
userId: z.string(),
|
|
90726
92001
|
username: z.string(),
|
|
90727
|
-
scopes: z.array(TokenScopeSchema)
|
|
92002
|
+
scopes: z.array(TokenScopeSchema),
|
|
92003
|
+
/** The instance the link was made for, read from the SESSION.
|
|
92004
|
+
* Absent = the default instance. `oauthLinkServesInstance` is the
|
|
92005
|
+
* helper a per-instance route calls to compare it with the instance
|
|
92006
|
+
* of its path; no route declares `perInstance` yet (the Alexa
|
|
92007
|
+
* per-instance route, T3, is the first consumer). */
|
|
92008
|
+
instanceId: z.string().optional()
|
|
90728
92009
|
}).nullable(), { access: "view" }),
|
|
90729
92010
|
listExternalIdentities: method(z.object({ userId: z.string() }), z.array(ExternalIdentitySchema), { auth: "admin" }),
|
|
90730
92011
|
/** The user an identity is linked to, or `null`. */
|
|
@@ -95015,6 +96296,10 @@ function leafIssues(site, when, root) {
|
|
|
95015
96296
|
}
|
|
95016
96297
|
return;
|
|
95017
96298
|
}
|
|
96299
|
+
if (leaf.kind === "device-fired") {
|
|
96300
|
+
if (deviceOf(site, leaf.deviceId) === void 0) issues.push(`${at}: no device has id ${leaf.deviceId}`);
|
|
96301
|
+
return;
|
|
96302
|
+
}
|
|
95018
96303
|
if (leaf.kind === "device-event" && leaf.deviceId !== void 0) {
|
|
95019
96304
|
if (deviceOf(site, leaf.deviceId) === void 0) issues.push(`${at}: no device has id ${leaf.deviceId}`);
|
|
95020
96305
|
}
|
|
@@ -137542,4 +138827,4 @@ function brokerLinkPortsOver(deps) {
|
|
|
137542
138827
|
};
|
|
137543
138828
|
}
|
|
137544
138829
|
//#endregion
|
|
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 };
|
|
138830
|
+
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, AutomationChooseStepSchema, AutomationConditionOperatorSchema, AutomationConditionTraceNodeSchema, AutomationControlStatusSchema, AutomationParallelStepSchema, AutomationRecipeSchema, AutomationRepeatLoopSchema, AutomationRepeatStepSchema, AutomationRunModeSchema, AutomationRunOutcomeSchema, AutomationRunTraceSchema, AutomationRunVerdictSchema, AutomationSetStepSchema, AutomationStateDocSchema, AutomationStepTraceSchema, AutomationStopStepSchema, AutomationTriggerTraceSchema, AutomationWaitStepSchema, AutomationWaitUntilStepSchema, 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, CHOOSE_BRANCHES_MAX, 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, DeviceFiredMatchSchema, DeviceFiredWatch, 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, EVENT_VOCABULARY_KINDS, 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, EventVocabularyEntrySchema, EventVocabularyFieldSchema, EventVocabularyKindSchema, EventVocabularySourceSchema, 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, FIRED_RECOVERED_NOTE, 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, PARALLEL_STEPS_MAX, PARALLEL_STEPS_MIN, 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, REPEAT_COUNT_MAX, REPEAT_DEVICES_MAX, REPEAT_ITEM_VAR, REPEAT_ITERATIONS_MAX, REPEAT_STEPS_MAX, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESERVED_RUN_VARS, 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, SCHEDULER_WAIT_MAX_SECONDS, 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, SET_VARS_MAX, SET_VAR_NAME_RE, SET_VAR_VALUE_MAX, 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, STEP_NEST_MAX, STOP_REASON_MAX, 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, WAIT_MAX_SECONDS, WAIT_UNTIL_TIMEOUT_MAX_S, 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, conventionalEventVocabulary, 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, eventTypesOfVocabulary, 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, findVocabularyEntry, firedDataVars, 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, isAddonInstanceId, 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, nestedStepsOf, 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, oauthLinkInstanceId, oauthLinkServesInstance, 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, plainEventVocabulary, 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, readEventVocabulary, 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, repeatCheck, 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, stepConditionsOf, stepGuardOf, 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, waitTimedOutMessage, waitUntil, 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 };
|