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