intentful
Version:
Create Custom Skills with less headache
19 lines (18 loc) • 773 B
TypeScript
import { interfaces } from 'ask-sdk-model';
import { Command, CommandModel, CommandProps } from './command';
import { IntentHandler, LabeledRequestHandler } from '../../skill';
export interface SendEventCommandModel extends CommandModel {
arguments?: unknown[];
components?: string[];
}
export interface SendEventCommandProps extends CommandProps {
arguments?: unknown[];
components?: string[];
uniqueId: string;
handler: IntentHandler<interfaces.alexa.presentation.apl.UserEvent>;
}
export declare class SendEventCommand extends Command<SendEventCommandModel, SendEventCommandProps> {
constructor(props: SendEventCommandProps);
commandSpecificModel(): SendEventCommandModel;
commandSpecificRequestHandlers(): LabeledRequestHandler[];
}