/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import {
  ClusterElement as Cluster,
  AttributeElement as Attribute,
  FieldElement as Field,
  EventElement as Event,
  CommandElement as Command
} from "../../elements/index.js";
const BridgedDeviceBasicInformation = Cluster(
  { name: "BridgedDeviceBasicInformation", id: 57, type: "BasicInformation", classification: "endpoint" },
  Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 5 }),
  Attribute(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    Field({ name: "BIS", conformance: "O", constraint: "20", title: "BridgedIcdSupport" })
  ),
  Attribute({ name: "DataModelRevision", id: 0, conformance: "X" }),
  Attribute({ name: "VendorName", id: 1, conformance: "desc" }),
  Attribute({ name: "VendorId", id: 2, conformance: "desc" }),
  Attribute({ name: "ProductName", id: 3, conformance: "O" }),
  Attribute({ name: "ProductId", id: 4, conformance: "desc" }),
  Attribute({ name: "NodeLabel", id: 5, conformance: "O" }),
  Attribute({ name: "Location", id: 6, conformance: "X" }),
  Attribute({ name: "HardwareVersion", id: 7, conformance: "O" }),
  Attribute({ name: "HardwareVersionString", id: 8, conformance: "O" }),
  Attribute({ name: "SoftwareVersion", id: 9, conformance: "O" }),
  Attribute({ name: "SoftwareVersionString", id: 10, conformance: "O" }),
  Attribute({ name: "ManufacturingDate", id: 11, conformance: "O" }),
  Attribute({ name: "PartNumber", id: 12, conformance: "O" }),
  Attribute({ name: "ProductUrl", id: 13, conformance: "O" }),
  Attribute({ name: "ProductLabel", id: 14, conformance: "O" }),
  Attribute({ name: "SerialNumber", id: 15, conformance: "O" }),
  Attribute({ name: "LocalConfigDisabled", id: 16, conformance: "X" }),
  Attribute({ name: "Reachable", id: 17, conformance: "M" }),
  Attribute({ name: "UniqueId", id: 18, conformance: "M" }),
  Attribute({ name: "CapabilityMinima", id: 19, conformance: "X" }),
  Attribute({ name: "ProductAppearance", id: 20, conformance: "O" }),
  Attribute({ name: "SpecificationVersion", id: 21, conformance: "X" }),
  Attribute({ name: "MaxPathsPerInvoke", id: 22, conformance: "X" }),
  Attribute({ name: "ConfigurationVersion", id: 24, conformance: "P, O" }),
  Event({ name: "StartUp", id: 0, conformance: "O", priority: "critical" }),
  Event({ name: "ShutDown", id: 1, conformance: "O", priority: "critical" }),
  Event(
    { name: "Leave", id: 2, conformance: "O", priority: "critical" },
    Field({ name: "FabricIndex", id: 0, conformance: "X" })
  ),
  Event({ name: "ReachableChanged", id: 3, conformance: "M", priority: "critical" }),
  Event(
    { name: "ActiveChanged", id: 128, access: "V", conformance: "BIS", priority: "info" },
    Field({ name: "PromisedActiveDuration", id: 0, type: "uint32", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "KeepActive", id: 128, access: "O", conformance: "BIS", direction: "request", response: "status" },
    Field({ name: "StayActiveDuration", id: 0, type: "uint32", conformance: "M" }),
    Field({ name: "TimeoutMs", id: 1, type: "uint32", conformance: "M", constraint: "30000 to 3600000" })
  )
);
MatterDefinition.children.push(BridgedDeviceBasicInformation);
export {
  BridgedDeviceBasicInformation
};
//# sourceMappingURL=bridged-device-basic-information.element.js.map
