"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContactSensor = void 0; const schema_js_1 = require("../schema.js"); const types_js_1 = require("../types.js"); /** * DETECTED is open: the two pieces of the sensor are apart. A sensor that cannot answer ReportState sends a * ChangeReport right after discovery, so that the Alexa app shows its state (alexa-contactsensor.html). */ exports.ContactSensor = (0, types_js_1.defineInterface)({ namespace: "Alexa.ContactSensor", version: "3", doc: "https://developer.amazon.com/docs/alexaplus/device-apis/alexa-contactsensor.html", kind: "sensor", tier: 1, instanced: false, properties: { detectionState: { name: "detectionState", value: schema_js_1.s.enum("DETECTED", "NOT_DETECTED") }, }, directives: {}, });