@matter/types 0.17.4 → 0.17.5-alpha.0-20260702-a2cd6f764
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 +252 -75
- package/dist/cjs/clusters/account-login.d.ts +22 -22
- package/dist/cjs/clusters/actions.d.ts +76 -76
- package/dist/cjs/clusters/activated-carbon-filter-monitoring.d.ts +15 -15
- package/dist/cjs/clusters/administrator-commissioning.d.ts +25 -25
- package/dist/cjs/clusters/air-quality.d.ts +6 -6
- package/dist/cjs/clusters/alarm-base.d.ts +25 -25
- package/dist/cjs/clusters/ambient-context-sensing.d.js +22 -0
- package/dist/cjs/clusters/ambient-context-sensing.d.js.map +6 -0
- package/dist/cjs/clusters/ambient-context-sensing.d.ts +706 -0
- package/dist/cjs/clusters/ambient-context-sensing.js +34 -0
- package/dist/cjs/clusters/ambient-context-sensing.js.map +6 -0
- package/dist/cjs/clusters/application-basic.d.ts +22 -22
- package/dist/cjs/clusters/application-launcher.d.ts +30 -30
- package/dist/cjs/clusters/audio-output.d.ts +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +111 -73
- package/dist/cjs/clusters/binding.d.ts +9 -9
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +64 -41
- package/dist/cjs/clusters/boolean-state.d.ts +55 -12
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +60 -60
- package/dist/cjs/clusters/camera-av-settings-user-level-management.d.ts +71 -71
- package/dist/cjs/clusters/camera-av-stream-management.d.ts +262 -232
- package/dist/cjs/clusters/carbon-dioxide-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/carbon-monoxide-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/channel.d.ts +101 -101
- package/dist/cjs/clusters/chime.d.ts +18 -18
- package/dist/cjs/clusters/closure-control.d.ts +59 -59
- package/dist/cjs/clusters/closure-dimension.d.ts +60 -60
- package/dist/cjs/clusters/color-control.d.ts +226 -228
- package/dist/cjs/clusters/commissioner-control.d.ts +14 -14
- package/dist/cjs/clusters/commodity-metering.d.ts +13 -13
- package/dist/cjs/clusters/commodity-price.d.ts +38 -38
- package/dist/cjs/clusters/commodity-tariff.d.ts +106 -106
- package/dist/cjs/clusters/concentration-measurement.d.ts +29 -29
- package/dist/cjs/clusters/content-app-observer.d.ts +12 -12
- package/dist/cjs/clusters/content-control.d.ts +103 -103
- package/dist/cjs/clusters/content-launcher.d.ts +65 -65
- package/dist/cjs/clusters/descriptor.d.ts +19 -19
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +30 -30
- package/dist/cjs/clusters/device-energy-management.d.ts +128 -128
- package/dist/cjs/clusters/diagnostic-logs.d.ts +29 -29
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +26 -26
- package/dist/cjs/clusters/dishwasher-mode.d.ts +29 -29
- package/dist/cjs/clusters/door-lock.d.ts +330 -330
- package/dist/cjs/clusters/ecosystem-information.d.ts +21 -21
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +43 -43
- package/dist/cjs/clusters/electrical-grid-conditions.d.ts +22 -22
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +67 -67
- package/dist/cjs/clusters/energy-evse-mode.d.ts +30 -30
- package/dist/cjs/clusters/energy-evse.d.ts +122 -122
- package/dist/cjs/clusters/energy-preference.d.ts +22 -26
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +23 -23
- package/dist/cjs/clusters/fan-control.d.ts +41 -41
- package/dist/cjs/clusters/fixed-label.d.ts +4 -4
- package/dist/cjs/clusters/flow-measurement.d.ts +11 -11
- package/dist/cjs/clusters/formaldehyde-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/general-commissioning.d.ts +62 -60
- package/dist/cjs/clusters/general-diagnostics.d.ts +142 -71
- package/dist/cjs/clusters/group-key-management.d.ts +213 -80
- package/dist/cjs/clusters/groupcast.d.js +22 -0
- package/dist/cjs/clusters/groupcast.d.js.map +6 -0
- package/dist/cjs/clusters/groupcast.d.ts +961 -0
- package/dist/cjs/clusters/groupcast.js +34 -0
- package/dist/cjs/clusters/groupcast.js.map +6 -0
- package/dist/cjs/clusters/groups.d.ts +44 -36
- package/dist/cjs/clusters/hepa-filter-monitoring.d.ts +15 -15
- package/dist/cjs/clusters/icd-management.d.ts +55 -53
- package/dist/cjs/clusters/identify.d.ts +15 -15
- package/dist/cjs/clusters/illuminance-measurement.d.ts +14 -14
- package/dist/cjs/clusters/index.d.ts +3 -0
- package/dist/cjs/clusters/index.d.ts.map +1 -1
- package/dist/cjs/clusters/index.js +9 -0
- package/dist/cjs/clusters/index.js.map +1 -1
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +36 -81
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +979 -1193
- package/dist/cjs/clusters/keypad-input.d.ts +12 -12
- package/dist/cjs/clusters/label.d.ts +7 -7
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +7 -7
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +14 -14
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +30 -30
- package/dist/cjs/clusters/level-control.d.ts +57 -57
- package/dist/cjs/clusters/localization-configuration.d.ts +6 -6
- package/dist/cjs/clusters/low-power.d.ts +3 -3
- package/dist/cjs/clusters/media-input.d.ts +20 -20
- package/dist/cjs/clusters/media-playback.d.ts +92 -92
- package/dist/cjs/clusters/messages.d.ts +56 -56
- package/dist/cjs/clusters/meter-identification.d.ts +14 -14
- package/dist/cjs/clusters/microwave-oven-control.d.ts +31 -31
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +27 -27
- package/dist/cjs/clusters/mode-base.d.ts +39 -39
- package/dist/cjs/clusters/mode-select.d.ts +25 -25
- package/dist/cjs/clusters/network-commissioning.d.ts +124 -116
- package/dist/cjs/clusters/nitrogen-dioxide-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/occupancy-sensing.d.ts +67 -47
- package/dist/cjs/clusters/on-off.d.ts +60 -46
- package/dist/cjs/clusters/operational-credentials.d.ts +65 -65
- package/dist/cjs/clusters/operational-state.d.ts +38 -38
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +39 -39
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +58 -58
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +22 -22
- package/dist/cjs/clusters/oven-mode.d.ts +45 -43
- package/dist/cjs/clusters/ozone-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pm1-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pm10-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pm25-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/power-source-configuration.d.ts +4 -4
- package/dist/cjs/clusters/power-source.d.ts +92 -92
- package/dist/cjs/clusters/power-topology.d.ts +7 -43
- package/dist/cjs/clusters/pressure-measurement.d.ts +22 -22
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +111 -111
- package/dist/cjs/clusters/push-av-stream-transport.d.ts +129 -147
- package/dist/cjs/clusters/radon-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +22 -22
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +28 -28
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +11 -11
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +34 -34
- package/dist/cjs/clusters/rvc-operational-state.d.ts +33 -33
- package/dist/cjs/clusters/rvc-run-mode.d.ts +40 -40
- package/dist/cjs/clusters/scenes-management.d.ts +94 -94
- package/dist/cjs/clusters/service-area.d.ts +47 -47
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +126 -90
- package/dist/cjs/clusters/software-diagnostics.d.ts +24 -24
- package/dist/cjs/clusters/soil-measurement.d.ts +6 -6
- package/dist/cjs/clusters/switch.d.ts +43 -43
- package/dist/cjs/clusters/target-navigator.d.ts +22 -22
- package/dist/cjs/clusters/temperature-alarm.d.js +22 -0
- package/dist/cjs/clusters/temperature-alarm.d.js.map +6 -0
- package/dist/cjs/clusters/temperature-alarm.d.ts +706 -0
- package/dist/cjs/clusters/temperature-alarm.js +34 -0
- package/dist/cjs/clusters/temperature-alarm.js.map +6 -0
- package/dist/cjs/clusters/temperature-control.d.ts +22 -22
- package/dist/cjs/clusters/temperature-measurement.d.ts +11 -11
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +11 -11
- package/dist/cjs/clusters/thermostat.d.ts +1001 -200
- package/dist/cjs/clusters/thread-border-router-management.d.ts +26 -26
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +187 -187
- package/dist/cjs/clusters/thread-network-directory.d.ts +21 -21
- package/dist/cjs/clusters/time-format-localization.d.ts +11 -11
- package/dist/cjs/clusters/time-synchronization.d.ts +85 -85
- package/dist/cjs/clusters/tls-certificate-management.d.ts +62 -62
- package/dist/cjs/clusters/tls-client-management.d.ts +36 -36
- package/dist/cjs/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts +25 -25
- package/dist/cjs/clusters/unit-localization.d.ts +8 -8
- package/dist/cjs/clusters/user-label.d.ts +4 -4
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +45 -45
- package/dist/cjs/clusters/wake-on-lan.d.ts +6 -6
- package/dist/cjs/clusters/water-heater-management.d.ts +32 -32
- package/dist/cjs/clusters/water-heater-mode.d.ts +29 -29
- package/dist/cjs/clusters/water-tank-level-monitoring.d.ts +15 -15
- package/dist/cjs/clusters/web-rtc-transport-definitions.d.ts +22 -22
- package/dist/cjs/clusters/web-rtc-transport-provider.d.ts +52 -105
- package/dist/cjs/clusters/web-rtc-transport-requestor.d.ts +22 -22
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +46 -46
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +9 -9
- package/dist/cjs/clusters/window-covering.d.ts +61 -61
- package/dist/cjs/clusters/zone-management.d.ts +79 -79
- package/dist/cjs/datatype/AttributeId.d.ts +1 -1
- package/dist/cjs/datatype/CaseAuthenticatedTag.d.ts +3 -3
- package/dist/cjs/datatype/ClusterId.d.ts +1 -1
- package/dist/cjs/datatype/CommandId.d.ts +1 -1
- package/dist/cjs/datatype/DataVersion.d.ts +1 -1
- package/dist/cjs/datatype/DeviceTypeId.d.ts +1 -1
- package/dist/cjs/datatype/EndpointNumber.d.ts +1 -1
- package/dist/cjs/datatype/EntryIndex.d.ts +1 -1
- package/dist/cjs/datatype/EventId.d.ts +1 -1
- package/dist/cjs/datatype/EventNumber.d.ts +1 -1
- package/dist/cjs/datatype/FabricId.d.ts +1 -1
- package/dist/cjs/datatype/FabricIndex.d.ts +4 -3
- package/dist/cjs/datatype/FabricIndex.d.ts.map +1 -1
- package/dist/cjs/datatype/FabricIndex.js.map +1 -1
- package/dist/cjs/datatype/FieldId.d.ts +1 -1
- package/dist/cjs/datatype/GlobalFabricId.d.ts +1 -1
- package/dist/cjs/datatype/GroupId.d.ts +1 -1
- package/dist/cjs/datatype/NodeId.d.ts +1 -1
- package/dist/cjs/datatype/SubjectId.d.ts +1 -1
- package/dist/cjs/datatype/VendorId.d.ts +1 -1
- package/dist/cjs/dcl/attestation-certificate.d.ts +1 -1
- package/dist/cjs/dcl/device-attestation-revocation.d.ts +3 -3
- package/dist/cjs/dcl/device-software-compliance.d.ts +1 -1
- package/dist/cjs/dcl/device-software-version.d.ts +1 -1
- package/dist/cjs/dcl/device.d.ts +2 -2
- package/dist/cjs/dcl/operational-certificate.d.ts +1 -1
- package/dist/cjs/dcl/vendor.d.ts +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/CertificationType.d.ts +24 -0
- package/dist/cjs/globals/CertificationType.d.ts.map +1 -0
- package/dist/cjs/globals/CertificationType.js +35 -0
- package/dist/cjs/globals/CertificationType.js.map +6 -0
- package/dist/cjs/globals/Currency.d.ts +2 -2
- 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/Namespace.d.ts +34 -2
- package/dist/cjs/globals/Namespace.d.ts.map +1 -1
- package/dist/cjs/globals/Namespace.js +3 -0
- package/dist/cjs/globals/Namespace.js.map +1 -1
- package/dist/cjs/globals/PowerThreshold.d.ts +5 -5
- package/dist/cjs/globals/PowerThreshold.js +3 -3
- package/dist/cjs/globals/PowerThresholdSource.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- 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 +36 -36
- package/dist/cjs/globals/StreamUsage.d.ts +5 -5
- package/dist/cjs/globals/TariffPriceType.d.ts +6 -6
- package/dist/cjs/globals/TariffUnit.d.ts +1 -1
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/Viewport.d.ts +6 -6
- package/dist/cjs/globals/Viewport.js +4 -4
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/cjs/globals/index.d.ts +1 -0
- package/dist/cjs/globals/index.d.ts.map +1 -1
- package/dist/cjs/globals/index.js +1 -0
- package/dist/cjs/globals/index.js.map +1 -1
- package/dist/cjs/protocol/messages/TlvDataReport.d.ts +3 -1
- package/dist/cjs/protocol/messages/TlvDataReport.d.ts.map +1 -1
- package/dist/cjs/protocol/messages/TlvInvokeRequest.d.ts +1 -1
- package/dist/cjs/protocol/messages/TlvInvokeResponse.d.ts +1 -1
- package/dist/cjs/protocol/messages/TlvReadRequest.d.ts +2 -1
- package/dist/cjs/protocol/messages/TlvReadRequest.d.ts.map +1 -1
- package/dist/cjs/protocol/messages/TlvStatusResponse.d.ts +2 -2
- package/dist/cjs/protocol/messages/TlvStatusResponse.js +1 -1
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.d.ts +2 -1
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.d.ts.map +1 -1
- package/dist/cjs/protocol/messages/TlvSubscribeResponse.d.ts +1 -1
- package/dist/cjs/protocol/messages/TlvTimedRequest.d.ts +1 -1
- package/dist/cjs/protocol/messages/TlvWriteRequest.d.ts +2 -1
- package/dist/cjs/protocol/messages/TlvWriteRequest.d.ts.map +1 -1
- package/dist/cjs/protocol/messages/TlvWriteResponse.d.ts +2 -1
- package/dist/cjs/protocol/messages/TlvWriteResponse.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributeData.d.ts +2 -1
- package/dist/cjs/protocol/types/TlvAttributeData.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributePath.d.ts +2 -1
- package/dist/cjs/protocol/types/TlvAttributePath.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributePath.js +2 -1
- package/dist/cjs/protocol/types/TlvAttributePath.js.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributeReport.d.ts +3 -1
- package/dist/cjs/protocol/types/TlvAttributeReport.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributeReportData.d.ts +1 -0
- package/dist/cjs/protocol/types/TlvAttributeReportData.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributeStatus.d.ts +2 -1
- package/dist/cjs/protocol/types/TlvAttributeStatus.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvClusterPath.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvCommandData.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvCommandPath.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvCommandStatus.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvDataVersionFilter.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventData.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventFilter.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventPath.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventReport.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventStatus.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvInvokeResponseData.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvStatus.d.ts +1 -1
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.d.ts +1 -1
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.d.ts.map +1 -1
- package/dist/cjs/schema/Base38Schema.d.ts +1 -1
- package/dist/cjs/schema/PairingCodeSchema.d.ts +26 -12
- package/dist/cjs/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.js +8 -1
- package/dist/cjs/schema/PairingCodeSchema.js.map +1 -1
- package/dist/cjs/tlv/TlvArray.d.ts +1 -1
- package/dist/cjs/tlv/TlvBoolean.d.ts +1 -1
- package/dist/cjs/tlv/TlvCodec.d.ts +4 -4
- package/dist/cjs/tlv/TlvCodec.js +2 -2
- package/dist/cjs/tlv/TlvNullable.d.ts +1 -1
- package/dist/cjs/tlv/TlvNumber.d.ts +1 -1
- package/dist/cjs/tlv/TlvObject.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +252 -75
- package/dist/esm/clusters/account-login.d.ts +22 -22
- package/dist/esm/clusters/actions.d.ts +76 -76
- package/dist/esm/clusters/activated-carbon-filter-monitoring.d.ts +15 -15
- package/dist/esm/clusters/administrator-commissioning.d.ts +25 -25
- package/dist/esm/clusters/air-quality.d.ts +6 -6
- package/dist/esm/clusters/alarm-base.d.ts +25 -25
- package/dist/esm/clusters/ambient-context-sensing.d.js +6 -0
- package/dist/esm/clusters/ambient-context-sensing.d.js.map +6 -0
- package/dist/esm/clusters/ambient-context-sensing.d.ts +706 -0
- package/dist/esm/clusters/ambient-context-sensing.js +14 -0
- package/dist/esm/clusters/ambient-context-sensing.js.map +6 -0
- package/dist/esm/clusters/application-basic.d.ts +22 -22
- package/dist/esm/clusters/application-launcher.d.ts +30 -30
- package/dist/esm/clusters/audio-output.d.ts +17 -17
- package/dist/esm/clusters/basic-information.d.ts +111 -73
- package/dist/esm/clusters/binding.d.ts +9 -9
- package/dist/esm/clusters/boolean-state-configuration.d.ts +64 -41
- package/dist/esm/clusters/boolean-state.d.ts +55 -12
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +60 -60
- package/dist/esm/clusters/camera-av-settings-user-level-management.d.ts +71 -71
- package/dist/esm/clusters/camera-av-stream-management.d.ts +262 -232
- package/dist/esm/clusters/carbon-dioxide-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/carbon-monoxide-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/channel.d.ts +101 -101
- package/dist/esm/clusters/chime.d.ts +18 -18
- package/dist/esm/clusters/closure-control.d.ts +59 -59
- package/dist/esm/clusters/closure-dimension.d.ts +60 -60
- package/dist/esm/clusters/color-control.d.ts +226 -228
- package/dist/esm/clusters/commissioner-control.d.ts +14 -14
- package/dist/esm/clusters/commodity-metering.d.ts +13 -13
- package/dist/esm/clusters/commodity-price.d.ts +38 -38
- package/dist/esm/clusters/commodity-tariff.d.ts +106 -106
- package/dist/esm/clusters/concentration-measurement.d.ts +29 -29
- package/dist/esm/clusters/content-app-observer.d.ts +12 -12
- package/dist/esm/clusters/content-control.d.ts +103 -103
- package/dist/esm/clusters/content-launcher.d.ts +65 -65
- package/dist/esm/clusters/descriptor.d.ts +19 -19
- package/dist/esm/clusters/device-energy-management-mode.d.ts +30 -30
- package/dist/esm/clusters/device-energy-management.d.ts +128 -128
- package/dist/esm/clusters/diagnostic-logs.d.ts +29 -29
- package/dist/esm/clusters/dishwasher-alarm.d.ts +26 -26
- package/dist/esm/clusters/dishwasher-mode.d.ts +29 -29
- package/dist/esm/clusters/door-lock.d.ts +330 -330
- package/dist/esm/clusters/ecosystem-information.d.ts +21 -21
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +43 -43
- package/dist/esm/clusters/electrical-grid-conditions.d.ts +22 -22
- package/dist/esm/clusters/electrical-power-measurement.d.ts +67 -67
- package/dist/esm/clusters/energy-evse-mode.d.ts +30 -30
- package/dist/esm/clusters/energy-evse.d.ts +122 -122
- package/dist/esm/clusters/energy-preference.d.ts +22 -26
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +23 -23
- package/dist/esm/clusters/fan-control.d.ts +41 -41
- package/dist/esm/clusters/fixed-label.d.ts +4 -4
- package/dist/esm/clusters/flow-measurement.d.ts +11 -11
- package/dist/esm/clusters/formaldehyde-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/general-commissioning.d.ts +62 -60
- package/dist/esm/clusters/general-diagnostics.d.ts +142 -71
- package/dist/esm/clusters/group-key-management.d.ts +213 -80
- package/dist/esm/clusters/groupcast.d.js +6 -0
- package/dist/esm/clusters/groupcast.d.js.map +6 -0
- package/dist/esm/clusters/groupcast.d.ts +961 -0
- package/dist/esm/clusters/groupcast.js +14 -0
- package/dist/esm/clusters/groupcast.js.map +6 -0
- package/dist/esm/clusters/groups.d.ts +44 -36
- package/dist/esm/clusters/hepa-filter-monitoring.d.ts +15 -15
- package/dist/esm/clusters/icd-management.d.ts +55 -53
- package/dist/esm/clusters/identify.d.ts +15 -15
- package/dist/esm/clusters/illuminance-measurement.d.ts +14 -14
- package/dist/esm/clusters/index.d.ts +3 -0
- package/dist/esm/clusters/index.d.ts.map +1 -1
- package/dist/esm/clusters/index.js +9 -0
- package/dist/esm/clusters/index.js.map +1 -1
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +36 -81
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +979 -1193
- package/dist/esm/clusters/keypad-input.d.ts +12 -12
- package/dist/esm/clusters/label.d.ts +7 -7
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +7 -7
- package/dist/esm/clusters/laundry-washer-controls.d.ts +14 -14
- package/dist/esm/clusters/laundry-washer-mode.d.ts +30 -30
- package/dist/esm/clusters/level-control.d.ts +57 -57
- package/dist/esm/clusters/localization-configuration.d.ts +6 -6
- package/dist/esm/clusters/low-power.d.ts +3 -3
- package/dist/esm/clusters/media-input.d.ts +20 -20
- package/dist/esm/clusters/media-playback.d.ts +92 -92
- package/dist/esm/clusters/messages.d.ts +56 -56
- package/dist/esm/clusters/meter-identification.d.ts +14 -14
- package/dist/esm/clusters/microwave-oven-control.d.ts +31 -31
- package/dist/esm/clusters/microwave-oven-mode.d.ts +27 -27
- package/dist/esm/clusters/mode-base.d.ts +39 -39
- package/dist/esm/clusters/mode-select.d.ts +25 -25
- package/dist/esm/clusters/network-commissioning.d.ts +124 -116
- package/dist/esm/clusters/nitrogen-dioxide-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/occupancy-sensing.d.ts +67 -47
- package/dist/esm/clusters/on-off.d.ts +60 -46
- package/dist/esm/clusters/operational-credentials.d.ts +65 -65
- package/dist/esm/clusters/operational-state.d.ts +38 -38
- package/dist/esm/clusters/ota-software-update-provider.d.ts +39 -39
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +58 -58
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +22 -22
- package/dist/esm/clusters/oven-mode.d.ts +45 -43
- package/dist/esm/clusters/ozone-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/pm1-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/pm10-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/pm25-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/power-source-configuration.d.ts +4 -4
- package/dist/esm/clusters/power-source.d.ts +92 -92
- package/dist/esm/clusters/power-topology.d.ts +7 -43
- package/dist/esm/clusters/pressure-measurement.d.ts +22 -22
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +111 -111
- package/dist/esm/clusters/push-av-stream-transport.d.ts +129 -147
- package/dist/esm/clusters/radon-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/refrigerator-alarm.d.ts +22 -22
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +28 -28
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +11 -11
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/rvc-clean-mode.d.ts +34 -34
- package/dist/esm/clusters/rvc-operational-state.d.ts +33 -33
- package/dist/esm/clusters/rvc-run-mode.d.ts +40 -40
- package/dist/esm/clusters/scenes-management.d.ts +94 -94
- package/dist/esm/clusters/service-area.d.ts +47 -47
- package/dist/esm/clusters/smoke-co-alarm.d.ts +126 -90
- package/dist/esm/clusters/software-diagnostics.d.ts +24 -24
- package/dist/esm/clusters/soil-measurement.d.ts +6 -6
- package/dist/esm/clusters/switch.d.ts +43 -43
- package/dist/esm/clusters/target-navigator.d.ts +22 -22
- package/dist/esm/clusters/temperature-alarm.d.js +6 -0
- package/dist/esm/clusters/temperature-alarm.d.js.map +6 -0
- package/dist/esm/clusters/temperature-alarm.d.ts +706 -0
- package/dist/esm/clusters/temperature-alarm.js +14 -0
- package/dist/esm/clusters/temperature-alarm.js.map +6 -0
- package/dist/esm/clusters/temperature-control.d.ts +22 -22
- package/dist/esm/clusters/temperature-measurement.d.ts +11 -11
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +11 -11
- package/dist/esm/clusters/thermostat.d.ts +1001 -200
- package/dist/esm/clusters/thread-border-router-management.d.ts +26 -26
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +187 -187
- package/dist/esm/clusters/thread-network-directory.d.ts +21 -21
- package/dist/esm/clusters/time-format-localization.d.ts +11 -11
- package/dist/esm/clusters/time-synchronization.d.ts +85 -85
- package/dist/esm/clusters/tls-certificate-management.d.ts +62 -62
- package/dist/esm/clusters/tls-client-management.d.ts +36 -36
- package/dist/esm/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts +25 -25
- package/dist/esm/clusters/unit-localization.d.ts +8 -8
- package/dist/esm/clusters/user-label.d.ts +4 -4
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +45 -45
- package/dist/esm/clusters/wake-on-lan.d.ts +6 -6
- package/dist/esm/clusters/water-heater-management.d.ts +32 -32
- package/dist/esm/clusters/water-heater-mode.d.ts +29 -29
- package/dist/esm/clusters/water-tank-level-monitoring.d.ts +15 -15
- package/dist/esm/clusters/web-rtc-transport-definitions.d.ts +22 -22
- package/dist/esm/clusters/web-rtc-transport-provider.d.ts +52 -105
- package/dist/esm/clusters/web-rtc-transport-requestor.d.ts +22 -22
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +46 -46
- package/dist/esm/clusters/wi-fi-network-management.d.ts +9 -9
- package/dist/esm/clusters/window-covering.d.ts +61 -61
- package/dist/esm/clusters/zone-management.d.ts +79 -79
- package/dist/esm/datatype/AttributeId.d.ts +1 -1
- package/dist/esm/datatype/CaseAuthenticatedTag.d.ts +3 -3
- package/dist/esm/datatype/ClusterId.d.ts +1 -1
- package/dist/esm/datatype/CommandId.d.ts +1 -1
- package/dist/esm/datatype/DataVersion.d.ts +1 -1
- package/dist/esm/datatype/DeviceTypeId.d.ts +1 -1
- package/dist/esm/datatype/EndpointNumber.d.ts +1 -1
- package/dist/esm/datatype/EntryIndex.d.ts +1 -1
- package/dist/esm/datatype/EventId.d.ts +1 -1
- package/dist/esm/datatype/EventNumber.d.ts +1 -1
- package/dist/esm/datatype/FabricId.d.ts +1 -1
- package/dist/esm/datatype/FabricIndex.d.ts +4 -3
- package/dist/esm/datatype/FabricIndex.d.ts.map +1 -1
- package/dist/esm/datatype/FabricIndex.js.map +1 -1
- package/dist/esm/datatype/FieldId.d.ts +1 -1
- package/dist/esm/datatype/GlobalFabricId.d.ts +1 -1
- package/dist/esm/datatype/GroupId.d.ts +1 -1
- package/dist/esm/datatype/NodeId.d.ts +1 -1
- package/dist/esm/datatype/SubjectId.d.ts +1 -1
- package/dist/esm/datatype/VendorId.d.ts +1 -1
- package/dist/esm/dcl/attestation-certificate.d.ts +1 -1
- package/dist/esm/dcl/device-attestation-revocation.d.ts +3 -3
- package/dist/esm/dcl/device-software-compliance.d.ts +1 -1
- package/dist/esm/dcl/device-software-version.d.ts +1 -1
- package/dist/esm/dcl/device.d.ts +2 -2
- package/dist/esm/dcl/operational-certificate.d.ts +1 -1
- package/dist/esm/dcl/vendor.d.ts +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/CertificationType.d.ts +24 -0
- package/dist/esm/globals/CertificationType.d.ts.map +1 -0
- package/dist/esm/globals/CertificationType.js +15 -0
- package/dist/esm/globals/CertificationType.js.map +6 -0
- package/dist/esm/globals/Currency.d.ts +2 -2
- 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/Namespace.d.ts +34 -2
- package/dist/esm/globals/Namespace.d.ts.map +1 -1
- package/dist/esm/globals/Namespace.js +3 -0
- package/dist/esm/globals/Namespace.js.map +1 -1
- package/dist/esm/globals/PowerThreshold.d.ts +5 -5
- package/dist/esm/globals/PowerThreshold.js +3 -3
- package/dist/esm/globals/PowerThresholdSource.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- 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 +36 -36
- package/dist/esm/globals/StreamUsage.d.ts +5 -5
- package/dist/esm/globals/TariffPriceType.d.ts +6 -6
- package/dist/esm/globals/TariffUnit.d.ts +1 -1
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/Viewport.d.ts +6 -6
- package/dist/esm/globals/Viewport.js +4 -4
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/globals/index.d.ts +1 -0
- package/dist/esm/globals/index.d.ts.map +1 -1
- package/dist/esm/globals/index.js +1 -0
- package/dist/esm/globals/index.js.map +1 -1
- package/dist/esm/protocol/messages/TlvDataReport.d.ts +3 -1
- package/dist/esm/protocol/messages/TlvDataReport.d.ts.map +1 -1
- package/dist/esm/protocol/messages/TlvInvokeRequest.d.ts +1 -1
- package/dist/esm/protocol/messages/TlvInvokeResponse.d.ts +1 -1
- package/dist/esm/protocol/messages/TlvReadRequest.d.ts +2 -1
- package/dist/esm/protocol/messages/TlvReadRequest.d.ts.map +1 -1
- package/dist/esm/protocol/messages/TlvStatusResponse.d.ts +2 -2
- package/dist/esm/protocol/messages/TlvStatusResponse.js +1 -1
- package/dist/esm/protocol/messages/TlvSubscribeRequest.d.ts +2 -1
- package/dist/esm/protocol/messages/TlvSubscribeRequest.d.ts.map +1 -1
- package/dist/esm/protocol/messages/TlvSubscribeResponse.d.ts +1 -1
- package/dist/esm/protocol/messages/TlvTimedRequest.d.ts +1 -1
- package/dist/esm/protocol/messages/TlvWriteRequest.d.ts +2 -1
- package/dist/esm/protocol/messages/TlvWriteRequest.d.ts.map +1 -1
- package/dist/esm/protocol/messages/TlvWriteResponse.d.ts +2 -1
- package/dist/esm/protocol/messages/TlvWriteResponse.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeData.d.ts +2 -1
- package/dist/esm/protocol/types/TlvAttributeData.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributePath.d.ts +2 -1
- package/dist/esm/protocol/types/TlvAttributePath.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributePath.js +2 -1
- package/dist/esm/protocol/types/TlvAttributePath.js.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeReport.d.ts +3 -1
- package/dist/esm/protocol/types/TlvAttributeReport.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeReportData.d.ts +1 -0
- package/dist/esm/protocol/types/TlvAttributeReportData.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeStatus.d.ts +2 -1
- package/dist/esm/protocol/types/TlvAttributeStatus.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvClusterPath.d.ts +1 -1
- package/dist/esm/protocol/types/TlvCommandData.d.ts +1 -1
- package/dist/esm/protocol/types/TlvCommandPath.d.ts +1 -1
- package/dist/esm/protocol/types/TlvCommandStatus.d.ts +1 -1
- package/dist/esm/protocol/types/TlvDataVersionFilter.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventData.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventFilter.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventPath.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventReport.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventStatus.d.ts +1 -1
- package/dist/esm/protocol/types/TlvInvokeResponseData.d.ts +1 -1
- package/dist/esm/protocol/types/TlvStatus.d.ts +1 -1
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.d.ts +1 -1
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.d.ts.map +1 -1
- package/dist/esm/schema/Base38Schema.d.ts +1 -1
- package/dist/esm/schema/PairingCodeSchema.d.ts +26 -12
- package/dist/esm/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.js +8 -1
- package/dist/esm/schema/PairingCodeSchema.js.map +1 -1
- package/dist/esm/tlv/TlvArray.d.ts +1 -1
- package/dist/esm/tlv/TlvBoolean.d.ts +1 -1
- package/dist/esm/tlv/TlvCodec.d.ts +4 -4
- package/dist/esm/tlv/TlvCodec.js +2 -2
- package/dist/esm/tlv/TlvNullable.d.ts +1 -1
- package/dist/esm/tlv/TlvNumber.d.ts +1 -1
- package/dist/esm/tlv/TlvObject.d.ts +1 -1
- package/package.json +4 -4
- package/src/clusters/access-control.d.ts +252 -75
- package/src/clusters/account-login.d.ts +22 -22
- package/src/clusters/actions.d.ts +76 -76
- package/src/clusters/activated-carbon-filter-monitoring.d.ts +15 -15
- package/src/clusters/administrator-commissioning.d.ts +25 -25
- package/src/clusters/air-quality.d.ts +6 -6
- package/src/clusters/alarm-base.d.ts +25 -25
- package/src/clusters/ambient-context-sensing.d.ts +706 -0
- package/src/clusters/ambient-context-sensing.js +13 -0
- package/src/clusters/application-basic.d.ts +22 -22
- package/src/clusters/application-launcher.d.ts +30 -30
- package/src/clusters/audio-output.d.ts +17 -17
- package/src/clusters/basic-information.d.ts +111 -73
- package/src/clusters/binding.d.ts +9 -9
- package/src/clusters/boolean-state-configuration.d.ts +64 -41
- package/src/clusters/boolean-state.d.ts +55 -12
- package/src/clusters/bridged-device-basic-information.d.ts +60 -60
- package/src/clusters/camera-av-settings-user-level-management.d.ts +71 -71
- package/src/clusters/camera-av-stream-management.d.ts +262 -232
- package/src/clusters/carbon-dioxide-concentration-measurement.d.ts +25 -25
- package/src/clusters/carbon-monoxide-concentration-measurement.d.ts +25 -25
- package/src/clusters/channel.d.ts +101 -101
- package/src/clusters/chime.d.ts +18 -18
- package/src/clusters/closure-control.d.ts +59 -59
- package/src/clusters/closure-dimension.d.ts +60 -60
- package/src/clusters/color-control.d.ts +226 -228
- package/src/clusters/commissioner-control.d.ts +14 -14
- package/src/clusters/commodity-metering.d.ts +13 -13
- package/src/clusters/commodity-price.d.ts +38 -38
- package/src/clusters/commodity-tariff.d.ts +106 -106
- package/src/clusters/concentration-measurement.d.ts +29 -29
- package/src/clusters/content-app-observer.d.ts +12 -12
- package/src/clusters/content-control.d.ts +103 -103
- package/src/clusters/content-launcher.d.ts +65 -65
- package/src/clusters/descriptor.d.ts +19 -19
- package/src/clusters/device-energy-management-mode.d.ts +30 -30
- package/src/clusters/device-energy-management.d.ts +128 -128
- package/src/clusters/diagnostic-logs.d.ts +29 -29
- package/src/clusters/dishwasher-alarm.d.ts +26 -26
- package/src/clusters/dishwasher-mode.d.ts +29 -29
- package/src/clusters/door-lock.d.ts +330 -330
- package/src/clusters/ecosystem-information.d.ts +21 -21
- package/src/clusters/electrical-energy-measurement.d.ts +43 -43
- package/src/clusters/electrical-grid-conditions.d.ts +22 -22
- package/src/clusters/electrical-power-measurement.d.ts +67 -67
- package/src/clusters/energy-evse-mode.d.ts +30 -30
- package/src/clusters/energy-evse.d.ts +122 -122
- package/src/clusters/energy-preference.d.ts +22 -26
- package/src/clusters/ethernet-network-diagnostics.d.ts +23 -23
- package/src/clusters/fan-control.d.ts +41 -41
- package/src/clusters/fixed-label.d.ts +4 -4
- package/src/clusters/flow-measurement.d.ts +11 -11
- package/src/clusters/formaldehyde-concentration-measurement.d.ts +25 -25
- package/src/clusters/general-commissioning.d.ts +62 -60
- package/src/clusters/general-diagnostics.d.ts +142 -71
- package/src/clusters/group-key-management.d.ts +213 -80
- package/src/clusters/groupcast.d.ts +961 -0
- package/src/clusters/groupcast.js +13 -0
- package/src/clusters/groups.d.ts +44 -36
- package/src/clusters/hepa-filter-monitoring.d.ts +15 -15
- package/src/clusters/icd-management.d.ts +55 -53
- package/src/clusters/identify.d.ts +15 -15
- package/src/clusters/illuminance-measurement.d.ts +14 -14
- package/src/clusters/index.ts +3 -0
- package/src/clusters/joint-fabric-administrator.d.ts +36 -81
- package/src/clusters/joint-fabric-datastore.d.ts +979 -1193
- package/src/clusters/keypad-input.d.ts +12 -12
- package/src/clusters/label.d.ts +7 -7
- package/src/clusters/laundry-dryer-controls.d.ts +7 -7
- package/src/clusters/laundry-washer-controls.d.ts +14 -14
- package/src/clusters/laundry-washer-mode.d.ts +30 -30
- package/src/clusters/level-control.d.ts +57 -57
- package/src/clusters/localization-configuration.d.ts +6 -6
- package/src/clusters/low-power.d.ts +3 -3
- package/src/clusters/media-input.d.ts +20 -20
- package/src/clusters/media-playback.d.ts +92 -92
- package/src/clusters/messages.d.ts +56 -56
- package/src/clusters/meter-identification.d.ts +14 -14
- package/src/clusters/microwave-oven-control.d.ts +31 -31
- package/src/clusters/microwave-oven-mode.d.ts +27 -27
- package/src/clusters/mode-base.d.ts +39 -39
- package/src/clusters/mode-select.d.ts +25 -25
- package/src/clusters/network-commissioning.d.ts +124 -116
- package/src/clusters/nitrogen-dioxide-concentration-measurement.d.ts +25 -25
- package/src/clusters/occupancy-sensing.d.ts +67 -47
- package/src/clusters/on-off.d.ts +60 -46
- package/src/clusters/operational-credentials.d.ts +65 -65
- package/src/clusters/operational-state.d.ts +38 -38
- package/src/clusters/ota-software-update-provider.d.ts +39 -39
- package/src/clusters/ota-software-update-requestor.d.ts +58 -58
- package/src/clusters/oven-cavity-operational-state.d.ts +22 -22
- package/src/clusters/oven-mode.d.ts +45 -43
- package/src/clusters/ozone-concentration-measurement.d.ts +25 -25
- package/src/clusters/pm1-concentration-measurement.d.ts +25 -25
- package/src/clusters/pm10-concentration-measurement.d.ts +25 -25
- package/src/clusters/pm25-concentration-measurement.d.ts +25 -25
- package/src/clusters/power-source-configuration.d.ts +4 -4
- package/src/clusters/power-source.d.ts +92 -92
- package/src/clusters/power-topology.d.ts +7 -43
- package/src/clusters/pressure-measurement.d.ts +22 -22
- package/src/clusters/pump-configuration-and-control.d.ts +111 -111
- package/src/clusters/push-av-stream-transport.d.ts +129 -147
- package/src/clusters/radon-concentration-measurement.d.ts +25 -25
- package/src/clusters/refrigerator-alarm.d.ts +22 -22
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +28 -28
- package/src/clusters/relative-humidity-measurement.d.ts +11 -11
- package/src/clusters/resource-monitoring.d.ts +20 -20
- package/src/clusters/rvc-clean-mode.d.ts +34 -34
- package/src/clusters/rvc-operational-state.d.ts +33 -33
- package/src/clusters/rvc-run-mode.d.ts +40 -40
- package/src/clusters/scenes-management.d.ts +94 -94
- package/src/clusters/service-area.d.ts +47 -47
- package/src/clusters/smoke-co-alarm.d.ts +126 -90
- package/src/clusters/software-diagnostics.d.ts +24 -24
- package/src/clusters/soil-measurement.d.ts +6 -6
- package/src/clusters/switch.d.ts +43 -43
- package/src/clusters/target-navigator.d.ts +22 -22
- package/src/clusters/temperature-alarm.d.ts +706 -0
- package/src/clusters/temperature-alarm.js +13 -0
- package/src/clusters/temperature-control.d.ts +22 -22
- package/src/clusters/temperature-measurement.d.ts +11 -11
- package/src/clusters/thermostat-user-interface-configuration.d.ts +11 -11
- package/src/clusters/thermostat.d.ts +1001 -200
- package/src/clusters/thread-border-router-management.d.ts +26 -26
- package/src/clusters/thread-network-diagnostics.d.ts +187 -187
- package/src/clusters/thread-network-directory.d.ts +21 -21
- package/src/clusters/time-format-localization.d.ts +11 -11
- package/src/clusters/time-synchronization.d.ts +85 -85
- package/src/clusters/tls-certificate-management.d.ts +62 -62
- package/src/clusters/tls-client-management.d.ts +36 -36
- package/src/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts +25 -25
- package/src/clusters/unit-localization.d.ts +8 -8
- package/src/clusters/user-label.d.ts +4 -4
- package/src/clusters/valve-configuration-and-control.d.ts +45 -45
- package/src/clusters/wake-on-lan.d.ts +6 -6
- package/src/clusters/water-heater-management.d.ts +32 -32
- package/src/clusters/water-heater-mode.d.ts +29 -29
- package/src/clusters/water-tank-level-monitoring.d.ts +15 -15
- package/src/clusters/web-rtc-transport-definitions.d.ts +22 -22
- package/src/clusters/web-rtc-transport-provider.d.ts +52 -105
- package/src/clusters/web-rtc-transport-requestor.d.ts +22 -22
- package/src/clusters/wi-fi-network-diagnostics.d.ts +46 -46
- package/src/clusters/wi-fi-network-management.d.ts +9 -9
- package/src/clusters/window-covering.d.ts +61 -61
- package/src/clusters/zone-management.d.ts +79 -79
- package/src/datatype/AttributeId.ts +1 -1
- package/src/datatype/CaseAuthenticatedTag.ts +4 -4
- package/src/datatype/ClusterId.ts +1 -1
- package/src/datatype/CommandId.ts +1 -1
- package/src/datatype/DataVersion.ts +1 -1
- package/src/datatype/DeviceTypeId.ts +1 -1
- package/src/datatype/EndpointNumber.ts +1 -1
- package/src/datatype/EntryIndex.ts +1 -1
- package/src/datatype/EventId.ts +1 -1
- package/src/datatype/EventNumber.ts +1 -1
- package/src/datatype/FabricId.ts +1 -1
- package/src/datatype/FabricIndex.ts +4 -3
- package/src/datatype/FieldId.ts +1 -1
- package/src/datatype/GlobalFabricId.ts +1 -1
- package/src/datatype/GroupId.ts +1 -1
- package/src/datatype/NodeId.ts +1 -1
- package/src/datatype/SubjectId.ts +1 -1
- package/src/datatype/VendorId.ts +1 -1
- package/src/dcl/attestation-certificate.ts +1 -1
- package/src/dcl/device-attestation-revocation.ts +3 -3
- package/src/dcl/device-software-compliance.ts +1 -1
- package/src/dcl/device-software-version.ts +1 -1
- package/src/dcl/device.ts +2 -2
- package/src/dcl/operational-certificate.ts +1 -1
- package/src/dcl/vendor.ts +1 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/CertificationType.ts +27 -0
- package/src/globals/Currency.ts +2 -2
- 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/Namespace.ts +37 -2
- package/src/globals/PowerThreshold.ts +5 -5
- package/src/globals/PowerThresholdSource.ts +1 -1
- package/src/globals/Price.ts +2 -2
- 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 +36 -36
- package/src/globals/StreamUsage.ts +5 -5
- package/src/globals/TariffPriceType.ts +6 -6
- package/src/globals/TariffUnit.ts +1 -1
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/Viewport.ts +6 -6
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/src/globals/index.ts +1 -0
- package/src/protocol/messages/TlvDataReport.ts +1 -1
- package/src/protocol/messages/TlvInvokeRequest.ts +1 -1
- package/src/protocol/messages/TlvInvokeResponse.ts +1 -1
- package/src/protocol/messages/TlvReadRequest.ts +1 -1
- package/src/protocol/messages/TlvStatusResponse.ts +2 -2
- package/src/protocol/messages/TlvSubscribeRequest.ts +1 -1
- package/src/protocol/messages/TlvSubscribeResponse.ts +1 -1
- package/src/protocol/messages/TlvTimedRequest.ts +1 -1
- package/src/protocol/messages/TlvWriteRequest.ts +1 -1
- package/src/protocol/messages/TlvWriteResponse.ts +1 -1
- package/src/protocol/types/TlvAttributeData.ts +1 -1
- package/src/protocol/types/TlvAttributePath.ts +2 -1
- package/src/protocol/types/TlvAttributeReport.ts +1 -1
- package/src/protocol/types/TlvAttributeStatus.ts +1 -1
- package/src/protocol/types/TlvClusterPath.ts +1 -1
- package/src/protocol/types/TlvCommandData.ts +1 -1
- package/src/protocol/types/TlvCommandPath.ts +1 -1
- package/src/protocol/types/TlvCommandStatus.ts +1 -1
- package/src/protocol/types/TlvDataVersionFilter.ts +1 -1
- package/src/protocol/types/TlvEventData.ts +1 -1
- package/src/protocol/types/TlvEventFilter.ts +1 -1
- package/src/protocol/types/TlvEventPath.ts +1 -1
- package/src/protocol/types/TlvEventReport.ts +1 -1
- package/src/protocol/types/TlvEventStatus.ts +1 -1
- package/src/protocol/types/TlvInvokeResponseData.ts +1 -1
- package/src/protocol/types/TlvStatus.ts +1 -1
- package/src/protocol/types/WildcardPathFlagsBitmap.ts +1 -1
- package/src/schema/Base38Schema.ts +1 -1
- package/src/schema/PairingCodeSchema.ts +20 -12
- package/src/tlv/TlvArray.ts +1 -1
- package/src/tlv/TlvBoolean.ts +1 -1
- package/src/tlv/TlvCodec.ts +7 -7
- package/src/tlv/TlvNullable.ts +2 -2
- package/src/tlv/TlvNumber.ts +1 -1
- package/src/tlv/TlvObject.ts +1 -1
- package/src/tlv/TlvString.ts +1 -1
|
@@ -44,11 +44,7 @@ import type { SubjectId } from "../datatype/SubjectId.js";
|
|
|
44
44
|
* The Admin level of access to the Joint Fabric Datastore cluster server shall be limited to JF Administrator Nodes
|
|
45
45
|
* identified using the Administrator CAT.
|
|
46
46
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* > NOTE: Support for Joint Fabric Datastore cluster is provisional.
|
|
50
|
-
*
|
|
51
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24
|
|
47
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24
|
|
52
48
|
*/
|
|
53
49
|
export declare namespace JointFabricDatastore {
|
|
54
50
|
/**
|
|
@@ -62,7 +58,7 @@ export declare namespace JointFabricDatastore {
|
|
|
62
58
|
export const name: "JointFabricDatastore";
|
|
63
59
|
|
|
64
60
|
/**
|
|
65
|
-
* The cluster revision assigned by {@link MatterSpecification.
|
|
61
|
+
* The cluster revision assigned by {@link MatterSpecification.v16.Cluster}.
|
|
66
62
|
*/
|
|
67
63
|
export const revision: 1;
|
|
68
64
|
|
|
@@ -81,28 +77,28 @@ export declare namespace JointFabricDatastore {
|
|
|
81
77
|
* This shall indicate the Anchor Root CA used to sign all NOC Issuers in the Joint Fabric for the accessing
|
|
82
78
|
* fabric. A null value indicates that the Joint Fabric is not yet formed.
|
|
83
79
|
*
|
|
84
|
-
* @see {@link MatterSpecification.
|
|
80
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.1
|
|
85
81
|
*/
|
|
86
82
|
anchorRootCa: Bytes;
|
|
87
83
|
|
|
88
84
|
/**
|
|
89
85
|
* This shall indicate the Node identifier of the Joint Fabric Anchor Root CA for the accessing fabric.
|
|
90
86
|
*
|
|
91
|
-
* @see {@link MatterSpecification.
|
|
87
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.2
|
|
92
88
|
*/
|
|
93
89
|
anchorNodeId: NodeId;
|
|
94
90
|
|
|
95
91
|
/**
|
|
96
92
|
* This shall indicate the Vendor identifier of the Joint Fabric Anchor Root CA for the accessing fabric.
|
|
97
93
|
*
|
|
98
|
-
* @see {@link MatterSpecification.
|
|
94
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.3
|
|
99
95
|
*/
|
|
100
96
|
anchorVendorId: VendorId;
|
|
101
97
|
|
|
102
98
|
/**
|
|
103
|
-
* Friendly name for the accessing fabric
|
|
99
|
+
* Friendly name for the accessing fabric.
|
|
104
100
|
*
|
|
105
|
-
* @see {@link MatterSpecification.
|
|
101
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.4
|
|
106
102
|
*/
|
|
107
103
|
friendlyName: string;
|
|
108
104
|
|
|
@@ -111,24 +107,24 @@ export declare namespace JointFabricDatastore {
|
|
|
111
107
|
*
|
|
112
108
|
* This attribute shall contain at least one entry, the IPK, which has GroupKeySetID of 0.
|
|
113
109
|
*
|
|
114
|
-
* @see {@link MatterSpecification.
|
|
110
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.5
|
|
115
111
|
*/
|
|
116
112
|
groupKeySetList: DatastoreGroupKeySet[];
|
|
117
113
|
|
|
118
114
|
/**
|
|
119
115
|
* This shall indicate the list of groups in the Joint Fabric for the accessing fabric.
|
|
120
116
|
*
|
|
121
|
-
* This list
|
|
117
|
+
* This list shall include, at a minimum, one group with GroupCAT value set to Administrator CAT and one group
|
|
122
118
|
* with GroupCAT value set to Anchor CAT.
|
|
123
119
|
*
|
|
124
|
-
* @see {@link MatterSpecification.
|
|
120
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.6
|
|
125
121
|
*/
|
|
126
122
|
groupList: DatastoreGroupInformationEntry[];
|
|
127
123
|
|
|
128
124
|
/**
|
|
129
125
|
* This shall indicate the list of nodes in the Joint Fabric for the accessing fabric.
|
|
130
126
|
*
|
|
131
|
-
* @see {@link MatterSpecification.
|
|
127
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.7
|
|
132
128
|
*/
|
|
133
129
|
nodeList: DatastoreNodeInformationEntry[];
|
|
134
130
|
|
|
@@ -138,70 +134,60 @@ export declare namespace JointFabricDatastore {
|
|
|
138
134
|
* Only one Administrator may serve as the Anchor Root CA and Anchor Fabric Administrator and shall have index
|
|
139
135
|
* value 0. All other Joint Fabric Administrators shall be referenced at index 1 or greater.
|
|
140
136
|
*
|
|
141
|
-
*
|
|
137
|
+
* An empty list indicates that the Joint Fabric is not yet formed.
|
|
142
138
|
*
|
|
143
|
-
* @see {@link MatterSpecification.
|
|
139
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.8
|
|
144
140
|
*/
|
|
145
141
|
adminList: DatastoreAdministratorInformationEntry[];
|
|
146
142
|
|
|
147
143
|
/**
|
|
148
144
|
* This shall indicate the current state of the Joint Fabric Datastore Cluster for the accessing fabric.
|
|
149
145
|
*
|
|
150
|
-
* The
|
|
151
|
-
*
|
|
152
|
-
*
|
|
146
|
+
* The value shall be one of the following states:
|
|
147
|
+
*
|
|
148
|
+
* - Committed - indicates the DataStore is ready for use.
|
|
149
|
+
*
|
|
150
|
+
* - Pending - indicates that the DataStore is not yet ready for use.
|
|
153
151
|
*
|
|
154
|
-
*
|
|
152
|
+
* - DeletePending - indicates that the DataStore is in the process of being transferred to another Joint
|
|
153
|
+
* Fabric Anchor Administrator.
|
|
154
|
+
*
|
|
155
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.9
|
|
155
156
|
*/
|
|
156
157
|
status: DatastoreStatusEntry;
|
|
157
158
|
|
|
158
159
|
/**
|
|
159
160
|
* This shall indicate the group membership of endpoints in the accessing fabric.
|
|
160
161
|
*
|
|
161
|
-
*
|
|
162
|
-
* reflected in the Status Entry.
|
|
163
|
-
*
|
|
164
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.10
|
|
162
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.10
|
|
165
163
|
*/
|
|
166
164
|
endpointGroupIdList: DatastoreEndpointGroupIdEntry[];
|
|
167
165
|
|
|
168
166
|
/**
|
|
169
167
|
* This shall indicate the binding list for endpoints in the accessing fabric.
|
|
170
168
|
*
|
|
171
|
-
*
|
|
172
|
-
* reflected in the Status Entry.
|
|
173
|
-
*
|
|
174
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.11
|
|
169
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.11
|
|
175
170
|
*/
|
|
176
171
|
endpointBindingList: DatastoreEndpointBindingEntry[];
|
|
177
172
|
|
|
178
173
|
/**
|
|
179
174
|
* This shall indicate the KeySet entries for nodes in the accessing fabric.
|
|
180
175
|
*
|
|
181
|
-
*
|
|
182
|
-
* reflected in the Status Entry.
|
|
183
|
-
*
|
|
184
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.12
|
|
176
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.12
|
|
185
177
|
*/
|
|
186
178
|
nodeKeySetList: DatastoreNodeKeySetEntry[];
|
|
187
179
|
|
|
188
180
|
/**
|
|
189
181
|
* This shall indicate the ACL entries for nodes in the accessing fabric.
|
|
190
182
|
*
|
|
191
|
-
*
|
|
192
|
-
* reflected in the Status Entry.
|
|
193
|
-
*
|
|
194
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.13
|
|
183
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.13
|
|
195
184
|
*/
|
|
196
185
|
nodeAclList: DatastoreAclEntry[];
|
|
197
186
|
|
|
198
187
|
/**
|
|
199
188
|
* This shall indicate the Endpoint entries for nodes in the accessing fabric.
|
|
200
189
|
*
|
|
201
|
-
*
|
|
202
|
-
* reflected in the Status Entry.
|
|
203
|
-
*
|
|
204
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.14
|
|
190
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.14
|
|
205
191
|
*/
|
|
206
192
|
nodeEndpointList: DatastoreEndpointEntry[];
|
|
207
193
|
}
|
|
@@ -214,28 +200,28 @@ export declare namespace JointFabricDatastore {
|
|
|
214
200
|
* This shall indicate the Anchor Root CA used to sign all NOC Issuers in the Joint Fabric for the accessing
|
|
215
201
|
* fabric. A null value indicates that the Joint Fabric is not yet formed.
|
|
216
202
|
*
|
|
217
|
-
* @see {@link MatterSpecification.
|
|
203
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.1
|
|
218
204
|
*/
|
|
219
205
|
anchorRootCa: Bytes;
|
|
220
206
|
|
|
221
207
|
/**
|
|
222
208
|
* This shall indicate the Node identifier of the Joint Fabric Anchor Root CA for the accessing fabric.
|
|
223
209
|
*
|
|
224
|
-
* @see {@link MatterSpecification.
|
|
210
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.2
|
|
225
211
|
*/
|
|
226
212
|
anchorNodeId: NodeId;
|
|
227
213
|
|
|
228
214
|
/**
|
|
229
215
|
* This shall indicate the Vendor identifier of the Joint Fabric Anchor Root CA for the accessing fabric.
|
|
230
216
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
217
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.3
|
|
232
218
|
*/
|
|
233
219
|
anchorVendorId: VendorId;
|
|
234
220
|
|
|
235
221
|
/**
|
|
236
|
-
* Friendly name for the accessing fabric
|
|
222
|
+
* Friendly name for the accessing fabric.
|
|
237
223
|
*
|
|
238
|
-
* @see {@link MatterSpecification.
|
|
224
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.4
|
|
239
225
|
*/
|
|
240
226
|
friendlyName: string;
|
|
241
227
|
|
|
@@ -244,24 +230,24 @@ export declare namespace JointFabricDatastore {
|
|
|
244
230
|
*
|
|
245
231
|
* This attribute shall contain at least one entry, the IPK, which has GroupKeySetID of 0.
|
|
246
232
|
*
|
|
247
|
-
* @see {@link MatterSpecification.
|
|
233
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.5
|
|
248
234
|
*/
|
|
249
235
|
groupKeySetList: DatastoreGroupKeySet[];
|
|
250
236
|
|
|
251
237
|
/**
|
|
252
238
|
* This shall indicate the list of groups in the Joint Fabric for the accessing fabric.
|
|
253
239
|
*
|
|
254
|
-
* This list
|
|
240
|
+
* This list shall include, at a minimum, one group with GroupCAT value set to Administrator CAT and one group
|
|
255
241
|
* with GroupCAT value set to Anchor CAT.
|
|
256
242
|
*
|
|
257
|
-
* @see {@link MatterSpecification.
|
|
243
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.6
|
|
258
244
|
*/
|
|
259
245
|
groupList: DatastoreGroupInformationEntry[];
|
|
260
246
|
|
|
261
247
|
/**
|
|
262
248
|
* This shall indicate the list of nodes in the Joint Fabric for the accessing fabric.
|
|
263
249
|
*
|
|
264
|
-
* @see {@link MatterSpecification.
|
|
250
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.7
|
|
265
251
|
*/
|
|
266
252
|
nodeList: DatastoreNodeInformationEntry[];
|
|
267
253
|
|
|
@@ -271,70 +257,60 @@ export declare namespace JointFabricDatastore {
|
|
|
271
257
|
* Only one Administrator may serve as the Anchor Root CA and Anchor Fabric Administrator and shall have index
|
|
272
258
|
* value 0. All other Joint Fabric Administrators shall be referenced at index 1 or greater.
|
|
273
259
|
*
|
|
274
|
-
*
|
|
260
|
+
* An empty list indicates that the Joint Fabric is not yet formed.
|
|
275
261
|
*
|
|
276
|
-
* @see {@link MatterSpecification.
|
|
262
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.8
|
|
277
263
|
*/
|
|
278
264
|
adminList: DatastoreAdministratorInformationEntry[];
|
|
279
265
|
|
|
280
266
|
/**
|
|
281
267
|
* This shall indicate the current state of the Joint Fabric Datastore Cluster for the accessing fabric.
|
|
282
268
|
*
|
|
283
|
-
* The
|
|
284
|
-
*
|
|
285
|
-
*
|
|
269
|
+
* The value shall be one of the following states:
|
|
270
|
+
*
|
|
271
|
+
* - Committed - indicates the DataStore is ready for use.
|
|
272
|
+
*
|
|
273
|
+
* - Pending - indicates that the DataStore is not yet ready for use.
|
|
286
274
|
*
|
|
287
|
-
*
|
|
275
|
+
* - DeletePending - indicates that the DataStore is in the process of being transferred to another Joint
|
|
276
|
+
* Fabric Anchor Administrator.
|
|
277
|
+
*
|
|
278
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.9
|
|
288
279
|
*/
|
|
289
280
|
status: DatastoreStatusEntry;
|
|
290
281
|
|
|
291
282
|
/**
|
|
292
283
|
* This shall indicate the group membership of endpoints in the accessing fabric.
|
|
293
284
|
*
|
|
294
|
-
*
|
|
295
|
-
* reflected in the Status Entry.
|
|
296
|
-
*
|
|
297
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.10
|
|
285
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.10
|
|
298
286
|
*/
|
|
299
287
|
endpointGroupIdList: DatastoreEndpointGroupIdEntry[];
|
|
300
288
|
|
|
301
289
|
/**
|
|
302
290
|
* This shall indicate the binding list for endpoints in the accessing fabric.
|
|
303
291
|
*
|
|
304
|
-
*
|
|
305
|
-
* reflected in the Status Entry.
|
|
306
|
-
*
|
|
307
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.11
|
|
292
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.11
|
|
308
293
|
*/
|
|
309
294
|
endpointBindingList: DatastoreEndpointBindingEntry[];
|
|
310
295
|
|
|
311
296
|
/**
|
|
312
297
|
* This shall indicate the KeySet entries for nodes in the accessing fabric.
|
|
313
298
|
*
|
|
314
|
-
*
|
|
315
|
-
* reflected in the Status Entry.
|
|
316
|
-
*
|
|
317
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.12
|
|
299
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.12
|
|
318
300
|
*/
|
|
319
301
|
nodeKeySetList: DatastoreNodeKeySetEntry[];
|
|
320
302
|
|
|
321
303
|
/**
|
|
322
304
|
* This shall indicate the ACL entries for nodes in the accessing fabric.
|
|
323
305
|
*
|
|
324
|
-
*
|
|
325
|
-
* reflected in the Status Entry.
|
|
326
|
-
*
|
|
327
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.13
|
|
306
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.13
|
|
328
307
|
*/
|
|
329
308
|
nodeAclList: DatastoreAclEntry[];
|
|
330
309
|
|
|
331
310
|
/**
|
|
332
311
|
* This shall indicate the Endpoint entries for nodes in the accessing fabric.
|
|
333
312
|
*
|
|
334
|
-
*
|
|
335
|
-
* reflected in the Status Entry.
|
|
336
|
-
*
|
|
337
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.6.14
|
|
313
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.6.14
|
|
338
314
|
*/
|
|
339
315
|
nodeEndpointList: DatastoreEndpointEntry[];
|
|
340
316
|
}
|
|
@@ -344,629 +320,150 @@ export declare namespace JointFabricDatastore {
|
|
|
344
320
|
*/
|
|
345
321
|
export interface BaseCommands {
|
|
346
322
|
/**
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
* GroupKeySet represents the KeySet to be added to the Joint Fabric Datastore Cluster.
|
|
350
|
-
*
|
|
351
|
-
* Upon receipt of this command, the Datastore shall:
|
|
352
|
-
*
|
|
353
|
-
* 1. Ensure there are no KeySets in the KeySetList attribute with the given GroupKeySetID.
|
|
354
|
-
*
|
|
355
|
-
* 2. If a match is found, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
323
|
+
* Upon receipt, this shall add a KeySet to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
356
324
|
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.1
|
|
325
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.1
|
|
360
326
|
*/
|
|
361
327
|
addKeySet(request: AddKeySetRequest): MaybePromise;
|
|
362
328
|
|
|
363
329
|
/**
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
* GroupKeySet represents the KeySet to be updated in the Joint Fabric Datastore Cluster.
|
|
367
|
-
*
|
|
368
|
-
* Upon receipt of this command, the Datastore shall:
|
|
369
|
-
*
|
|
370
|
-
* 1. Find the Epoch Key Entry for the KeySet in the KeySetList attribute with the given GroupKeySetID, and
|
|
371
|
-
* update any changed fields.
|
|
372
|
-
*
|
|
373
|
-
* 2. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
374
|
-
*
|
|
375
|
-
* 3. If any fields are changed as a result of this command:
|
|
376
|
-
*
|
|
377
|
-
* 1. Iterate through each Node Information Entry:
|
|
378
|
-
*
|
|
379
|
-
* 1. If the NodeKeySetList contains an entry with the given GroupKeySetID:
|
|
380
|
-
*
|
|
381
|
-
* 1. Update the Status on the given DatastoreNodeKeySetEntryStruct tp Pending.
|
|
382
|
-
*
|
|
383
|
-
* 2. Update the GroupKeySet on the given Node with the new values.
|
|
384
|
-
*
|
|
385
|
-
* 1. If successful, update the Status on this DatastoreNodeKeySetEntryStruct to Committed.
|
|
386
|
-
*
|
|
387
|
-
* 2. If not successful, update the State field of the StatusEntry on this DatastoreNodeKeySetEntryStruct to
|
|
388
|
-
* CommitFailed and FailureCode code to the returned error. The pending change shall be applied in a
|
|
389
|
-
* subsequent Node Refresh.
|
|
330
|
+
* Upon receipt, this shall update a KeySet in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
390
331
|
*
|
|
391
|
-
* @see {@link MatterSpecification.
|
|
332
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.2
|
|
392
333
|
*/
|
|
393
334
|
updateKeySet(request: UpdateKeySetRequest): MaybePromise;
|
|
394
335
|
|
|
395
336
|
/**
|
|
396
|
-
*
|
|
397
|
-
* fabric.
|
|
398
|
-
*
|
|
399
|
-
* GroupKeySetID represents the unique identifier for the KeySet to be removed from the Joint Fabric Datastore
|
|
400
|
-
* Cluster.
|
|
401
|
-
*
|
|
402
|
-
* Attempt to remove the IPK, which has GroupKeySetID of 0, shall fail with response CONSTRAINT_ERROR.
|
|
403
|
-
*
|
|
404
|
-
* Upon receipt of this command, the Datastore shall:
|
|
405
|
-
*
|
|
406
|
-
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
407
|
-
*
|
|
408
|
-
* 2. Ensure there are no Nodes using this KeySet. To do this:
|
|
409
|
-
*
|
|
410
|
-
* 1. Iterate through each Node Information Entry:
|
|
411
|
-
*
|
|
412
|
-
* 1. If the NodeKeySetList list contains an entry with the given GroupKeySetID, and the entry does NOT have
|
|
413
|
-
* Status DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
414
|
-
*
|
|
415
|
-
* 3. Remove the DatastoreGroupKeySetStruct for the given GroupKeySetID from the GroupKeySetList attribute.
|
|
337
|
+
* Upon receipt, this shall remove a KeySet from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
416
338
|
*
|
|
417
|
-
* @see {@link MatterSpecification.
|
|
339
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.3
|
|
418
340
|
*/
|
|
419
341
|
removeKeySet(request: RemoveKeySetRequest): MaybePromise;
|
|
420
342
|
|
|
421
343
|
/**
|
|
422
|
-
*
|
|
344
|
+
* Upon receipt, this shall add a group to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
423
345
|
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
* GroupCAT values shall fall within the range 1 to 65534. Attempts to add a group with a GroupCAT value of
|
|
427
|
-
* Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
428
|
-
*
|
|
429
|
-
* Upon receipt of this command, the Datastore shall:
|
|
430
|
-
*
|
|
431
|
-
* 1. Ensure there are no Groups in the GroupList attribute with the given GroupID. If a match is found, then
|
|
432
|
-
* this command shall fail with a CONSTRAINT_ERROR status code.
|
|
433
|
-
*
|
|
434
|
-
* 2. Add the DatastoreGroupInformationEntryStruct for the Group with the given GroupID to the GroupList
|
|
435
|
-
* attribute.
|
|
436
|
-
*
|
|
437
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.4
|
|
346
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4
|
|
438
347
|
*/
|
|
439
348
|
addGroup(request: AddGroupRequest): MaybePromise;
|
|
440
349
|
|
|
441
350
|
/**
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
* GroupID represents the group to be updated in the Joint Fabric Datastore Cluster. NULL values for the
|
|
445
|
-
* additional parameters will be ignored (not updated).
|
|
446
|
-
*
|
|
447
|
-
* GroupCAT values shall fall within the range 1 to 65534. Attempts to update the GroupCAT on an existing group
|
|
448
|
-
* which has a GroupCAT value of Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
449
|
-
*
|
|
450
|
-
* Attempts to set the GroupCAT to Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
451
|
-
*
|
|
452
|
-
* Upon receipt of this command, the Datastore shall:
|
|
453
|
-
*
|
|
454
|
-
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
455
|
-
*
|
|
456
|
-
* 2. Update the DatastoreGroupInformationEntryStruct for the Group with the given GroupID to match the
|
|
457
|
-
* non-NULL fields passed in.
|
|
458
|
-
*
|
|
459
|
-
* 3. If any fields are changed as a result of this command:
|
|
460
|
-
*
|
|
461
|
-
* 1. Iterate through each Node Information Entry:
|
|
462
|
-
*
|
|
463
|
-
* 1. If the GroupKeySetID changed:
|
|
464
|
-
*
|
|
465
|
-
* 1. Add a DatastoreNodeKeySetEntryStruct with the new GroupKeySetID, and Status set to Pending.
|
|
466
|
-
*
|
|
467
|
-
* 2. Add this KeySet to the Node.
|
|
468
|
-
*
|
|
469
|
-
* 1. If successful, Set the Status to Committed for this entry in the NodeKeySetList.
|
|
470
|
-
*
|
|
471
|
-
* 2. If not successful, Set the Status to CommitFailed and the FailureCode to the returned error. The pending
|
|
472
|
-
* change shall be applied in a subsequent Node Refresh.
|
|
473
|
-
*
|
|
474
|
-
* 1. If the NodeKeySetList list contains an entry with the previous GroupKeySetID:
|
|
475
|
-
*
|
|
476
|
-
* 3. Set the Status set to DeletePending.
|
|
477
|
-
*
|
|
478
|
-
* 4. Remove this KeySet from the Node.
|
|
479
|
-
*
|
|
480
|
-
* 1. If successful, Remove this entry from the NodeKeySetList.
|
|
481
|
-
*
|
|
482
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
483
|
-
*
|
|
484
|
-
* 2. If the GroupCAT, GroupCATVersion or GroupPermission changed:
|
|
485
|
-
*
|
|
486
|
-
* 1. If the ACLList contains an entry for this Group, update the ACL List Entry in the Datastore with the new
|
|
487
|
-
* values and Status Pending, update the ACL attribute on the given Node with the new values. If the update
|
|
488
|
-
* succeeds, set the Status to Committed on the ACLList Entry in the Datastore.
|
|
489
|
-
*
|
|
490
|
-
* 3. If the FriendlyName changed:
|
|
491
|
-
*
|
|
492
|
-
* 1. Iterate through each Endpoint Information Entry:
|
|
493
|
-
*
|
|
494
|
-
* 1. If the GroupIDList contains an entry with the given GroupID:
|
|
495
|
-
*
|
|
496
|
-
* 1. Update the GroupIDList Entry in the Datastore with the new values and Status Pending
|
|
497
|
-
*
|
|
498
|
-
* 2. Update the Groups on the given Node with the new values.
|
|
499
|
-
*
|
|
500
|
-
* 1. If the update succeeds, set the Status to Committed on the GroupIDList Entry in the Datastore.
|
|
501
|
-
*
|
|
502
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
351
|
+
* Upon receipt, this shall update a group in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
503
352
|
*
|
|
504
|
-
* @see {@link MatterSpecification.
|
|
353
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5
|
|
505
354
|
*/
|
|
506
355
|
updateGroup(request: UpdateGroupRequest): MaybePromise;
|
|
507
356
|
|
|
508
357
|
/**
|
|
509
|
-
*
|
|
358
|
+
* Upon receipt, this shall remove a group from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
510
359
|
*
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
* Attempts to remove a group with GroupCAT value set to Administrator CAT or Anchor CAT shall fail with
|
|
514
|
-
* CONSTRAINT_ERROR.
|
|
515
|
-
*
|
|
516
|
-
* Upon receipt of this command, the Datastore shall:
|
|
517
|
-
*
|
|
518
|
-
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
519
|
-
*
|
|
520
|
-
* 2. Ensure there are no Nodes in this group. To do this:
|
|
521
|
-
*
|
|
522
|
-
* 1. Iterate through each Node Information Entry:
|
|
523
|
-
*
|
|
524
|
-
* 1. If the GroupIDList contains an entry with the given GroupID, and the entry does NOT have Status
|
|
525
|
-
* DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
526
|
-
*
|
|
527
|
-
* 3. Remove the DatastoreGroupInformationEntryStruct for the Group with the given GroupID from the GroupList
|
|
528
|
-
* attribute.
|
|
529
|
-
*
|
|
530
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.6
|
|
360
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.6
|
|
531
361
|
*/
|
|
532
362
|
removeGroup(request: RemoveGroupRequest): MaybePromise;
|
|
533
363
|
|
|
534
364
|
/**
|
|
535
|
-
*
|
|
365
|
+
* Upon receipt, this shall add an admin to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
536
366
|
*
|
|
537
|
-
*
|
|
538
|
-
* Cluster.
|
|
539
|
-
*
|
|
540
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.7
|
|
367
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7
|
|
541
368
|
*/
|
|
542
369
|
addAdmin(request: AddAdminRequest): MaybePromise;
|
|
543
370
|
|
|
544
371
|
/**
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
* NodeID represents the admin to be updated in the Joint Fabric Datastore Cluster. NULL values for the
|
|
548
|
-
* additional parameters will be ignored (not updated).
|
|
549
|
-
*
|
|
550
|
-
* If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
372
|
+
* Upon receipt, this shall update an admin entry in the AdminList attribute.
|
|
551
373
|
*
|
|
552
|
-
* @see {@link MatterSpecification.
|
|
374
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.8
|
|
553
375
|
*/
|
|
554
376
|
updateAdmin(request: UpdateAdminRequest): MaybePromise;
|
|
555
377
|
|
|
556
378
|
/**
|
|
557
|
-
*
|
|
558
|
-
* fabric.
|
|
559
|
-
*
|
|
560
|
-
* NodeID represents the unique identifier for the admin to be removed from the Joint Fabric Datastore Cluster.
|
|
379
|
+
* Upon receipt, this shall remove an admin from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
561
380
|
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.9
|
|
381
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.9
|
|
565
382
|
*/
|
|
566
383
|
removeAdmin(request: RemoveAdminRequest): MaybePromise;
|
|
567
384
|
|
|
568
385
|
/**
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
* NodeID represents the node to be added to the Joint Fabric Datastore Cluster.
|
|
386
|
+
* Upon receipt, this shall add a node to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
572
387
|
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
575
|
-
* 1. Update CommissioningStatusEntry of the Node Information Entry with the given NodeID to Pending.
|
|
576
|
-
*
|
|
577
|
-
* If a Node Information Entry exists for the given NodeID, then this command shall fail with a
|
|
578
|
-
* INVALID_CONSTRAINT status code.
|
|
579
|
-
*
|
|
580
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.10
|
|
388
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.10
|
|
581
389
|
*/
|
|
582
390
|
addPendingNode(request: AddPendingNodeRequest): MaybePromise;
|
|
583
391
|
|
|
584
392
|
/**
|
|
585
|
-
*
|
|
393
|
+
* Upon receipt, this shall request that Datastore information relating to a Node of the accessing fabric is
|
|
586
394
|
* refreshed.
|
|
587
395
|
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall
|
|
591
|
-
* fail with a NOT_FOUND status code.
|
|
592
|
-
*
|
|
593
|
-
* 2. Update the CommissioningStatusEntry for the Node Information Entry to Pending.
|
|
594
|
-
*
|
|
595
|
-
* 3. Ensure the Endpoint List for the Node Information Entry with the given NodeID matches Endpoint list on
|
|
596
|
-
* the given Node. This involves the following steps:
|
|
597
|
-
*
|
|
598
|
-
* 1. Read the PartsList of the Descriptor cluster from the Node.
|
|
599
|
-
*
|
|
600
|
-
* 2. For each Endpoint Information Entry in the Endpoint List of the Node Information Entry that does not
|
|
601
|
-
* match an Endpoint ID in the PartsList, remove the Endpoint Information Entry.
|
|
602
|
-
*
|
|
603
|
-
* 3. For each Endpoint Information Entry in the Endpoint List of the Node Information Entry that matches an
|
|
604
|
-
* Endpoint ID in the PartsList:
|
|
605
|
-
*
|
|
606
|
-
* 1. Check that each entry in Node's Group List occurs in the GroupIDList of the Endpoint Information Entry.
|
|
607
|
-
*
|
|
608
|
-
* 1. Add any missing entries to the GroupIDList of the Endpoint Information Entry.
|
|
609
|
-
*
|
|
610
|
-
* 2. For any entries in the GroupIDList with Status of Pending:
|
|
611
|
-
*
|
|
612
|
-
* 1. Add the corresponding change to the Node's Group List.
|
|
613
|
-
*
|
|
614
|
-
* 1. If successful, mark the Status to Committed.
|
|
615
|
-
*
|
|
616
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
617
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
618
|
-
*
|
|
619
|
-
* 3. For any entries in the GroupIDList with Status of DeletePending:
|
|
620
|
-
*
|
|
621
|
-
* 1. If successful, remove the corresponding entry from the Node's Group List.
|
|
622
|
-
*
|
|
623
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
624
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
625
|
-
*
|
|
626
|
-
* 4. For any entries in the GroupIDList with Status of CommitFailure:
|
|
627
|
-
*
|
|
628
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
629
|
-
* GroupIDList.
|
|
630
|
-
*
|
|
631
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
632
|
-
* Refresh.
|
|
633
|
-
*
|
|
634
|
-
* 2. Check that each entry in Node's Binding List occurs in the BindingList of the Endpoint Information
|
|
635
|
-
* Entry.
|
|
636
|
-
*
|
|
637
|
-
* 1. Add any missing entries to the BindingList of the Endpoint Information Entry.
|
|
638
|
-
*
|
|
639
|
-
* 2. For any entries in the BindingList with Status of Pending:
|
|
640
|
-
*
|
|
641
|
-
* 1. Add the corresponding change to the Node's Binding List.
|
|
642
|
-
*
|
|
643
|
-
* 1. If successful, mark the Status to Committed.
|
|
644
|
-
*
|
|
645
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
646
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
647
|
-
*
|
|
648
|
-
* 3. For any entries in the BindingList with Status of DeletePending:
|
|
649
|
-
*
|
|
650
|
-
* 1. If successful, remove the corresponding entry from the Node's BindingList.
|
|
651
|
-
*
|
|
652
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
653
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
654
|
-
*
|
|
655
|
-
* 4. For any entries in the BindingList with Status of CommitFailure:
|
|
656
|
-
*
|
|
657
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
658
|
-
* BindingList.
|
|
659
|
-
*
|
|
660
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
661
|
-
* Refresh.
|
|
662
|
-
*
|
|
663
|
-
* 4. Ensure the GroupKeySetList for the Node Information Entry with the given NodeID matches the Group Keys
|
|
664
|
-
* on the given Node. This involves the following steps:
|
|
665
|
-
*
|
|
666
|
-
* 1. Read the Group Keys from the Node.
|
|
667
|
-
*
|
|
668
|
-
* 2. For each GroupKeySetEntry in the GroupKeySetList of the Node Information Entry with a Pending Status:
|
|
669
|
-
*
|
|
670
|
-
* 1. Add the corresponding DatastoreGroupKeySetStruct to the Node's Group Key list.
|
|
671
|
-
*
|
|
672
|
-
* 1. If successful, mark the Status to Committed.
|
|
673
|
-
*
|
|
674
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
675
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
676
|
-
*
|
|
677
|
-
* 3. For each GroupKeySetEntry in the GroupKeySetList of the Node Information Entry with a CommitFailure
|
|
678
|
-
* Status:
|
|
679
|
-
*
|
|
680
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
681
|
-
* GroupKeySetList.
|
|
682
|
-
*
|
|
683
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
684
|
-
* Refresh.
|
|
685
|
-
*
|
|
686
|
-
* 4. All remaining entries in the GroupKeySetList should be replaced by the remaining entries on the Node.
|
|
687
|
-
*
|
|
688
|
-
* 5. Ensure the ACLList for the Node Information Entry with the given NodeID matches the ACL attribute on the
|
|
689
|
-
* given Node. This involves the following steps:
|
|
690
|
-
*
|
|
691
|
-
* 1. Read the ACL attribute on the Node.
|
|
692
|
-
*
|
|
693
|
-
* 2. For each DatastoreACLEntryStruct in the ACLList of the Node Information Entry with a Pending Status:
|
|
694
|
-
*
|
|
695
|
-
* 1. Add the corresponding DatastoreACLEntryStruct to the Node's ACL attribute.
|
|
696
|
-
*
|
|
697
|
-
* 1. If successful, mark the Status to Committed.
|
|
698
|
-
*
|
|
699
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
700
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
701
|
-
*
|
|
702
|
-
* 3. For each DatastoreACLEntryStruct in the ACLList of the Node Information Entry with a CommitFailure
|
|
703
|
-
* Status:
|
|
704
|
-
*
|
|
705
|
-
* 1. A CommitFailure with an unrecoverable FailureCode (i.e. RESOURCE_EXHAUSTED, CONSTRAINT_ERROR) shall be
|
|
706
|
-
* handled by removing the entry from the ACLList.
|
|
707
|
-
*
|
|
708
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
709
|
-
* Refresh.
|
|
710
|
-
*
|
|
711
|
-
* 4. All remaining entries in the ACLList should be replaced by the remaining entries on the Node.
|
|
712
|
-
*
|
|
713
|
-
* 6. Update the CommissioningStatusEntry for the Node Information Entry to Committed.
|
|
714
|
-
*
|
|
715
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.11
|
|
396
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.11
|
|
716
397
|
*/
|
|
717
398
|
refreshNode(request: RefreshNodeRequest): MaybePromise;
|
|
718
399
|
|
|
719
400
|
/**
|
|
720
|
-
*
|
|
401
|
+
* Upon receipt, this shall update the friendly name for a node in the Joint Fabric Datastore Cluster of the
|
|
721
402
|
* accessing fabric.
|
|
722
403
|
*
|
|
723
|
-
*
|
|
724
|
-
*
|
|
725
|
-
* If a Node Information Entry does not exist for the given NodeID, then this command shall fail with a
|
|
726
|
-
* NOT_FOUND status code.
|
|
727
|
-
*
|
|
728
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.12
|
|
404
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.12
|
|
729
405
|
*/
|
|
730
406
|
updateNode(request: UpdateNodeRequest): MaybePromise;
|
|
731
407
|
|
|
732
408
|
/**
|
|
733
|
-
*
|
|
734
|
-
*
|
|
735
|
-
* NodeID represents the unique identifier for the node to be removed from the Joint Fabric Datastore Cluster.
|
|
736
|
-
*
|
|
737
|
-
* If a Node Information Entry does not exist for the given NodeID, then this command shall fail with a
|
|
738
|
-
* NOT_FOUND status code.
|
|
409
|
+
* Upon receipt, this shall remove a node from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
739
410
|
*
|
|
740
|
-
* @see {@link MatterSpecification.
|
|
411
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.13
|
|
741
412
|
*/
|
|
742
413
|
removeNode(request: RemoveNodeRequest): MaybePromise;
|
|
743
414
|
|
|
744
415
|
/**
|
|
745
|
-
*
|
|
746
|
-
*
|
|
416
|
+
* Upon receipt, this shall update the state of an endpoint for a node in the Joint Fabric Datastore Cluster of
|
|
417
|
+
* the accessing fabric.
|
|
747
418
|
*
|
|
748
|
-
*
|
|
749
|
-
* Cluster.
|
|
750
|
-
*
|
|
751
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
752
|
-
*
|
|
753
|
-
* If an Endpoint Information Entry does not exist for the given NodeID and EndpointID, then this command shall
|
|
754
|
-
* fail with a NOT_FOUND status code.
|
|
755
|
-
*
|
|
756
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.14
|
|
419
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.14
|
|
757
420
|
*/
|
|
758
421
|
updateEndpointForNode(request: UpdateEndpointForNodeRequest): MaybePromise;
|
|
759
422
|
|
|
760
423
|
/**
|
|
761
|
-
*
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
* GroupID represents the unique identifier for the group to be added to the endpoint.
|
|
765
|
-
*
|
|
766
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
767
|
-
* Cluster.
|
|
768
|
-
*
|
|
769
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
770
|
-
*
|
|
771
|
-
* Upon receipt of this command, the Datastore shall:
|
|
772
|
-
*
|
|
773
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then
|
|
774
|
-
* this command shall fail with a NOT_FOUND status code.
|
|
775
|
-
*
|
|
776
|
-
* 2. Ensure the Group Key List for the Node Information Entry with the given NodeID includes the KeySet for
|
|
777
|
-
* the given Group ID. If it does not:
|
|
778
|
-
*
|
|
779
|
-
* 1. Add an entry for the KeySet of the given Group ID to the Group Key List for the Node. The new entry's
|
|
780
|
-
* status shall be set to Pending.
|
|
781
|
-
*
|
|
782
|
-
* 2. Add a Group Key Entry for this KeySet to the given Node ID.
|
|
783
|
-
*
|
|
784
|
-
* 1. If this succeeds, update the new KeySet entry in the Datastore to Committed.
|
|
785
|
-
*
|
|
786
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
787
|
-
*
|
|
788
|
-
* 3. Ensure the Group List for the Endpoint Information Entry with the given NodeID and EndpointID includes
|
|
789
|
-
* an entry for the given Group. If it does not:
|
|
790
|
-
*
|
|
791
|
-
* 1. Add a Group entry for the given Group ID to the Group List for the Endpoint and Node. The new entry's
|
|
792
|
-
* status shall be set to Pending.
|
|
793
|
-
*
|
|
794
|
-
* 2. Add this Group entry to the given Endpoint ID on the given Node ID.
|
|
795
|
-
*
|
|
796
|
-
* 1. If this succeeds, update the new Group entry in the Datastore to Committed.
|
|
797
|
-
*
|
|
798
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
799
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
424
|
+
* Upon receipt, this shall add a Group ID to an endpoint for a node in the Joint Fabric Datastore Cluster of
|
|
425
|
+
* the accessing fabric.
|
|
800
426
|
*
|
|
801
|
-
* @see {@link MatterSpecification.
|
|
427
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.15
|
|
802
428
|
*/
|
|
803
429
|
addGroupIdToEndpointForNode(request: AddGroupIdToEndpointForNodeRequest): MaybePromise;
|
|
804
430
|
|
|
805
431
|
/**
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
* GroupID represents the unique identifier for the group to be removed from the endpoint.
|
|
810
|
-
*
|
|
811
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
812
|
-
* Cluster.
|
|
813
|
-
*
|
|
814
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
815
|
-
*
|
|
816
|
-
* Upon receipt of this command, the Datastore shall:
|
|
817
|
-
*
|
|
818
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then
|
|
819
|
-
* this command shall fail with a NOT_FOUND status code.
|
|
820
|
-
*
|
|
821
|
-
* 2. Ensure the Group List for the Endpoint Information Entry with the given NodeID and EndpointID does not
|
|
822
|
-
* include an entry for the given Group. If it does:
|
|
823
|
-
*
|
|
824
|
-
* 1. Update the status to DeletePending of the Group entry for the given Group ID in the Group List.
|
|
825
|
-
*
|
|
826
|
-
* 2. Remove this Group entry for the given Endpoint ID on the given Node ID.
|
|
827
|
-
*
|
|
828
|
-
* 1. If this succeeds, remove the Group entry for the given Group ID in the Group List for this NodeID and
|
|
829
|
-
* EndpointID in the Datastore.
|
|
830
|
-
*
|
|
831
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
832
|
-
*
|
|
833
|
-
* 3. Ensure the Group Key List for the Node Information Entry with the given NodeID does not include the
|
|
834
|
-
* KeySet for the given Group ID. If it does:
|
|
835
|
-
*
|
|
836
|
-
* 1. Update the status to DeletePending for the entry for the KeySet of the given Group ID in the Node Group
|
|
837
|
-
* Key List.
|
|
838
|
-
*
|
|
839
|
-
* 2. Remove the Group Key Entry for this KeySet from the given Node ID.
|
|
840
|
-
*
|
|
841
|
-
* 1. If this succeeds, remove the KeySet entry for the given Node ID.
|
|
842
|
-
*
|
|
843
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
844
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
432
|
+
* Upon receipt, this shall remove a Group ID from an endpoint for a node in the Joint Fabric Datastore Cluster
|
|
433
|
+
* of the accessing fabric.
|
|
845
434
|
*
|
|
846
|
-
* @see {@link MatterSpecification.
|
|
435
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.16
|
|
847
436
|
*/
|
|
848
437
|
removeGroupIdFromEndpointForNode(request: RemoveGroupIdFromEndpointForNodeRequest): MaybePromise;
|
|
849
438
|
|
|
850
439
|
/**
|
|
851
|
-
*
|
|
852
|
-
*
|
|
853
|
-
*
|
|
854
|
-
* Binding represents the binding to be added to the endpoint.
|
|
855
|
-
*
|
|
856
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
857
|
-
* Cluster.
|
|
858
|
-
*
|
|
859
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
860
|
-
*
|
|
861
|
-
* Upon receipt of this command, the Datastore shall:
|
|
862
|
-
*
|
|
863
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then
|
|
864
|
-
* this command shall fail with a NOT_FOUND status code.
|
|
865
|
-
*
|
|
866
|
-
* 2. Ensure the Binding List for the Node Information Entry with the given NodeID includes the given Binding.
|
|
867
|
-
* If it does not:
|
|
868
|
-
*
|
|
869
|
-
* 1. Add the Binding to the Binding List for the Node Information Entry for the given NodeID. The new entry's
|
|
870
|
-
* status shall be set to Pending.
|
|
871
|
-
*
|
|
872
|
-
* 2. Add this Binding to the given Node ID.
|
|
873
|
-
*
|
|
874
|
-
* 1. If this succeeds, update the new Binding in the Datastore to Committed.
|
|
875
|
-
*
|
|
876
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
877
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
440
|
+
* Upon receipt, this shall add a binding to an endpoint for a node in the Joint Fabric Datastore Cluster of the
|
|
441
|
+
* accessing fabric.
|
|
878
442
|
*
|
|
879
|
-
* @see {@link MatterSpecification.
|
|
443
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.17
|
|
880
444
|
*/
|
|
881
445
|
addBindingToEndpointForNode(request: AddBindingToEndpointForNodeRequest): MaybePromise;
|
|
882
446
|
|
|
883
447
|
/**
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
* ListID represents the unique identifier for the binding entry in the Datastore's EndpointBindingList
|
|
888
|
-
* attribute to be removed from the endpoint.
|
|
889
|
-
*
|
|
890
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
891
|
-
* Cluster.
|
|
892
|
-
*
|
|
893
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
894
|
-
*
|
|
895
|
-
* Upon receipt of this command, the Datastore shall:
|
|
896
|
-
*
|
|
897
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then
|
|
898
|
-
* this command shall fail with a NOT_FOUND status code.
|
|
899
|
-
*
|
|
900
|
-
* 2. Ensure the Binding List for the Node Information Entry with the given NodeID does not include an entry
|
|
901
|
-
* with the given ListID. If it does:
|
|
902
|
-
*
|
|
903
|
-
* 1. Update the status to DeletePending for the given Binding in the Binding List.
|
|
904
|
-
*
|
|
905
|
-
* 2. Remove this Binding from the given Node ID.
|
|
906
|
-
*
|
|
907
|
-
* 1. If this succeeds, remove the given Binding from the Binding List.
|
|
908
|
-
*
|
|
909
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
910
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
448
|
+
* Upon receipt, this shall remove a binding from an endpoint for a node in the Joint Fabric Datastore Cluster
|
|
449
|
+
* of the accessing fabric.
|
|
911
450
|
*
|
|
912
|
-
* @see {@link MatterSpecification.
|
|
451
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.18
|
|
913
452
|
*/
|
|
914
453
|
removeBindingFromEndpointForNode(request: RemoveBindingFromEndpointForNodeRequest): MaybePromise;
|
|
915
454
|
|
|
916
455
|
/**
|
|
917
|
-
*
|
|
918
|
-
* fabric.
|
|
919
|
-
*
|
|
920
|
-
* NodeID represents the unique identifier for the node to which the ACL is to be added.
|
|
921
|
-
*
|
|
922
|
-
* ACLEntry represents the ACL to be added to the Joint Fabric Datastore Cluster.
|
|
923
|
-
*
|
|
924
|
-
* Upon receipt of this command, the Datastore shall:
|
|
925
|
-
*
|
|
926
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall
|
|
927
|
-
* fail with a NOT_FOUND status code.
|
|
928
|
-
*
|
|
929
|
-
* 2. Ensure the ACL List for the given NodeID includes the given ACLEntry. If it does not:
|
|
930
|
-
*
|
|
931
|
-
* 1. Add the ACLEntry to the ACL List for the given NodeID. The new entry's status shall be set to Pending.
|
|
932
|
-
*
|
|
933
|
-
* 2. Add this ACLEntry to the given Node ID.
|
|
934
|
-
*
|
|
935
|
-
* 1. If this succeeds, update the new ACLEntry in the Datastore to Committed.
|
|
936
|
-
*
|
|
937
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
938
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
456
|
+
* Upon receipt, this shall add an ACL to a node in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
939
457
|
*
|
|
940
|
-
* @see {@link MatterSpecification.
|
|
458
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.19
|
|
941
459
|
*/
|
|
942
460
|
addAclToNode(request: AddAclToNodeRequest): MaybePromise;
|
|
943
461
|
|
|
944
462
|
/**
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
* ListID represents the unique identifier for the DatastoreACLEntryStruct to be removed from the Datastore's
|
|
949
|
-
* list of DatastoreACLEntry.
|
|
950
|
-
*
|
|
951
|
-
* NodeID represents the unique identifier for the node from which the ACL is to be removed.
|
|
952
|
-
*
|
|
953
|
-
* Upon receipt of this command, the Datastore shall:
|
|
954
|
-
*
|
|
955
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall
|
|
956
|
-
* fail with a NOT_FOUND status code.
|
|
957
|
-
*
|
|
958
|
-
* 2. Ensure the ACL List for the given NodeID does not include the given ACLEntry. If it does:
|
|
959
|
-
*
|
|
960
|
-
* 1. Update the status to DeletePending for the given ACLEntry in the ACL List.
|
|
961
|
-
*
|
|
962
|
-
* 2. Remove this ACLEntry from the given Node ID.
|
|
963
|
-
*
|
|
964
|
-
* 1. If this succeeds, remove the given ACLEntry from the Node ACL List.
|
|
965
|
-
*
|
|
966
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
967
|
-
* error shall be handled in a subsequent Node Refresh.
|
|
463
|
+
* Upon receipt, this shall remove an ACL from a node in the Joint Fabric Datastore Cluster of the accessing
|
|
464
|
+
* fabric.
|
|
968
465
|
*
|
|
969
|
-
* @see {@link MatterSpecification.
|
|
466
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.20
|
|
970
467
|
*/
|
|
971
468
|
removeAclFromNode(request: RemoveAclFromNodeRequest): MaybePromise;
|
|
972
469
|
}
|
|
@@ -979,7 +476,7 @@ export declare namespace JointFabricDatastore {
|
|
|
979
476
|
export type Components = [{ flags: {}, attributes: BaseAttributes, commands: BaseCommands }];
|
|
980
477
|
|
|
981
478
|
/**
|
|
982
|
-
* @see {@link MatterSpecification.
|
|
479
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.18
|
|
983
480
|
*/
|
|
984
481
|
export class DatastoreGroupKeySet {
|
|
985
482
|
constructor(values?: Partial<DatastoreGroupKeySet>);
|
|
@@ -991,11 +488,15 @@ export declare namespace JointFabricDatastore {
|
|
|
991
488
|
epochStartTime1: number | bigint | null;
|
|
992
489
|
epochKey2: Bytes | null;
|
|
993
490
|
epochStartTime2: number | bigint | null;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @deprecated
|
|
494
|
+
*/
|
|
994
495
|
groupKeyMulticastPolicy?: DatastoreGroupKeyMulticastPolicy;
|
|
995
496
|
}
|
|
996
497
|
|
|
997
498
|
/**
|
|
998
|
-
* @see {@link MatterSpecification.
|
|
499
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5
|
|
999
500
|
*/
|
|
1000
501
|
export class DatastoreGroupInformationEntry {
|
|
1001
502
|
constructor(values?: Partial<DatastoreGroupInformationEntry>);
|
|
@@ -1003,14 +504,14 @@ export declare namespace JointFabricDatastore {
|
|
|
1003
504
|
/**
|
|
1004
505
|
* The unique identifier for the group.
|
|
1005
506
|
*
|
|
1006
|
-
* @see {@link MatterSpecification.
|
|
507
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.1
|
|
1007
508
|
*/
|
|
1008
509
|
groupId: number | bigint;
|
|
1009
510
|
|
|
1010
511
|
/**
|
|
1011
512
|
* The friendly name for the group.
|
|
1012
513
|
*
|
|
1013
|
-
* @see {@link MatterSpecification.
|
|
514
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.2
|
|
1014
515
|
*/
|
|
1015
516
|
friendlyName: string;
|
|
1016
517
|
|
|
@@ -1023,7 +524,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1023
524
|
* A value of 0 is not allowed since this value is reserved for IPK and the group entry for this value is not
|
|
1024
525
|
* managed by the Datastore.
|
|
1025
526
|
*
|
|
1026
|
-
* @see {@link MatterSpecification.
|
|
527
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.3
|
|
1027
528
|
*/
|
|
1028
529
|
groupKeySetId: number | null;
|
|
1029
530
|
|
|
@@ -1034,7 +535,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1034
535
|
*
|
|
1035
536
|
* This value may be null when unicast communication is not used for the group.
|
|
1036
537
|
*
|
|
1037
|
-
* @see {@link MatterSpecification.
|
|
538
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.4
|
|
1038
539
|
*/
|
|
1039
540
|
groupCat: number | null;
|
|
1040
541
|
|
|
@@ -1043,7 +544,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1043
544
|
*
|
|
1044
545
|
* This value shall be null when GroupCAT value is null.
|
|
1045
546
|
*
|
|
1046
|
-
* @see {@link MatterSpecification.
|
|
547
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.5
|
|
1047
548
|
*/
|
|
1048
549
|
groupCatVersion: number | null;
|
|
1049
550
|
|
|
@@ -1051,13 +552,13 @@ export declare namespace JointFabricDatastore {
|
|
|
1051
552
|
* The permission level associated with ACL entries for this group. There should be only one Administrator group
|
|
1052
553
|
* per fabric, and at most one Manage group per Ecosystem (Vendor Entry).
|
|
1053
554
|
*
|
|
1054
|
-
* @see {@link MatterSpecification.
|
|
555
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.5.6
|
|
1055
556
|
*/
|
|
1056
557
|
groupPermission: DatastoreAccessControlEntryPrivilege;
|
|
1057
558
|
}
|
|
1058
559
|
|
|
1059
560
|
/**
|
|
1060
|
-
* @see {@link MatterSpecification.
|
|
561
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.14
|
|
1061
562
|
*/
|
|
1062
563
|
export class DatastoreNodeInformationEntry {
|
|
1063
564
|
constructor(values?: Partial<DatastoreNodeInformationEntry>);
|
|
@@ -1065,14 +566,19 @@ export declare namespace JointFabricDatastore {
|
|
|
1065
566
|
/**
|
|
1066
567
|
* The unique identifier for the node.
|
|
1067
568
|
*
|
|
1068
|
-
* @see {@link MatterSpecification.
|
|
569
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.14.1
|
|
1069
570
|
*/
|
|
1070
571
|
nodeId: NodeId;
|
|
1071
572
|
|
|
1072
573
|
/**
|
|
1073
|
-
*
|
|
574
|
+
* This field shall contain a user-assigned label for this node, as captured by a Joint Fabric Administrator's
|
|
575
|
+
* user interface. By maintaining this value in the Joint Fabric Datastore, all Joint Fabric Administrators can
|
|
576
|
+
* keep these values synchronized. This value is not propagated to the node itself.
|
|
1074
577
|
*
|
|
1075
|
-
*
|
|
578
|
+
* Administrators may keep this field in sync with the NodeLabel field from the Basic Information or Bridged
|
|
579
|
+
* Basic Information clusters.
|
|
580
|
+
*
|
|
581
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.14.2
|
|
1076
582
|
*/
|
|
1077
583
|
friendlyName: string;
|
|
1078
584
|
|
|
@@ -1080,13 +586,13 @@ export declare namespace JointFabricDatastore {
|
|
|
1080
586
|
* Set to Pending prior to completing commissioning, set to Committed after commissioning complete is
|
|
1081
587
|
* successful, or set to CommitFailed if commissioning failed with the FailureCode Field set to the error.
|
|
1082
588
|
*
|
|
1083
|
-
* @see {@link MatterSpecification.
|
|
589
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.14.3
|
|
1084
590
|
*/
|
|
1085
591
|
commissioningStatusEntry: DatastoreStatusEntry;
|
|
1086
592
|
}
|
|
1087
593
|
|
|
1088
594
|
/**
|
|
1089
|
-
* @see {@link MatterSpecification.
|
|
595
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.15
|
|
1090
596
|
*/
|
|
1091
597
|
export class DatastoreAdministratorInformationEntry {
|
|
1092
598
|
constructor(values?: Partial<DatastoreAdministratorInformationEntry>);
|
|
@@ -1094,34 +600,34 @@ export declare namespace JointFabricDatastore {
|
|
|
1094
600
|
/**
|
|
1095
601
|
* The unique identifier for the node.
|
|
1096
602
|
*
|
|
1097
|
-
* @see {@link MatterSpecification.
|
|
603
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.15.1
|
|
1098
604
|
*/
|
|
1099
605
|
nodeId: NodeId;
|
|
1100
606
|
|
|
1101
607
|
/**
|
|
1102
608
|
* Friendly name for this node which is not propagated to nodes.
|
|
1103
609
|
*
|
|
1104
|
-
* @see {@link MatterSpecification.
|
|
610
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.15.2
|
|
1105
611
|
*/
|
|
1106
612
|
friendlyName: string;
|
|
1107
613
|
|
|
1108
614
|
/**
|
|
1109
615
|
* The Vendor ID for the node.
|
|
1110
616
|
*
|
|
1111
|
-
* @see {@link MatterSpecification.
|
|
617
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.15.3
|
|
1112
618
|
*/
|
|
1113
619
|
vendorId: VendorId;
|
|
1114
620
|
|
|
1115
621
|
/**
|
|
1116
622
|
* The ICAC used to issue the NOC.
|
|
1117
623
|
*
|
|
1118
|
-
* @see {@link MatterSpecification.
|
|
624
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.15.4
|
|
1119
625
|
*/
|
|
1120
626
|
icac: Bytes;
|
|
1121
627
|
}
|
|
1122
628
|
|
|
1123
629
|
/**
|
|
1124
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.2
|
|
1125
631
|
*/
|
|
1126
632
|
export class DatastoreStatusEntry {
|
|
1127
633
|
constructor(values?: Partial<DatastoreStatusEntry>);
|
|
@@ -1129,28 +635,28 @@ export declare namespace JointFabricDatastore {
|
|
|
1129
635
|
/**
|
|
1130
636
|
* This field shall contain the current state of the target device operation.
|
|
1131
637
|
*
|
|
1132
|
-
* @see {@link MatterSpecification.
|
|
638
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.2.1
|
|
1133
639
|
*/
|
|
1134
640
|
state: DatastoreState;
|
|
1135
641
|
|
|
1136
642
|
/**
|
|
1137
643
|
* This field shall contain the timestamp of the last update.
|
|
1138
644
|
*
|
|
1139
|
-
* @see {@link MatterSpecification.
|
|
645
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.2.2
|
|
1140
646
|
*/
|
|
1141
647
|
updateTimestamp: number;
|
|
1142
648
|
|
|
1143
649
|
/**
|
|
1144
|
-
* This field shall contain the
|
|
650
|
+
* This field shall contain the Status Code of the last failed operation where the State field is set to
|
|
1145
651
|
* CommitFailure.
|
|
1146
652
|
*
|
|
1147
|
-
* @see {@link MatterSpecification.
|
|
653
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.2.3
|
|
1148
654
|
*/
|
|
1149
655
|
failureCode: Status;
|
|
1150
656
|
}
|
|
1151
657
|
|
|
1152
658
|
/**
|
|
1153
|
-
* @see {@link MatterSpecification.
|
|
659
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.8
|
|
1154
660
|
*/
|
|
1155
661
|
export class DatastoreEndpointGroupIdEntry {
|
|
1156
662
|
constructor(values?: Partial<DatastoreEndpointGroupIdEntry>);
|
|
@@ -1158,34 +664,34 @@ export declare namespace JointFabricDatastore {
|
|
|
1158
664
|
/**
|
|
1159
665
|
* The unique identifier for the node.
|
|
1160
666
|
*
|
|
1161
|
-
* @see {@link MatterSpecification.
|
|
667
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.8.1
|
|
1162
668
|
*/
|
|
1163
669
|
nodeId: NodeId;
|
|
1164
670
|
|
|
1165
671
|
/**
|
|
1166
672
|
* The unique identifier for the endpoint.
|
|
1167
673
|
*
|
|
1168
|
-
* @see {@link MatterSpecification.
|
|
674
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.8.2
|
|
1169
675
|
*/
|
|
1170
676
|
endpointId: EndpointNumber;
|
|
1171
677
|
|
|
1172
678
|
/**
|
|
1173
679
|
* The unique identifier for the group.
|
|
1174
680
|
*
|
|
1175
|
-
* @see {@link MatterSpecification.
|
|
681
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.8.3
|
|
1176
682
|
*/
|
|
1177
683
|
groupId: GroupId;
|
|
1178
684
|
|
|
1179
685
|
/**
|
|
1180
686
|
* Indicates whether entry in this list is pending, committed, delete-pending, or commit-failed.
|
|
1181
687
|
*
|
|
1182
|
-
* @see {@link MatterSpecification.
|
|
688
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.8.4
|
|
1183
689
|
*/
|
|
1184
690
|
statusEntry: DatastoreStatusEntry;
|
|
1185
691
|
}
|
|
1186
692
|
|
|
1187
693
|
/**
|
|
1188
|
-
* @see {@link MatterSpecification.
|
|
694
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7
|
|
1189
695
|
*/
|
|
1190
696
|
export class DatastoreEndpointBindingEntry {
|
|
1191
697
|
constructor(values?: Partial<DatastoreEndpointBindingEntry>);
|
|
@@ -1193,14 +699,14 @@ export declare namespace JointFabricDatastore {
|
|
|
1193
699
|
/**
|
|
1194
700
|
* The unique identifier for the node.
|
|
1195
701
|
*
|
|
1196
|
-
* @see {@link MatterSpecification.
|
|
702
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7.1
|
|
1197
703
|
*/
|
|
1198
704
|
nodeId: NodeId;
|
|
1199
705
|
|
|
1200
706
|
/**
|
|
1201
707
|
* The unique identifier for the endpoint.
|
|
1202
708
|
*
|
|
1203
|
-
* @see {@link MatterSpecification.
|
|
709
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7.2
|
|
1204
710
|
*/
|
|
1205
711
|
endpointId: EndpointNumber;
|
|
1206
712
|
|
|
@@ -1211,27 +717,27 @@ export declare namespace JointFabricDatastore {
|
|
|
1211
717
|
* This field is used to uniquely identify an entry in the EndpointBindingList attribute for the purpose of
|
|
1212
718
|
* deletion (RemoveBindingFromEndpointForNode Command).
|
|
1213
719
|
*
|
|
1214
|
-
* @see {@link MatterSpecification.
|
|
720
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7.3
|
|
1215
721
|
*/
|
|
1216
722
|
listId: number;
|
|
1217
723
|
|
|
1218
724
|
/**
|
|
1219
725
|
* The binding target structure.
|
|
1220
726
|
*
|
|
1221
|
-
* @see {@link MatterSpecification.
|
|
727
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7.4
|
|
1222
728
|
*/
|
|
1223
729
|
binding: DatastoreBindingTarget;
|
|
1224
730
|
|
|
1225
731
|
/**
|
|
1226
732
|
* Indicates whether entry in this list is pending, committed, delete-pending, or commit-failed.
|
|
1227
733
|
*
|
|
1228
|
-
* @see {@link MatterSpecification.
|
|
734
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.7.5
|
|
1229
735
|
*/
|
|
1230
736
|
statusEntry: DatastoreStatusEntry;
|
|
1231
737
|
}
|
|
1232
738
|
|
|
1233
739
|
/**
|
|
1234
|
-
* @see {@link MatterSpecification.
|
|
740
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.3
|
|
1235
741
|
*/
|
|
1236
742
|
export class DatastoreNodeKeySetEntry {
|
|
1237
743
|
constructor(values?: Partial<DatastoreNodeKeySetEntry>);
|
|
@@ -1239,7 +745,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1239
745
|
/**
|
|
1240
746
|
* The unique identifier for the node.
|
|
1241
747
|
*
|
|
1242
|
-
* @see {@link MatterSpecification.
|
|
748
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.3.1
|
|
1243
749
|
*/
|
|
1244
750
|
nodeId: NodeId;
|
|
1245
751
|
|
|
@@ -1248,7 +754,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1248
754
|
/**
|
|
1249
755
|
* Indicates whether entry in this list is pending, committed, delete-pending, or commit-failed.
|
|
1250
756
|
*
|
|
1251
|
-
* @see {@link MatterSpecification.
|
|
757
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.3.3
|
|
1252
758
|
*/
|
|
1253
759
|
statusEntry: DatastoreStatusEntry;
|
|
1254
760
|
}
|
|
@@ -1258,7 +764,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1258
764
|
* is managed by the Datastore. Only ACLs on a specific Node that are fabric-scoped to the Joint Fabric are managed
|
|
1259
765
|
* by the Datastore. As a result, references to nodes and groups are specific to the Joint Fabric.
|
|
1260
766
|
*
|
|
1261
|
-
* @see {@link MatterSpecification.
|
|
767
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.13
|
|
1262
768
|
*/
|
|
1263
769
|
export class DatastoreAclEntry {
|
|
1264
770
|
constructor(values?: Partial<DatastoreAclEntry>);
|
|
@@ -1266,28 +772,28 @@ export declare namespace JointFabricDatastore {
|
|
|
1266
772
|
/**
|
|
1267
773
|
* The unique identifier for the node.
|
|
1268
774
|
*
|
|
1269
|
-
* @see {@link MatterSpecification.
|
|
775
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.13.1
|
|
1270
776
|
*/
|
|
1271
777
|
nodeId: NodeId;
|
|
1272
778
|
|
|
1273
779
|
/**
|
|
1274
780
|
* The unique identifier for the ACL entry in the Datastore's list of DatastoreACLEntry.
|
|
1275
781
|
*
|
|
1276
|
-
* @see {@link MatterSpecification.
|
|
782
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.13.2
|
|
1277
783
|
*/
|
|
1278
784
|
listId: number;
|
|
1279
785
|
|
|
1280
786
|
/**
|
|
1281
787
|
* The Access Control Entry structure.
|
|
1282
788
|
*
|
|
1283
|
-
* @see {@link MatterSpecification.
|
|
789
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.13.3
|
|
1284
790
|
*/
|
|
1285
791
|
aclEntry: DatastoreAccessControlEntry;
|
|
1286
792
|
|
|
1287
793
|
/**
|
|
1288
794
|
* Indicates whether entry in this list is pending, committed, delete-pending, or commit-failed.
|
|
1289
795
|
*
|
|
1290
|
-
* @see {@link MatterSpecification.
|
|
796
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.13.4
|
|
1291
797
|
*/
|
|
1292
798
|
statusEntry: DatastoreStatusEntry;
|
|
1293
799
|
}
|
|
@@ -1297,7 +803,7 @@ export declare namespace JointFabricDatastore {
|
|
|
1297
803
|
* Only Nodes on the Joint Fabric are managed by the Datastore. As a result, references to NodeID are specific to
|
|
1298
804
|
* the Joint Fabric.
|
|
1299
805
|
*
|
|
1300
|
-
* @see {@link MatterSpecification.
|
|
806
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.9
|
|
1301
807
|
*/
|
|
1302
808
|
export class DatastoreEndpointEntry {
|
|
1303
809
|
constructor(values?: Partial<DatastoreEndpointEntry>);
|
|
@@ -1305,740 +811,1025 @@ export declare namespace JointFabricDatastore {
|
|
|
1305
811
|
/**
|
|
1306
812
|
* The unique identifier for the endpoint.
|
|
1307
813
|
*
|
|
1308
|
-
* @see {@link MatterSpecification.
|
|
814
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.9.1
|
|
1309
815
|
*/
|
|
1310
816
|
endpointId: EndpointNumber;
|
|
1311
817
|
|
|
1312
818
|
/**
|
|
1313
819
|
* The unique identifier for the node.
|
|
1314
820
|
*
|
|
1315
|
-
* @see {@link MatterSpecification.
|
|
821
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.9.2
|
|
1316
822
|
*/
|
|
1317
823
|
nodeId: NodeId;
|
|
1318
824
|
|
|
1319
825
|
/**
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1322
|
-
*
|
|
826
|
+
* This field shall indicate a user-assigned label for this endpoint, as captured by a Joint Fabric
|
|
827
|
+
* Administrator's user interface. By maintaining this value in the Joint Fabric Datastore, all Joint Fabric
|
|
828
|
+
* Administrators can keep these values synchronized. This is particularly useful for complex multi-application
|
|
829
|
+
* endpoint devices (such as appliances) and for endpoints exposed via a Bridge, where individual endpoints
|
|
830
|
+
* might have custom names assigned by the user. For basic devices, only the node-level FriendlyName might be
|
|
831
|
+
* used.
|
|
1323
832
|
*
|
|
1324
|
-
*
|
|
1325
|
-
|
|
1326
|
-
friendlyName: string;
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* Indicates whether changes to Friendly Name are pending, committed, or commit-failed.
|
|
833
|
+
* Administrators may keep this field in sync with the NodeLabel field from the Basic Information or Bridged
|
|
834
|
+
* Basic Information clusters.
|
|
1330
835
|
*
|
|
1331
|
-
* @see {@link MatterSpecification.
|
|
836
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.9.3
|
|
1332
837
|
*/
|
|
1333
|
-
|
|
838
|
+
friendlyName: string;
|
|
1334
839
|
}
|
|
1335
840
|
|
|
1336
841
|
/**
|
|
1337
|
-
*
|
|
1338
|
-
*
|
|
1339
|
-
* GroupKeySet represents the KeySet to be added to the Joint Fabric Datastore Cluster.
|
|
1340
|
-
*
|
|
1341
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1342
|
-
*
|
|
1343
|
-
* 1. Ensure there are no KeySets in the KeySetList attribute with the given GroupKeySetID.
|
|
842
|
+
* Upon receipt, this shall add a KeySet to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1344
843
|
*
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1347
|
-
* 3. Add the Epoch Key Entry for the KeySet to the KeySetList attribute.
|
|
1348
|
-
*
|
|
1349
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.1
|
|
844
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.1
|
|
1350
845
|
*/
|
|
1351
846
|
export class AddKeySetRequest {
|
|
1352
847
|
constructor(values?: Partial<AddKeySetRequest>);
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* This field shall indicate the KeySet to be added to the Joint Fabric Datastore Cluster.
|
|
851
|
+
*
|
|
852
|
+
* The Datastore shall:
|
|
853
|
+
*
|
|
854
|
+
* 1. Ensure there are no KeySets in the KeySetList attribute with the given GroupKeySetID.
|
|
855
|
+
*
|
|
856
|
+
* 2. If a match is found, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
857
|
+
*
|
|
858
|
+
* 3. Add the Epoch Key Entry for the KeySet to the KeySetList attribute.
|
|
859
|
+
*
|
|
860
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.1.1
|
|
861
|
+
*/
|
|
1353
862
|
groupKeySet: DatastoreGroupKeySet;
|
|
1354
863
|
}
|
|
1355
864
|
|
|
1356
865
|
/**
|
|
1357
|
-
*
|
|
1358
|
-
*
|
|
1359
|
-
* GroupKeySet represents the KeySet to be updated in the Joint Fabric Datastore Cluster.
|
|
1360
|
-
*
|
|
1361
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1362
|
-
*
|
|
1363
|
-
* 1. Find the Epoch Key Entry for the KeySet in the KeySetList attribute with the given GroupKeySetID, and update
|
|
1364
|
-
* any changed fields.
|
|
866
|
+
* Upon receipt, this shall update a KeySet in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1365
867
|
*
|
|
1366
|
-
*
|
|
1367
|
-
*
|
|
1368
|
-
* 3. If any fields are changed as a result of this command:
|
|
1369
|
-
*
|
|
1370
|
-
* 1. Iterate through each Node Information Entry:
|
|
1371
|
-
*
|
|
1372
|
-
* 1. If the NodeKeySetList contains an entry with the given GroupKeySetID:
|
|
1373
|
-
*
|
|
1374
|
-
* 1. Update the Status on the given DatastoreNodeKeySetEntryStruct tp Pending.
|
|
1375
|
-
*
|
|
1376
|
-
* 2. Update the GroupKeySet on the given Node with the new values.
|
|
1377
|
-
*
|
|
1378
|
-
* 1. If successful, update the Status on this DatastoreNodeKeySetEntryStruct to Committed.
|
|
1379
|
-
*
|
|
1380
|
-
* 2. If not successful, update the State field of the StatusEntry on this DatastoreNodeKeySetEntryStruct to
|
|
1381
|
-
* CommitFailed and FailureCode code to the returned error. The pending change shall be applied in a subsequent
|
|
1382
|
-
* Node Refresh.
|
|
1383
|
-
*
|
|
1384
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.2
|
|
868
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.2
|
|
1385
869
|
*/
|
|
1386
870
|
export class UpdateKeySetRequest {
|
|
1387
871
|
constructor(values?: Partial<UpdateKeySetRequest>);
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* This field shall indicate the KeySet to be updated in the Joint Fabric Datastore Cluster.
|
|
875
|
+
*
|
|
876
|
+
* The Datastore shall:
|
|
877
|
+
*
|
|
878
|
+
* 1. Find the Epoch Key Entry for the KeySet in the KeySetList attribute with the given GroupKeySetID, and
|
|
879
|
+
* update any changed fields.
|
|
880
|
+
*
|
|
881
|
+
* 2. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
882
|
+
*
|
|
883
|
+
* 3. If any fields are changed as a result of this command:
|
|
884
|
+
*
|
|
885
|
+
* 1. Iterate through each DatastoreNodeInformationEntryStruct:
|
|
886
|
+
*
|
|
887
|
+
* 1. If the NodeKeySetList contains an entry with the given GroupKeySetID:
|
|
888
|
+
*
|
|
889
|
+
* 1. Update the Status on the given DatastoreNodeKeySetEntryStruct tp Pending.
|
|
890
|
+
*
|
|
891
|
+
* 2. Update the GroupKeySet on the given Node with the new values.
|
|
892
|
+
*
|
|
893
|
+
* 1. If successful, update the Status on this DatastoreNodeKeySetEntryStruct to Committed.
|
|
894
|
+
*
|
|
895
|
+
* 2. If not successful, update the State field of the StatusEntry on this DatastoreNodeKeySetEntryStruct to
|
|
896
|
+
* CommitFailed and FailureCode code to the returned error. The pending change shall be applied in a
|
|
897
|
+
* subsequent Node Refresh.
|
|
898
|
+
*
|
|
899
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.2.1
|
|
900
|
+
*/
|
|
1388
901
|
groupKeySet: DatastoreGroupKeySet;
|
|
1389
902
|
}
|
|
1390
903
|
|
|
1391
904
|
/**
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1394
|
-
* GroupKeySetID represents the unique identifier for the KeySet to be removed from the Joint Fabric Datastore
|
|
1395
|
-
* Cluster.
|
|
1396
|
-
*
|
|
1397
|
-
* Attempt to remove the IPK, which has GroupKeySetID of 0, shall fail with response CONSTRAINT_ERROR.
|
|
1398
|
-
*
|
|
1399
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1400
|
-
*
|
|
1401
|
-
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1402
|
-
*
|
|
1403
|
-
* 2. Ensure there are no Nodes using this KeySet. To do this:
|
|
1404
|
-
*
|
|
1405
|
-
* 1. Iterate through each Node Information Entry:
|
|
1406
|
-
*
|
|
1407
|
-
* 1. If the NodeKeySetList list contains an entry with the given GroupKeySetID, and the entry does NOT have
|
|
1408
|
-
* Status DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
905
|
+
* Upon receipt, this shall remove a KeySet from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1409
906
|
*
|
|
1410
|
-
*
|
|
1411
|
-
*
|
|
1412
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.3
|
|
907
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.3
|
|
1413
908
|
*/
|
|
1414
909
|
export class RemoveKeySetRequest {
|
|
1415
910
|
constructor(values?: Partial<RemoveKeySetRequest>);
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* This field shall indicate the unique identifier for the KeySet to be removed from the Joint Fabric Datastore
|
|
914
|
+
* Cluster.
|
|
915
|
+
*
|
|
916
|
+
* Attempt to remove the IPK, which has GroupKeySetID of 0, shall fail with response CONSTRAINT_ERROR.
|
|
917
|
+
*
|
|
918
|
+
* The Datastore shall:
|
|
919
|
+
*
|
|
920
|
+
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
921
|
+
*
|
|
922
|
+
* 2. Ensure there are no Nodes using this KeySet. To do this:
|
|
923
|
+
*
|
|
924
|
+
* 1. Iterate through each DatastoreNodeInformationEntryStruct:
|
|
925
|
+
*
|
|
926
|
+
* 1. If the NodeKeySetList list contains an entry with the given GroupKeySetID, and the entry does NOT have
|
|
927
|
+
* Status DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
928
|
+
*
|
|
929
|
+
* 3. Remove the DatastoreGroupKeySetStruct for the given GroupKeySetID from the GroupKeySetList attribute.
|
|
930
|
+
*
|
|
931
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.3.1
|
|
932
|
+
*/
|
|
1416
933
|
groupKeySetId: number;
|
|
1417
934
|
}
|
|
1418
935
|
|
|
1419
936
|
/**
|
|
1420
|
-
*
|
|
1421
|
-
*
|
|
1422
|
-
* GroupInformationEntry represents the group to be added to the Joint Fabric Datastore Cluster.
|
|
1423
|
-
*
|
|
1424
|
-
* GroupCAT values shall fall within the range 1 to 65534. Attempts to add a group with a GroupCAT value of
|
|
1425
|
-
* Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
1426
|
-
*
|
|
1427
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1428
|
-
*
|
|
1429
|
-
* 1. Ensure there are no Groups in the GroupList attribute with the given GroupID. If a match is found, then this
|
|
1430
|
-
* command shall fail with a CONSTRAINT_ERROR status code.
|
|
1431
|
-
*
|
|
1432
|
-
* 2. Add the DatastoreGroupInformationEntryStruct for the Group with the given GroupID to the GroupList
|
|
1433
|
-
* attribute.
|
|
937
|
+
* Upon receipt, this shall add a group to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1434
938
|
*
|
|
1435
|
-
* @see {@link MatterSpecification.
|
|
939
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4
|
|
1436
940
|
*/
|
|
1437
941
|
export class AddGroupRequest {
|
|
1438
942
|
constructor(values?: Partial<AddGroupRequest>);
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* This field shall indicate the unique identifier for the group to be added to the Joint Fabric Datastore
|
|
946
|
+
* Cluster.
|
|
947
|
+
*
|
|
948
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.1
|
|
949
|
+
*/
|
|
1439
950
|
groupId: GroupId;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* This field shall indicate the friendly name for the group.
|
|
954
|
+
*
|
|
955
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.2
|
|
956
|
+
*/
|
|
1440
957
|
friendlyName: string;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* This field shall indicate the unique identifier for the group key set.
|
|
961
|
+
*
|
|
962
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.3
|
|
963
|
+
*/
|
|
1441
964
|
groupKeySetId: number | null;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* This field shall indicate the CAT value for this group.
|
|
968
|
+
*
|
|
969
|
+
* GroupCAT values shall fall within the range 1 to 65534. Attempts to add a group with a GroupCAT value of
|
|
970
|
+
* Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
971
|
+
*
|
|
972
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.4
|
|
973
|
+
*/
|
|
1442
974
|
groupCat: number | null;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* This field shall indicate the current version number for this CAT.
|
|
978
|
+
*
|
|
979
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.5
|
|
980
|
+
*/
|
|
1443
981
|
groupCatVersion: number | null;
|
|
1444
|
-
groupPermission: DatastoreAccessControlEntryPrivilege;
|
|
1445
|
-
}
|
|
1446
982
|
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
*
|
|
1465
|
-
* 3. If any fields are changed as a result of this command:
|
|
1466
|
-
*
|
|
1467
|
-
* 1. Iterate through each Node Information Entry:
|
|
1468
|
-
*
|
|
1469
|
-
* 1. If the GroupKeySetID changed:
|
|
1470
|
-
*
|
|
1471
|
-
* 1. Add a DatastoreNodeKeySetEntryStruct with the new GroupKeySetID, and Status set to Pending.
|
|
1472
|
-
*
|
|
1473
|
-
* 2. Add this KeySet to the Node.
|
|
1474
|
-
*
|
|
1475
|
-
* 1. If successful, Set the Status to Committed for this entry in the NodeKeySetList.
|
|
1476
|
-
*
|
|
1477
|
-
* 2. If not successful, Set the Status to CommitFailed and the FailureCode to the returned error. The pending
|
|
1478
|
-
* change shall be applied in a subsequent Node Refresh.
|
|
1479
|
-
*
|
|
1480
|
-
* 1. If the NodeKeySetList list contains an entry with the previous GroupKeySetID:
|
|
1481
|
-
*
|
|
1482
|
-
* 3. Set the Status set to DeletePending.
|
|
1483
|
-
*
|
|
1484
|
-
* 4. Remove this KeySet from the Node.
|
|
1485
|
-
*
|
|
1486
|
-
* 1. If successful, Remove this entry from the NodeKeySetList.
|
|
1487
|
-
*
|
|
1488
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1489
|
-
*
|
|
1490
|
-
* 2. If the GroupCAT, GroupCATVersion or GroupPermission changed:
|
|
1491
|
-
*
|
|
1492
|
-
* 1. If the ACLList contains an entry for this Group, update the ACL List Entry in the Datastore with the new
|
|
1493
|
-
* values and Status Pending, update the ACL attribute on the given Node with the new values. If the update
|
|
1494
|
-
* succeeds, set the Status to Committed on the ACLList Entry in the Datastore.
|
|
1495
|
-
*
|
|
1496
|
-
* 3. If the FriendlyName changed:
|
|
1497
|
-
*
|
|
1498
|
-
* 1. Iterate through each Endpoint Information Entry:
|
|
1499
|
-
*
|
|
1500
|
-
* 1. If the GroupIDList contains an entry with the given GroupID:
|
|
1501
|
-
*
|
|
1502
|
-
* 1. Update the GroupIDList Entry in the Datastore with the new values and Status Pending
|
|
1503
|
-
*
|
|
1504
|
-
* 2. Update the Groups on the given Node with the new values.
|
|
1505
|
-
*
|
|
1506
|
-
* 1. If the update succeeds, set the Status to Committed on the GroupIDList Entry in the Datastore.
|
|
1507
|
-
*
|
|
1508
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
983
|
+
/**
|
|
984
|
+
* This field shall indicate the permission level associated with ACL entries for this group.
|
|
985
|
+
*
|
|
986
|
+
* The Datastore shall:
|
|
987
|
+
*
|
|
988
|
+
* 1. Ensure there are no Groups in the GroupList attribute with the given GroupID. If a match is found, then
|
|
989
|
+
* this command shall fail with a CONSTRAINT_ERROR status code.
|
|
990
|
+
*
|
|
991
|
+
* 2. Add the DatastoreGroupInformationEntryStruct for the Group with the given GroupID to the GroupList
|
|
992
|
+
* attribute.
|
|
993
|
+
*
|
|
994
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.4.6
|
|
995
|
+
*/
|
|
996
|
+
groupPermission: DatastoreAccessControlEntryPrivilege;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Upon receipt, this shall update a group in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1509
1001
|
*
|
|
1510
|
-
* @see {@link MatterSpecification.
|
|
1002
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5
|
|
1511
1003
|
*/
|
|
1512
1004
|
export class UpdateGroupRequest {
|
|
1513
1005
|
constructor(values?: Partial<UpdateGroupRequest>);
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* This field shall indicate the group to be updated in the Joint Fabric Datastore Cluster.
|
|
1009
|
+
*
|
|
1010
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.1
|
|
1011
|
+
*/
|
|
1514
1012
|
groupId: GroupId;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* This field shall indicate the friendly name for the group. NULL values will be ignored (not updated).
|
|
1016
|
+
*
|
|
1017
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.2
|
|
1018
|
+
*/
|
|
1515
1019
|
friendlyName: string | null;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* This field shall indicate the unique identifier for the group key set. NULL values will be ignored (not
|
|
1023
|
+
* updated).
|
|
1024
|
+
*
|
|
1025
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.3
|
|
1026
|
+
*/
|
|
1516
1027
|
groupKeySetId: number | null;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* This field shall indicate the CAT value for this group. NULL values will be ignored (not updated).
|
|
1031
|
+
*
|
|
1032
|
+
* GroupCAT values shall fall within the range 1 to 65534. Attempts to update the GroupCAT on an existing group
|
|
1033
|
+
* which has a GroupCAT value of Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
1034
|
+
*
|
|
1035
|
+
* Attempts to set the GroupCAT to Administrator CAT or Anchor CAT shall fail with CONSTRAINT_ERROR.
|
|
1036
|
+
*
|
|
1037
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.4
|
|
1038
|
+
*/
|
|
1517
1039
|
groupCat: number | null;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* This field shall indicate the current version number for this CAT. NULL values will be ignored (not updated).
|
|
1043
|
+
*
|
|
1044
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.5
|
|
1045
|
+
*/
|
|
1518
1046
|
groupCatVersion: number | null;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* This field shall indicate the permission level associated with ACL entries for this group. NULL values will
|
|
1050
|
+
* be ignored (not updated).
|
|
1051
|
+
*
|
|
1052
|
+
* The Datastore shall:
|
|
1053
|
+
*
|
|
1054
|
+
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1055
|
+
*
|
|
1056
|
+
* 2. Update the DatastoreGroupInformationEntryStruct for the Group with the given GroupID to match the
|
|
1057
|
+
* non-NULL fields passed in.
|
|
1058
|
+
*
|
|
1059
|
+
* 3. If any fields are changed as a result of this command:
|
|
1060
|
+
*
|
|
1061
|
+
* 1. Iterate through each DatastoreNodeInformationEntryStruct:
|
|
1062
|
+
*
|
|
1063
|
+
* 1. If the GroupKeySetID changed:
|
|
1064
|
+
*
|
|
1065
|
+
* 1. Add a DatastoreNodeKeySetEntryStruct with the new GroupKeySetID, and Status set to Pending.
|
|
1066
|
+
*
|
|
1067
|
+
* 2. Add this KeySet to the Node.
|
|
1068
|
+
*
|
|
1069
|
+
* 1. If successful, Set the Status to Committed for this entry in the NodeKeySetList.
|
|
1070
|
+
*
|
|
1071
|
+
* 2. If not successful, Set the Status to CommitFailed and the FailureCode to the returned error. The pending
|
|
1072
|
+
* change shall be applied in a subsequent Node Refresh.
|
|
1073
|
+
*
|
|
1074
|
+
* 1. If the NodeKeySetList list contains an entry with the previous GroupKeySetID:
|
|
1075
|
+
*
|
|
1076
|
+
* 3. Set the Status set to DeletePending.
|
|
1077
|
+
*
|
|
1078
|
+
* 4. Remove this KeySet from the Node.
|
|
1079
|
+
*
|
|
1080
|
+
* 1. If successful, Remove this entry from the NodeKeySetList.
|
|
1081
|
+
*
|
|
1082
|
+
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1083
|
+
*
|
|
1084
|
+
* 2. If the GroupCAT, GroupCATVersion or GroupPermission changed:
|
|
1085
|
+
*
|
|
1086
|
+
* 1. If the ACLList contains an entry for this Group, update the ACL List Entry in the Datastore with the new
|
|
1087
|
+
* values and Status Pending, update the ACL attribute on the given Node with the new values. If the update
|
|
1088
|
+
* succeeds, set the Status to Committed on the ACLList Entry in the Datastore.
|
|
1089
|
+
*
|
|
1090
|
+
* 3. If the FriendlyName changed:
|
|
1091
|
+
*
|
|
1092
|
+
* 1. Iterate through each DatastoreEndpointGroupIDEntryStruct in the EndpointGroupIDList attribute:
|
|
1093
|
+
*
|
|
1094
|
+
* 1. If the DatastoreEndpointGroupIDEntryStruct contains an entry with the given GroupID:
|
|
1095
|
+
*
|
|
1096
|
+
* 1. Update the DatastoreEndpointGroupIDEntryStruct Entry in the Datastore with the new values and Status
|
|
1097
|
+
* Pending
|
|
1098
|
+
*
|
|
1099
|
+
* 2. Update the Groups on the given Node with the new values.
|
|
1100
|
+
*
|
|
1101
|
+
* 1. If the update succeeds, set the Status to Committed on the GroupIDList Entry in the Datastore.
|
|
1102
|
+
*
|
|
1103
|
+
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1104
|
+
*
|
|
1105
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.5.6
|
|
1106
|
+
*/
|
|
1519
1107
|
groupPermission: DatastoreAccessControlEntryPrivilege | null;
|
|
1520
1108
|
}
|
|
1521
1109
|
|
|
1522
1110
|
/**
|
|
1523
|
-
*
|
|
1524
|
-
*
|
|
1525
|
-
* GroupID represents the unique identifier for the group to be removed from the Joint Fabric Datastore Cluster.
|
|
1526
|
-
*
|
|
1527
|
-
* Attempts to remove a group with GroupCAT value set to Administrator CAT or Anchor CAT shall fail with
|
|
1528
|
-
* CONSTRAINT_ERROR.
|
|
1529
|
-
*
|
|
1530
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1531
|
-
*
|
|
1532
|
-
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1533
|
-
*
|
|
1534
|
-
* 2. Ensure there are no Nodes in this group. To do this:
|
|
1111
|
+
* Upon receipt, this shall remove a group from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1535
1112
|
*
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1538
|
-
* 1. If the GroupIDList contains an entry with the given GroupID, and the entry does NOT have Status
|
|
1539
|
-
* DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
1540
|
-
*
|
|
1541
|
-
* 3. Remove the DatastoreGroupInformationEntryStruct for the Group with the given GroupID from the GroupList
|
|
1542
|
-
* attribute.
|
|
1543
|
-
*
|
|
1544
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.6
|
|
1113
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.6
|
|
1545
1114
|
*/
|
|
1546
1115
|
export class RemoveGroupRequest {
|
|
1547
1116
|
constructor(values?: Partial<RemoveGroupRequest>);
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* This field shall indicate the unique identifier for the group to be removed from the Joint Fabric Datastore
|
|
1120
|
+
* Cluster.
|
|
1121
|
+
*
|
|
1122
|
+
* Attempts to remove a group with GroupCAT value set to Administrator CAT or Anchor CAT shall fail with
|
|
1123
|
+
* CONSTRAINT_ERROR.
|
|
1124
|
+
*
|
|
1125
|
+
* The Datastore shall:
|
|
1126
|
+
*
|
|
1127
|
+
* 1. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1128
|
+
*
|
|
1129
|
+
* 2. Ensure there are no Nodes in this group. To do this:
|
|
1130
|
+
*
|
|
1131
|
+
* 1. Iterate through each DatastoreNodeInformationEntryStruct:
|
|
1132
|
+
*
|
|
1133
|
+
* 1. If the GroupIDList contains an entry with the given GroupID, and the entry does NOT have Status
|
|
1134
|
+
* DeletePending, then this command shall fail with a CONSTRAINT_ERROR status code.
|
|
1135
|
+
*
|
|
1136
|
+
* 3. Remove the DatastoreGroupInformationEntryStruct for the Group with the given GroupID from the GroupList
|
|
1137
|
+
* attribute.
|
|
1138
|
+
*
|
|
1139
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.6.1
|
|
1140
|
+
*/
|
|
1548
1141
|
groupId: GroupId;
|
|
1549
1142
|
}
|
|
1550
1143
|
|
|
1551
1144
|
/**
|
|
1552
|
-
*
|
|
1553
|
-
*
|
|
1554
|
-
* NodeID, FriendlyName, VendorID and ICAC represent the admin to be added to the Joint Fabric Datastore Cluster.
|
|
1145
|
+
* Upon receipt, this shall add an admin to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1555
1146
|
*
|
|
1556
|
-
* @see {@link MatterSpecification.
|
|
1147
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7
|
|
1557
1148
|
*/
|
|
1558
1149
|
export class AddAdminRequest {
|
|
1559
1150
|
constructor(values?: Partial<AddAdminRequest>);
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* This field shall indicate the unique identifier for the admin node.
|
|
1154
|
+
*
|
|
1155
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7.1
|
|
1156
|
+
*/
|
|
1560
1157
|
nodeId: NodeId;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* This field shall indicate the friendly name for the admin node.
|
|
1161
|
+
*
|
|
1162
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7.2
|
|
1163
|
+
*/
|
|
1561
1164
|
friendlyName: string;
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* This field shall indicate the Vendor ID for the admin node.
|
|
1168
|
+
*
|
|
1169
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7.3
|
|
1170
|
+
*/
|
|
1562
1171
|
vendorId: VendorId;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* This field shall indicate the ICAC used to issue the NOC.
|
|
1175
|
+
*
|
|
1176
|
+
* The Datastore shall:
|
|
1177
|
+
*
|
|
1178
|
+
* 1. Ensure there are no Admins in the AdminList attribute with the given NodeID. If a match is found, then
|
|
1179
|
+
* this command shall fail with a CONSTRAINT_ERROR status code.
|
|
1180
|
+
*
|
|
1181
|
+
* 2. Add the DatastoreAdministratorInformationEntryStruct for the Admin with the given NodeID to the
|
|
1182
|
+
* AdminList attribute.
|
|
1183
|
+
*
|
|
1184
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.7.4
|
|
1185
|
+
*/
|
|
1563
1186
|
icac: Bytes;
|
|
1564
1187
|
}
|
|
1565
1188
|
|
|
1566
1189
|
/**
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
1569
|
-
* NodeID represents the admin to be updated in the Joint Fabric Datastore Cluster. NULL values for the additional
|
|
1570
|
-
* parameters will be ignored (not updated).
|
|
1190
|
+
* Upon receipt, this shall update an admin entry in the AdminList attribute.
|
|
1571
1191
|
*
|
|
1572
|
-
*
|
|
1573
|
-
*
|
|
1574
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.8
|
|
1192
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.8
|
|
1575
1193
|
*/
|
|
1576
1194
|
export class UpdateAdminRequest {
|
|
1577
1195
|
constructor(values?: Partial<UpdateAdminRequest>);
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* This field shall indicate the admin to be updated in the Joint Fabric Datastore Cluster.
|
|
1199
|
+
*
|
|
1200
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.8.1
|
|
1201
|
+
*/
|
|
1202
|
+
nodeId: NodeId;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* This field shall indicate the friendly name for the admin node.
|
|
1206
|
+
*
|
|
1207
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.8.2
|
|
1208
|
+
*/
|
|
1209
|
+
friendlyName?: string;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* This field shall indicate the ICAC used to issue the NOC.
|
|
1213
|
+
*
|
|
1214
|
+
* The Datastore shall:
|
|
1215
|
+
*
|
|
1216
|
+
* 1. Find the entry in the AdminList attribute with the given NodeID, and update any changed fields.
|
|
1217
|
+
*
|
|
1218
|
+
* 2. If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1219
|
+
*
|
|
1220
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.8.3
|
|
1221
|
+
*/
|
|
1222
|
+
icac?: Bytes;
|
|
1581
1223
|
}
|
|
1582
1224
|
|
|
1583
1225
|
/**
|
|
1584
|
-
*
|
|
1585
|
-
*
|
|
1586
|
-
* NodeID represents the unique identifier for the admin to be removed from the Joint Fabric Datastore Cluster.
|
|
1587
|
-
*
|
|
1588
|
-
* If entry is not found, then this command shall fail with a NOT_FOUND status code.
|
|
1226
|
+
* Upon receipt, this shall remove an admin from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1589
1227
|
*
|
|
1590
|
-
* @see {@link MatterSpecification.
|
|
1228
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.9
|
|
1591
1229
|
*/
|
|
1592
1230
|
export class RemoveAdminRequest {
|
|
1593
1231
|
constructor(values?: Partial<RemoveAdminRequest>);
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* This field shall indicate the unique identifier for the admin to be removed from the Joint Fabric Datastore
|
|
1235
|
+
* Cluster.
|
|
1236
|
+
*
|
|
1237
|
+
* The Datastore shall:
|
|
1238
|
+
*
|
|
1239
|
+
* 1. If an entry in the AdminList attribute with the given NodeID is not found, then this command shall fail
|
|
1240
|
+
* with a NOT_FOUND status code.
|
|
1241
|
+
*
|
|
1242
|
+
* 2. Remove the DatastoreAdministratorInformationEntryStruct for the Admin with the given NodeID from the
|
|
1243
|
+
* AdminList attribute.
|
|
1244
|
+
*
|
|
1245
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.9.1
|
|
1246
|
+
*/
|
|
1594
1247
|
nodeId: NodeId;
|
|
1595
1248
|
}
|
|
1596
1249
|
|
|
1597
1250
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
1600
|
-
* NodeID represents the node to be added to the Joint Fabric Datastore Cluster.
|
|
1601
|
-
*
|
|
1602
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1603
|
-
*
|
|
1604
|
-
* 1. Update CommissioningStatusEntry of the Node Information Entry with the given NodeID to Pending.
|
|
1605
|
-
*
|
|
1606
|
-
* If a Node Information Entry exists for the given NodeID, then this command shall fail with a INVALID_CONSTRAINT
|
|
1607
|
-
* status code.
|
|
1251
|
+
* Upon receipt, this shall add a node to the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1608
1252
|
*
|
|
1609
|
-
* @see {@link MatterSpecification.
|
|
1253
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.10
|
|
1610
1254
|
*/
|
|
1611
1255
|
export class AddPendingNodeRequest {
|
|
1612
1256
|
constructor(values?: Partial<AddPendingNodeRequest>);
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* This field shall indicate the node to be added to the Joint Fabric Datastore Cluster.
|
|
1260
|
+
*
|
|
1261
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.10.1
|
|
1262
|
+
*/
|
|
1613
1263
|
nodeId: NodeId;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* This field shall indicate the friendly name for the node.
|
|
1267
|
+
*
|
|
1268
|
+
* If a DatastoreNodeInformationEntryStruct exists for the given NodeID, then this command shall fail with a
|
|
1269
|
+
* INVALID_CONSTRAINT status code.
|
|
1270
|
+
*
|
|
1271
|
+
* The Datastore shall:
|
|
1272
|
+
*
|
|
1273
|
+
* 1. Add an entry for the given NodeID to the NodeList attribute and set the status for the
|
|
1274
|
+
* DatastoreNodeInformationEntryStruct to Pending.
|
|
1275
|
+
*
|
|
1276
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.10.2
|
|
1277
|
+
*/
|
|
1614
1278
|
friendlyName: string;
|
|
1615
1279
|
}
|
|
1616
1280
|
|
|
1617
1281
|
/**
|
|
1618
|
-
*
|
|
1282
|
+
* Upon receipt, this shall request that Datastore information relating to a Node of the accessing fabric is
|
|
1619
1283
|
* refreshed.
|
|
1620
1284
|
*
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1623
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall fail
|
|
1624
|
-
* with a NOT_FOUND status code.
|
|
1625
|
-
*
|
|
1626
|
-
* 2. Update the CommissioningStatusEntry for the Node Information Entry to Pending.
|
|
1627
|
-
*
|
|
1628
|
-
* 3. Ensure the Endpoint List for the Node Information Entry with the given NodeID matches Endpoint list on the
|
|
1629
|
-
* given Node. This involves the following steps:
|
|
1630
|
-
*
|
|
1631
|
-
* 1. Read the PartsList of the Descriptor cluster from the Node.
|
|
1632
|
-
*
|
|
1633
|
-
* 2. For each Endpoint Information Entry in the Endpoint List of the Node Information Entry that does not match
|
|
1634
|
-
* an Endpoint ID in the PartsList, remove the Endpoint Information Entry.
|
|
1635
|
-
*
|
|
1636
|
-
* 3. For each Endpoint Information Entry in the Endpoint List of the Node Information Entry that matches an
|
|
1637
|
-
* Endpoint ID in the PartsList:
|
|
1638
|
-
*
|
|
1639
|
-
* 1. Check that each entry in Node's Group List occurs in the GroupIDList of the Endpoint Information Entry.
|
|
1640
|
-
*
|
|
1641
|
-
* 1. Add any missing entries to the GroupIDList of the Endpoint Information Entry.
|
|
1642
|
-
*
|
|
1643
|
-
* 2. For any entries in the GroupIDList with Status of Pending:
|
|
1644
|
-
*
|
|
1645
|
-
* 1. Add the corresponding change to the Node's Group List.
|
|
1646
|
-
*
|
|
1647
|
-
* 1. If successful, mark the Status to Committed.
|
|
1648
|
-
*
|
|
1649
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1650
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1651
|
-
*
|
|
1652
|
-
* 3. For any entries in the GroupIDList with Status of DeletePending:
|
|
1653
|
-
*
|
|
1654
|
-
* 1. If successful, remove the corresponding entry from the Node's Group List.
|
|
1655
|
-
*
|
|
1656
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1657
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1658
|
-
*
|
|
1659
|
-
* 4. For any entries in the GroupIDList with Status of CommitFailure:
|
|
1660
|
-
*
|
|
1661
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1662
|
-
* GroupIDList.
|
|
1663
|
-
*
|
|
1664
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1665
|
-
* Refresh.
|
|
1666
|
-
*
|
|
1667
|
-
* 2. Check that each entry in Node's Binding List occurs in the BindingList of the Endpoint Information Entry.
|
|
1668
|
-
*
|
|
1669
|
-
* 1. Add any missing entries to the BindingList of the Endpoint Information Entry.
|
|
1670
|
-
*
|
|
1671
|
-
* 2. For any entries in the BindingList with Status of Pending:
|
|
1672
|
-
*
|
|
1673
|
-
* 1. Add the corresponding change to the Node's Binding List.
|
|
1674
|
-
*
|
|
1675
|
-
* 1. If successful, mark the Status to Committed.
|
|
1676
|
-
*
|
|
1677
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1678
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1679
|
-
*
|
|
1680
|
-
* 3. For any entries in the BindingList with Status of DeletePending:
|
|
1681
|
-
*
|
|
1682
|
-
* 1. If successful, remove the corresponding entry from the Node's BindingList.
|
|
1683
|
-
*
|
|
1684
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1685
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1686
|
-
*
|
|
1687
|
-
* 4. For any entries in the BindingList with Status of CommitFailure:
|
|
1688
|
-
*
|
|
1689
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1690
|
-
* BindingList.
|
|
1691
|
-
*
|
|
1692
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1693
|
-
* Refresh.
|
|
1694
|
-
*
|
|
1695
|
-
* 4. Ensure the GroupKeySetList for the Node Information Entry with the given NodeID matches the Group Keys on
|
|
1696
|
-
* the given Node. This involves the following steps:
|
|
1697
|
-
*
|
|
1698
|
-
* 1. Read the Group Keys from the Node.
|
|
1699
|
-
*
|
|
1700
|
-
* 2. For each GroupKeySetEntry in the GroupKeySetList of the Node Information Entry with a Pending Status:
|
|
1701
|
-
*
|
|
1702
|
-
* 1. Add the corresponding DatastoreGroupKeySetStruct to the Node's Group Key list.
|
|
1703
|
-
*
|
|
1704
|
-
* 1. If successful, mark the Status to Committed.
|
|
1705
|
-
*
|
|
1706
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1707
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1708
|
-
*
|
|
1709
|
-
* 3. For each GroupKeySetEntry in the GroupKeySetList of the Node Information Entry with a CommitFailure Status:
|
|
1710
|
-
*
|
|
1711
|
-
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1712
|
-
* GroupKeySetList.
|
|
1713
|
-
*
|
|
1714
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1715
|
-
* Refresh.
|
|
1716
|
-
*
|
|
1717
|
-
* 4. All remaining entries in the GroupKeySetList should be replaced by the remaining entries on the Node.
|
|
1718
|
-
*
|
|
1719
|
-
* 5. Ensure the ACLList for the Node Information Entry with the given NodeID matches the ACL attribute on the
|
|
1720
|
-
* given Node. This involves the following steps:
|
|
1721
|
-
*
|
|
1722
|
-
* 1. Read the ACL attribute on the Node.
|
|
1723
|
-
*
|
|
1724
|
-
* 2. For each DatastoreACLEntryStruct in the ACLList of the Node Information Entry with a Pending Status:
|
|
1725
|
-
*
|
|
1726
|
-
* 1. Add the corresponding DatastoreACLEntryStruct to the Node's ACL attribute.
|
|
1727
|
-
*
|
|
1728
|
-
* 1. If successful, mark the Status to Committed.
|
|
1729
|
-
*
|
|
1730
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1731
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1732
|
-
*
|
|
1733
|
-
* 3. For each DatastoreACLEntryStruct in the ACLList of the Node Information Entry with a CommitFailure Status:
|
|
1734
|
-
*
|
|
1735
|
-
* 1. A CommitFailure with an unrecoverable FailureCode (i.e. RESOURCE_EXHAUSTED, CONSTRAINT_ERROR) shall be
|
|
1736
|
-
* handled by removing the entry from the ACLList.
|
|
1737
|
-
*
|
|
1738
|
-
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1739
|
-
* Refresh.
|
|
1740
|
-
*
|
|
1741
|
-
* 4. All remaining entries in the ACLList should be replaced by the remaining entries on the Node.
|
|
1742
|
-
*
|
|
1743
|
-
* 6. Update the CommissioningStatusEntry for the Node Information Entry to Committed.
|
|
1744
|
-
*
|
|
1745
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.11
|
|
1285
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.11
|
|
1746
1286
|
*/
|
|
1747
1287
|
export class RefreshNodeRequest {
|
|
1748
1288
|
constructor(values?: Partial<RefreshNodeRequest>);
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* This field shall indicate the node for which Datastore information should be refreshed.
|
|
1292
|
+
*
|
|
1293
|
+
* The Datastore shall:
|
|
1294
|
+
*
|
|
1295
|
+
* 1. Confirm that a DatastoreNodeInformationEntryStruct exists in the NodeList attribute for the given
|
|
1296
|
+
* NodeID, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1297
|
+
*
|
|
1298
|
+
* 2. Update the CommissioningStatusEntry for the DatastoreNodeInformationEntryStruct to Pending.
|
|
1299
|
+
*
|
|
1300
|
+
* 3. Ensure the Endpoint List for the DatastoreNodeInformationEntryStruct with the given NodeID matches
|
|
1301
|
+
* Endpoint list on the given Node. This involves the following steps:
|
|
1302
|
+
*
|
|
1303
|
+
* 1. Read the PartsList of the Descriptor cluster from the Node.
|
|
1304
|
+
*
|
|
1305
|
+
* 2. For each DatastoreEndpointEntryStruct in the NodeEndpointList attribute with the given NodeID that does
|
|
1306
|
+
* not match an Endpoint ID in the PartsList, remove the DatastoreEndpointEntryStruct.
|
|
1307
|
+
*
|
|
1308
|
+
* 3. For each DatastoreEndpointEntryStruct in the NodeEndpointList attribute with the given NodeID that
|
|
1309
|
+
* matches an Endpoint ID in the PartsList:
|
|
1310
|
+
*
|
|
1311
|
+
* 1. Check that each entry in Node's Group List occurs in the EndpointGroupIDList attribute.
|
|
1312
|
+
*
|
|
1313
|
+
* 1. Add any missing entries to the EndpointGroupIDList.
|
|
1314
|
+
*
|
|
1315
|
+
* 2. For any entries in the EndpointGroupIDList attribute with the given NodeId and EndpointId with Status of
|
|
1316
|
+
* Pending:
|
|
1317
|
+
*
|
|
1318
|
+
* 1. Add the corresponding change to the Node's Group List.
|
|
1319
|
+
*
|
|
1320
|
+
* 1. If successful, mark the Status to Committed.
|
|
1321
|
+
*
|
|
1322
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1323
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1324
|
+
*
|
|
1325
|
+
* 3. For any entries in the EndpointGroupIDList attribute with the given NodeID and EndpointID with Status of
|
|
1326
|
+
* DeletePending:
|
|
1327
|
+
*
|
|
1328
|
+
* 1. If successful, remove the corresponding entry from the Node's Group List.
|
|
1329
|
+
*
|
|
1330
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1331
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1332
|
+
*
|
|
1333
|
+
* 4. For any entries in the EndpointGroupIDList attribute with the given NodeID and EndpointID with Status of
|
|
1334
|
+
* CommitFailure:
|
|
1335
|
+
*
|
|
1336
|
+
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1337
|
+
* GroupIDList.
|
|
1338
|
+
*
|
|
1339
|
+
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1340
|
+
* Refresh.
|
|
1341
|
+
*
|
|
1342
|
+
* 2. Check that each entry in Node's Binding List occurs in the EndpointBindingList attribute with the given
|
|
1343
|
+
* NodeId and EndpointId.
|
|
1344
|
+
*
|
|
1345
|
+
* 1. Add any missing entries to the EndpointBindingList attribute.
|
|
1346
|
+
*
|
|
1347
|
+
* 2. For any entries in the EndpointBindingList attribute with the given NodeID and EndpointID with Status of
|
|
1348
|
+
* Pending:
|
|
1349
|
+
*
|
|
1350
|
+
* 1. Add the corresponding change to the Node's Binding List.
|
|
1351
|
+
*
|
|
1352
|
+
* 1. If successful, mark the Status to Committed.
|
|
1353
|
+
*
|
|
1354
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1355
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1356
|
+
*
|
|
1357
|
+
* 3. For any entries in the EndpointBindingList attribute with the given NodeID and EndpointID with Status of
|
|
1358
|
+
* DeletePending:
|
|
1359
|
+
*
|
|
1360
|
+
* 1. If successful, remove the corresponding entry from the Node's BindingList.
|
|
1361
|
+
*
|
|
1362
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1363
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1364
|
+
*
|
|
1365
|
+
* 4. For any entries in the EndpointBindingList attribute with the given NodeID and EndpointID with Status of
|
|
1366
|
+
* CommitFailure:
|
|
1367
|
+
*
|
|
1368
|
+
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1369
|
+
* BindingList.
|
|
1370
|
+
*
|
|
1371
|
+
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1372
|
+
* Refresh.
|
|
1373
|
+
*
|
|
1374
|
+
* 4. Ensure the GroupKeySetList entries with the given NodeID match the Group Keys on the given Node. This
|
|
1375
|
+
* involves the following steps:
|
|
1376
|
+
*
|
|
1377
|
+
* 1. Read the Group Keys from the Node.
|
|
1378
|
+
*
|
|
1379
|
+
* 2. For each DatastoreGroupKeySetStruct in the GroupKeySetList attribute for the given NodeID with a Pending
|
|
1380
|
+
* Status:
|
|
1381
|
+
*
|
|
1382
|
+
* 1. Add the corresponding DatastoreGroupKeySetStruct to the Node's Group Key list.
|
|
1383
|
+
*
|
|
1384
|
+
* 1. If successful, mark the Status to Committed.
|
|
1385
|
+
*
|
|
1386
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1387
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1388
|
+
*
|
|
1389
|
+
* 3. For each DatastoreGroupKeySetStruct in the GroupKeySetList attribute for the given NodeID with a
|
|
1390
|
+
* CommitFailure Status:
|
|
1391
|
+
*
|
|
1392
|
+
* 1. A CommitFailure with an unrecoverable FailureCode shall be handled by removing the entry from the
|
|
1393
|
+
* GroupKeySetList.
|
|
1394
|
+
*
|
|
1395
|
+
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1396
|
+
* Refresh.
|
|
1397
|
+
*
|
|
1398
|
+
* 4. All remaining entries in the GroupKeySetList attribute for the given NodeId should be replaced by the
|
|
1399
|
+
* remaining entries on the Node.
|
|
1400
|
+
*
|
|
1401
|
+
* 5. Ensure the NodeACLList attribute for the given NodeID matches the ACL attribute on the given Node. This
|
|
1402
|
+
* involves the following steps:
|
|
1403
|
+
*
|
|
1404
|
+
* 1. Read the ACL attribute on the Node.
|
|
1405
|
+
*
|
|
1406
|
+
* 2. For each DatastoreACLEntryStruct in the ACLList attribute with the given NodeID with a Pending Status:
|
|
1407
|
+
*
|
|
1408
|
+
* 1. Add the corresponding DatastoreACLEntryStruct to the Node's ACL attribute.
|
|
1409
|
+
*
|
|
1410
|
+
* 1. If successful, mark the Status to Committed.
|
|
1411
|
+
*
|
|
1412
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1413
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1414
|
+
*
|
|
1415
|
+
* 3. For each DatastoreACLEntryStruct in the ACLList attribute with the given NodeID with a CommitFailure
|
|
1416
|
+
* Status:
|
|
1417
|
+
*
|
|
1418
|
+
* 1. A CommitFailure with an unrecoverable FailureCode (i.e. RESOURCE_EXHAUSTED, CONSTRAINT_ERROR) shall be
|
|
1419
|
+
* handled by removing the entry from the ACLList.
|
|
1420
|
+
*
|
|
1421
|
+
* 2. A CommitFailure with a recoverable FailureCode (i.e. TIMEOUT, BUSY) shall be handle in a subsequent Node
|
|
1422
|
+
* Refresh.
|
|
1423
|
+
*
|
|
1424
|
+
* 4. All remaining entries in the ACLList should be replaced by the remaining entries on the Node.
|
|
1425
|
+
*
|
|
1426
|
+
* 6. Update the CommissioningStatusEntry for the DatastoreNodeInformationEntryStruct to Committed.
|
|
1427
|
+
*
|
|
1428
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.11.1
|
|
1429
|
+
*/
|
|
1749
1430
|
nodeId: NodeId;
|
|
1750
1431
|
}
|
|
1751
1432
|
|
|
1752
1433
|
/**
|
|
1753
|
-
*
|
|
1434
|
+
* Upon receipt, this shall update the friendly name for a node in the Joint Fabric Datastore Cluster of the
|
|
1754
1435
|
* accessing fabric.
|
|
1755
1436
|
*
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
* If a Node Information Entry does not exist for the given NodeID, then this command shall fail with a NOT_FOUND
|
|
1759
|
-
* status code.
|
|
1760
|
-
*
|
|
1761
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.12
|
|
1437
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.12
|
|
1762
1438
|
*/
|
|
1763
1439
|
export class UpdateNodeRequest {
|
|
1764
1440
|
constructor(values?: Partial<UpdateNodeRequest>);
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* This field shall indicate the node to be updated in the Joint Fabric Datastore Cluster.
|
|
1444
|
+
*
|
|
1445
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.12.1
|
|
1446
|
+
*/
|
|
1765
1447
|
nodeId: NodeId;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* This field shall indicate the friendly name for the node.
|
|
1451
|
+
*
|
|
1452
|
+
* The Datastore shall:
|
|
1453
|
+
*
|
|
1454
|
+
* 1. If a DatastoreNodeInformationEntryStruct does not exist for the given NodeID in the NodeList attribute,
|
|
1455
|
+
* then this command shall fail with a NOT_FOUND status code.
|
|
1456
|
+
*
|
|
1457
|
+
* 2. Update the FriendlyName field of the DatastoreNodeInformationEntryStruct with the given NodeID.
|
|
1458
|
+
*
|
|
1459
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.12.2
|
|
1460
|
+
*/
|
|
1766
1461
|
friendlyName: string;
|
|
1767
1462
|
}
|
|
1768
1463
|
|
|
1769
1464
|
/**
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
* NodeID represents the unique identifier for the node to be removed from the Joint Fabric Datastore Cluster.
|
|
1773
|
-
*
|
|
1774
|
-
* If a Node Information Entry does not exist for the given NodeID, then this command shall fail with a NOT_FOUND
|
|
1775
|
-
* status code.
|
|
1465
|
+
* Upon receipt, this shall remove a node from the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1776
1466
|
*
|
|
1777
|
-
* @see {@link MatterSpecification.
|
|
1467
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.13
|
|
1778
1468
|
*/
|
|
1779
1469
|
export class RemoveNodeRequest {
|
|
1780
1470
|
constructor(values?: Partial<RemoveNodeRequest>);
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* This field shall indicate the unique identifier for the node to be removed from the Joint Fabric Datastore
|
|
1474
|
+
* Cluster.
|
|
1475
|
+
*
|
|
1476
|
+
* The Datastore shall:
|
|
1477
|
+
*
|
|
1478
|
+
* 1. If a DatastoreNodeInformationEntryStruct does not exist for the given NodeID in the NodeList attribute,
|
|
1479
|
+
* then this command shall fail with a NOT_FOUND status code.
|
|
1480
|
+
*
|
|
1481
|
+
* 2. Remove the DatastoreNodeInformationEntryStruct with the given NodeID from the NodeList attribute.
|
|
1482
|
+
*
|
|
1483
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.13.1
|
|
1484
|
+
*/
|
|
1781
1485
|
nodeId: NodeId;
|
|
1782
1486
|
}
|
|
1783
1487
|
|
|
1784
1488
|
/**
|
|
1785
|
-
*
|
|
1786
|
-
*
|
|
1787
|
-
*
|
|
1788
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore Cluster.
|
|
1789
|
-
*
|
|
1790
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
1791
|
-
*
|
|
1792
|
-
* If an Endpoint Information Entry does not exist for the given NodeID and EndpointID, then this command shall fail
|
|
1793
|
-
* with a NOT_FOUND status code.
|
|
1489
|
+
* Upon receipt, this shall update the state of an endpoint for a node in the Joint Fabric Datastore Cluster of the
|
|
1490
|
+
* accessing fabric.
|
|
1794
1491
|
*
|
|
1795
|
-
* @see {@link MatterSpecification.
|
|
1492
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.14
|
|
1796
1493
|
*/
|
|
1797
1494
|
export class UpdateEndpointForNodeRequest {
|
|
1798
1495
|
constructor(values?: Partial<UpdateEndpointForNodeRequest>);
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* This field shall indicate the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
1499
|
+
* Cluster.
|
|
1500
|
+
*
|
|
1501
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.14.1
|
|
1502
|
+
*/
|
|
1799
1503
|
endpointId: EndpointNumber;
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* This field shall indicate the unique identifier for the node to which the endpoint belongs.
|
|
1507
|
+
*
|
|
1508
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.14.2
|
|
1509
|
+
*/
|
|
1800
1510
|
nodeId: NodeId;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* This field shall indicate the friendly name for the endpoint.
|
|
1514
|
+
*
|
|
1515
|
+
* The Datastore shall:
|
|
1516
|
+
*
|
|
1517
|
+
* 1. If an DatastoreNodeInformationEntryStruct does not exist for the given NodeID and EndpointID in the
|
|
1518
|
+
* NodeEndpointList attribute, then this command shall fail with a NOT_FOUND status code.
|
|
1519
|
+
*
|
|
1520
|
+
* 2. Update the FriendlyName field of the DatastoreNodeInformationEntryStruct with the given NodeID and
|
|
1521
|
+
* EndpointID.
|
|
1522
|
+
*
|
|
1523
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.14.3
|
|
1524
|
+
*/
|
|
1801
1525
|
friendlyName: string;
|
|
1802
1526
|
}
|
|
1803
1527
|
|
|
1804
1528
|
/**
|
|
1805
|
-
*
|
|
1806
|
-
*
|
|
1807
|
-
*
|
|
1808
|
-
* GroupID represents the unique identifier for the group to be added to the endpoint.
|
|
1809
|
-
*
|
|
1810
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore Cluster.
|
|
1811
|
-
*
|
|
1812
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
1813
|
-
*
|
|
1814
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1815
|
-
*
|
|
1816
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then this
|
|
1817
|
-
* command shall fail with a NOT_FOUND status code.
|
|
1818
|
-
*
|
|
1819
|
-
* 2. Ensure the Group Key List for the Node Information Entry with the given NodeID includes the KeySet for the
|
|
1820
|
-
* given Group ID. If it does not:
|
|
1821
|
-
*
|
|
1822
|
-
* 1. Add an entry for the KeySet of the given Group ID to the Group Key List for the Node. The new entry's status
|
|
1823
|
-
* shall be set to Pending.
|
|
1824
|
-
*
|
|
1825
|
-
* 2. Add a Group Key Entry for this KeySet to the given Node ID.
|
|
1826
|
-
*
|
|
1827
|
-
* 1. If this succeeds, update the new KeySet entry in the Datastore to Committed.
|
|
1828
|
-
*
|
|
1829
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1830
|
-
*
|
|
1831
|
-
* 3. Ensure the Group List for the Endpoint Information Entry with the given NodeID and EndpointID includes an
|
|
1832
|
-
* entry for the given Group. If it does not:
|
|
1833
|
-
*
|
|
1834
|
-
* 1. Add a Group entry for the given Group ID to the Group List for the Endpoint and Node. The new entry's status
|
|
1835
|
-
* shall be set to Pending.
|
|
1836
|
-
*
|
|
1837
|
-
* 2. Add this Group entry to the given Endpoint ID on the given Node ID.
|
|
1838
|
-
*
|
|
1839
|
-
* 1. If this succeeds, update the new Group entry in the Datastore to Committed.
|
|
1840
|
-
*
|
|
1841
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1842
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1529
|
+
* Upon receipt, this shall add a Group ID to an endpoint for a node in the Joint Fabric Datastore Cluster of the
|
|
1530
|
+
* accessing fabric.
|
|
1843
1531
|
*
|
|
1844
|
-
* @see {@link MatterSpecification.
|
|
1532
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.15
|
|
1845
1533
|
*/
|
|
1846
1534
|
export class AddGroupIdToEndpointForNodeRequest {
|
|
1847
1535
|
constructor(values?: Partial<AddGroupIdToEndpointForNodeRequest>);
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* This field shall indicate the unique identifier for the node to which the endpoint belongs.
|
|
1539
|
+
*
|
|
1540
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.15.1
|
|
1541
|
+
*/
|
|
1848
1542
|
nodeId: NodeId;
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* This field shall indicate the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
1546
|
+
* Cluster.
|
|
1547
|
+
*
|
|
1548
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.15.2
|
|
1549
|
+
*/
|
|
1849
1550
|
endpointId: EndpointNumber;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* This field shall indicate the unique identifier for the group to be added to the endpoint.
|
|
1554
|
+
*
|
|
1555
|
+
* The Datastore shall:
|
|
1556
|
+
*
|
|
1557
|
+
* 1. Confirm that an DatastoreNodeInformationEntryStruct exists for the given NodeID and EndpointID in the
|
|
1558
|
+
* NodeEndpointList attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1559
|
+
*
|
|
1560
|
+
* 2. Ensure the Group Key List for the DatastoreNodeInformationEntryStruct with the given NodeID includes the
|
|
1561
|
+
* KeySet for the given Group ID. If it does not:
|
|
1562
|
+
*
|
|
1563
|
+
* 1. Add an entry for the KeySet of the given Group ID to the Group Key List for the Node. The new entry's
|
|
1564
|
+
* status shall be set to Pending.
|
|
1565
|
+
*
|
|
1566
|
+
* 2. Add a Group Key Entry for this KeySet to the given Node ID.
|
|
1567
|
+
*
|
|
1568
|
+
* 1. If this succeeds, update the new KeySet entry in the Datastore to Committed.
|
|
1569
|
+
*
|
|
1570
|
+
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1571
|
+
*
|
|
1572
|
+
* 3. Ensure the Group List for the DatastoreNodeInformationEntryStruct with the given NodeID and EndpointID
|
|
1573
|
+
* includes an entry for the given Group. If it does not:
|
|
1574
|
+
*
|
|
1575
|
+
* 1. Add a Group entry for the given Group ID to the Group List for the Endpoint and Node. The new entry's
|
|
1576
|
+
* status shall be set to Pending.
|
|
1577
|
+
*
|
|
1578
|
+
* 2. Add this Group entry to the given Endpoint ID on the given Node ID.
|
|
1579
|
+
*
|
|
1580
|
+
* 1. If this succeeds, update the new Group entry in the Datastore to Committed.
|
|
1581
|
+
*
|
|
1582
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1583
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1584
|
+
*
|
|
1585
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.15.3
|
|
1586
|
+
*/
|
|
1850
1587
|
groupId: GroupId;
|
|
1851
1588
|
}
|
|
1852
1589
|
|
|
1853
1590
|
/**
|
|
1854
|
-
*
|
|
1855
|
-
*
|
|
1856
|
-
*
|
|
1857
|
-
* GroupID represents the unique identifier for the group to be removed from the endpoint.
|
|
1858
|
-
*
|
|
1859
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore Cluster.
|
|
1860
|
-
*
|
|
1861
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
1862
|
-
*
|
|
1863
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1864
|
-
*
|
|
1865
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then this
|
|
1866
|
-
* command shall fail with a NOT_FOUND status code.
|
|
1867
|
-
*
|
|
1868
|
-
* 2. Ensure the Group List for the Endpoint Information Entry with the given NodeID and EndpointID does not
|
|
1869
|
-
* include an entry for the given Group. If it does:
|
|
1870
|
-
*
|
|
1871
|
-
* 1. Update the status to DeletePending of the Group entry for the given Group ID in the Group List.
|
|
1872
|
-
*
|
|
1873
|
-
* 2. Remove this Group entry for the given Endpoint ID on the given Node ID.
|
|
1874
|
-
*
|
|
1875
|
-
* 1. If this succeeds, remove the Group entry for the given Group ID in the Group List for this NodeID and
|
|
1876
|
-
* EndpointID in the Datastore.
|
|
1877
|
-
*
|
|
1878
|
-
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1879
|
-
*
|
|
1880
|
-
* 3. Ensure the Group Key List for the Node Information Entry with the given NodeID does not include the KeySet
|
|
1881
|
-
* for the given Group ID. If it does:
|
|
1882
|
-
*
|
|
1883
|
-
* 1. Update the status to DeletePending for the entry for the KeySet of the given Group ID in the Node Group Key
|
|
1884
|
-
* List.
|
|
1885
|
-
*
|
|
1886
|
-
* 2. Remove the Group Key Entry for this KeySet from the given Node ID.
|
|
1887
|
-
*
|
|
1888
|
-
* 1. If this succeeds, remove the KeySet entry for the given Node ID.
|
|
1889
|
-
*
|
|
1890
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1891
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1591
|
+
* Upon receipt, this shall remove a Group ID from an endpoint for a node in the Joint Fabric Datastore Cluster of
|
|
1592
|
+
* the accessing fabric.
|
|
1892
1593
|
*
|
|
1893
|
-
* @see {@link MatterSpecification.
|
|
1594
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.16
|
|
1894
1595
|
*/
|
|
1895
1596
|
export class RemoveGroupIdFromEndpointForNodeRequest {
|
|
1896
1597
|
constructor(values?: Partial<RemoveGroupIdFromEndpointForNodeRequest>);
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* This field shall indicate the unique identifier for the node to which the endpoint belongs.
|
|
1601
|
+
*
|
|
1602
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.16.1
|
|
1603
|
+
*/
|
|
1897
1604
|
nodeId: NodeId;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* This field shall indicate the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
1608
|
+
* Cluster.
|
|
1609
|
+
*
|
|
1610
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.16.2
|
|
1611
|
+
*/
|
|
1898
1612
|
endpointId: EndpointNumber;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* This field shall indicate the unique identifier for the group to be removed from the endpoint.
|
|
1616
|
+
*
|
|
1617
|
+
* The Datastore shall:
|
|
1618
|
+
*
|
|
1619
|
+
* 1. Confirm that an DatastoreNodeInformationEntryStruct exists for the given NodeID and EndpointID in the
|
|
1620
|
+
* NodeEndpointList attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1621
|
+
*
|
|
1622
|
+
* 2. Ensure the EndpointGroupIDList entries with the given NodeID and EndpointID does not include an entry
|
|
1623
|
+
* for the given Group. If it does:
|
|
1624
|
+
*
|
|
1625
|
+
* 1. Update the status to DeletePending of the Group entry for the given Group ID in the Group List.
|
|
1626
|
+
*
|
|
1627
|
+
* 2. Remove this Group entry for the given Endpoint ID on the given Node ID.
|
|
1628
|
+
*
|
|
1629
|
+
* 1. If this succeeds, remove the Group entry for the given Group ID in the Group List for this NodeID and
|
|
1630
|
+
* EndpointID in the Datastore.
|
|
1631
|
+
*
|
|
1632
|
+
* 2. If not successful, the pending change shall be applied in a subsequent Node Refresh.
|
|
1633
|
+
*
|
|
1634
|
+
* 3. Ensure the Group Key List for the DatastoreNodeInformationEntryStruct with the given NodeID does not
|
|
1635
|
+
* include the KeySet for the given Group ID. If it does:
|
|
1636
|
+
*
|
|
1637
|
+
* 1. Update the status to DeletePending for the entry for the KeySet of the given Group ID in the Node Group
|
|
1638
|
+
* Key List.
|
|
1639
|
+
*
|
|
1640
|
+
* 2. Remove the Group Key Entry for this KeySet from the given Node ID.
|
|
1641
|
+
*
|
|
1642
|
+
* 1. If this succeeds, remove the KeySet entry for the given Node ID.
|
|
1643
|
+
*
|
|
1644
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1645
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1646
|
+
*
|
|
1647
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.16.3
|
|
1648
|
+
*/
|
|
1899
1649
|
groupId: GroupId;
|
|
1900
1650
|
}
|
|
1901
1651
|
|
|
1902
1652
|
/**
|
|
1903
|
-
*
|
|
1904
|
-
*
|
|
1905
|
-
*
|
|
1906
|
-
* Binding represents the binding to be added to the endpoint.
|
|
1907
|
-
*
|
|
1908
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore Cluster.
|
|
1909
|
-
*
|
|
1910
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
1911
|
-
*
|
|
1912
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1913
|
-
*
|
|
1914
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then this
|
|
1915
|
-
* command shall fail with a NOT_FOUND status code.
|
|
1916
|
-
*
|
|
1917
|
-
* 2. Ensure the Binding List for the Node Information Entry with the given NodeID includes the given Binding. If
|
|
1918
|
-
* it does not:
|
|
1919
|
-
*
|
|
1920
|
-
* 1. Add the Binding to the Binding List for the Node Information Entry for the given NodeID. The new entry's
|
|
1921
|
-
* status shall be set to Pending.
|
|
1922
|
-
*
|
|
1923
|
-
* 2. Add this Binding to the given Node ID.
|
|
1924
|
-
*
|
|
1925
|
-
* 1. If this succeeds, update the new Binding in the Datastore to Committed.
|
|
1926
|
-
*
|
|
1927
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1928
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1653
|
+
* Upon receipt, this shall add a binding to an endpoint for a node in the Joint Fabric Datastore Cluster of the
|
|
1654
|
+
* accessing fabric.
|
|
1929
1655
|
*
|
|
1930
|
-
* @see {@link MatterSpecification.
|
|
1656
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.17
|
|
1931
1657
|
*/
|
|
1932
1658
|
export class AddBindingToEndpointForNodeRequest {
|
|
1933
1659
|
constructor(values?: Partial<AddBindingToEndpointForNodeRequest>);
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* This field shall indicate the unique identifier for the node to which the endpoint belongs.
|
|
1663
|
+
*
|
|
1664
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.17.1
|
|
1665
|
+
*/
|
|
1934
1666
|
nodeId: NodeId;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* This field shall indicate the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
1670
|
+
* Cluster.
|
|
1671
|
+
*
|
|
1672
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.17.2
|
|
1673
|
+
*/
|
|
1935
1674
|
endpointId: EndpointNumber;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* This field shall indicate the binding to be added to the endpoint.
|
|
1678
|
+
*
|
|
1679
|
+
* The Datastore shall:
|
|
1680
|
+
*
|
|
1681
|
+
* 1. Confirm that an DatastoreNodeInformationEntryStruct exists for the given NodeID and EndpointID in the
|
|
1682
|
+
* NodeEndpointList attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1683
|
+
*
|
|
1684
|
+
* 2. Ensure the Binding List for the DatastoreNodeInformationEntryStruct with the given NodeID includes the
|
|
1685
|
+
* given Binding. If it does not:
|
|
1686
|
+
*
|
|
1687
|
+
* 1. Add the DatastoreEndpointBindingEntryStruct entry to the EndpointBindingList attribute for the given
|
|
1688
|
+
* NodeID and EndpointID. The new entry's status shall be set to Pending.
|
|
1689
|
+
*
|
|
1690
|
+
* 2. Add this Binding to the given Node ID.
|
|
1691
|
+
*
|
|
1692
|
+
* 1. If this succeeds, update the new Binding in the Datastore to Committed.
|
|
1693
|
+
*
|
|
1694
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1695
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1696
|
+
*
|
|
1697
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.17.3
|
|
1698
|
+
*/
|
|
1936
1699
|
binding: DatastoreBindingTarget;
|
|
1937
1700
|
}
|
|
1938
1701
|
|
|
1939
1702
|
/**
|
|
1940
|
-
*
|
|
1941
|
-
*
|
|
1942
|
-
*
|
|
1943
|
-
* ListID represents the unique identifier for the binding entry in the Datastore's EndpointBindingList attribute to
|
|
1944
|
-
* be removed from the endpoint.
|
|
1945
|
-
*
|
|
1946
|
-
* EndpointID represents the unique identifier for the endpoint to be updated in the Joint Fabric Datastore Cluster.
|
|
1947
|
-
*
|
|
1948
|
-
* NodeID represents the unique identifier for the node to which the endpoint belongs.
|
|
1949
|
-
*
|
|
1950
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1951
|
-
*
|
|
1952
|
-
* 1. Confirm that an Endpoint Information Entry exists for the given NodeID and EndpointID, and if not, then this
|
|
1953
|
-
* command shall fail with a NOT_FOUND status code.
|
|
1954
|
-
*
|
|
1955
|
-
* 2. Ensure the Binding List for the Node Information Entry with the given NodeID does not include an entry with
|
|
1956
|
-
* the given ListID. If it does:
|
|
1957
|
-
*
|
|
1958
|
-
* 1. Update the status to DeletePending for the given Binding in the Binding List.
|
|
1959
|
-
*
|
|
1960
|
-
* 2. Remove this Binding from the given Node ID.
|
|
1961
|
-
*
|
|
1962
|
-
* 1. If this succeeds, remove the given Binding from the Binding List.
|
|
1963
|
-
*
|
|
1964
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1965
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1703
|
+
* Upon receipt, this shall remove a binding from an endpoint for a node in the Joint Fabric Datastore Cluster of
|
|
1704
|
+
* the accessing fabric.
|
|
1966
1705
|
*
|
|
1967
|
-
* @see {@link MatterSpecification.
|
|
1706
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.18
|
|
1968
1707
|
*/
|
|
1969
1708
|
export class RemoveBindingFromEndpointForNodeRequest {
|
|
1970
1709
|
constructor(values?: Partial<RemoveBindingFromEndpointForNodeRequest>);
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* This field shall indicate the unique identifier for the binding entry in the Datastore's EndpointBindingList
|
|
1713
|
+
* attribute to be removed from the endpoint.
|
|
1714
|
+
*
|
|
1715
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.18.1
|
|
1716
|
+
*/
|
|
1971
1717
|
listId: number;
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* This field shall indicate the unique identifier for the endpoint to be updated in the Joint Fabric Datastore
|
|
1721
|
+
* Cluster.
|
|
1722
|
+
*
|
|
1723
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.18.2
|
|
1724
|
+
*/
|
|
1972
1725
|
endpointId: EndpointNumber;
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* This field shall indicate the unique identifier for the node to which the endpoint belongs.
|
|
1729
|
+
*
|
|
1730
|
+
* The Datastore shall:
|
|
1731
|
+
*
|
|
1732
|
+
* 1. Confirm that an DatastoreNodeInformationEntryStruct exists for the given NodeID and EndpointID in the
|
|
1733
|
+
* EndpointBindingList attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1734
|
+
*
|
|
1735
|
+
* 2. Ensure the EndpointBindingList entries with the given NodeID does not include an entry with the given
|
|
1736
|
+
* ListID. If it does:
|
|
1737
|
+
*
|
|
1738
|
+
* 1. Update the status to DeletePending for the given Binding in the Binding List.
|
|
1739
|
+
*
|
|
1740
|
+
* 2. Remove this Binding from the given Node ID.
|
|
1741
|
+
*
|
|
1742
|
+
* 1. If this succeeds, remove the given Binding from the Binding List.
|
|
1743
|
+
*
|
|
1744
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1745
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1746
|
+
*
|
|
1747
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.18.3
|
|
1748
|
+
*/
|
|
1973
1749
|
nodeId: NodeId;
|
|
1974
1750
|
}
|
|
1975
1751
|
|
|
1976
1752
|
/**
|
|
1977
|
-
*
|
|
1753
|
+
* Upon receipt, this shall add an ACL to a node in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
1978
1754
|
*
|
|
1979
|
-
*
|
|
1980
|
-
*
|
|
1981
|
-
* ACLEntry represents the ACL to be added to the Joint Fabric Datastore Cluster.
|
|
1982
|
-
*
|
|
1983
|
-
* Upon receipt of this command, the Datastore shall:
|
|
1984
|
-
*
|
|
1985
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall fail
|
|
1986
|
-
* with a NOT_FOUND status code.
|
|
1987
|
-
*
|
|
1988
|
-
* 2. Ensure the ACL List for the given NodeID includes the given ACLEntry. If it does not:
|
|
1989
|
-
*
|
|
1990
|
-
* 1. Add the ACLEntry to the ACL List for the given NodeID. The new entry's status shall be set to Pending.
|
|
1991
|
-
*
|
|
1992
|
-
* 2. Add this ACLEntry to the given Node ID.
|
|
1993
|
-
*
|
|
1994
|
-
* 1. If this succeeds, update the new ACLEntry in the Datastore to Committed.
|
|
1995
|
-
*
|
|
1996
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
1997
|
-
* shall be handled in a subsequent Node Refresh.
|
|
1998
|
-
*
|
|
1999
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.19
|
|
1755
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.19
|
|
2000
1756
|
*/
|
|
2001
1757
|
export class AddAclToNodeRequest {
|
|
2002
1758
|
constructor(values?: Partial<AddAclToNodeRequest>);
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* This field shall indicate the unique identifier for the node to which the ACL is to be added.
|
|
1762
|
+
*
|
|
1763
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.19.1
|
|
1764
|
+
*/
|
|
2003
1765
|
nodeId: NodeId;
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* This field shall indicate the ACL to be added to the Joint Fabric Datastore Cluster.
|
|
1769
|
+
*
|
|
1770
|
+
* The Datastore shall:
|
|
1771
|
+
*
|
|
1772
|
+
* 1. Confirm that a DatastoreNodeInformationEntryStruct exists for the given NodeID in the NodeList
|
|
1773
|
+
* attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1774
|
+
*
|
|
1775
|
+
* 2. Ensure the ACL List for the given NodeID includes the given ACLEntry. If it does not:
|
|
1776
|
+
*
|
|
1777
|
+
* 1. Add the ACLEntry to the ACL List for the given NodeID. The new entry's status shall be set to Pending.
|
|
1778
|
+
*
|
|
1779
|
+
* 2. Add this ACLEntry to the given Node ID.
|
|
1780
|
+
*
|
|
1781
|
+
* 1. If this succeeds, update the new ACLEntry in the Datastore to Committed.
|
|
1782
|
+
*
|
|
1783
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1784
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1785
|
+
*
|
|
1786
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.19.2
|
|
1787
|
+
*/
|
|
2004
1788
|
aclEntry: DatastoreAccessControlEntry;
|
|
2005
1789
|
}
|
|
2006
1790
|
|
|
2007
1791
|
/**
|
|
2008
|
-
*
|
|
2009
|
-
* fabric.
|
|
2010
|
-
*
|
|
2011
|
-
* ListID represents the unique identifier for the DatastoreACLEntryStruct to be removed from the Datastore's list
|
|
2012
|
-
* of DatastoreACLEntry.
|
|
2013
|
-
*
|
|
2014
|
-
* NodeID represents the unique identifier for the node from which the ACL is to be removed.
|
|
1792
|
+
* Upon receipt, this shall remove an ACL from a node in the Joint Fabric Datastore Cluster of the accessing fabric.
|
|
2015
1793
|
*
|
|
2016
|
-
*
|
|
2017
|
-
*
|
|
2018
|
-
* 1. Confirm that a Node Information Entry exists for the given NodeID, and if not, then this command shall fail
|
|
2019
|
-
* with a NOT_FOUND status code.
|
|
2020
|
-
*
|
|
2021
|
-
* 2. Ensure the ACL List for the given NodeID does not include the given ACLEntry. If it does:
|
|
2022
|
-
*
|
|
2023
|
-
* 1. Update the status to DeletePending for the given ACLEntry in the ACL List.
|
|
2024
|
-
*
|
|
2025
|
-
* 2. Remove this ACLEntry from the given Node ID.
|
|
2026
|
-
*
|
|
2027
|
-
* 1. If this succeeds, remove the given ACLEntry from the Node ACL List.
|
|
2028
|
-
*
|
|
2029
|
-
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The error
|
|
2030
|
-
* shall be handled in a subsequent Node Refresh.
|
|
2031
|
-
*
|
|
2032
|
-
* @see {@link MatterSpecification.v151.Core} § 11.24.7.20
|
|
1794
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.20
|
|
2033
1795
|
*/
|
|
2034
1796
|
export class RemoveAclFromNodeRequest {
|
|
2035
1797
|
constructor(values?: Partial<RemoveAclFromNodeRequest>);
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* This field shall indicate the unique identifier for the DatastoreACLEntryStruct to be removed from the
|
|
1801
|
+
* Datastore's list of DatastoreACLEntry.
|
|
1802
|
+
*
|
|
1803
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.20.1
|
|
1804
|
+
*/
|
|
2036
1805
|
listId: number;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* This field shall indicate the unique identifier for the node from which the ACL is to be removed.
|
|
1809
|
+
*
|
|
1810
|
+
* The Datastore shall:
|
|
1811
|
+
*
|
|
1812
|
+
* 1. Confirm that a DatastoreNodeInformationEntryStruct exists for the given NodeID in the NodeList
|
|
1813
|
+
* attribute, and if not, then this command shall fail with a NOT_FOUND status code.
|
|
1814
|
+
*
|
|
1815
|
+
* 2. Ensure the ACL List for the given NodeID does not include the given ACLEntry. If it does:
|
|
1816
|
+
*
|
|
1817
|
+
* 1. Update the status to DeletePending for the given ACLEntry in the ACL List.
|
|
1818
|
+
*
|
|
1819
|
+
* 2. Remove this ACLEntry from the given Node ID.
|
|
1820
|
+
*
|
|
1821
|
+
* 1. If this succeeds, remove the given ACLEntry from the Node ACL List.
|
|
1822
|
+
*
|
|
1823
|
+
* 2. If not successful, update the Status to CommitFailed and the FailureCode to the returned error. The
|
|
1824
|
+
* error shall be handled in a subsequent Node Refresh.
|
|
1825
|
+
*
|
|
1826
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.7.20.2
|
|
1827
|
+
*/
|
|
2037
1828
|
nodeId: NodeId;
|
|
2038
1829
|
}
|
|
2039
1830
|
|
|
2040
1831
|
/**
|
|
2041
|
-
* @see {@link MatterSpecification.
|
|
1832
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.1
|
|
2042
1833
|
*/
|
|
2043
1834
|
export enum DatastoreState {
|
|
2044
1835
|
/**
|
|
@@ -2063,7 +1854,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2063
1854
|
}
|
|
2064
1855
|
|
|
2065
1856
|
/**
|
|
2066
|
-
* @see {@link MatterSpecification.
|
|
1857
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.4
|
|
2067
1858
|
*/
|
|
2068
1859
|
export enum DatastoreAccessControlEntryPrivilege {
|
|
2069
1860
|
/**
|
|
@@ -2071,11 +1862,6 @@ export declare namespace JointFabricDatastore {
|
|
|
2071
1862
|
*/
|
|
2072
1863
|
View = 1,
|
|
2073
1864
|
|
|
2074
|
-
/**
|
|
2075
|
-
* @deprecated
|
|
2076
|
-
*/
|
|
2077
|
-
ProxyView = 2,
|
|
2078
|
-
|
|
2079
1865
|
/**
|
|
2080
1866
|
* View privileges, and can perform the primary function of this Node (except Access Control Cluster)
|
|
2081
1867
|
*/
|
|
@@ -2098,7 +1884,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2098
1884
|
* fabric-scoped to the Joint Fabric are managed by the Datastore. As a result, references to nodes and groups are
|
|
2099
1885
|
* specific to the Joint Fabric.
|
|
2100
1886
|
*
|
|
2101
|
-
* @see {@link MatterSpecification.
|
|
1887
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.6
|
|
2102
1888
|
*/
|
|
2103
1889
|
export class DatastoreBindingTarget {
|
|
2104
1890
|
constructor(values?: Partial<DatastoreBindingTarget>);
|
|
@@ -2107,7 +1893,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2107
1893
|
* This field is the binding's remote target node ID. If the Endpoint field is present, this field shall be
|
|
2108
1894
|
* present.
|
|
2109
1895
|
*
|
|
2110
|
-
* @see {@link MatterSpecification.
|
|
1896
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.6.1
|
|
2111
1897
|
*/
|
|
2112
1898
|
node?: NodeId;
|
|
2113
1899
|
|
|
@@ -2115,7 +1901,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2115
1901
|
* This field is the binding's target group ID that represents remote endpoints. If the Endpoint field is
|
|
2116
1902
|
* present, this field shall NOT be present.
|
|
2117
1903
|
*
|
|
2118
|
-
* @see {@link MatterSpecification.
|
|
1904
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.6.2
|
|
2119
1905
|
*/
|
|
2120
1906
|
group?: GroupId;
|
|
2121
1907
|
|
|
@@ -2123,7 +1909,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2123
1909
|
* This field is the binding's remote endpoint that the local endpoint is bound to. If the Group field is
|
|
2124
1910
|
* present, this field shall NOT be present.
|
|
2125
1911
|
*
|
|
2126
|
-
* @see {@link MatterSpecification.
|
|
1912
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.6.3
|
|
2127
1913
|
*/
|
|
2128
1914
|
endpoint?: EndpointNumber;
|
|
2129
1915
|
|
|
@@ -2132,13 +1918,13 @@ export declare namespace JointFabricDatastore {
|
|
|
2132
1918
|
* is present, the client cluster shall also exist on this endpoint (with this Binding cluster). If this field
|
|
2133
1919
|
* is present, the target shall be this cluster on the target endpoint(s).
|
|
2134
1920
|
*
|
|
2135
|
-
* @see {@link MatterSpecification.
|
|
1921
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.6.4
|
|
2136
1922
|
*/
|
|
2137
1923
|
cluster?: ClusterId;
|
|
2138
1924
|
}
|
|
2139
1925
|
|
|
2140
1926
|
/**
|
|
2141
|
-
* @see {@link MatterSpecification.
|
|
1927
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.10
|
|
2142
1928
|
*/
|
|
2143
1929
|
export enum DatastoreAccessControlEntryAuthMode {
|
|
2144
1930
|
/**
|
|
@@ -2158,7 +1944,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2158
1944
|
}
|
|
2159
1945
|
|
|
2160
1946
|
/**
|
|
2161
|
-
* @see {@link MatterSpecification.
|
|
1947
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.11
|
|
2162
1948
|
*/
|
|
2163
1949
|
export class DatastoreAccessControlTarget {
|
|
2164
1950
|
constructor(values?: Partial<DatastoreAccessControlTarget>);
|
|
@@ -2173,7 +1959,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2173
1959
|
* to the Joint Fabric are managed by the Datastore. As a result, references to nodes and groups are specific to the
|
|
2174
1960
|
* Joint Fabric.
|
|
2175
1961
|
*
|
|
2176
|
-
* @see {@link MatterSpecification.
|
|
1962
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.12
|
|
2177
1963
|
*/
|
|
2178
1964
|
export class DatastoreAccessControlEntry {
|
|
2179
1965
|
constructor(values?: Partial<DatastoreAccessControlEntry>);
|
|
@@ -2184,7 +1970,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2184
1970
|
}
|
|
2185
1971
|
|
|
2186
1972
|
/**
|
|
2187
|
-
* @see {@link MatterSpecification.
|
|
1973
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.16
|
|
2188
1974
|
*/
|
|
2189
1975
|
export enum DatastoreGroupKeySecurityPolicy {
|
|
2190
1976
|
/**
|
|
@@ -2194,7 +1980,7 @@ export declare namespace JointFabricDatastore {
|
|
|
2194
1980
|
}
|
|
2195
1981
|
|
|
2196
1982
|
/**
|
|
2197
|
-
* @see {@link MatterSpecification.
|
|
1983
|
+
* @see {@link MatterSpecification.v16.Core} § 11.24.5.17
|
|
2198
1984
|
*/
|
|
2199
1985
|
export enum DatastoreGroupKeyMulticastPolicy {
|
|
2200
1986
|
/**
|