@maxim_mazurok/gapi.client.places-v1 0.1.20250916 → 0.1.20250921
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 +27 -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: 20250921
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -271,6 +271,8 @@ declare namespace gapi.client {
|
|
|
271
271
|
attributions?: GoogleMapsPlacesV1PlaceAttribution[];
|
|
272
272
|
/** The business status for the place. */
|
|
273
273
|
businessStatus?: string;
|
|
274
|
+
/** The consumer alert message for the place when we detect suspicious review activity on a business or a business violates our policies. */
|
|
275
|
+
consumerAlert?: GoogleMapsPlacesV1PlaceConsumerAlert;
|
|
274
276
|
/** List of places in which the current place is located. */
|
|
275
277
|
containingPlaces?: GoogleMapsPlacesV1PlaceContainingPlace[];
|
|
276
278
|
/** Specifies if the business supports curbside pickup. */
|
|
@@ -428,6 +430,28 @@ declare namespace gapi.client {
|
|
|
428
430
|
/** URI to the Place's data provider. */
|
|
429
431
|
providerUri?: string;
|
|
430
432
|
}
|
|
433
|
+
interface GoogleMapsPlacesV1PlaceConsumerAlert {
|
|
434
|
+
/** The details of the consumer alert message.ƒ */
|
|
435
|
+
details?: GoogleMapsPlacesV1PlaceConsumerAlertDetails;
|
|
436
|
+
/** The language code of the consumer alert message. This is a BCP 47 language code. */
|
|
437
|
+
languageCode?: string;
|
|
438
|
+
/** The overview of the consumer alert message. */
|
|
439
|
+
overview?: string;
|
|
440
|
+
}
|
|
441
|
+
interface GoogleMapsPlacesV1PlaceConsumerAlertDetails {
|
|
442
|
+
/** The link to show together with the description to provide more information. */
|
|
443
|
+
aboutLink?: GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink;
|
|
444
|
+
/** The description of the consumer alert message. */
|
|
445
|
+
description?: string;
|
|
446
|
+
/** The title to show together with the description. */
|
|
447
|
+
title?: string;
|
|
448
|
+
}
|
|
449
|
+
interface GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink {
|
|
450
|
+
/** The title to show for the link. */
|
|
451
|
+
title?: string;
|
|
452
|
+
/** The uri of the link. */
|
|
453
|
+
uri?: string;
|
|
454
|
+
}
|
|
431
455
|
interface GoogleMapsPlacesV1PlaceContainingPlace {
|
|
432
456
|
/** The place id of the place in which this place is located. */
|
|
433
457
|
id?: string;
|
|
@@ -593,6 +617,8 @@ declare namespace gapi.client {
|
|
|
593
617
|
relativePublishTimeDescription?: string;
|
|
594
618
|
/** The localized text of the review. */
|
|
595
619
|
text?: GoogleTypeLocalizedText;
|
|
620
|
+
/** The date when the author visited the place. This is trucated to the year and month of the visit. */
|
|
621
|
+
visitDate?: GoogleTypeDate;
|
|
596
622
|
}
|
|
597
623
|
interface GoogleMapsPlacesV1RouteModifiers {
|
|
598
624
|
/** Optional. When set to true, avoids ferries where reasonable, giving preference to routes not containing ferries. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`. */
|