mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Add Resolutions to SlotValue
Add the necessary interfaces to describe the structure for Alexa Entity Resolution.
This commit is contained in:
committed by
GitHub
parent
6839a99461
commit
6738d66ea6
Vendored
+24
@@ -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: Array<ResolutionValueContainer>
|
||||
}
|
||||
|
||||
export interface Resolutions {
|
||||
resolutionsPerAuthority: Array<Resolution>
|
||||
}
|
||||
|
||||
export interface SlotValue {
|
||||
confirmationStatus?: ConfirmationStatuses;
|
||||
name: string;
|
||||
value?: any;
|
||||
resolutions?: Resolutions
|
||||
}
|
||||
|
||||
export interface Intent {
|
||||
|
||||
Reference in New Issue
Block a user