alexa-sdk: added locale property and optionalized

accessToken is optional, e.g. doesn't get sent on every request
This commit is contained in:
Pascal Brokmeier
2017-06-29 15:04:34 +02:00
parent 2b74ee5cdb
commit cbdf74e0df
+2 -1
View File
@@ -75,7 +75,7 @@ export interface SessionApplication {
export interface SessionUser {
userId: string;
accessToken: string;
accessToken?: string;
}
export interface LaunchRequest extends Request { }
@@ -105,6 +105,7 @@ export interface Request {
type: "LaunchRequest" | "IntentRequest" | "SessionEndedRequest";
requestId: string;
timeStamp: string;
locale: string;
}
export interface ResponseBody {