"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var bridged_device_basic_information_element_exports = {};
__export(bridged_device_basic_information_element_exports, {
  BridgedDeviceBasicInformation: () => BridgedDeviceBasicInformation
});
module.exports = __toCommonJS(bridged_device_basic_information_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const BridgedDeviceBasicInformation = (0, import_elements.ClusterElement)(
  { name: "BridgedDeviceBasicInformation", id: 57, type: "BasicInformation", classification: "endpoint" },
  (0, import_elements.AttributeElement)({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 5 }),
  (0, import_elements.AttributeElement)(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    (0, import_elements.FieldElement)({ name: "BIS", conformance: "O", constraint: "20", title: "BridgedIcdSupport" })
  ),
  (0, import_elements.AttributeElement)({ name: "DataModelRevision", id: 0, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "VendorName", id: 1, conformance: "desc" }),
  (0, import_elements.AttributeElement)({ name: "VendorId", id: 2, conformance: "desc" }),
  (0, import_elements.AttributeElement)({ name: "ProductName", id: 3, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "ProductId", id: 4, conformance: "desc" }),
  (0, import_elements.AttributeElement)({ name: "NodeLabel", id: 5, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "Location", id: 6, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "HardwareVersion", id: 7, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "HardwareVersionString", id: 8, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "SoftwareVersion", id: 9, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "SoftwareVersionString", id: 10, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "ManufacturingDate", id: 11, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "PartNumber", id: 12, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "ProductUrl", id: 13, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "ProductLabel", id: 14, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "SerialNumber", id: 15, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "LocalConfigDisabled", id: 16, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "Reachable", id: 17, conformance: "M" }),
  (0, import_elements.AttributeElement)({ name: "UniqueId", id: 18, conformance: "M" }),
  (0, import_elements.AttributeElement)({ name: "CapabilityMinima", id: 19, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "ProductAppearance", id: 20, conformance: "O" }),
  (0, import_elements.AttributeElement)({ name: "SpecificationVersion", id: 21, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "MaxPathsPerInvoke", id: 22, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "ConfigurationVersion", id: 24, conformance: "P, O" }),
  (0, import_elements.EventElement)({ name: "StartUp", id: 0, conformance: "O", priority: "critical" }),
  (0, import_elements.EventElement)({ name: "ShutDown", id: 1, conformance: "O", priority: "critical" }),
  (0, import_elements.EventElement)(
    { name: "Leave", id: 2, conformance: "O", priority: "critical" },
    (0, import_elements.FieldElement)({ name: "FabricIndex", id: 0, conformance: "X" })
  ),
  (0, import_elements.EventElement)({ name: "ReachableChanged", id: 3, conformance: "M", priority: "critical" }),
  (0, import_elements.EventElement)(
    { name: "ActiveChanged", id: 128, access: "V", conformance: "BIS", priority: "info" },
    (0, import_elements.FieldElement)({ name: "PromisedActiveDuration", id: 0, type: "uint32", conformance: "M", constraint: "desc" })
  ),
  (0, import_elements.CommandElement)(
    { name: "KeepActive", id: 128, access: "O", conformance: "BIS", direction: "request", response: "status" },
    (0, import_elements.FieldElement)({ name: "StayActiveDuration", id: 0, type: "uint32", conformance: "M" }),
    (0, import_elements.FieldElement)({ name: "TimeoutMs", id: 1, type: "uint32", conformance: "M", constraint: "30000 to 3600000" })
  )
);
import_MatterDefinition.MatterDefinition.children.push(BridgedDeviceBasicInformation);
//# sourceMappingURL=bridged-device-basic-information.element.js.map
