matterbridge-dyson-robot
Version:
A Matterbridge plugin that connects Dyson robot vacuums and air treatment devices to the Matter smart home ecosystem via their local or cloud MQTT APIs.
95 lines • 3.35 kB
JavaScript
/**
* This module was automatically generated by `ts-interface-builder`
*/
import * as t from "ts-interface-checker";
// tslint:disable:object-literal-key-quotes
export const Dyson360State = t.enumtype({
"MachineOff": "MACHINE_OFF",
"FaultCallHelpline": "FAULT_CALL_HELPLINE",
"FaultContactHelpline": "FAULT_CONTACT_HELPLINE",
"FaultCritical": "FAULT_CRITICAL",
"FaultGettingInfo": "FAULT_GETTING_INFO",
"FaultLost": "FAULT_LOST",
"FaultOnDock": "FAULT_ON_DOCK",
"FaultOnDockCharged": "FAULT_ON_DOCK_CHARGED",
"FaultOnDockCharging": "FAULT_ON_DOCK_CHARGING",
"FaultReplaceOnDock": "FAULT_REPLACE_ON_DOCK",
"FaultReturnToDock": "FAULT_RETURN_TO_DOCK",
"FaultRunningDiagnostic": "FAULT_RUNNING_DIAGNOSTIC",
"FaultUserRecoverable": "FAULT_USER_RECOVERABLE",
"FullCleanAbandoned": "FULL_CLEAN_ABANDONED",
"FullCleanAborted": "FULL_CLEAN_ABORTED",
"FullCleanCharging": "FULL_CLEAN_CHARGING",
"FullCleanDiscovering": "FULL_CLEAN_DISCOVERING",
"FullCleanFinished": "FULL_CLEAN_FINISHED",
"FullCleanInitiated": "FULL_CLEAN_INITIATED",
"FullCleanNeedsCharge": "FULL_CLEAN_NEEDS_CHARGE",
"FullCleanPaused": "FULL_CLEAN_PAUSED",
"FullCleanRunning": "FULL_CLEAN_RUNNING",
"FullCleanTraversing": "FULL_CLEAN_TRAVERSING",
"InactiveCharged": "INACTIVE_CHARGED",
"InactiveCharging": "INACTIVE_CHARGING",
"InactiveDischarging": "INACTIVE_DISCHARGING",
"MappingAborted": "MAPPING_ABORTED",
"MappingCharging": "MAPPING_CHARGING",
"MappingFinished": "MAPPING_FINISHED",
"MappingInitiated": "MAPPING_INITIATED",
"MappingNeedsCharge": "MAPPING_NEEDS_CHARGE",
"MappingPaused": "MAPPING_PAUSED",
"MappingRunning": "MAPPING_RUNNING",
});
export const Dyson360FaultStatus = t.union(t.iface([], {
"active": t.lit(false),
}), t.iface([], {
"active": t.lit(true),
"description": "string",
}));
export const Dyson360Faults = t.iface([], {
"AIRWAYS": "Dyson360FaultStatus",
"BATTERY": "Dyson360FaultStatus",
"BRUSH_BAR_AND_TRACTION": "Dyson360FaultStatus",
"CHARGE_STATION": "Dyson360FaultStatus",
"LOST": "Dyson360FaultStatus",
"OPTICS": "Dyson360FaultStatus",
});
export const Dyson360EyePowerMode = t.enumtype({
"Quiet": "halfPower",
"Max": "fullPower",
});
export const Dyson360HeuristPowerMode = t.enumtype({
"Quiet": "1",
"High": "2",
"Max": "3",
});
export const Dyson360VisNavPowerMode = t.enumtype({
"Auto": "1",
"Quick": "2",
"Quiet": "3",
"Boost": "4",
});
export const Dyson360PowerMode = t.union("Dyson360EyePowerMode", "Dyson360HeuristPowerMode", "Dyson360VisNavPowerMode");
export const Dyson360CleaningType = t.enumtype({
"Unknown": "",
"Immediate": "immediate",
"Manual": "manual",
"Scheduled": "scheduled",
});
export const Dyson360CleaningMode = t.enumtype({
"Global": "global",
"ZoneConfigured": "zoneConfigured",
});
export const Dyson360Position = t.tuple("number", "number");
const exportedTypeSuite = {
Dyson360State,
Dyson360FaultStatus,
Dyson360Faults,
Dyson360EyePowerMode,
Dyson360HeuristPowerMode,
Dyson360VisNavPowerMode,
Dyson360PowerMode,
Dyson360CleaningType,
Dyson360CleaningMode,
Dyson360Position,
};
export default exportedTypeSuite;
//# sourceMappingURL=dyson-360-types-ti.js.map