"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Alexa = void 0; const schema_js_1 = require("../schema.js"); const types_js_1 = require("../types.js"); /** * The base interface: every endpoint lists it (alexa-interface.html, "Support the Alexa interface in all add-ons"). * Its one directive to a device is ReportState, answered with a StateReport. */ exports.Alexa = (0, types_js_1.defineInterface)({ namespace: "Alexa", version: "3", doc: "https://developer.amazon.com/docs/alexaplus/device-apis/alexa-interface.html", kind: "base", tier: 1, instanced: false, properties: {}, directives: { ReportState: { name: "ReportState", payload: schema_js_1.s.object({}) }, }, // { type, interface, version } and nothing else, as in the discovery example of the page discovery: () => ({ properties: false }), });