@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
package/src/clusters/channel.ts
CHANGED
|
@@ -14,6 +14,8 @@ import { TlvUInt16, TlvEnum, TlvEpochS, TlvUInt8, TlvBitmap, TlvInt16 } from "..
|
|
|
14
14
|
import { TlvString, TlvByteString } from "../tlv/TlvString.js";
|
|
15
15
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
16
16
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
17
|
+
import { StatusResponseError } from "../common/StatusResponseError.js";
|
|
18
|
+
import { Status as GlobalStatus } from "../globals/Status.js";
|
|
17
19
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
18
20
|
import { ContentLauncher } from "./content-launcher.js";
|
|
19
21
|
import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
@@ -24,7 +26,7 @@ export namespace Channel {
|
|
|
24
26
|
/**
|
|
25
27
|
* These are optional features supported by ChannelCluster.
|
|
26
28
|
*
|
|
27
|
-
* @see {@link MatterSpecification.
|
|
29
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.4
|
|
28
30
|
*/
|
|
29
31
|
export enum Feature {
|
|
30
32
|
/**
|
|
@@ -57,7 +59,7 @@ export namespace Channel {
|
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
/**
|
|
60
|
-
* @see {@link MatterSpecification.
|
|
62
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.4
|
|
61
63
|
*/
|
|
62
64
|
export enum ChannelType {
|
|
63
65
|
/**
|
|
@@ -87,7 +89,7 @@ export namespace Channel {
|
|
|
87
89
|
* While the major and minor numbers in the ChannelInfoStruct support use of ATSC channel format, a lineup may use
|
|
88
90
|
* other formats which can map into these numeric values.
|
|
89
91
|
*
|
|
90
|
-
* @see {@link MatterSpecification.
|
|
92
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5
|
|
91
93
|
*/
|
|
92
94
|
export const TlvChannelInfo = TlvObject({
|
|
93
95
|
/**
|
|
@@ -96,7 +98,7 @@ export namespace Channel {
|
|
|
96
98
|
* This field is required but shall be set to 0 for channels such as over-the-top channels that are not
|
|
97
99
|
* represented by a major or minor number.
|
|
98
100
|
*
|
|
99
|
-
* @see {@link MatterSpecification.
|
|
101
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.1
|
|
100
102
|
*/
|
|
101
103
|
majorNumber: TlvField(0, TlvUInt16),
|
|
102
104
|
|
|
@@ -106,7 +108,7 @@ export namespace Channel {
|
|
|
106
108
|
* This field is required but shall be set to 0 for channels such as over-the-top channels that are not
|
|
107
109
|
* represented by a major or minor number.
|
|
108
110
|
*
|
|
109
|
-
* @see {@link MatterSpecification.
|
|
111
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.2
|
|
110
112
|
*/
|
|
111
113
|
minorNumber: TlvField(1, TlvUInt16),
|
|
112
114
|
|
|
@@ -114,7 +116,7 @@ export namespace Channel {
|
|
|
114
116
|
* This field shall indicate the marketing name for the channel, such as “The CW" or "Comedy Central". This
|
|
115
117
|
* field is optional, but SHOULD be provided when known.
|
|
116
118
|
*
|
|
117
|
-
* @see {@link MatterSpecification.
|
|
119
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.3
|
|
118
120
|
*/
|
|
119
121
|
name: TlvOptionalField(2, TlvString),
|
|
120
122
|
|
|
@@ -122,7 +124,7 @@ export namespace Channel {
|
|
|
122
124
|
* This field shall indicate the call sign of the channel, such as "PBS". This field is optional, but SHOULD be
|
|
123
125
|
* provided when known.
|
|
124
126
|
*
|
|
125
|
-
* @see {@link MatterSpecification.
|
|
127
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.4
|
|
126
128
|
*/
|
|
127
129
|
callSign: TlvOptionalField(3, TlvString),
|
|
128
130
|
|
|
@@ -130,7 +132,7 @@ export namespace Channel {
|
|
|
130
132
|
* This field shall indicate the local affiliate call sign, such as "KCTS". This field is optional, but SHOULD
|
|
131
133
|
* be provided when known.
|
|
132
134
|
*
|
|
133
|
-
* @see {@link MatterSpecification.
|
|
135
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.5
|
|
134
136
|
*/
|
|
135
137
|
affiliateCallSign: TlvOptionalField(4, TlvString),
|
|
136
138
|
|
|
@@ -138,7 +140,7 @@ export namespace Channel {
|
|
|
138
140
|
* This shall indicate the unique identifier for a specific channel. This field is optional, but SHOULD be
|
|
139
141
|
* provided when MajorNumber and MinorNumber are not available.
|
|
140
142
|
*
|
|
141
|
-
* @see {@link MatterSpecification.
|
|
143
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.6
|
|
142
144
|
*/
|
|
143
145
|
identifier: TlvOptionalField(5, TlvString),
|
|
144
146
|
|
|
@@ -146,7 +148,7 @@ export namespace Channel {
|
|
|
146
148
|
* This shall indicate the type or grouping of a specific channel. This field is optional, but SHOULD be
|
|
147
149
|
* provided when known.
|
|
148
150
|
*
|
|
149
|
-
* @see {@link MatterSpecification.
|
|
151
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5.7
|
|
150
152
|
*/
|
|
151
153
|
type: TlvOptionalField(6, TlvEnum<ChannelType>())
|
|
152
154
|
});
|
|
@@ -157,12 +159,12 @@ export namespace Channel {
|
|
|
157
159
|
* While the major and minor numbers in the ChannelInfoStruct support use of ATSC channel format, a lineup may use
|
|
158
160
|
* other formats which can map into these numeric values.
|
|
159
161
|
*
|
|
160
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.5
|
|
161
163
|
*/
|
|
162
164
|
export interface ChannelInfo extends TypeFromSchema<typeof TlvChannelInfo> {}
|
|
163
165
|
|
|
164
166
|
/**
|
|
165
|
-
* @see {@link MatterSpecification.
|
|
167
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.2
|
|
166
168
|
*/
|
|
167
169
|
export enum LineupInfoType {
|
|
168
170
|
/**
|
|
@@ -175,13 +177,13 @@ export namespace Channel {
|
|
|
175
177
|
* The Lineup Info allows references to external lineup sources like Gracenote. The combination of OperatorName,
|
|
176
178
|
* LineupName, and PostalCode MUST uniquely identify a lineup.
|
|
177
179
|
*
|
|
178
|
-
* @see {@link MatterSpecification.
|
|
180
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6
|
|
179
181
|
*/
|
|
180
182
|
export const TlvLineupInfo = TlvObject({
|
|
181
183
|
/**
|
|
182
184
|
* This field shall indicate the name of the operator, for example “Comcast”.
|
|
183
185
|
*
|
|
184
|
-
* @see {@link MatterSpecification.
|
|
186
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6.1
|
|
185
187
|
*/
|
|
186
188
|
operatorName: TlvField(0, TlvString),
|
|
187
189
|
|
|
@@ -189,7 +191,7 @@ export namespace Channel {
|
|
|
189
191
|
* This field shall indicate the name of the provider lineup, for example "Comcast King County". This field is
|
|
190
192
|
* optional, but SHOULD be provided when known.
|
|
191
193
|
*
|
|
192
|
-
* @see {@link MatterSpecification.
|
|
194
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6.2
|
|
193
195
|
*/
|
|
194
196
|
lineupName: TlvOptionalField(1, TlvString),
|
|
195
197
|
|
|
@@ -197,14 +199,14 @@ export namespace Channel {
|
|
|
197
199
|
* This field shall indicate the postal code (zip code) for the location of the device, such as "98052". This
|
|
198
200
|
* field is optional, but SHOULD be provided when known.
|
|
199
201
|
*
|
|
200
|
-
* @see {@link MatterSpecification.
|
|
202
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6.3
|
|
201
203
|
*/
|
|
202
204
|
postalCode: TlvOptionalField(2, TlvString),
|
|
203
205
|
|
|
204
206
|
/**
|
|
205
207
|
* This field shall indicate the type of lineup. This field is optional, but SHOULD be provided when known.
|
|
206
208
|
*
|
|
207
|
-
* @see {@link MatterSpecification.
|
|
209
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6.4
|
|
208
210
|
*/
|
|
209
211
|
lineupInfoType: TlvField(3, TlvEnum<LineupInfoType>())
|
|
210
212
|
});
|
|
@@ -213,20 +215,20 @@ export namespace Channel {
|
|
|
213
215
|
* The Lineup Info allows references to external lineup sources like Gracenote. The combination of OperatorName,
|
|
214
216
|
* LineupName, and PostalCode MUST uniquely identify a lineup.
|
|
215
217
|
*
|
|
216
|
-
* @see {@link MatterSpecification.
|
|
218
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.6
|
|
217
219
|
*/
|
|
218
220
|
export interface LineupInfo extends TypeFromSchema<typeof TlvLineupInfo> {}
|
|
219
221
|
|
|
220
222
|
/**
|
|
221
223
|
* Input to the Channel changeChannel command
|
|
222
224
|
*
|
|
223
|
-
* @see {@link MatterSpecification.
|
|
225
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.1
|
|
224
226
|
*/
|
|
225
227
|
export const TlvChangeChannelRequest = TlvObject({
|
|
226
228
|
/**
|
|
227
229
|
* This field shall contain a user-input string to match in order to identify the target channel.
|
|
228
230
|
*
|
|
229
|
-
* @see {@link MatterSpecification.
|
|
231
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.1.1
|
|
230
232
|
*/
|
|
231
233
|
match: TlvField(0, TlvString)
|
|
232
234
|
});
|
|
@@ -234,12 +236,12 @@ export namespace Channel {
|
|
|
234
236
|
/**
|
|
235
237
|
* Input to the Channel changeChannel command
|
|
236
238
|
*
|
|
237
|
-
* @see {@link MatterSpecification.
|
|
239
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.1
|
|
238
240
|
*/
|
|
239
241
|
export interface ChangeChannelRequest extends TypeFromSchema<typeof TlvChangeChannelRequest> {}
|
|
240
242
|
|
|
241
243
|
/**
|
|
242
|
-
* @see {@link MatterSpecification.
|
|
244
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.3
|
|
243
245
|
*/
|
|
244
246
|
export enum Status {
|
|
245
247
|
/**
|
|
@@ -258,23 +260,53 @@ export namespace Channel {
|
|
|
258
260
|
NoMatches = 2
|
|
259
261
|
}
|
|
260
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Thrown for cluster status code {@link Status.MultipleMatches}.
|
|
265
|
+
*
|
|
266
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.3
|
|
267
|
+
*/
|
|
268
|
+
export class MultipleMatchesError extends StatusResponseError {
|
|
269
|
+
constructor(
|
|
270
|
+
message = "More than one equal match for the ChannelInfoStruct passed in",
|
|
271
|
+
code = GlobalStatus.Failure,
|
|
272
|
+
clusterCode = Status.MultipleMatches
|
|
273
|
+
) {
|
|
274
|
+
super(message, code, clusterCode);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Thrown for cluster status code {@link Status.NoMatches}.
|
|
280
|
+
*
|
|
281
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.3
|
|
282
|
+
*/
|
|
283
|
+
export class NoMatchesError extends StatusResponseError {
|
|
284
|
+
constructor(
|
|
285
|
+
message = "No matches for the ChannelInfoStruct passed in",
|
|
286
|
+
code = GlobalStatus.Failure,
|
|
287
|
+
clusterCode = Status.NoMatches
|
|
288
|
+
) {
|
|
289
|
+
super(message, code, clusterCode);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
261
293
|
/**
|
|
262
294
|
* This command shall be generated in response to a ChangeChannel command.
|
|
263
295
|
*
|
|
264
|
-
* @see {@link MatterSpecification.
|
|
296
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.2
|
|
265
297
|
*/
|
|
266
298
|
export const TlvChangeChannelResponse = TlvObject({
|
|
267
299
|
/**
|
|
268
300
|
* This field shall indicate the status of the command which resulted in this response.
|
|
269
301
|
*
|
|
270
|
-
* @see {@link MatterSpecification.
|
|
302
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.2.1
|
|
271
303
|
*/
|
|
272
304
|
status: TlvField(0, TlvEnum<Status>()),
|
|
273
305
|
|
|
274
306
|
/**
|
|
275
307
|
* This field shall indicate Optional app-specific data.
|
|
276
308
|
*
|
|
277
|
-
* @see {@link MatterSpecification.
|
|
309
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.2.2
|
|
278
310
|
*/
|
|
279
311
|
data: TlvOptionalField(1, TlvString)
|
|
280
312
|
});
|
|
@@ -282,21 +314,21 @@ export namespace Channel {
|
|
|
282
314
|
/**
|
|
283
315
|
* This command shall be generated in response to a ChangeChannel command.
|
|
284
316
|
*
|
|
285
|
-
* @see {@link MatterSpecification.
|
|
317
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.2
|
|
286
318
|
*/
|
|
287
319
|
export interface ChangeChannelResponse extends TypeFromSchema<typeof TlvChangeChannelResponse> {}
|
|
288
320
|
|
|
289
321
|
/**
|
|
290
322
|
* This object defines the pagination structure.
|
|
291
323
|
*
|
|
292
|
-
* @see {@link MatterSpecification.
|
|
324
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.11
|
|
293
325
|
*/
|
|
294
326
|
export const TlvPageToken = TlvObject({
|
|
295
327
|
/**
|
|
296
328
|
* This field shall indicate the maximum number of entries that should be retrieved from the program guide in a
|
|
297
329
|
* single response. It allows clients to specify the size of the paginated result set based on their needs.
|
|
298
330
|
*
|
|
299
|
-
* @see {@link MatterSpecification.
|
|
331
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.11.1
|
|
300
332
|
*/
|
|
301
333
|
limit: TlvOptionalField(0, TlvUInt16),
|
|
302
334
|
|
|
@@ -306,7 +338,7 @@ export namespace Channel {
|
|
|
306
338
|
* the data following the specified cursor. In a Offset-based pagination system, the field, along with limit,
|
|
307
339
|
* indicate the offset from which entries in the program guide will be retrieved.
|
|
308
340
|
*
|
|
309
|
-
* @see {@link MatterSpecification.
|
|
341
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.11.2
|
|
310
342
|
*/
|
|
311
343
|
after: TlvOptionalField(1, TlvString.bound({ maxLength: 8192 })),
|
|
312
344
|
|
|
@@ -316,7 +348,7 @@ export namespace Channel {
|
|
|
316
348
|
* the data preceding the specified cursor. In a Offset-based pagination system, the field, along with limit,
|
|
317
349
|
* indicate the offset from which entries in the program guide will be retrieved.
|
|
318
350
|
*
|
|
319
|
-
* @see {@link MatterSpecification.
|
|
351
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.11.3
|
|
320
352
|
*/
|
|
321
353
|
before: TlvOptionalField(2, TlvString.bound({ maxLength: 8192 }))
|
|
322
354
|
});
|
|
@@ -324,12 +356,12 @@ export namespace Channel {
|
|
|
324
356
|
/**
|
|
325
357
|
* This object defines the pagination structure.
|
|
326
358
|
*
|
|
327
|
-
* @see {@link MatterSpecification.
|
|
359
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.11
|
|
328
360
|
*/
|
|
329
361
|
export interface PageToken extends TypeFromSchema<typeof TlvPageToken> {}
|
|
330
362
|
|
|
331
363
|
/**
|
|
332
|
-
* @see {@link MatterSpecification.
|
|
364
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.1
|
|
333
365
|
*/
|
|
334
366
|
export const RecordingFlag = {
|
|
335
367
|
/**
|
|
@@ -351,14 +383,14 @@ export namespace Channel {
|
|
|
351
383
|
/**
|
|
352
384
|
* Input to the Channel getProgramGuide command
|
|
353
385
|
*
|
|
354
|
-
* @see {@link MatterSpecification.
|
|
386
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5
|
|
355
387
|
*/
|
|
356
388
|
export const TlvGetProgramGuideRequest = TlvObject({
|
|
357
389
|
/**
|
|
358
390
|
* This field shall indicate the beginning of the time window for which program guide entries are to be
|
|
359
391
|
* retrieved, as a UTC time. Entries with a start time on or after this value will be included in the results.
|
|
360
392
|
*
|
|
361
|
-
* @see {@link MatterSpecification.
|
|
393
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.1
|
|
362
394
|
*/
|
|
363
395
|
startTime: TlvField(0, TlvEpochS),
|
|
364
396
|
|
|
@@ -367,7 +399,7 @@ export namespace Channel {
|
|
|
367
399
|
* a UTC time. Entries with an end time on or before this value will be included in the results. This field can
|
|
368
400
|
* represent a past or future value but shall be greater than the StartTime.
|
|
369
401
|
*
|
|
370
|
-
* @see {@link MatterSpecification.
|
|
402
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.2
|
|
371
403
|
*/
|
|
372
404
|
endTime: TlvField(1, TlvEpochS),
|
|
373
405
|
|
|
@@ -376,35 +408,35 @@ export namespace Channel {
|
|
|
376
408
|
* a list of channels in this field, the response will only include entries corresponding to the specified
|
|
377
409
|
* channels.
|
|
378
410
|
*
|
|
379
|
-
* @see {@link MatterSpecification.
|
|
411
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.3
|
|
380
412
|
*/
|
|
381
413
|
channelList: TlvOptionalField(2, TlvArray(TlvChannelInfo, { maxLength: 255 })),
|
|
382
414
|
|
|
383
415
|
/**
|
|
384
416
|
* This field shall indicate the pagination token used for managing pagination progression.
|
|
385
417
|
*
|
|
386
|
-
* @see {@link MatterSpecification.
|
|
418
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.4
|
|
387
419
|
*/
|
|
388
420
|
pageToken: TlvOptionalField(3, TlvNullable(TlvPageToken)),
|
|
389
421
|
|
|
390
422
|
/**
|
|
391
423
|
* This field shall indicate the flags of the programs for which entries should be fetched.
|
|
392
424
|
*
|
|
393
|
-
* @see {@link MatterSpecification.
|
|
425
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.5
|
|
394
426
|
*/
|
|
395
427
|
recordingFlag: TlvOptionalField(5, TlvNullable(TlvBitmap(TlvUInt8, RecordingFlag))),
|
|
396
428
|
|
|
397
429
|
/**
|
|
398
430
|
* This field shall indicate the list of additional external content identifiers.
|
|
399
431
|
*
|
|
400
|
-
* @see {@link MatterSpecification.
|
|
432
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.6
|
|
401
433
|
*/
|
|
402
434
|
externalIdList: TlvOptionalField(6, TlvArray(ContentLauncher.TlvAdditionalInfo, { maxLength: 255 })),
|
|
403
435
|
|
|
404
436
|
/**
|
|
405
437
|
* This field shall indicate Optional app-specific data.
|
|
406
438
|
*
|
|
407
|
-
* @see {@link MatterSpecification.
|
|
439
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5.7
|
|
408
440
|
*/
|
|
409
441
|
data: TlvOptionalField(7, TlvByteString.bound({ maxLength: 8092 }))
|
|
410
442
|
});
|
|
@@ -412,21 +444,21 @@ export namespace Channel {
|
|
|
412
444
|
/**
|
|
413
445
|
* Input to the Channel getProgramGuide command
|
|
414
446
|
*
|
|
415
|
-
* @see {@link MatterSpecification.
|
|
447
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5
|
|
416
448
|
*/
|
|
417
449
|
export interface GetProgramGuideRequest extends TypeFromSchema<typeof TlvGetProgramGuideRequest> {}
|
|
418
450
|
|
|
419
451
|
/**
|
|
420
452
|
* This object defines the paging structure that includes the previous and next pagination tokens.
|
|
421
453
|
*
|
|
422
|
-
* @see {@link MatterSpecification.
|
|
454
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.12
|
|
423
455
|
*/
|
|
424
456
|
export const TlvChannelPaging = TlvObject({
|
|
425
457
|
/**
|
|
426
458
|
* This field shall indicate the token to retrieve the preceding page. Absence of this field denotes the
|
|
427
459
|
* response as the initial page.
|
|
428
460
|
*
|
|
429
|
-
* @see {@link MatterSpecification.
|
|
461
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.12.1
|
|
430
462
|
*/
|
|
431
463
|
previousToken: TlvOptionalField(0, TlvNullable(TlvPageToken)),
|
|
432
464
|
|
|
@@ -434,7 +466,7 @@ export namespace Channel {
|
|
|
434
466
|
* This field shall indicate the token to retrieve the next page. Absence of this field denotes the response as
|
|
435
467
|
* the last page.
|
|
436
468
|
*
|
|
437
|
-
* @see {@link MatterSpecification.
|
|
469
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.12.2
|
|
438
470
|
*/
|
|
439
471
|
nextToken: TlvOptionalField(1, TlvNullable(TlvPageToken))
|
|
440
472
|
});
|
|
@@ -442,27 +474,27 @@ export namespace Channel {
|
|
|
442
474
|
/**
|
|
443
475
|
* This object defines the paging structure that includes the previous and next pagination tokens.
|
|
444
476
|
*
|
|
445
|
-
* @see {@link MatterSpecification.
|
|
477
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.12
|
|
446
478
|
*/
|
|
447
479
|
export interface ChannelPaging extends TypeFromSchema<typeof TlvChannelPaging> {}
|
|
448
480
|
|
|
449
481
|
/**
|
|
450
482
|
* This object provides the episode information related to a program.
|
|
451
483
|
*
|
|
452
|
-
* @see {@link MatterSpecification.
|
|
484
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.9
|
|
453
485
|
*/
|
|
454
486
|
export const TlvSeriesInfo = TlvObject({
|
|
455
487
|
/**
|
|
456
488
|
* This field shall represent the season of the series associated to the program.
|
|
457
489
|
*
|
|
458
|
-
* @see {@link MatterSpecification.
|
|
490
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.9.1
|
|
459
491
|
*/
|
|
460
492
|
season: TlvField(0, TlvString.bound({ maxLength: 256 })),
|
|
461
493
|
|
|
462
494
|
/**
|
|
463
495
|
* This field shall represent the episode of the program.
|
|
464
496
|
*
|
|
465
|
-
* @see {@link MatterSpecification.
|
|
497
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.9.2
|
|
466
498
|
*/
|
|
467
499
|
episode: TlvField(1, TlvString.bound({ maxLength: 256 }))
|
|
468
500
|
});
|
|
@@ -470,27 +502,27 @@ export namespace Channel {
|
|
|
470
502
|
/**
|
|
471
503
|
* This object provides the episode information related to a program.
|
|
472
504
|
*
|
|
473
|
-
* @see {@link MatterSpecification.
|
|
505
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.9
|
|
474
506
|
*/
|
|
475
507
|
export interface SeriesInfo extends TypeFromSchema<typeof TlvSeriesInfo> {}
|
|
476
508
|
|
|
477
509
|
/**
|
|
478
510
|
* This object defines the category associated to a program.
|
|
479
511
|
*
|
|
480
|
-
* @see {@link MatterSpecification.
|
|
512
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.8
|
|
481
513
|
*/
|
|
482
514
|
export const TlvProgramCategory = TlvObject({
|
|
483
515
|
/**
|
|
484
516
|
* This field shall represent the category or genre of the program. Ex. News.
|
|
485
517
|
*
|
|
486
|
-
* @see {@link MatterSpecification.
|
|
518
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.8.1
|
|
487
519
|
*/
|
|
488
520
|
category: TlvField(0, TlvString.bound({ maxLength: 256 })),
|
|
489
521
|
|
|
490
522
|
/**
|
|
491
523
|
* This field shall represent the sub-category or sub-genre of the program. Ex. Local.
|
|
492
524
|
*
|
|
493
|
-
* @see {@link MatterSpecification.
|
|
525
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.8.2
|
|
494
526
|
*/
|
|
495
527
|
subCategory: TlvOptionalField(1, TlvString.bound({ maxLength: 256 }))
|
|
496
528
|
});
|
|
@@ -498,27 +530,27 @@ export namespace Channel {
|
|
|
498
530
|
/**
|
|
499
531
|
* This object defines the category associated to a program.
|
|
500
532
|
*
|
|
501
|
-
* @see {@link MatterSpecification.
|
|
533
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.8
|
|
502
534
|
*/
|
|
503
535
|
export interface ProgramCategory extends TypeFromSchema<typeof TlvProgramCategory> {}
|
|
504
536
|
|
|
505
537
|
/**
|
|
506
538
|
* This object provides the cast information related to a program.
|
|
507
539
|
*
|
|
508
|
-
* @see {@link MatterSpecification.
|
|
540
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.10
|
|
509
541
|
*/
|
|
510
542
|
export const TlvProgramCast = TlvObject({
|
|
511
543
|
/**
|
|
512
544
|
* This field shall represent the name of the cast member.
|
|
513
545
|
*
|
|
514
|
-
* @see {@link MatterSpecification.
|
|
546
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.10.1
|
|
515
547
|
*/
|
|
516
548
|
name: TlvField(0, TlvString.bound({ maxLength: 256 })),
|
|
517
549
|
|
|
518
550
|
/**
|
|
519
551
|
* This field shall represent the role of the cast member. Ex. Actor, Director.
|
|
520
552
|
*
|
|
521
|
-
* @see {@link MatterSpecification.
|
|
553
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.10.2
|
|
522
554
|
*/
|
|
523
555
|
role: TlvField(1, TlvString.bound({ maxLength: 256 }))
|
|
524
556
|
});
|
|
@@ -526,28 +558,28 @@ export namespace Channel {
|
|
|
526
558
|
/**
|
|
527
559
|
* This object provides the cast information related to a program.
|
|
528
560
|
*
|
|
529
|
-
* @see {@link MatterSpecification.
|
|
561
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.10
|
|
530
562
|
*/
|
|
531
563
|
export interface ProgramCast extends TypeFromSchema<typeof TlvProgramCast> {}
|
|
532
564
|
|
|
533
565
|
/**
|
|
534
566
|
* This indicates a program within an electronic program guide (EPG).
|
|
535
567
|
*
|
|
536
|
-
* @see {@link MatterSpecification.
|
|
568
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7
|
|
537
569
|
*/
|
|
538
570
|
export const TlvProgram = TlvObject({
|
|
539
571
|
/**
|
|
540
572
|
* This field shall indicate a unique identifier for a program within an electronic program guide list. The
|
|
541
573
|
* identifier shall be unique across multiple channels.
|
|
542
574
|
*
|
|
543
|
-
* @see {@link MatterSpecification.
|
|
575
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.1
|
|
544
576
|
*/
|
|
545
577
|
identifier: TlvField(0, TlvString.bound({ maxLength: 255 })),
|
|
546
578
|
|
|
547
579
|
/**
|
|
548
580
|
* This field shall indicate the channel associated to the program.
|
|
549
581
|
*
|
|
550
|
-
* @see {@link MatterSpecification.
|
|
582
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.2
|
|
551
583
|
*/
|
|
552
584
|
channel: TlvField(1, TlvChannelInfo),
|
|
553
585
|
|
|
@@ -555,7 +587,7 @@ export namespace Channel {
|
|
|
555
587
|
* This field shall indicate an epoch time in seconds indicating the start time of a program, as a UTC time.
|
|
556
588
|
* This field can represent a past or future value.
|
|
557
589
|
*
|
|
558
|
-
* @see {@link MatterSpecification.
|
|
590
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.3
|
|
559
591
|
*/
|
|
560
592
|
startTime: TlvField(2, TlvEpochS),
|
|
561
593
|
|
|
@@ -563,14 +595,14 @@ export namespace Channel {
|
|
|
563
595
|
* This field shall indicate an epoch time in seconds indicating the end time of a program, as a UTC time. This
|
|
564
596
|
* field can represent a past or future value but shall be greater than the StartTime.
|
|
565
597
|
*
|
|
566
|
-
* @see {@link MatterSpecification.
|
|
598
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.4
|
|
567
599
|
*/
|
|
568
600
|
endTime: TlvField(3, TlvEpochS),
|
|
569
601
|
|
|
570
602
|
/**
|
|
571
603
|
* This field shall indicate the title or name for the specific program. For example, “MCIS: Los Angeles”.
|
|
572
604
|
*
|
|
573
|
-
* @see {@link MatterSpecification.
|
|
605
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.5
|
|
574
606
|
*/
|
|
575
607
|
title: TlvField(4, TlvString.bound({ maxLength: 255 })),
|
|
576
608
|
|
|
@@ -578,7 +610,7 @@ export namespace Channel {
|
|
|
578
610
|
* This field shall indicate the subtitle for the specific program. For example, “Maybe Today" which is an
|
|
579
611
|
* episode name for “MCIS: Los Angeles”. This field is optional but shall be provided if applicable and known.
|
|
580
612
|
*
|
|
581
|
-
* @see {@link MatterSpecification.
|
|
613
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.6
|
|
582
614
|
*/
|
|
583
615
|
subtitle: TlvOptionalField(5, TlvString.bound({ maxLength: 255 })),
|
|
584
616
|
|
|
@@ -586,7 +618,7 @@ export namespace Channel {
|
|
|
586
618
|
* This field shall indicate the brief description for the specific program. For example, a description of an
|
|
587
619
|
* episode. This field is optional but shall be provided if known.
|
|
588
620
|
*
|
|
589
|
-
* @see {@link MatterSpecification.
|
|
621
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.7
|
|
590
622
|
*/
|
|
591
623
|
description: TlvOptionalField(6, TlvString.bound({ maxLength: 8192 })),
|
|
592
624
|
|
|
@@ -595,7 +627,7 @@ export namespace Channel {
|
|
|
595
627
|
* of the standard Tags for Identifying Languages RFC 5646. This field is optional but shall be provided if
|
|
596
628
|
* known.
|
|
597
629
|
*
|
|
598
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.8
|
|
599
631
|
*/
|
|
600
632
|
audioLanguages: TlvOptionalField(7, TlvArray(TlvString, { maxLength: 10 })),
|
|
601
633
|
|
|
@@ -606,7 +638,7 @@ export namespace Channel {
|
|
|
606
638
|
* children but can be accepted in general for older children. This field is optional but shall be provided if
|
|
607
639
|
* known.
|
|
608
640
|
*
|
|
609
|
-
* @see {@link MatterSpecification.
|
|
641
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.9
|
|
610
642
|
*/
|
|
611
643
|
ratings: TlvOptionalField(8, TlvArray(TlvString, { maxLength: 255 })),
|
|
612
644
|
|
|
@@ -614,7 +646,7 @@ export namespace Channel {
|
|
|
614
646
|
* This field shall represent a URL of a thumbnail that clients can use to render an image for the program. The
|
|
615
647
|
* syntax of this field shall follow the syntax as specified in RFC 1738 and shall use the https scheme.
|
|
616
648
|
*
|
|
617
|
-
* @see {@link MatterSpecification.
|
|
649
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.10
|
|
618
650
|
*/
|
|
619
651
|
thumbnailUrl: TlvOptionalField(9, TlvString.bound({ maxLength: 8192 })),
|
|
620
652
|
|
|
@@ -623,7 +655,7 @@ export namespace Channel {
|
|
|
623
655
|
* detail view. The syntax of this field shall follow the syntax as specified in RFC 1738 and shall use the
|
|
624
656
|
* https scheme.
|
|
625
657
|
*
|
|
626
|
-
* @see {@link MatterSpecification.
|
|
658
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.11
|
|
627
659
|
*/
|
|
628
660
|
posterArtUrl: TlvOptionalField(10, TlvString.bound({ maxLength: 8192 })),
|
|
629
661
|
|
|
@@ -631,7 +663,7 @@ export namespace Channel {
|
|
|
631
663
|
* This field shall represent the DVB-I URL associated to the program. The syntax of this field shall follow the
|
|
632
664
|
* syntax as specified in RFC 1738 and shall use the https scheme.
|
|
633
665
|
*
|
|
634
|
-
* @see {@link MatterSpecification.
|
|
666
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.12
|
|
635
667
|
*/
|
|
636
668
|
dvbiUrl: TlvOptionalField(11, TlvString.bound({ maxLength: 8192 })),
|
|
637
669
|
|
|
@@ -639,7 +671,7 @@ export namespace Channel {
|
|
|
639
671
|
* This field shall be a string, in ISO 8601 format, representing the date on which the program was released.
|
|
640
672
|
* This field is optional but when provided, the year shall be provided as part of the string.
|
|
641
673
|
*
|
|
642
|
-
* @see {@link MatterSpecification.
|
|
674
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.13
|
|
643
675
|
*/
|
|
644
676
|
releaseDate: TlvOptionalField(12, TlvString.bound({ maxLength: 30 })),
|
|
645
677
|
|
|
@@ -647,7 +679,7 @@ export namespace Channel {
|
|
|
647
679
|
* This field shall represent a string providing additional information on the parental guidance. This field is
|
|
648
680
|
* optional.
|
|
649
681
|
*
|
|
650
|
-
* @see {@link MatterSpecification.
|
|
682
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.14
|
|
651
683
|
*/
|
|
652
684
|
parentalGuidanceText: TlvOptionalField(13, TlvString.bound({ maxLength: 255 })),
|
|
653
685
|
|
|
@@ -655,7 +687,7 @@ export namespace Channel {
|
|
|
655
687
|
* This field shall represent the recording status of the program. This field is required if the RecordProgram
|
|
656
688
|
* feature is set.
|
|
657
689
|
*
|
|
658
|
-
* @see {@link MatterSpecification.
|
|
690
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.15
|
|
659
691
|
*/
|
|
660
692
|
recordingFlag: TlvOptionalField(14, TlvBitmap(TlvUInt8, RecordingFlag)),
|
|
661
693
|
|
|
@@ -663,7 +695,7 @@ export namespace Channel {
|
|
|
663
695
|
* This field shall represent the information of a series such as season and episode number. This field is
|
|
664
696
|
* optional but SHOULD be provided if the program represents a series and this information is available.
|
|
665
697
|
*
|
|
666
|
-
* @see {@link MatterSpecification.
|
|
698
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.16
|
|
667
699
|
*/
|
|
668
700
|
seriesInfo: TlvOptionalField(15, TlvNullable(TlvSeriesInfo)),
|
|
669
701
|
|
|
@@ -671,7 +703,7 @@ export namespace Channel {
|
|
|
671
703
|
* This field shall represent the category of a particular program. This field is optional but shall be provided
|
|
672
704
|
* if known.
|
|
673
705
|
*
|
|
674
|
-
* @see {@link MatterSpecification.
|
|
706
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.17
|
|
675
707
|
*/
|
|
676
708
|
categoryList: TlvOptionalField(16, TlvArray(TlvProgramCategory, { maxLength: 255 })),
|
|
677
709
|
|
|
@@ -679,14 +711,14 @@ export namespace Channel {
|
|
|
679
711
|
* This field shall represent a list of the cast or the crew on the program. A single cast member may have more
|
|
680
712
|
* than one role. This field is optional but shall be provided if known.
|
|
681
713
|
*
|
|
682
|
-
* @see {@link MatterSpecification.
|
|
714
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.18
|
|
683
715
|
*/
|
|
684
716
|
castList: TlvOptionalField(17, TlvArray(TlvProgramCast, { maxLength: 255 })),
|
|
685
717
|
|
|
686
718
|
/**
|
|
687
719
|
* This field shall indicate the list of additional external content identifiers.
|
|
688
720
|
*
|
|
689
|
-
* @see {@link MatterSpecification.
|
|
721
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7.19
|
|
690
722
|
*/
|
|
691
723
|
externalIdList: TlvOptionalField(18, TlvArray(ContentLauncher.TlvAdditionalInfo, { maxLength: 255 }))
|
|
692
724
|
});
|
|
@@ -694,28 +726,28 @@ export namespace Channel {
|
|
|
694
726
|
/**
|
|
695
727
|
* This indicates a program within an electronic program guide (EPG).
|
|
696
728
|
*
|
|
697
|
-
* @see {@link MatterSpecification.
|
|
729
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.5.7
|
|
698
730
|
*/
|
|
699
731
|
export interface Program extends TypeFromSchema<typeof TlvProgram> {}
|
|
700
732
|
|
|
701
733
|
/**
|
|
702
734
|
* This command is a response to the GetProgramGuide command.
|
|
703
735
|
*
|
|
704
|
-
* @see {@link MatterSpecification.
|
|
736
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.6
|
|
705
737
|
*/
|
|
706
738
|
export const TlvProgramGuideResponse = TlvObject({
|
|
707
739
|
/**
|
|
708
740
|
* This field shall indicate the necessary pagination attributes that define information for both the succeeding
|
|
709
741
|
* and preceding data pages.
|
|
710
742
|
*
|
|
711
|
-
* @see {@link MatterSpecification.
|
|
743
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.6.1
|
|
712
744
|
*/
|
|
713
745
|
paging: TlvField(0, TlvChannelPaging),
|
|
714
746
|
|
|
715
747
|
/**
|
|
716
748
|
* This field shall indicate the list of programs.
|
|
717
749
|
*
|
|
718
|
-
* @see {@link MatterSpecification.
|
|
750
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.6.2
|
|
719
751
|
*/
|
|
720
752
|
programList: TlvField(1, TlvArray(TlvProgram))
|
|
721
753
|
});
|
|
@@ -723,21 +755,21 @@ export namespace Channel {
|
|
|
723
755
|
/**
|
|
724
756
|
* This command is a response to the GetProgramGuide command.
|
|
725
757
|
*
|
|
726
|
-
* @see {@link MatterSpecification.
|
|
758
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.6
|
|
727
759
|
*/
|
|
728
760
|
export interface ProgramGuideResponse extends TypeFromSchema<typeof TlvProgramGuideResponse> {}
|
|
729
761
|
|
|
730
762
|
/**
|
|
731
763
|
* Input to the Channel recordProgram command
|
|
732
764
|
*
|
|
733
|
-
* @see {@link MatterSpecification.
|
|
765
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7
|
|
734
766
|
*/
|
|
735
767
|
export const TlvRecordProgramRequest = TlvObject({
|
|
736
768
|
/**
|
|
737
769
|
* This field shall indicate the program identifier for the program that should be recorded. This value is
|
|
738
770
|
* provided by the identifier field in ProgramStruct.
|
|
739
771
|
*
|
|
740
|
-
* @see {@link MatterSpecification.
|
|
772
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7.1
|
|
741
773
|
*/
|
|
742
774
|
programIdentifier: TlvField(0, TlvString.bound({ maxLength: 255 })),
|
|
743
775
|
|
|
@@ -746,21 +778,21 @@ export namespace Channel {
|
|
|
746
778
|
* invoking record program on an episode with that flag set to true, the target should schedule record the whole
|
|
747
779
|
* series.
|
|
748
780
|
*
|
|
749
|
-
* @see {@link MatterSpecification.
|
|
781
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7.2
|
|
750
782
|
*/
|
|
751
783
|
shouldRecordSeries: TlvField(1, TlvBoolean),
|
|
752
784
|
|
|
753
785
|
/**
|
|
754
786
|
* This field, if present, shall indicate the list of additional external content identifiers.
|
|
755
787
|
*
|
|
756
|
-
* @see {@link MatterSpecification.
|
|
788
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7.3
|
|
757
789
|
*/
|
|
758
790
|
externalIdList: TlvOptionalField(2, TlvArray(ContentLauncher.TlvAdditionalInfo, { maxLength: 255 })),
|
|
759
791
|
|
|
760
792
|
/**
|
|
761
793
|
* This field, if present, shall indicate app-specific data.
|
|
762
794
|
*
|
|
763
|
-
* @see {@link MatterSpecification.
|
|
795
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7.4
|
|
764
796
|
*/
|
|
765
797
|
data: TlvOptionalField(3, TlvByteString.bound({ maxLength: 8092 }))
|
|
766
798
|
});
|
|
@@ -768,21 +800,21 @@ export namespace Channel {
|
|
|
768
800
|
/**
|
|
769
801
|
* Input to the Channel recordProgram command
|
|
770
802
|
*
|
|
771
|
-
* @see {@link MatterSpecification.
|
|
803
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7
|
|
772
804
|
*/
|
|
773
805
|
export interface RecordProgramRequest extends TypeFromSchema<typeof TlvRecordProgramRequest> {}
|
|
774
806
|
|
|
775
807
|
/**
|
|
776
808
|
* Input to the Channel cancelRecordProgram command
|
|
777
809
|
*
|
|
778
|
-
* @see {@link MatterSpecification.
|
|
810
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8
|
|
779
811
|
*/
|
|
780
812
|
export const TlvCancelRecordProgramRequest = TlvObject({
|
|
781
813
|
/**
|
|
782
814
|
* This field shall indicate the program identifier for the program that should be cancelled from recording.
|
|
783
815
|
* This value is provided by the identifier field in ProgramStruct.
|
|
784
816
|
*
|
|
785
|
-
* @see {@link MatterSpecification.
|
|
817
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8.1
|
|
786
818
|
*/
|
|
787
819
|
programIdentifier: TlvField(0, TlvString.bound({ maxLength: 255 })),
|
|
788
820
|
|
|
@@ -791,21 +823,21 @@ export namespace Channel {
|
|
|
791
823
|
* recording. For example, invoking record program on an episode with that flag set to true, the target should
|
|
792
824
|
* schedule record the whole series.
|
|
793
825
|
*
|
|
794
|
-
* @see {@link MatterSpecification.
|
|
826
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8.2
|
|
795
827
|
*/
|
|
796
828
|
shouldRecordSeries: TlvField(1, TlvBoolean),
|
|
797
829
|
|
|
798
830
|
/**
|
|
799
831
|
* This field, if present, shall indicate the list of additional external content identifiers.
|
|
800
832
|
*
|
|
801
|
-
* @see {@link MatterSpecification.
|
|
833
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8.3
|
|
802
834
|
*/
|
|
803
835
|
externalIdList: TlvOptionalField(2, TlvArray(ContentLauncher.TlvAdditionalInfo, { maxLength: 255 })),
|
|
804
836
|
|
|
805
837
|
/**
|
|
806
838
|
* This field, if present, shall indicate app-specific data.
|
|
807
839
|
*
|
|
808
|
-
* @see {@link MatterSpecification.
|
|
840
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8.4
|
|
809
841
|
*/
|
|
810
842
|
data: TlvOptionalField(3, TlvByteString.bound({ maxLength: 8092 }))
|
|
811
843
|
});
|
|
@@ -813,27 +845,27 @@ export namespace Channel {
|
|
|
813
845
|
/**
|
|
814
846
|
* Input to the Channel cancelRecordProgram command
|
|
815
847
|
*
|
|
816
|
-
* @see {@link MatterSpecification.
|
|
848
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8
|
|
817
849
|
*/
|
|
818
850
|
export interface CancelRecordProgramRequest extends TypeFromSchema<typeof TlvCancelRecordProgramRequest> {}
|
|
819
851
|
|
|
820
852
|
/**
|
|
821
853
|
* Input to the Channel changeChannelByNumber command
|
|
822
854
|
*
|
|
823
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.3
|
|
824
856
|
*/
|
|
825
857
|
export const TlvChangeChannelByNumberRequest = TlvObject({
|
|
826
858
|
/**
|
|
827
859
|
* This field shall indicate the channel major number value (ATSC format) to which the channel should change.
|
|
828
860
|
*
|
|
829
|
-
* @see {@link MatterSpecification.
|
|
861
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.3.1
|
|
830
862
|
*/
|
|
831
863
|
majorNumber: TlvField(0, TlvUInt16),
|
|
832
864
|
|
|
833
865
|
/**
|
|
834
866
|
* This field shall indicate the channel minor number value (ATSC format) to which the channel should change.
|
|
835
867
|
*
|
|
836
|
-
* @see {@link MatterSpecification.
|
|
868
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.3.2
|
|
837
869
|
*/
|
|
838
870
|
minorNumber: TlvField(1, TlvUInt16)
|
|
839
871
|
});
|
|
@@ -841,21 +873,21 @@ export namespace Channel {
|
|
|
841
873
|
/**
|
|
842
874
|
* Input to the Channel changeChannelByNumber command
|
|
843
875
|
*
|
|
844
|
-
* @see {@link MatterSpecification.
|
|
876
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.3
|
|
845
877
|
*/
|
|
846
878
|
export interface ChangeChannelByNumberRequest extends TypeFromSchema<typeof TlvChangeChannelByNumberRequest> {}
|
|
847
879
|
|
|
848
880
|
/**
|
|
849
881
|
* Input to the Channel skipChannel command
|
|
850
882
|
*
|
|
851
|
-
* @see {@link MatterSpecification.
|
|
883
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.4
|
|
852
884
|
*/
|
|
853
885
|
export const TlvSkipChannelRequest = TlvObject({
|
|
854
886
|
/**
|
|
855
887
|
* This field shall indicate the number of steps to increase (Count is positive) or decrease (Count is negative)
|
|
856
888
|
* the current channel.
|
|
857
889
|
*
|
|
858
|
-
* @see {@link MatterSpecification.
|
|
890
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.4.1
|
|
859
891
|
*/
|
|
860
892
|
count: TlvField(0, TlvInt16)
|
|
861
893
|
});
|
|
@@ -863,7 +895,7 @@ export namespace Channel {
|
|
|
863
895
|
/**
|
|
864
896
|
* Input to the Channel skipChannel command
|
|
865
897
|
*
|
|
866
|
-
* @see {@link MatterSpecification.
|
|
898
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.4
|
|
867
899
|
*/
|
|
868
900
|
export interface SkipChannelRequest extends TypeFromSchema<typeof TlvSkipChannelRequest> {}
|
|
869
901
|
|
|
@@ -875,7 +907,7 @@ export namespace Channel {
|
|
|
875
907
|
/**
|
|
876
908
|
* This attribute shall provide the list of supported channels.
|
|
877
909
|
*
|
|
878
|
-
* @see {@link MatterSpecification.
|
|
910
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.6.1
|
|
879
911
|
*/
|
|
880
912
|
channelList: Attribute(0x0, TlvArray(TlvChannelInfo), { default: [] })
|
|
881
913
|
}
|
|
@@ -889,7 +921,7 @@ export namespace Channel {
|
|
|
889
921
|
/**
|
|
890
922
|
* This attribute shall identify the channel lineup using external data sources.
|
|
891
923
|
*
|
|
892
|
-
* @see {@link MatterSpecification.
|
|
924
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.6.2
|
|
893
925
|
*/
|
|
894
926
|
lineup: Attribute(0x1, TlvNullable(TlvLineupInfo), { default: null })
|
|
895
927
|
}
|
|
@@ -910,7 +942,7 @@ export namespace Channel {
|
|
|
910
942
|
*
|
|
911
943
|
* Upon success, the CurrentChannel attribute, if supported, shall be updated to reflect the change.
|
|
912
944
|
*
|
|
913
|
-
* @see {@link MatterSpecification.
|
|
945
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.1
|
|
914
946
|
*/
|
|
915
947
|
changeChannel: Command(0x0, TlvChangeChannelRequest, 0x1, TlvChangeChannelResponse)
|
|
916
948
|
}
|
|
@@ -927,7 +959,7 @@ export namespace Channel {
|
|
|
927
959
|
* ProgramGuideResponse. Standard error codes shall be used when arguments provided are not valid. For
|
|
928
960
|
* example, if StartTime is greater than EndTime, the status code INVALID_ACTION shall be returned.
|
|
929
961
|
*
|
|
930
|
-
* @see {@link MatterSpecification.
|
|
962
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.5
|
|
931
963
|
*/
|
|
932
964
|
getProgramGuide: Command(0x4, TlvGetProgramGuideRequest, 0x5, TlvProgramGuideResponse)
|
|
933
965
|
}
|
|
@@ -941,14 +973,14 @@ export namespace Channel {
|
|
|
941
973
|
/**
|
|
942
974
|
* Record a specific program or series when it goes live. This functionality enables DVR recording features.
|
|
943
975
|
*
|
|
944
|
-
* @see {@link MatterSpecification.
|
|
976
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.7
|
|
945
977
|
*/
|
|
946
978
|
recordProgram: Command(0x6, TlvRecordProgramRequest, 0x6, TlvNoResponse),
|
|
947
979
|
|
|
948
980
|
/**
|
|
949
981
|
* Cancel recording for a specific program or series.
|
|
950
982
|
*
|
|
951
|
-
* @see {@link MatterSpecification.
|
|
983
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.8
|
|
952
984
|
*/
|
|
953
985
|
cancelRecordProgram: Command(0x7, TlvCancelRecordProgramRequest, 0x7, TlvNoResponse)
|
|
954
986
|
}
|
|
@@ -989,7 +1021,7 @@ export namespace Channel {
|
|
|
989
1021
|
* This attribute shall contain the current channel. When supported but a channel is not currently tuned to
|
|
990
1022
|
* (if a content application is in foreground), the value of the field shall be null.
|
|
991
1023
|
*
|
|
992
|
-
* @see {@link MatterSpecification.
|
|
1024
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.6.3
|
|
993
1025
|
*/
|
|
994
1026
|
currentChannel: OptionalAttribute(0x2, TlvNullable(TlvChannelInfo), { default: null })
|
|
995
1027
|
},
|
|
@@ -998,7 +1030,7 @@ export namespace Channel {
|
|
|
998
1030
|
/**
|
|
999
1031
|
* Change the channel to the channel with the given Number in the ChannelList attribute.
|
|
1000
1032
|
*
|
|
1001
|
-
* @see {@link MatterSpecification.
|
|
1033
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.3
|
|
1002
1034
|
*/
|
|
1003
1035
|
changeChannelByNumber: Command(0x2, TlvChangeChannelByNumberRequest, 0x2, TlvNoResponse),
|
|
1004
1036
|
|
|
@@ -1011,7 +1043,7 @@ export namespace Channel {
|
|
|
1011
1043
|
* continue. For example, if the current channel is at index 0 and count value of -1 is given, then the
|
|
1012
1044
|
* current channel should change to the last channel.
|
|
1013
1045
|
*
|
|
1014
|
-
* @see {@link MatterSpecification.
|
|
1046
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6.7.4
|
|
1015
1047
|
*/
|
|
1016
1048
|
skipChannel: Command(0x3, TlvSkipChannelRequest, 0x3, TlvNoResponse)
|
|
1017
1049
|
},
|
|
@@ -1052,7 +1084,7 @@ export namespace Channel {
|
|
|
1052
1084
|
*
|
|
1053
1085
|
* ChannelCluster supports optional features that you can enable with the ChannelCluster.with() factory method.
|
|
1054
1086
|
*
|
|
1055
|
-
* @see {@link MatterSpecification.
|
|
1087
|
+
* @see {@link MatterSpecification.v141.Cluster} § 6.6
|
|
1056
1088
|
*/
|
|
1057
1089
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1058
1090
|
|