@maxim_mazurok/gapi.client.places-v1 0.0.20241023 → 0.0.20241028

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 +33 -1
  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: 20241023
12
+ // Revision: 20241028
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -239,6 +239,10 @@ declare namespace gapi.client {
239
239
  interface GoogleMapsPlacesV1Photo {
240
240
  /** This photo's authors. */
241
241
  authorAttributions?: GoogleMapsPlacesV1AuthorAttribution[];
242
+ /** A link where users can flag a problem with the photo. */
243
+ flagContentUri?: string;
244
+ /** A link to show the photo on Google Maps. */
245
+ googleMapsUri?: string;
242
246
  /** The maximum available height, in pixels. */
243
247
  heightPx?: number;
244
248
  /** Identifier. A reference representing this place photo which may be used to look up this place photo again (also called the API "resource" name: `places/{place_id}/photos/{photo}`). */
@@ -297,6 +301,8 @@ declare namespace gapi.client {
297
301
  goodForGroups?: boolean;
298
302
  /** Place is suitable for watching sports. */
299
303
  goodForWatchingSports?: boolean;
304
+ /** Links to trigger different Google Maps actions. */
305
+ googleMapsLinks?: GoogleMapsPlacesV1PlaceGoogleMapsLinks;
300
306
  /** A URL providing more information about this place. */
301
307
  googleMapsUri?: string;
302
308
  /** Background color for icon_mask in hex format, e.g. #909CE1. */
@@ -405,6 +411,8 @@ declare namespace gapi.client {
405
411
  interface GoogleMapsPlacesV1PlaceAreaSummary {
406
412
  /** Content blocks that compose the area summary. Each block has a separate topic about the area. */
407
413
  contentBlocks?: GoogleMapsPlacesV1ContentBlock[];
414
+ /** A link where users can flag a problem with the summary. */
415
+ flagContentUri?: string;
408
416
  }
409
417
  interface GoogleMapsPlacesV1PlaceAttribution {
410
418
  /** Name of the Place's data provider. */
@@ -415,11 +423,27 @@ declare namespace gapi.client {
415
423
  interface GoogleMapsPlacesV1PlaceGenerativeSummary {
416
424
  /** The detailed description of the place. */
417
425
  description?: GoogleTypeLocalizedText;
426
+ /** A link where users can flag a problem with the description summary. */
427
+ descriptionFlagContentUri?: string;
418
428
  /** The overview of the place. */
419
429
  overview?: GoogleTypeLocalizedText;
430
+ /** A link where users can flag a problem with the overview summary. */
431
+ overviewFlagContentUri?: string;
420
432
  /** References that are used to generate the summary description. */
421
433
  references?: GoogleMapsPlacesV1References;
422
434
  }
435
+ interface GoogleMapsPlacesV1PlaceGoogleMapsLinks {
436
+ /** A link to show the directions to the place. The link only populates the destination location and uses the default travel mode `DRIVE`. */
437
+ directionsUri?: string;
438
+ /** A link to show photos of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. */
439
+ photosUri?: string;
440
+ /** A link to show this place. */
441
+ placeUri?: string;
442
+ /** A link to show reviews of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. */
443
+ reviewsUri?: string;
444
+ /** 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. */
445
+ writeAReviewUri?: string;
446
+ }
423
447
  interface GoogleMapsPlacesV1PlaceOpeningHours {
424
448
  /** Whether the opening hours period is currently active. For regular opening hours and current opening hours, this field means whether the place is open. For secondary opening hours and current secondary opening hours, this field means whether the secondary hours of this place is active. */
425
449
  openNow?: boolean;
@@ -505,6 +529,10 @@ declare namespace gapi.client {
505
529
  interface GoogleMapsPlacesV1Review {
506
530
  /** This review's author. */
507
531
  authorAttribution?: GoogleMapsPlacesV1AuthorAttribution;
532
+ /** A link where users can flag a problem with the review. */
533
+ flagContentUri?: string;
534
+ /** A link to show the review on Google Maps. */
535
+ googleMapsUri?: string;
508
536
  /** A reference representing this place review which may be used to look up this place review again (also called the API "resource" name: `places/{place_id}/reviews/{review}`). */
509
537
  name?: string;
510
538
  /** The review text in its original language. */
@@ -539,6 +567,8 @@ declare namespace gapi.client {
539
567
  travelMode?: string;
540
568
  }
541
569
  interface GoogleMapsPlacesV1RoutingSummary {
570
+ /** A link to show directions on Google Maps using the waypoints from the given routing summary. The route generated by this link is not guaranteed to be the same as the route used to generate the routing summary. The link uses information provided in the request, from fields including `routingParameters` and `searchAlongRouteParameters` when applicable, to generate the directions link. */
571
+ directionsUri?: string;
542
572
  /** The legs of the trip. When you calculate travel duration and distance from a set origin, `legs` contains a single leg containing the duration and distance from the origin to the destination. When you do a search along route, `legs` contains two legs: one from the origin to place, and one from the place to the destination. */
543
573
  legs?: GoogleMapsPlacesV1RoutingSummaryLeg[];
544
574
  }
@@ -645,6 +675,8 @@ declare namespace gapi.client {
645
675
  places?: GoogleMapsPlacesV1Place[];
646
676
  /** A list of routing summaries where each entry associates to the corresponding place in the same index in the `places` field. If the routing summary is not available for one of the places, it will contain an empty entry. This list will have as many entries as the list of places if requested. */
647
677
  routingSummaries?: GoogleMapsPlacesV1RoutingSummary[];
678
+ /** A link allows the user to search with the same text query as specified in the request on Google Maps. */
679
+ searchUri?: string;
648
680
  }
649
681
  interface GoogleTypeDate {
650
682
  /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.places-v1",
3
- "version": "0.0.20241023",
3
+ "version": "0.0.20241028",
4
4
  "description": "TypeScript typings for Places API (New) v1",
5
5
  "repository": {
6
6
  "type": "git",