diff --git a/types/dialogflow/index.d.ts b/types/dialogflow/index.d.ts index e8c1e04b4b..fc11ecf7e5 100644 --- a/types/dialogflow/index.d.ts +++ b/types/dialogflow/index.d.ts @@ -890,7 +890,7 @@ export type Value = export interface EntityType { name?: string; - entities: EntitySynonyms[]; + entities: Entity[]; displayName: string; kind: EntityKind; autoExpansionMode: EntityAutoExpansionMode; @@ -916,9 +916,9 @@ export interface ClientOptions { servicePath?: string; } -export interface EntitySynonyms { - synonyms: NonEmptyArray; +export interface Entity { value: string; + synonyms: NonEmptyArray; } export type EntityKind = @@ -1239,11 +1239,6 @@ export interface SessionEntityType { entities: Entity[]; } -export interface Entity { - value: string; - synonyms: string[]; -} - export interface WebhookRequest { session: string; responseId: string;