"use strict";
// Wire protocol between the hub agent and appengine. Both sides MUST agree
// on these shapes — keep this file in sync with the server-side gateway
// (appengine/src/device-integrations/hub-gateway.ts).
//
// Message envelope: every frame is a JSON object with a `type` discriminator.
//
//   hub → server :  hello | heartbeat | response | event
//   server → hub :  welcome | command | ping
//
// Commands carry a `commandId` (UUID) that the hub echoes back in its
// response so the server can correlate. Events are unsolicited (e.g. scanner
// reads, drawer-opened) and have no commandId.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map