"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LockController = void 0; const schema_js_1 = require("../schema.js"); const types_js_1 = require("../types.js"); /** * A lock that takes more than five seconds answers with a DeferredResponse first and the Response when the bolt has * moved (alexa-lockcontroller.html, "Lock response"). The user enables unlocking by voice per device, in the Alexa app. */ exports.LockController = (0, types_js_1.defineInterface)({ namespace: "Alexa.LockController", version: "3", doc: "https://developer.amazon.com/docs/alexaplus/device-apis/alexa-lockcontroller.html", kind: "controller", tier: 1, instanced: false, properties: { lockState: { name: "lockState", value: schema_js_1.s.enum("LOCKED", "UNLOCKED", "JAMMED"), note: "JAMMED: the mechanism can reach neither LOCKED nor UNLOCKED", }, }, directives: { Lock: { name: "Lock", payload: schema_js_1.s.object({}) }, Unlock: { name: "Unlock", payload: schema_js_1.s.object({}) }, }, deferrable: true, });