@maxim_mazurok/gapi.client.places-v1 0.0.20241027 → 0.0.20241029
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 -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:
|
|
12
|
+
// Revision: 20241029
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -271,7 +271,6 @@ declare namespace gapi.client {
|
|
|
271
271
|
areaSummary?: GoogleMapsPlacesV1PlaceAreaSummary;
|
|
272
272
|
/** A set of data provider that must be shown with this result. */
|
|
273
273
|
attributions?: GoogleMapsPlacesV1PlaceAttribution[];
|
|
274
|
-
/** The business status for the place. */
|
|
275
274
|
businessStatus?: string;
|
|
276
275
|
/** Specifies if the business supports curbside pickup. */
|
|
277
276
|
curbsidePickup?: boolean;
|
|
@@ -567,6 +566,8 @@ declare namespace gapi.client {
|
|
|
567
566
|
travelMode?: string;
|
|
568
567
|
}
|
|
569
568
|
interface GoogleMapsPlacesV1RoutingSummary {
|
|
569
|
+
/** 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. */
|
|
570
|
+
directionsUri?: string;
|
|
570
571
|
/** 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
572
|
legs?: GoogleMapsPlacesV1RoutingSummaryLeg[];
|
|
572
573
|
}
|
|
@@ -673,6 +674,8 @@ declare namespace gapi.client {
|
|
|
673
674
|
places?: GoogleMapsPlacesV1Place[];
|
|
674
675
|
/** 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
676
|
routingSummaries?: GoogleMapsPlacesV1RoutingSummary[];
|
|
677
|
+
/** A link allows the user to search with the same text query as specified in the request on Google Maps. */
|
|
678
|
+
searchUri?: string;
|
|
676
679
|
}
|
|
677
680
|
interface GoogleTypeDate {
|
|
678
681
|
/** 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. */
|