@matter/types 0.14.0-alpha.0-20250531-7ed2d6da8 → 0.14.0-alpha.0-20250602-37f27bb02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +32 -12
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +141 -99
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +45 -13
- package/dist/cjs/clusters/application-launcher.js.map +2 -2
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/ballast-configuration.d.ts +23 -23
- package/dist/cjs/clusters/ballast-configuration.js +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +54 -54
- package/dist/cjs/clusters/basic-information.js +34 -34
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/cjs/clusters/bridged-device-basic-information.js +28 -28
- package/dist/cjs/clusters/channel.d.ts +577 -559
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +87 -73
- package/dist/cjs/clusters/channel.js.map +2 -2
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +27 -17
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/cjs/clusters/content-app-observer.js +14 -6
- package/dist/cjs/clusters/content-app-observer.js.map +2 -2
- package/dist/cjs/clusters/content-control.d.ts +438 -356
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +120 -58
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +509 -475
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +65 -39
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/descriptor.d.ts +28 -28
- package/dist/cjs/clusters/descriptor.js +8 -8
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.js +34 -8
- package/dist/cjs/clusters/diagnostic-logs.js.map +2 -2
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1367 -1350
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +242 -228
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/ecosystem-information.d.ts +27 -27
- package/dist/cjs/clusters/ecosystem-information.js +12 -12
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +67 -67
- package/dist/cjs/clusters/fan-control.js +17 -17
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore.js +62 -62
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/cjs/clusters/joint-fabric-pki.js +5 -5
- package/dist/cjs/clusters/keypad-input.d.ts +34 -16
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -1
- package/dist/cjs/clusters/keypad-input.js +17 -3
- package/dist/cjs/clusters/keypad-input.js.map +2 -2
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +427 -385
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +89 -57
- package/dist/cjs/clusters/media-playback.js.map +2 -2
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +94 -94
- package/dist/cjs/clusters/operational-credentials.js +34 -34
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +51 -25
- package/dist/cjs/clusters/ota-software-update-provider.js.map +2 -2
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +40 -40
- package/dist/cjs/clusters/oven-mode.js +5 -5
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/proxy-configuration.d.ts +8 -8
- package/dist/cjs/clusters/proxy-configuration.js +3 -3
- package/dist/cjs/clusters/proxy-discovery.d.ts +10 -10
- package/dist/cjs/clusters/proxy-discovery.js +4 -4
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +246 -246
- package/dist/cjs/clusters/scenes-management.js +70 -70
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +48 -30
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +24 -10
- package/dist/cjs/clusters/target-navigator.js.map +2 -2
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +515 -515
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +255 -245
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +55 -47
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +6 -6
- package/dist/cjs/clusters/unit-localization.js +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valid-proxies.d.ts +7 -7
- package/dist/cjs/clusters/valid-proxies.js +2 -2
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +30 -22
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/cjs/clusters/wi-fi-network-management.js +3 -3
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/common/StatusCode.d.ts +2 -11
- package/dist/cjs/common/StatusCode.d.ts.map +1 -1
- package/dist/cjs/common/StatusCode.js +1 -17
- package/dist/cjs/common/StatusCode.js.map +1 -1
- package/dist/cjs/common/StatusResponseError.d.ts +21 -0
- package/dist/cjs/common/StatusResponseError.d.ts.map +1 -0
- package/dist/cjs/common/StatusResponseError.js +54 -0
- package/dist/cjs/common/StatusResponseError.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +1 -1
- package/dist/cjs/common/ValidationError.d.ts.map +1 -1
- package/dist/cjs/common/ValidationError.js +2 -1
- package/dist/cjs/common/ValidationError.js.map +1 -1
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +33 -33
- package/dist/cjs/globals/Tod.d.ts +2 -2
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +32 -12
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +141 -99
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +45 -13
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/ballast-configuration.d.ts +23 -23
- package/dist/esm/clusters/ballast-configuration.js +17 -17
- package/dist/esm/clusters/basic-information.d.ts +54 -54
- package/dist/esm/clusters/basic-information.js +34 -34
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/esm/clusters/bridged-device-basic-information.js +28 -28
- package/dist/esm/clusters/channel.d.ts +577 -559
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +87 -73
- package/dist/esm/clusters/channel.js.map +1 -1
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +27 -17
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/esm/clusters/content-app-observer.js +14 -6
- package/dist/esm/clusters/content-app-observer.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts +438 -356
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +120 -58
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +509 -475
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +65 -39
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/descriptor.d.ts +28 -28
- package/dist/esm/clusters/descriptor.js +8 -8
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.js +34 -8
- package/dist/esm/clusters/diagnostic-logs.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1367 -1350
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +242 -228
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/ecosystem-information.d.ts +27 -27
- package/dist/esm/clusters/ecosystem-information.js +12 -12
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +67 -67
- package/dist/esm/clusters/fan-control.js +17 -17
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore.js +62 -62
- package/dist/esm/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/esm/clusters/joint-fabric-pki.js +5 -5
- package/dist/esm/clusters/keypad-input.d.ts +34 -16
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -1
- package/dist/esm/clusters/keypad-input.js +17 -3
- package/dist/esm/clusters/keypad-input.js.map +1 -1
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +427 -385
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +89 -57
- package/dist/esm/clusters/media-playback.js.map +1 -1
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +94 -94
- package/dist/esm/clusters/operational-credentials.js +34 -34
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +51 -25
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +40 -40
- package/dist/esm/clusters/oven-mode.js +5 -5
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/proxy-configuration.d.ts +8 -8
- package/dist/esm/clusters/proxy-configuration.js +3 -3
- package/dist/esm/clusters/proxy-discovery.d.ts +10 -10
- package/dist/esm/clusters/proxy-discovery.js +4 -4
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +246 -246
- package/dist/esm/clusters/scenes-management.js +70 -70
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +48 -30
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +24 -10
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +515 -515
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +255 -245
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +55 -47
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +6 -6
- package/dist/esm/clusters/unit-localization.js +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valid-proxies.d.ts +7 -7
- package/dist/esm/clusters/valid-proxies.js +2 -2
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +30 -22
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/esm/clusters/wi-fi-network-management.js +3 -3
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/common/StatusCode.d.ts +2 -11
- package/dist/esm/common/StatusCode.d.ts.map +1 -1
- package/dist/esm/common/StatusCode.js +1 -17
- package/dist/esm/common/StatusCode.js.map +1 -1
- package/dist/esm/common/StatusResponseError.d.ts +21 -0
- package/dist/esm/common/StatusResponseError.d.ts.map +1 -0
- package/dist/esm/common/StatusResponseError.js +34 -0
- package/dist/esm/common/StatusResponseError.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +1 -1
- package/dist/esm/common/ValidationError.d.ts.map +1 -1
- package/dist/esm/common/ValidationError.js +2 -1
- package/dist/esm/common/ValidationError.js.map +1 -1
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +33 -33
- package/dist/esm/globals/Tod.d.ts +2 -2
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +67 -20
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +105 -28
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/ballast-configuration.ts +20 -20
- package/src/clusters/basic-information.ts +47 -47
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +38 -38
- package/src/clusters/channel.ts +143 -111
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +29 -12
- package/src/clusters/content-control.ts +248 -96
- package/src/clusters/content-launcher.ts +131 -69
- package/src/clusters/descriptor.ts +13 -13
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +88 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +408 -377
- package/src/clusters/ecosystem-information.ts +17 -17
- package/src/clusters/electrical-energy-measurement.ts +39 -39
- package/src/clusters/electrical-power-measurement.ts +53 -53
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-datastore.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +43 -11
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +168 -91
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +65 -65
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +101 -39
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +31 -31
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/proxy-configuration.ts +6 -6
- package/src/clusters/proxy-discovery.ts +7 -7
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +31 -31
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +68 -68
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +52 -20
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +98 -81
- package/src/clusters/unit-localization.ts +4 -4
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valid-proxies.ts +7 -7
- package/src/clusters/valve-configuration-and-control.ts +52 -35
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +6 -6
- package/src/clusters/window-covering.ts +68 -68
- package/src/common/StatusCode.ts +3 -21
- package/src/common/StatusResponseError.ts +41 -0
- package/src/common/ValidationError.ts +2 -1
- package/src/common/index.ts +1 -0
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +33 -33
- package/src/globals/Tod.ts +2 -2
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -16,6 +16,8 @@ import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
|
16
16
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
17
17
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
18
18
|
import { MediaPlayback } from "./media-playback.js";
|
|
19
|
+
import { StatusResponseError } from "../common/StatusResponseError.js";
|
|
20
|
+
import { Status as GlobalStatus } from "../globals/Status.js";
|
|
19
21
|
import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
20
22
|
import { Identity } from "#general";
|
|
21
23
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
@@ -24,7 +26,7 @@ export namespace ContentLauncher {
|
|
|
24
26
|
/**
|
|
25
27
|
* These are optional features supported by ContentLauncherCluster.
|
|
26
28
|
*
|
|
27
|
-
* @see {@link MatterSpecification.
|
|
29
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.4
|
|
28
30
|
*/
|
|
29
31
|
export enum Feature {
|
|
30
32
|
/**
|
|
@@ -65,7 +67,7 @@ export namespace ContentLauncher {
|
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
/**
|
|
68
|
-
* @see {@link MatterSpecification.
|
|
70
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.1
|
|
69
71
|
*/
|
|
70
72
|
export const SupportedProtocols = {
|
|
71
73
|
/**
|
|
@@ -80,7 +82,7 @@ export namespace ContentLauncher {
|
|
|
80
82
|
};
|
|
81
83
|
|
|
82
84
|
/**
|
|
83
|
-
* @see {@link MatterSpecification.
|
|
85
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.4
|
|
84
86
|
*/
|
|
85
87
|
export enum MetricType {
|
|
86
88
|
/**
|
|
@@ -88,7 +90,7 @@ export namespace ContentLauncher {
|
|
|
88
90
|
*
|
|
89
91
|
* This value is used for dimensions defined in a number of Pixels.
|
|
90
92
|
*
|
|
91
|
-
* @see {@link MatterSpecification.
|
|
93
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.4.1
|
|
92
94
|
*/
|
|
93
95
|
Pixels = 0,
|
|
94
96
|
|
|
@@ -101,7 +103,7 @@ export namespace ContentLauncher {
|
|
|
101
103
|
* Metric type, the resulting values shall be rounded ("floored") towards 0 if the measurement requires an
|
|
102
104
|
* integer final value.
|
|
103
105
|
*
|
|
104
|
-
* @see {@link MatterSpecification.
|
|
106
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.4.2
|
|
105
107
|
*/
|
|
106
108
|
Percentage = 1
|
|
107
109
|
}
|
|
@@ -109,27 +111,27 @@ export namespace ContentLauncher {
|
|
|
109
111
|
/**
|
|
110
112
|
* This object defines dimension which can be used for defining Size of background images.
|
|
111
113
|
*
|
|
112
|
-
* @see {@link MatterSpecification.
|
|
114
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.8
|
|
113
115
|
*/
|
|
114
116
|
export const TlvDimension = TlvObject({
|
|
115
117
|
/**
|
|
116
118
|
* This field shall indicate the width using the metric defined in Metric
|
|
117
119
|
*
|
|
118
|
-
* @see {@link MatterSpecification.
|
|
120
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.8.1
|
|
119
121
|
*/
|
|
120
122
|
width: TlvField(0, TlvDouble),
|
|
121
123
|
|
|
122
124
|
/**
|
|
123
125
|
* This field shall indicate the height using the metric defined in Metric
|
|
124
126
|
*
|
|
125
|
-
* @see {@link MatterSpecification.
|
|
127
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.8.2
|
|
126
128
|
*/
|
|
127
129
|
height: TlvField(1, TlvDouble),
|
|
128
130
|
|
|
129
131
|
/**
|
|
130
132
|
* This field shall indicate metric used for defining Height/Width.
|
|
131
133
|
*
|
|
132
|
-
* @see {@link MatterSpecification.
|
|
134
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.8.3
|
|
133
135
|
*/
|
|
134
136
|
metric: TlvField(2, TlvEnum<MetricType>())
|
|
135
137
|
});
|
|
@@ -137,7 +139,7 @@ export namespace ContentLauncher {
|
|
|
137
139
|
/**
|
|
138
140
|
* This object defines dimension which can be used for defining Size of background images.
|
|
139
141
|
*
|
|
140
|
-
* @see {@link MatterSpecification.
|
|
142
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.8
|
|
141
143
|
*/
|
|
142
144
|
export interface Dimension extends TypeFromSchema<typeof TlvDimension> {}
|
|
143
145
|
|
|
@@ -145,7 +147,7 @@ export namespace ContentLauncher {
|
|
|
145
147
|
* This object defines style information which can be used by content providers to change the Media Player’s style
|
|
146
148
|
* related properties.
|
|
147
149
|
*
|
|
148
|
-
* @see {@link MatterSpecification.
|
|
150
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.9
|
|
149
151
|
*/
|
|
150
152
|
export const TlvStyleInformation = TlvObject({
|
|
151
153
|
/**
|
|
@@ -153,7 +155,7 @@ export namespace ContentLauncher {
|
|
|
153
155
|
* Watermark etc. The syntax of this field shall follow the syntax as specified in RFC 1738 and shall use the
|
|
154
156
|
* https scheme.
|
|
155
157
|
*
|
|
156
|
-
* @see {@link MatterSpecification.
|
|
158
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.9.1
|
|
157
159
|
*/
|
|
158
160
|
imageUrl: TlvOptionalField(0, TlvString.bound({ maxLength: 8192 })),
|
|
159
161
|
|
|
@@ -166,7 +168,7 @@ export namespace ContentLauncher {
|
|
|
166
168
|
*
|
|
167
169
|
* • #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80
|
|
168
170
|
*
|
|
169
|
-
* @see {@link MatterSpecification.
|
|
171
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.9.2
|
|
170
172
|
*/
|
|
171
173
|
color: TlvOptionalField(1, TlvString),
|
|
172
174
|
|
|
@@ -174,7 +176,7 @@ export namespace ContentLauncher {
|
|
|
174
176
|
* This field shall indicate the size of the image used for Styling different Video Player sections like Logo,
|
|
175
177
|
* Watermark etc.
|
|
176
178
|
*
|
|
177
|
-
* @see {@link MatterSpecification.
|
|
179
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.9.3
|
|
178
180
|
*/
|
|
179
181
|
size: TlvOptionalField(2, TlvDimension)
|
|
180
182
|
});
|
|
@@ -183,7 +185,7 @@ export namespace ContentLauncher {
|
|
|
183
185
|
* This object defines style information which can be used by content providers to change the Media Player’s style
|
|
184
186
|
* related properties.
|
|
185
187
|
*
|
|
186
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.9
|
|
187
189
|
*/
|
|
188
190
|
export interface StyleInformation extends TypeFromSchema<typeof TlvStyleInformation> {}
|
|
189
191
|
|
|
@@ -191,13 +193,13 @@ export namespace ContentLauncher {
|
|
|
191
193
|
* This object defines Branding Information which can be provided by the client in order to customize the skin of
|
|
192
194
|
* the Video Player during playback.
|
|
193
195
|
*
|
|
194
|
-
* @see {@link MatterSpecification.
|
|
196
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10
|
|
195
197
|
*/
|
|
196
198
|
export const TlvBrandingInformation = TlvObject({
|
|
197
199
|
/**
|
|
198
200
|
* This field shall indicate name of the provider for the given content.
|
|
199
201
|
*
|
|
200
|
-
* @see {@link MatterSpecification.
|
|
202
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.1
|
|
201
203
|
*/
|
|
202
204
|
providerName: TlvField(0, TlvString.bound({ maxLength: 256 })),
|
|
203
205
|
|
|
@@ -205,7 +207,7 @@ export namespace ContentLauncher {
|
|
|
205
207
|
* This field shall indicate background of the Video Player while content launch request is being processed by
|
|
206
208
|
* it. This background information may also be used by the Video Player when it is in idle state.
|
|
207
209
|
*
|
|
208
|
-
* @see {@link MatterSpecification.
|
|
210
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.2
|
|
209
211
|
*/
|
|
210
212
|
background: TlvOptionalField(1, TlvStyleInformation),
|
|
211
213
|
|
|
@@ -213,14 +215,14 @@ export namespace ContentLauncher {
|
|
|
213
215
|
* This field shall indicate the logo shown when the Video Player is launching. This is also used when the Video
|
|
214
216
|
* Player is in the idle state and Splash field is not available.
|
|
215
217
|
*
|
|
216
|
-
* @see {@link MatterSpecification.
|
|
218
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.3
|
|
217
219
|
*/
|
|
218
220
|
logo: TlvOptionalField(2, TlvStyleInformation),
|
|
219
221
|
|
|
220
222
|
/**
|
|
221
223
|
* This field shall indicate the style of progress bar for media playback.
|
|
222
224
|
*
|
|
223
|
-
* @see {@link MatterSpecification.
|
|
225
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.4
|
|
224
226
|
*/
|
|
225
227
|
progressBar: TlvOptionalField(3, TlvStyleInformation),
|
|
226
228
|
|
|
@@ -228,14 +230,14 @@ export namespace ContentLauncher {
|
|
|
228
230
|
* This field shall indicate the screen shown when the Video Player is in an idle state. If this property is not
|
|
229
231
|
* populated, the Video Player shall default to logo or the provider name.
|
|
230
232
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
233
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.5
|
|
232
234
|
*/
|
|
233
235
|
splash: TlvOptionalField(4, TlvStyleInformation),
|
|
234
236
|
|
|
235
237
|
/**
|
|
236
238
|
* This field shall indicate watermark shown when the media is playing.
|
|
237
239
|
*
|
|
238
|
-
* @see {@link MatterSpecification.
|
|
240
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10.6
|
|
239
241
|
*/
|
|
240
242
|
watermark: TlvOptionalField(5, TlvStyleInformation)
|
|
241
243
|
});
|
|
@@ -244,21 +246,21 @@ export namespace ContentLauncher {
|
|
|
244
246
|
* This object defines Branding Information which can be provided by the client in order to customize the skin of
|
|
245
247
|
* the Video Player during playback.
|
|
246
248
|
*
|
|
247
|
-
* @see {@link MatterSpecification.
|
|
249
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.10
|
|
248
250
|
*/
|
|
249
251
|
export interface BrandingInformation extends TypeFromSchema<typeof TlvBrandingInformation> {}
|
|
250
252
|
|
|
251
253
|
/**
|
|
252
254
|
* This structure defines Text/Audio Track preferences.
|
|
253
255
|
*
|
|
254
|
-
* @see {@link MatterSpecification.
|
|
256
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.12
|
|
255
257
|
*/
|
|
256
258
|
export const TlvTrackPreference = TlvObject({
|
|
257
259
|
/**
|
|
258
260
|
* This field shall contain one of the standard Tags for Identifying Languages RFC 5646, which identifies the
|
|
259
261
|
* primary language used in the Track.
|
|
260
262
|
*
|
|
261
|
-
* @see {@link MatterSpecification.
|
|
263
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.12.1
|
|
262
264
|
*/
|
|
263
265
|
languageCode: TlvField(0, TlvString.bound({ maxLength: 32 })),
|
|
264
266
|
|
|
@@ -267,7 +269,7 @@ export namespace ContentLauncher {
|
|
|
267
269
|
* feature associated with the Track. A value of null shall indicate that there are no Characteristics
|
|
268
270
|
* corresponding to the Track.
|
|
269
271
|
*
|
|
270
|
-
* @see {@link MatterSpecification.
|
|
272
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.12.2
|
|
271
273
|
*/
|
|
272
274
|
characteristics: TlvOptionalField(1, TlvNullable(TlvArray(TlvEnum<MediaPlayback.Characteristic>()))),
|
|
273
275
|
|
|
@@ -280,7 +282,7 @@ export namespace ContentLauncher {
|
|
|
280
282
|
* If the track is an audio track, this field MUST be present. A value of null shall indicate that the server
|
|
281
283
|
* can choose the audio output(s) to play the Audio Track on.
|
|
282
284
|
*
|
|
283
|
-
* @see {@link MatterSpecification.
|
|
285
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.12.3
|
|
284
286
|
*/
|
|
285
287
|
audioOutputIndex: TlvOptionalField(2, TlvNullable(TlvUInt8))
|
|
286
288
|
});
|
|
@@ -288,7 +290,7 @@ export namespace ContentLauncher {
|
|
|
288
290
|
/**
|
|
289
291
|
* This structure defines Text/Audio Track preferences.
|
|
290
292
|
*
|
|
291
|
-
* @see {@link MatterSpecification.
|
|
293
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.12
|
|
292
294
|
*/
|
|
293
295
|
export interface TrackPreference extends TypeFromSchema<typeof TlvTrackPreference> {}
|
|
294
296
|
|
|
@@ -296,7 +298,7 @@ export namespace ContentLauncher {
|
|
|
296
298
|
* PlaybackPreferencesStruct defines the preferences sent by the client to the receiver in the ContentLauncher
|
|
297
299
|
* LaunchURL or LaunchContent commands.
|
|
298
300
|
*
|
|
299
|
-
* @see {@link MatterSpecification.
|
|
301
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.11
|
|
300
302
|
*/
|
|
301
303
|
export const TlvPlaybackPreferences = TlvObject({
|
|
302
304
|
/**
|
|
@@ -306,7 +308,7 @@ export namespace ContentLauncher {
|
|
|
306
308
|
* indicate that playback position is not applicable for the current state of the media playback. (For example :
|
|
307
309
|
* Live media with no known duration and where seek is not supported).
|
|
308
310
|
*
|
|
309
|
-
* @see {@link MatterSpecification.
|
|
311
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.11.1
|
|
310
312
|
*/
|
|
311
313
|
playbackPosition: TlvOptionalField(0, TlvNullable(TlvUInt64)),
|
|
312
314
|
|
|
@@ -315,7 +317,7 @@ export namespace ContentLauncher {
|
|
|
315
317
|
* not specify a preferred Text Track on the client. In such a case, the decision to display and select a Text
|
|
316
318
|
* Track is up to the server.
|
|
317
319
|
*
|
|
318
|
-
* @see {@link MatterSpecification.
|
|
320
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.11.2
|
|
319
321
|
*/
|
|
320
322
|
textTrack: TlvOptionalField(1, TlvNullable(TlvTrackPreference)),
|
|
321
323
|
|
|
@@ -325,7 +327,7 @@ export namespace ContentLauncher {
|
|
|
325
327
|
* shall indicate that the user did not specify a preferred Audio Track on the client. In such a case, the
|
|
326
328
|
* decision to play and select an Audio Track is up to the server.
|
|
327
329
|
*
|
|
328
|
-
* @see {@link MatterSpecification.
|
|
330
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.11.3
|
|
329
331
|
*/
|
|
330
332
|
audioTracks: TlvOptionalField(2, TlvNullable(TlvArray(TlvTrackPreference)))
|
|
331
333
|
});
|
|
@@ -334,21 +336,21 @@ export namespace ContentLauncher {
|
|
|
334
336
|
* PlaybackPreferencesStruct defines the preferences sent by the client to the receiver in the ContentLauncher
|
|
335
337
|
* LaunchURL or LaunchContent commands.
|
|
336
338
|
*
|
|
337
|
-
* @see {@link MatterSpecification.
|
|
339
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.11
|
|
338
340
|
*/
|
|
339
341
|
export interface PlaybackPreferences extends TypeFromSchema<typeof TlvPlaybackPreferences> {}
|
|
340
342
|
|
|
341
343
|
/**
|
|
342
344
|
* Input to the ContentLauncher launchUrl command
|
|
343
345
|
*
|
|
344
|
-
* @see {@link MatterSpecification.
|
|
346
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2
|
|
345
347
|
*/
|
|
346
348
|
export const TlvLaunchUrlRequest = TlvObject({
|
|
347
349
|
/**
|
|
348
350
|
* This field shall indicate the URL of content to launch. The syntax of this field shall follow the syntax as
|
|
349
351
|
* specified in RFC 1738 and shall use the https scheme.
|
|
350
352
|
*
|
|
351
|
-
* @see {@link MatterSpecification.
|
|
353
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2.1
|
|
352
354
|
*/
|
|
353
355
|
contentUrl: TlvField(0, TlvString),
|
|
354
356
|
|
|
@@ -356,7 +358,7 @@ export namespace ContentLauncher {
|
|
|
356
358
|
* This field, if present, shall provide a string that may be used to describe the content being accessed at the
|
|
357
359
|
* given URL.
|
|
358
360
|
*
|
|
359
|
-
* @see {@link MatterSpecification.
|
|
361
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2.2
|
|
360
362
|
*/
|
|
361
363
|
displayString: TlvOptionalField(1, TlvString),
|
|
362
364
|
|
|
@@ -364,7 +366,7 @@ export namespace ContentLauncher {
|
|
|
364
366
|
* This field, if present, shall indicate the branding information that may be displayed when playing back the
|
|
365
367
|
* given content.
|
|
366
368
|
*
|
|
367
|
-
* @see {@link MatterSpecification.
|
|
369
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2.3
|
|
368
370
|
*/
|
|
369
371
|
brandingInformation: TlvOptionalField(2, TlvBrandingInformation),
|
|
370
372
|
|
|
@@ -378,7 +380,7 @@ export namespace ContentLauncher {
|
|
|
378
380
|
* Text/AudioTracks are not available, the server shall return the TextTrackNotAvailable and/or
|
|
379
381
|
* AudioTrackNotAvailable Status(es) in the LauncherResponse.
|
|
380
382
|
*
|
|
381
|
-
* @see {@link MatterSpecification.
|
|
383
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2.4
|
|
382
384
|
*/
|
|
383
385
|
playbackPreferences: TlvOptionalField(3, TlvPlaybackPreferences)
|
|
384
386
|
});
|
|
@@ -386,12 +388,12 @@ export namespace ContentLauncher {
|
|
|
386
388
|
/**
|
|
387
389
|
* Input to the ContentLauncher launchUrl command
|
|
388
390
|
*
|
|
389
|
-
* @see {@link MatterSpecification.
|
|
391
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2
|
|
390
392
|
*/
|
|
391
393
|
export interface LaunchUrlRequest extends TypeFromSchema<typeof TlvLaunchUrlRequest> {}
|
|
392
394
|
|
|
393
395
|
/**
|
|
394
|
-
* @see {@link MatterSpecification.
|
|
396
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.2
|
|
395
397
|
*/
|
|
396
398
|
export enum Status {
|
|
397
399
|
/**
|
|
@@ -420,23 +422,83 @@ export namespace ContentLauncher {
|
|
|
420
422
|
AudioTrackNotAvailable = 4
|
|
421
423
|
}
|
|
422
424
|
|
|
425
|
+
/**
|
|
426
|
+
* Thrown for cluster status code {@link Status.UrlNotAvailable}.
|
|
427
|
+
*
|
|
428
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.2
|
|
429
|
+
*/
|
|
430
|
+
export class UrlNotAvailableError extends StatusResponseError {
|
|
431
|
+
constructor(
|
|
432
|
+
message = "Requested URL could not be reached by device",
|
|
433
|
+
code = GlobalStatus.Failure,
|
|
434
|
+
clusterCode = Status.UrlNotAvailable
|
|
435
|
+
) {
|
|
436
|
+
super(message, code, clusterCode);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Thrown for cluster status code {@link Status.AuthFailed}.
|
|
442
|
+
*
|
|
443
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.2
|
|
444
|
+
*/
|
|
445
|
+
export class AuthFailedError extends StatusResponseError {
|
|
446
|
+
constructor(
|
|
447
|
+
message = "Requested URL returned 401 error code",
|
|
448
|
+
code = GlobalStatus.Failure,
|
|
449
|
+
clusterCode = Status.AuthFailed
|
|
450
|
+
) {
|
|
451
|
+
super(message, code, clusterCode);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Thrown for cluster status code {@link Status.TextTrackNotAvailable}.
|
|
457
|
+
*
|
|
458
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.2
|
|
459
|
+
*/
|
|
460
|
+
export class TextTrackNotAvailableError extends StatusResponseError {
|
|
461
|
+
constructor(
|
|
462
|
+
message = "Requested Text Track (in PlaybackPreferences) not available",
|
|
463
|
+
code = GlobalStatus.Failure,
|
|
464
|
+
clusterCode = Status.TextTrackNotAvailable
|
|
465
|
+
) {
|
|
466
|
+
super(message, code, clusterCode);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Thrown for cluster status code {@link Status.AudioTrackNotAvailable}.
|
|
472
|
+
*
|
|
473
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.2
|
|
474
|
+
*/
|
|
475
|
+
export class AudioTrackNotAvailableError extends StatusResponseError {
|
|
476
|
+
constructor(
|
|
477
|
+
message = "Requested Audio Track (in PlaybackPreferences) not available",
|
|
478
|
+
code = GlobalStatus.Failure,
|
|
479
|
+
clusterCode = Status.AudioTrackNotAvailable
|
|
480
|
+
) {
|
|
481
|
+
super(message, code, clusterCode);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
423
485
|
/**
|
|
424
486
|
* This command shall be generated in response to LaunchContent and LaunchURL commands.
|
|
425
487
|
*
|
|
426
|
-
* @see {@link MatterSpecification.
|
|
488
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.3
|
|
427
489
|
*/
|
|
428
490
|
export const TlvLauncherResponse = TlvObject({
|
|
429
491
|
/**
|
|
430
492
|
* This field shall indicate the status of the command which resulted in this response.
|
|
431
493
|
*
|
|
432
|
-
* @see {@link MatterSpecification.
|
|
494
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.3.1
|
|
433
495
|
*/
|
|
434
496
|
status: TlvField(0, TlvEnum<Status>()),
|
|
435
497
|
|
|
436
498
|
/**
|
|
437
499
|
* This field shall indicate Optional app-specific data.
|
|
438
500
|
*
|
|
439
|
-
* @see {@link MatterSpecification.
|
|
501
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.3.2
|
|
440
502
|
*/
|
|
441
503
|
data: TlvOptionalField(1, TlvString)
|
|
442
504
|
});
|
|
@@ -444,12 +506,12 @@ export namespace ContentLauncher {
|
|
|
444
506
|
/**
|
|
445
507
|
* This command shall be generated in response to LaunchContent and LaunchURL commands.
|
|
446
508
|
*
|
|
447
|
-
* @see {@link MatterSpecification.
|
|
509
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.3
|
|
448
510
|
*/
|
|
449
511
|
export interface LauncherResponse extends TypeFromSchema<typeof TlvLauncherResponse> {}
|
|
450
512
|
|
|
451
513
|
/**
|
|
452
|
-
* @see {@link MatterSpecification.
|
|
514
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.3
|
|
453
515
|
*/
|
|
454
516
|
export enum Parameter {
|
|
455
517
|
/**
|
|
@@ -550,20 +612,20 @@ export namespace ContentLauncher {
|
|
|
550
612
|
/**
|
|
551
613
|
* This object defines additional name=value pairs that can be used for identifying content.
|
|
552
614
|
*
|
|
553
|
-
* @see {@link MatterSpecification.
|
|
615
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.5
|
|
554
616
|
*/
|
|
555
617
|
export const TlvAdditionalInfo = TlvObject({
|
|
556
618
|
/**
|
|
557
619
|
* This field shall indicate the name of external id, ex. "musicbrainz".
|
|
558
620
|
*
|
|
559
|
-
* @see {@link MatterSpecification.
|
|
621
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.5.1
|
|
560
622
|
*/
|
|
561
623
|
name: TlvField(0, TlvString.bound({ maxLength: 256 })),
|
|
562
624
|
|
|
563
625
|
/**
|
|
564
626
|
* This field shall indicate the value for external id, ex. "ST0000000666661".
|
|
565
627
|
*
|
|
566
|
-
* @see {@link MatterSpecification.
|
|
628
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.5.2
|
|
567
629
|
*/
|
|
568
630
|
value: TlvField(1, TlvString.bound({ maxLength: 8192 }))
|
|
569
631
|
});
|
|
@@ -571,34 +633,34 @@ export namespace ContentLauncher {
|
|
|
571
633
|
/**
|
|
572
634
|
* This object defines additional name=value pairs that can be used for identifying content.
|
|
573
635
|
*
|
|
574
|
-
* @see {@link MatterSpecification.
|
|
636
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.5
|
|
575
637
|
*/
|
|
576
638
|
export interface AdditionalInfo extends TypeFromSchema<typeof TlvAdditionalInfo> {}
|
|
577
639
|
|
|
578
640
|
/**
|
|
579
641
|
* This object defines inputs to a search for content for display or playback.
|
|
580
642
|
*
|
|
581
|
-
* @see {@link MatterSpecification.
|
|
643
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.6
|
|
582
644
|
*/
|
|
583
645
|
export const TlvParameterStruct = TlvObject({
|
|
584
646
|
/**
|
|
585
647
|
* This field shall indicate the entity type.
|
|
586
648
|
*
|
|
587
|
-
* @see {@link MatterSpecification.
|
|
649
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.6.1
|
|
588
650
|
*/
|
|
589
651
|
type: TlvField(0, TlvEnum<Parameter>()),
|
|
590
652
|
|
|
591
653
|
/**
|
|
592
654
|
* This field shall indicate the entity value, which is a search string, ex. “Manchester by the Sea”.
|
|
593
655
|
*
|
|
594
|
-
* @see {@link MatterSpecification.
|
|
656
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.6.2
|
|
595
657
|
*/
|
|
596
658
|
value: TlvField(1, TlvString.bound({ maxLength: 1024 })),
|
|
597
659
|
|
|
598
660
|
/**
|
|
599
661
|
* This field shall indicate the list of additional external content identifiers.
|
|
600
662
|
*
|
|
601
|
-
* @see {@link MatterSpecification.
|
|
663
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.6.3
|
|
602
664
|
*/
|
|
603
665
|
externalIdList: TlvOptionalField(2, TlvArray(TlvAdditionalInfo))
|
|
604
666
|
});
|
|
@@ -606,14 +668,14 @@ export namespace ContentLauncher {
|
|
|
606
668
|
/**
|
|
607
669
|
* This object defines inputs to a search for content for display or playback.
|
|
608
670
|
*
|
|
609
|
-
* @see {@link MatterSpecification.
|
|
671
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.6
|
|
610
672
|
*/
|
|
611
673
|
export interface ParameterStruct extends TypeFromSchema<typeof TlvParameterStruct> {}
|
|
612
674
|
|
|
613
675
|
/**
|
|
614
676
|
* This object defines inputs to a search for content for display or playback.
|
|
615
677
|
*
|
|
616
|
-
* @see {@link MatterSpecification.
|
|
678
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.7
|
|
617
679
|
*/
|
|
618
680
|
export const TlvContentSearch = TlvObject({
|
|
619
681
|
/**
|
|
@@ -621,7 +683,7 @@ export namespace ContentLauncher {
|
|
|
621
683
|
* the search parameters shall be joined with 'AND' logic. e.g. action movies with Tom Cruise will be
|
|
622
684
|
* represented as [{Actor: 'Tom Cruise'}, {Type: 'Movie'}, {Genre: 'Action'}]
|
|
623
685
|
*
|
|
624
|
-
* @see {@link MatterSpecification.
|
|
686
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.7.1
|
|
625
687
|
*/
|
|
626
688
|
parameterList: TlvField(0, TlvArray(TlvParameterStruct))
|
|
627
689
|
});
|
|
@@ -629,20 +691,20 @@ export namespace ContentLauncher {
|
|
|
629
691
|
/**
|
|
630
692
|
* This object defines inputs to a search for content for display or playback.
|
|
631
693
|
*
|
|
632
|
-
* @see {@link MatterSpecification.
|
|
694
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.5.7
|
|
633
695
|
*/
|
|
634
696
|
export interface ContentSearch extends TypeFromSchema<typeof TlvContentSearch> {}
|
|
635
697
|
|
|
636
698
|
/**
|
|
637
699
|
* Input to the ContentLauncher launchContent command
|
|
638
700
|
*
|
|
639
|
-
* @see {@link MatterSpecification.
|
|
701
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1
|
|
640
702
|
*/
|
|
641
703
|
export const TlvLaunchContentRequest = TlvObject({
|
|
642
704
|
/**
|
|
643
705
|
* This field shall indicate the content to launch.
|
|
644
706
|
*
|
|
645
|
-
* @see {@link MatterSpecification.
|
|
707
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1.1
|
|
646
708
|
*/
|
|
647
709
|
search: TlvField(0, TlvContentSearch),
|
|
648
710
|
|
|
@@ -653,14 +715,14 @@ export namespace ContentLauncher {
|
|
|
653
715
|
*
|
|
654
716
|
* • FALSE means matches should be displayed on screen for user selection.
|
|
655
717
|
*
|
|
656
|
-
* @see {@link MatterSpecification.
|
|
718
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1.2
|
|
657
719
|
*/
|
|
658
720
|
autoPlay: TlvField(1, TlvBoolean),
|
|
659
721
|
|
|
660
722
|
/**
|
|
661
723
|
* This field, if present, shall indicate app-specific data.
|
|
662
724
|
*
|
|
663
|
-
* @see {@link MatterSpecification.
|
|
725
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1.3
|
|
664
726
|
*/
|
|
665
727
|
data: TlvOptionalField(2, TlvString),
|
|
666
728
|
|
|
@@ -674,7 +736,7 @@ export namespace ContentLauncher {
|
|
|
674
736
|
* Text/AudioTracks are not available, the server shall return the TextTrackNotAvailable and/or
|
|
675
737
|
* AudioTrackNotAvailable Status(es) in the LauncherResponse.
|
|
676
738
|
*
|
|
677
|
-
* @see {@link MatterSpecification.
|
|
739
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1.4
|
|
678
740
|
*/
|
|
679
741
|
playbackPreferences: TlvOptionalField(3, TlvPlaybackPreferences),
|
|
680
742
|
|
|
@@ -685,7 +747,7 @@ export namespace ContentLauncher {
|
|
|
685
747
|
* request refers to the specific episode of the ongoing season of the TV series. TRUE means current activity
|
|
686
748
|
* context may be considered FALSE means current activity context shall NOT be considered
|
|
687
749
|
*
|
|
688
|
-
* @see {@link MatterSpecification.
|
|
750
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1.5
|
|
689
751
|
*/
|
|
690
752
|
useCurrentContext: TlvOptionalField(4, TlvBoolean)
|
|
691
753
|
});
|
|
@@ -693,7 +755,7 @@ export namespace ContentLauncher {
|
|
|
693
755
|
/**
|
|
694
756
|
* Input to the ContentLauncher launchContent command
|
|
695
757
|
*
|
|
696
|
-
* @see {@link MatterSpecification.
|
|
758
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1
|
|
697
759
|
*/
|
|
698
760
|
export interface LaunchContentRequest extends TypeFromSchema<typeof TlvLaunchContentRequest> {}
|
|
699
761
|
|
|
@@ -706,14 +768,14 @@ export namespace ContentLauncher {
|
|
|
706
768
|
* This attribute shall provide a list of content types supported by the Video Player or Content App in the
|
|
707
769
|
* form of entries in the HTTP "Accept" request header.
|
|
708
770
|
*
|
|
709
|
-
* @see {@link MatterSpecification.
|
|
771
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.6.1
|
|
710
772
|
*/
|
|
711
773
|
acceptHeader: Attribute(0x0, TlvArray(TlvString, { maxLength: 100 }), { persistent: true, default: [] }),
|
|
712
774
|
|
|
713
775
|
/**
|
|
714
776
|
* This attribute shall provide information about supported streaming protocols.
|
|
715
777
|
*
|
|
716
|
-
* @see {@link MatterSpecification.
|
|
778
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.6.2
|
|
717
779
|
*/
|
|
718
780
|
supportedStreamingProtocols: Attribute(0x1, TlvBitmap(TlvUInt32, SupportedProtocols), { persistent: true })
|
|
719
781
|
},
|
|
@@ -736,7 +798,7 @@ export namespace ContentLauncher {
|
|
|
736
798
|
*
|
|
737
799
|
* This command returns a Launch Response.
|
|
738
800
|
*
|
|
739
|
-
* @see {@link MatterSpecification.
|
|
801
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.2
|
|
740
802
|
*/
|
|
741
803
|
launchUrl: Command(0x1, TlvLaunchUrlRequest, 0x2, TlvLauncherResponse)
|
|
742
804
|
}
|
|
@@ -751,7 +813,7 @@ export namespace ContentLauncher {
|
|
|
751
813
|
* Upon receipt, this shall launch the specified content with optional search criteria. This command returns
|
|
752
814
|
* a Launch Response.
|
|
753
815
|
*
|
|
754
|
-
* @see {@link MatterSpecification.
|
|
816
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7.7.1
|
|
755
817
|
*/
|
|
756
818
|
launchContent: Command(0x0, TlvLaunchContentRequest, 0x2, TlvLauncherResponse)
|
|
757
819
|
}
|
|
@@ -834,7 +896,7 @@ export namespace ContentLauncher {
|
|
|
834
896
|
* ContentLauncherCluster supports optional features that you can enable with the ContentLauncherCluster.with()
|
|
835
897
|
* factory method.
|
|
836
898
|
*
|
|
837
|
-
* @see {@link MatterSpecification.
|
|
899
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.7
|
|
838
900
|
*/
|
|
839
901
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
840
902
|
|