@voiceflow/alexa-types
Version:
Alexa service types
52 lines • 1.99 kB
TypeScript
import type { BuiltinIntent } from '@voiceflow/common';
import type { VoiceflowConstants } from '@voiceflow/voiceflow-types';
import type { v1 } from 'ask-smapi-model';
export type InterfaceType = v1.skill.Manifest.Interface['type'];
export declare enum AmazonIntent {
CANCEL = "AMAZON.CancelIntent",
FALLBACK = "AMAZON.FallbackIntent",
HELP = "AMAZON.HelpIntent",
LOOP_OFF = "AMAZON.LoopOffIntent",
LOOP_ON = "AMAZON.LoopOnIntent",
MORE = "AMAZON.MoreIntent",
NAVIGATE_HOME = "AMAZON.NavigateHomeIntent",
NAVIGATE_SETTINGS = "AMAZON.NavigateSettingsIntent",
NEXT = "AMAZON.NextIntent",
NO = "AMAZON.NoIntent",
YES = "AMAZON.YesIntent",
STOP = "AMAZON.StopIntent",
RESUME = "AMAZON.ResumeIntent",
REPEAT = "AMAZON.RepeatIntent",
PREVIOUS = "AMAZON.PreviousIntent",
PAUSE = "AMAZON.PauseIntent",
PAGE_UP = "AMAZON.PageUpIntent",
PAGE_DOWN = "AMAZON.PageDownIntent",
START_OVER = "AMAZON.StartOverIntent",
SHUFFLE_ON = "AMAZON.ShuffleOnIntent",
SHUFFLE_OFF = "AMAZON.ShuffleOffIntent",
SCROLL_UP = "AMAZON.ScrollUpIntent",
SCROLL_RIGHT = "AMAZON.ScrollRightIntent",
SCROLL_LEFT = "AMAZON.ScrollLeftIntent",
SCROLL_DOWN = "AMAZON.ScrollDownIntent",
SELECT = "AMAZON.SelectIntent",
PLAYBACK_NEARLY_FINISHED = "AMAZON.AudioPlayer.PlaybackNearlyFinished",
VOICEFLOW = "VoiceFlowIntent"
}
export declare enum IntentPrefix {
AMAZON = "AMAZON",
CUSTOM = "CUSTOM",
CAPTURE = "CAPTURE"
}
export interface DefaultIntent extends VoiceflowConstants.DefaultIntent {
keep?: string[];
}
export declare const INTERFACE_INTENTS: Partial<Record<InterfaceType, {
name: AmazonIntent;
}[]>>;
export declare const BUILT_IN_INTENTS: BuiltinIntent[];
export declare const DEFAULT_INTENTS: Record<string, {
defaults: DefaultIntent[];
builtIns: DefaultIntent[];
}>;
export declare const CATCH_ALL_INTENT: Record<string, DefaultIntent>;
//# sourceMappingURL=intents.d.ts.map