@ask-utils/core
Advanced tools
+5
-5
@@ -6,7 +6,7 @@ import { HandlerInput } from 'ask-sdk-core'; | ||
| export declare const getSupportedInterfaces: (handlerInput: HandlerInput) => SupportedInterfaces | null; | ||
| export declare const getAudioPlayerInterface: (handlerInput: HandlerInput) => {} | interfaces.audioplayer.AudioPlayerInterface; | ||
| export declare const getGeolocationInterface: (handlerInput: HandlerInput) => {} | interfaces.geolocation.GeolocationInterface; | ||
| export declare const getAPLInterface: (handlerInput: HandlerInput) => {} | interfaces.alexa.presentation.apl.AlexaPresentationAplInterface; | ||
| export declare const getVideoAppInterface: (handlerInput: HandlerInput) => {} | interfaces.videoapp.VideoAppInterface; | ||
| export declare const getDisplayInterface: (handlerInput: HandlerInput) => {} | interfaces.display.DisplayInterface; | ||
| export declare const getAudioPlayerInterface: (handlerInput: HandlerInput) => interfaces.audioplayer.AudioPlayerInterface | {}; | ||
| export declare const getGeolocationInterface: (handlerInput: HandlerInput) => interfaces.geolocation.GeolocationInterface | {}; | ||
| export declare const getAPLInterface: (handlerInput: HandlerInput) => interfaces.alexa.presentation.apl.AlexaPresentationAplInterface | {}; | ||
| export declare const getVideoAppInterface: (handlerInput: HandlerInput) => interfaces.videoapp.VideoAppInterface | {}; | ||
| export declare const getDisplayInterface: (handlerInput: HandlerInput) => interfaces.display.DisplayInterface | {}; | ||
| /** | ||
@@ -13,0 +13,0 @@ * APLをサポートしているリクエストかどうか |
+1
-1
| import { HandlerInput } from 'ask-sdk'; | ||
| import { IntentRequest, DialogState } from 'ask-sdk-model'; | ||
| export declare const getDialogState: (request: IntentRequest) => DialogState; | ||
| export declare const getDialogStateFromHandler: (handlerInput: HandlerInput) => "" | "STARTED" | "IN_PROGRESS" | "COMPLETED"; | ||
| export declare const getDialogStateFromHandler: (handlerInput: HandlerInput) => DialogState | ''; | ||
| export declare const isMatchedDialogState: (handlerInput: HandlerInput, state: string) => boolean; | ||
@@ -6,0 +6,0 @@ export declare const isDialogStarted: (handlerInput: HandlerInput) => boolean; |
+22
-21
| import * as Ask from 'ask-sdk'; | ||
| import { Request, RequestEnvelope, IntentRequest, Intent, Context, interfaces } from 'ask-sdk-model'; | ||
| export declare const getRequestEnvelope: (handlerInput: Ask.HandlerInput) => RequestEnvelope; | ||
| export declare const getRequest: (handlerInput: Ask.HandlerInput) => Request; | ||
| export declare const getRequestType: (handlerInput: Ask.HandlerInput) => string; | ||
| export declare const getSystemState: (handlerInput: Ask.HandlerInput) => interfaces.system.SystemState; | ||
| export declare const getContext: (handlerInput: Ask.HandlerInput) => Context; | ||
| export declare const getRequestContext: (handlerInput: Ask.HandlerInput) => Context; | ||
| import HandlerInput = Ask.HandlerInput; | ||
| export declare const getRequestEnvelope: (handlerInput: HandlerInput) => RequestEnvelope; | ||
| export declare const getRequest: (handlerInput: HandlerInput) => Request; | ||
| export declare const getRequestType: (handlerInput: HandlerInput) => string; | ||
| export declare const getSystemState: (handlerInput: HandlerInput) => interfaces.system.SystemState; | ||
| export declare const getContext: (handlerInput: HandlerInput) => Context; | ||
| export declare const getRequestContext: (handlerInput: HandlerInput) => Context; | ||
| export declare const isMatchedIntentName: (request: IntentRequest, intentName: string) => boolean; | ||
| export declare const isMatchedRequestType: (handlerInput: Ask.HandlerInput, type: string) => boolean; | ||
| export declare const isMatchedRequestType: (handlerInput: HandlerInput, type: string) => boolean; | ||
| export declare const isIntentRequestType: (request: Request) => request is IntentRequest; | ||
| export declare const isIntentRequest: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isMatchedIntent: (handlerInput: Ask.HandlerInput, intentName: string) => boolean; | ||
| export declare const isLaunchRequest: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isHelpIntent: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isYesIntent: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isNoIntent: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isStopIntent: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const isCancelIntent: (handlerInput: Ask.HandlerInput) => boolean; | ||
| export declare const getLocale: (handlerInput: Ask.HandlerInput, defaultLocale?: string) => string; | ||
| export declare const getAudioPlayerState: (handlerInput: Ask.HandlerInput) => interfaces.audioplayer.AudioPlayerState | null; | ||
| export declare const getDisplayState: (handlerInput: Ask.HandlerInput) => interfaces.display.DisplayState | null; | ||
| export declare const getGeolocationState: (handlerInput: Ask.HandlerInput) => interfaces.geolocation.GeolocationState | null; | ||
| export declare const getViewportState: (handlerInput: Ask.HandlerInput) => interfaces.viewport.ViewportState | null; | ||
| export declare const getIntent: (handlerInput: Ask.HandlerInput) => {} | Intent; | ||
| export declare const isIntentRequest: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isMatchedIntent: (handlerInput: HandlerInput, intentName: string) => boolean; | ||
| export declare const isLaunchRequest: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isHelpIntent: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isYesIntent: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isNoIntent: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isStopIntent: (handlerInput: HandlerInput) => boolean; | ||
| export declare const isCancelIntent: (handlerInput: HandlerInput) => boolean; | ||
| export declare const getLocale: (handlerInput: HandlerInput, defaultLocale?: string) => string; | ||
| export declare const getAudioPlayerState: (handlerInput: HandlerInput) => interfaces.audioplayer.AudioPlayerState | null; | ||
| export declare const getDisplayState: (handlerInput: HandlerInput) => interfaces.display.DisplayState | null; | ||
| export declare const getGeolocationState: (handlerInput: HandlerInput) => interfaces.geolocation.GeolocationState | null; | ||
| export declare const getViewportState: (handlerInput: HandlerInput) => interfaces.viewport.ViewportState | null; | ||
| export declare const getIntent: (handlerInput: HandlerInput) => Intent | {}; |
+1
-1
@@ -8,5 +8,5 @@ import { HandlerInput } from 'ask-sdk'; | ||
| } | ''; | ||
| export declare const getSlot: (handlerInput: HandlerInput, slotName: string) => "" | Slot; | ||
| export declare const getSlot: (handlerInput: HandlerInput, slotName: string) => Slot | ''; | ||
| export declare const getResolutionSlot: (slot: Slot) => resolutionSlot; | ||
| export declare const getSlotValue: (handlerInput: HandlerInput, slotName: string) => string; | ||
| export {}; |
+2
-2
| { | ||
| "name": "@ask-utils/core", | ||
| "version": "3.9.0", | ||
| "version": "3.11.0", | ||
| "description": "Core helpers for ask-sdk", | ||
@@ -70,3 +70,3 @@ "main": "dist/index.js", | ||
| }, | ||
| "gitHead": "164340855167ebd65bcd3bb0b69b3bd195e4715e" | ||
| "gitHead": "180966e6b8a778e9c0d2639d5f5d7d72afd9138d" | ||
| } |
972
0.1%44142
-0.16%