20 lines
559 B
TypeScript
20 lines
559 B
TypeScript
export declare enum AlexaActions {
|
|
Open = "Alexa.Actions.Open",
|
|
Close = "Alexa.Actions.Close",
|
|
Raise = "Alexa.Actions.Raise",
|
|
Lower = "Alexa.Actions.Lower",
|
|
SetEcoOn = "Alexa.Actions.SetEcoOn",
|
|
SetEcoOff = "Alexa.Actions.SetEcoOff"
|
|
}
|
|
interface Directive {
|
|
name: string;
|
|
payload?: string;
|
|
}
|
|
export declare class ActionMapping {
|
|
type: string;
|
|
actions: AlexaActions[];
|
|
directive: Directive;
|
|
constructor(actions: AlexaActions[], directiveName: string, directivePayload?: string);
|
|
toJSON(): object;
|
|
}
|
|
export {};
|