@camstack/types 1.2.540 → 1.2.541

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +12 -4
  2. package/dist/addon.js +1 -1
  3. package/dist/addon.mjs +1 -1
  4. package/dist/capabilities/cluster-update.cap.d.ts +376 -0
  5. package/dist/capabilities/device-manager.cap.d.ts +103 -0
  6. package/dist/capabilities/device-search.d.ts +168 -0
  7. package/dist/capabilities/hero-layout.cap.d.ts +4 -0
  8. package/dist/capabilities/hub-address.d.ts +10 -0
  9. package/dist/capabilities/index.d.ts +6 -3
  10. package/dist/capabilities/notification-rules.cap.d.ts +115 -1
  11. package/dist/client.d.ts +2 -1
  12. package/dist/client.js +54 -8
  13. package/dist/client.mjs +54 -9
  14. package/dist/device/container-primary-child.d.ts +39 -4
  15. package/dist/device/device-management.d.ts +9 -0
  16. package/dist/device/hero/hero-model.d.ts +14 -0
  17. package/dist/device/linked-device-resolve.d.ts +2 -0
  18. package/dist/generated/addon-api.d.ts +43 -0
  19. package/dist/generated/capability-router-map.d.ts +5 -2
  20. package/dist/generated/device-proxy.d.ts +1 -1
  21. package/dist/generated/method-access-map.d.ts +1 -1
  22. package/dist/generated/method-device-selectors.d.ts +2 -2
  23. package/dist/generated/system-proxy.d.ts +3 -1
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +507 -22
  26. package/dist/index.mjs +478 -23
  27. package/dist/notification/degrade-engine.d.ts +7 -1
  28. package/dist/notification/notification-fields.d.ts +20 -2
  29. package/dist/notification/timelapse-rule.d.ts +69 -0
  30. package/dist/{sleep-Dz1P6--1.mjs → sleep-Cw1uUXvl.mjs} +3 -0
  31. package/dist/{sleep-DPMn-Sik.js → sleep-PfAAmxV-.js} +3 -0
  32. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -243,7 +243,7 @@ export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provid
243
243
  export type { BatteryPresence, BatteryPresenceInput } from './device/battery-presence.js';
244
244
  export { BATTERY_UNREACHABLE_AFTER_MS, deriveBatteryPresence, isBatteryPresenceFault, } from './device/battery-presence.js';
245
245
  export type { ICameraDevice, StreamSourceEntry } from './device/camera-device.js';
246
- export { applyPrimaryChildRule, CONTAINER_CHILD_PRIORITY, CONTAINER_PRIMARY_CHILD_RULES, type AppliedPrimaryChildRule, type ContainerChildRef, type ContainerPrimaryChildRule, type ContainerPrimaryDeclaration, resolveContainerPrimaryChild, } from './device/container-primary-child.js';
246
+ export { applyPrimaryChildPreference, applyPrimaryChildRule, CONTAINER_CHILD_PRIORITY, CONTAINER_PRIMARY_CHILD_RULES, primaryChildPreferenceOf, type AppliedPrimaryChildRule, type ContainerChildRef, type ContainerPreferenceSource, type ContainerPrimaryChildPreference, type ContainerPrimaryChildRule, type ContainerPrimaryDeclaration, resolveContainerPrimaryChild, } from './device/container-primary-child.js';
247
247
  export { expandContainer, legacyAutoLinkIds, type LinkCandidate, } from './device/linked-device-resolve.js';
248
248
  export type { DeclarationPlacement, DeclaredDeviceOutcome, DeclaredDevicePorts, DeclaredDeviceRow, DeclaredDevicesResult, DeclaredDevicesSpec, DeclaredInstanceSeed, DeclaredIntegrationRef, DeclaredIntegrationRow, DeviceDeclaration, SeedableInstances, } from './device/declared-device.js';
249
249
  export { DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DeclaredDevices, declarationOwnerNodeId, seedInstanceOnce, } from './device/declared-device.js';
@@ -353,7 +353,7 @@ export { isAudioClassName, isBaseConditionKey, knownValues, NC_BASE_CONDITION_KE
353
353
  export { type PreparedAction, type PreparedAttachment, type PreparedNotification, prepareNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
354
354
  export { isRootRelativeUrl, type PublicEndpointReader, type PublicEndpointReading, type PublicEndpointSource, publicEndpointReaderFrom, type ResolveAttachmentUrlsDeps, resolveAttachmentUrls, } from './notification/attachment-url.js';
355
355
  export { deliveryParamsDeclaredBy, resolveDeliveryParams } from './notification/delivery-params.js';
356
- export { deliverableFields, fieldSupportForTargets, NOTIFICATION_FIELDS, type NotificationFieldSupport, type NotificationFieldTarget, sanitizeTargetOverride, } from './notification/notification-fields.js';
356
+ export { attachmentKindsOf, deliverableFields, fieldSupportForTargets, NOTIFICATION_FIELDS, priorityLevelsOf, targetAttachmentAllows, type NotificationFieldSupport, type NotificationFieldTarget, sanitizeTargetOverride, } from './notification/notification-fields.js';
357
357
  export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
358
358
  export { conditionExclusionReason, conditionVisibleForKind, defaultDeliveryForSection, droppedConditionsForKind, isAudioRule, isOccupancyRule, isSystemDelivery, isSystemRuleKind, kindsForDiscriminator, NC_AUDIO_SEED, NC_CAMERA_SCOPE_CAP_NAME, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SYSTEM_DELIVERY, NC_SYSTEM_RULE_KINDS, type NcDroppedCondition, type NcKindVisibilitySubject, type NcRuleEditorSection, type NcRuleEditorSectionKey, type NcRuleKind, type NcRuleKindSpec, type NcRuleOwningSectionKey, type NcRuleSection, type NcRuleSectionKey, type NcRuleConditionsSubject, type NcRuleSectionSubject, type NcRuleSeed, parseRuleSection, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, systemFamilyOfKind, systemRuleKindOf, } from './notification/rule-kinds.js';
359
359
  export { imageModesForKind, legacyImageMode, NC_MEDIA_IMAGE_MODES, type NcMediaRuleSubject, ncMediaPolicyError, normalizeNcMediaPolicy, resolveNcMediaImage, ruleTriggerZoneIds, subjectHasPath, } from './notification/media-image.js';