diff --git a/src/common.ts b/src/common.ts index 5ef32962a1..787254b0e1 100644 --- a/src/common.ts +++ b/src/common.ts @@ -435,6 +435,11 @@ export interface PlaceData { formatted_phone_number: string; /** is a representation of the place's address in the [adr microformat](http://microformats.org/wiki/adr). */ adr_address: string; + /** + * Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code + * for these if applicable. Summary text must be presented as-is and can not be modified or altered. + */ + editorial_summary: PlaceEditorialSummary; /** * contains the following information: * - `location`: contains the geocoded latitude,longitude value for this place. @@ -1514,6 +1519,13 @@ export enum LocationType { APPROXIMATE = "APPROXIMATE", } +export interface PlaceEditorialSummary { + /** The language of the previous fields. May not always be present. */ + language?: string; + /** A medium-length textual summary of the place. */ + overview?: string; +} + export interface PlusCode { /** is a 4 character area code and 6 character or longer local code (849VCWC8+R9). */ global_code: string;