@maxim_mazurok/gapi.client.places-v1 0.0.20250412 → 0.0.20250414

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +44 -26
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://places.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250412
12
+ // Revision: 20250414
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -165,10 +165,8 @@ declare namespace gapi.client {
165
165
  interface GoogleMapsPlacesV1ContentBlock {
166
166
  /** Content related to the topic. */
167
167
  content?: GoogleTypeLocalizedText;
168
- /** Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. References that are related to this block of content. */
169
- references?: GoogleMapsPlacesV1References;
170
- /** The topic of the content, for example "overview" or "restaurant". */
171
- topic?: string;
168
+ /** The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names. */
169
+ referencedPlaces?: string[];
172
170
  }
173
171
  interface GoogleMapsPlacesV1ContextualContent {
174
172
  /** Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Justifications for the place. */
@@ -269,8 +267,6 @@ declare namespace gapi.client {
269
267
  adrFormatAddress?: string;
270
268
  /** Place allows dogs. */
271
269
  allowsDogs?: boolean;
272
- /** Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the area that the place is in. */
273
- areaSummary?: GoogleMapsPlacesV1PlaceAreaSummary;
274
270
  /** A set of data provider that must be shown with this result. */
275
271
  attributions?: GoogleMapsPlacesV1PlaceAttribution[];
276
272
  /** The business status for the place. */
@@ -291,13 +287,15 @@ declare namespace gapi.client {
291
287
  displayName?: GoogleTypeLocalizedText;
292
288
  /** 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. */
293
289
  editorialSummary?: GoogleTypeLocalizedText;
290
+ /** The summary of amenities near the EV charging station. */
291
+ evChargeAmenitySummary?: GoogleMapsPlacesV1PlaceEvChargeAmenitySummary;
294
292
  /** Information of ev charging options. */
295
293
  evChargeOptions?: GoogleMapsPlacesV1EVChargeOptions;
296
294
  /** A full, human-readable address for this place. */
297
295
  formattedAddress?: string;
298
296
  /** The most recent information about fuel options in a gas station. This information is updated regularly. */
299
297
  fuelOptions?: GoogleMapsPlacesV1FuelOptions;
300
- /** Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the place. */
298
+ /** AI-generated summary of the place. */
301
299
  generativeSummary?: GoogleMapsPlacesV1PlaceGenerativeSummary;
302
300
  /** Place is good for children. */
303
301
  goodForChildren?: boolean;
@@ -327,6 +325,8 @@ declare namespace gapi.client {
327
325
  name?: string;
328
326
  /** A human-readable phone number for the place, in national format. */
329
327
  nationalPhoneNumber?: string;
328
+ /** A summary of points of interest near the place. */
329
+ neighborhoodSummary?: GoogleMapsPlacesV1PlaceNeighborhoodSummary;
330
330
  /** Place provides outdoor seating. */
331
331
  outdoorSeating?: boolean;
332
332
  /** Options of parking provided by the place. */
@@ -361,6 +361,8 @@ declare namespace gapi.client {
361
361
  restroom?: boolean;
362
362
  /** List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned. */
363
363
  reviews?: GoogleMapsPlacesV1Review[];
364
+ /** AI-generated summary of the place using user reviews. */
365
+ reviewSummary?: GoogleMapsPlacesV1PlaceReviewSummary;
364
366
  /** Specifies if the place serves beer. */
365
367
  servesBeer?: boolean;
366
368
  /** Specifies if the place serves breakfast. */
@@ -420,12 +422,6 @@ declare namespace gapi.client {
420
422
  /** An array indicating the type(s) of the address component. */
421
423
  types?: string[];
422
424
  }
423
- interface GoogleMapsPlacesV1PlaceAreaSummary {
424
- /** Content blocks that compose the area summary. Each block has a separate topic about the area. */
425
- contentBlocks?: GoogleMapsPlacesV1ContentBlock[];
426
- /** A link where users can flag a problem with the summary. */
427
- flagContentUri?: string;
428
- }
429
425
  interface GoogleMapsPlacesV1PlaceAttribution {
430
426
  /** Name of the Place's data provider. */
431
427
  provider?: string;
@@ -438,17 +434,27 @@ declare namespace gapi.client {
438
434
  /** The resource name of the place in which this place is located. */
439
435
  name?: string;
440
436
  }
437
+ interface GoogleMapsPlacesV1PlaceEvChargeAmenitySummary {
438
+ /** A summary of the nearby coffee options. */
439
+ coffee?: GoogleMapsPlacesV1ContentBlock;
440
+ /** The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available. */
441
+ disclosureText?: GoogleTypeLocalizedText;
442
+ /** A link where users can flag a problem with the summary. */
443
+ flagContentUri?: string;
444
+ /** An overview of the available amenities. This is guaranteed to be provided. */
445
+ overview?: GoogleMapsPlacesV1ContentBlock;
446
+ /** A summary of the nearby restaurants. */
447
+ restaurant?: GoogleMapsPlacesV1ContentBlock;
448
+ /** A summary of the nearby gas stations. */
449
+ store?: GoogleMapsPlacesV1ContentBlock;
450
+ }
441
451
  interface GoogleMapsPlacesV1PlaceGenerativeSummary {
442
- /** The detailed description of the place. */
443
- description?: GoogleTypeLocalizedText;
444
- /** A link where users can flag a problem with the description summary. */
445
- descriptionFlagContentUri?: string;
452
+ /** The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available. */
453
+ disclosureText?: GoogleTypeLocalizedText;
446
454
  /** The overview of the place. */
447
455
  overview?: GoogleTypeLocalizedText;
448
456
  /** A link where users can flag a problem with the overview summary. */
449
457
  overviewFlagContentUri?: string;
450
- /** References that are used to generate the summary description. */
451
- references?: GoogleMapsPlacesV1References;
452
458
  }
453
459
  interface GoogleMapsPlacesV1PlaceGoogleMapsLinks {
454
460
  /** A link to show the directions to the place. The link only populates the destination location and uses the default travel mode `DRIVE`. */
@@ -462,6 +468,16 @@ declare namespace gapi.client {
462
468
  /** A link to write a review for this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. */
463
469
  writeAReviewUri?: string;
464
470
  }
471
+ interface GoogleMapsPlacesV1PlaceNeighborhoodSummary {
472
+ /** A detailed description of the neighborhood. */
473
+ description?: GoogleMapsPlacesV1ContentBlock;
474
+ /** The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available. */
475
+ disclosureText?: GoogleTypeLocalizedText;
476
+ /** A link where users can flag a problem with the summary. */
477
+ flagContentUri?: string;
478
+ /** An overview summary of the neighborhood. */
479
+ overview?: GoogleMapsPlacesV1ContentBlock;
480
+ }
465
481
  interface GoogleMapsPlacesV1PlaceOpeningHours {
466
482
  /** The next time the current opening hours period ends up to 7 days in the future. This field is only populated if the opening hours period is active at the time of serving the request. */
467
483
  nextCloseTime?: string;
@@ -532,6 +548,14 @@ declare namespace gapi.client {
532
548
  /** Place's global (full) code, such as "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters). */
533
549
  globalCode?: string;
534
550
  }
551
+ interface GoogleMapsPlacesV1PlaceReviewSummary {
552
+ /** The AI disclosure message "Summarized with Gemini" (and its localized variants). This will be in the language specified in the request if available. */
553
+ disclosureText?: GoogleTypeLocalizedText;
554
+ /** A link where users can flag a problem with the summary. */
555
+ flagContentUri?: string;
556
+ /** The summary of user reviews. */
557
+ text?: GoogleTypeLocalizedText;
558
+ }
535
559
  interface GoogleMapsPlacesV1PlaceSubDestination {
536
560
  /** The place id of the sub-destination. */
537
561
  id?: string;
@@ -548,12 +572,6 @@ declare namespace gapi.client {
548
572
  /** The low end of the price range (inclusive). Price should be at or above this amount. */
549
573
  startPrice?: GoogleTypeMoney;
550
574
  }
551
- interface GoogleMapsPlacesV1References {
552
- /** The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names. */
553
- places?: string[];
554
- /** Reviews that serve as references. */
555
- reviews?: GoogleMapsPlacesV1Review[];
556
- }
557
575
  interface GoogleMapsPlacesV1Review {
558
576
  /** This review's author. */
559
577
  authorAttribution?: GoogleMapsPlacesV1AuthorAttribution;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.places-v1",
3
- "version": "0.0.20250412",
3
+ "version": "0.0.20250414",
4
4
  "description": "TypeScript typings for Places API (New) v1",
5
5
  "repository": {
6
6
  "type": "git",