mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 11:39:28 +08:00
Merge pull request #19328 from svadlamudi/patch-1
Add Entity Resolution to alexa-sdk SlotValue
This commit is contained in:
24
types/alexa-sdk/index.d.ts
vendored
24
types/alexa-sdk/index.d.ts
vendored
@@ -98,10 +98,34 @@ export interface Request {
|
||||
locale?: string;
|
||||
}
|
||||
|
||||
export interface ResolutionStatus {
|
||||
code: string;
|
||||
}
|
||||
|
||||
export interface ResolutionValue {
|
||||
name: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface ResolutionValueContainer {
|
||||
value: ResolutionValue;
|
||||
}
|
||||
|
||||
export interface Resolution {
|
||||
authority: string;
|
||||
status: ResolutionStatus;
|
||||
values: ResolutionValueContainer[];
|
||||
}
|
||||
|
||||
export interface Resolutions {
|
||||
resolutionsPerAuthority: Resolution[];
|
||||
}
|
||||
|
||||
export interface SlotValue {
|
||||
confirmationStatus?: ConfirmationStatuses;
|
||||
name: string;
|
||||
value?: any;
|
||||
resolutions?: Resolutions;
|
||||
}
|
||||
|
||||
export interface Intent {
|
||||
|
||||
Reference in New Issue
Block a user