"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 status_element_exports = {};
__export(status_element_exports, {
  status: () => status
});
module.exports = __toCommonJS(status_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const status = (0, import_elements.DatatypeElement)(
  { name: "status", type: "enum8", isSeed: true, metatype: "enum" },
  (0, import_elements.FieldElement)({ name: "Success", id: 0 }),
  (0, import_elements.FieldElement)({ name: "Failure", id: 1 }),
  (0, import_elements.FieldElement)({ name: "InvalidSubscription", id: 125 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedAccess", id: 126 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedEndpoint", id: 127 }),
  (0, import_elements.FieldElement)({ name: "InvalidAction", id: 128 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedCommand", id: 129 }),
  (0, import_elements.FieldElement)({ name: "InvalidCommand", id: 133 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedAttribute", id: 134 }),
  (0, import_elements.FieldElement)({ name: "ConstraintError", id: 135 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedWrite", id: 136 }),
  (0, import_elements.FieldElement)({ name: "ResourceExhausted", id: 137 }),
  (0, import_elements.FieldElement)({ name: "NotFound", id: 139 }),
  (0, import_elements.FieldElement)({ name: "UnreportableAttribute", id: 140 }),
  (0, import_elements.FieldElement)({ name: "InvalidDataType", id: 141 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedRead", id: 143 }),
  (0, import_elements.FieldElement)({ name: "DataVersionMismatch", id: 146 }),
  (0, import_elements.FieldElement)({ name: "Timeout", id: 148 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedNode", id: 155 }),
  (0, import_elements.FieldElement)({ name: "Busy", id: 156 }),
  (0, import_elements.FieldElement)({ name: "AccessRestricted", id: 157 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedCluster", id: 195 }),
  (0, import_elements.FieldElement)({ name: "NoUpstreamSubscription", id: 197 }),
  (0, import_elements.FieldElement)({ name: "NeedsTimedInteraction", id: 198 }),
  (0, import_elements.FieldElement)({ name: "UnsupportedEvent", id: 199 }),
  (0, import_elements.FieldElement)({ name: "PathsExhausted", id: 200 }),
  (0, import_elements.FieldElement)({ name: "TimedRequestMismatch", id: 201 }),
  (0, import_elements.FieldElement)({ name: "FailsafeRequired", id: 202 }),
  (0, import_elements.FieldElement)({ name: "InvalidInState", id: 203 }),
  (0, import_elements.FieldElement)({ name: "NoCommandResponse", id: 204 }),
  (0, import_elements.FieldElement)({ name: "TermsAndConditionsChanged", id: 205 }),
  (0, import_elements.FieldElement)({ name: "MaintenanceRequired", id: 206 }),
  (0, import_elements.FieldElement)({ name: "DynamicConstraintError", id: 207 }),
  (0, import_elements.FieldElement)({ name: "AlreadyExists", id: 208 }),
  (0, import_elements.FieldElement)({ name: "InvalidTransportType", id: 209 })
);
import_MatterDefinition.MatterDefinition.children.push(status);
//# sourceMappingURL=status.element.js.map
