@maxim_mazurok/gapi.client.places-v1 0.0.20241027 → 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.
- package/index.d.ts +5 -1
- 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:
|
|
12
|
+
// Revision: 20241028
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -567,6 +567,8 @@ declare namespace gapi.client {
|
|
|
567
567
|
travelMode?: string;
|
|
568
568
|
}
|
|
569
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;
|
|
570
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. */
|
|
571
573
|
legs?: GoogleMapsPlacesV1RoutingSummaryLeg[];
|
|
572
574
|
}
|
|
@@ -673,6 +675,8 @@ declare namespace gapi.client {
|
|
|
673
675
|
places?: GoogleMapsPlacesV1Place[];
|
|
674
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. */
|
|
675
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;
|
|
676
680
|
}
|
|
677
681
|
interface GoogleTypeDate {
|
|
678
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. */
|