Skip to content

Commit d6e0210

Browse files
Update Quarterly Maps JavaScript API typings for 3.55.0
PiperOrigin-RevId: 609562103
1 parent ca268c7 commit d6e0210

File tree

2 files changed

+8
-113
lines changed

2 files changed

+8
-113
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.56.0
1+
3.55.0

index.d.ts

Lines changed: 7 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
// Google Maps JS API Version: 3.56
7+
// Google Maps JS API Version: 3.55
88
// tslint:disable:enforce-name-casing
99
// tslint:disable:no-any
1010
// tslint:disable:interface-over-type-literal
@@ -5125,8 +5125,6 @@ declare namespace google.maps {
51255125
OpeningHours: typeof google.maps.places.OpeningHours;
51265126
OpeningHoursPeriod: typeof google.maps.places.OpeningHoursPeriod;
51275127
OpeningHoursPoint: typeof google.maps.places.OpeningHoursPoint;
5128-
ParkingOptions: typeof google.maps.places.ParkingOptions;
5129-
PaymentOptions: typeof google.maps.places.PaymentOptions;
51305128
Photo: typeof google.maps.places.Photo;
51315129
Place: typeof google.maps.places.Place;
51325130
PlacesService: typeof google.maps.places.PlacesService;
@@ -12802,87 +12800,6 @@ declare namespace google.maps.places {
1280212800
*/
1280312801
minute: number;
1280412802
}
12805-
/**
12806-
* Access by calling `const {ParkingOptions} = await
12807-
* google.maps.importLibrary("places")`. See
12808-
* https://developers.google.com/maps/documentation/javascript/libraries.
12809-
*/
12810-
export class ParkingOptions {
12811-
/**
12812-
* Whether a place offers free garage parking. Returns 'true' or
12813-
* 'false' if the value is known. Returns 'null' if the
12814-
* value is unknown.
12815-
*/
12816-
hasFreeGarageParking: boolean | null;
12817-
/**
12818-
* Whether a place offers free parking lots. Returns 'true' or
12819-
* 'false' if the value is known. Returns 'null' if the
12820-
* value is unknown.
12821-
*/
12822-
hasFreeParkingLot: boolean | null;
12823-
/**
12824-
* Whether a place offers free street parking. Returns 'true' or
12825-
* 'false' if the value is known. Returns 'null' if the
12826-
* value is unknown.
12827-
*/
12828-
hasFreeStreetParking: boolean | null;
12829-
/**
12830-
* Whether a place offers paid garage parking. Returns 'true' or
12831-
* 'false' if the value is known. Returns 'null' if the
12832-
* value is unknown.
12833-
*/
12834-
hasPaidGarageParking: boolean | null;
12835-
/**
12836-
* Whether a place offers paid parking lots. Returns 'true' or
12837-
* 'false' if the value is known. Returns 'null' if the
12838-
* value is unknown.
12839-
*/
12840-
hasPaidParkingLot: boolean | null;
12841-
/**
12842-
* Whether a place offers paid street parking. Returns 'true' or
12843-
* 'false' if the value is known. Returns 'null' if the
12844-
* value is unknown.
12845-
*/
12846-
hasPaidStreetParking: boolean | null;
12847-
/**
12848-
* Whether a place offers valet parking. Returns 'true' or
12849-
* 'false' if the value is known. Returns 'null' if the
12850-
* value is unknown.
12851-
*/
12852-
hasValetParking: boolean | null;
12853-
}
12854-
/**
12855-
* Access by calling `const {PaymentOptions} = await
12856-
* google.maps.importLibrary("places")`. See
12857-
* https://developers.google.com/maps/documentation/javascript/libraries.
12858-
*/
12859-
export class PaymentOptions {
12860-
/**
12861-
* Whether a place only accepts payment via cash. Returns 'true' or
12862-
* 'false' if the value is known. Returns 'null' if the
12863-
* value is unknown.
12864-
*/
12865-
acceptsCashOnly: boolean | null;
12866-
/**
12867-
* Whether a place accepts payment via credit card. Returns 'true'
12868-
* or
12869-
* 'false' if the value is known. Returns 'null' if the
12870-
* value is unknown.
12871-
*/
12872-
acceptsCreditCards: boolean | null;
12873-
/**
12874-
* Whether a place accepts payment via debit card. Returns 'true' or
12875-
* 'false' if the value is known. Returns 'null' if the
12876-
* value is unknown.
12877-
*/
12878-
acceptsDebitCards: boolean | null;
12879-
/**
12880-
* Whether a place accepts payment via NFC. Returns 'true' or
12881-
* 'false' if the value is known. Returns 'null' if the
12882-
* value is unknown.
12883-
*/
12884-
acceptsNFC: boolean | null;
12885-
}
1288612803
/**
1288712804
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1288812805
*
@@ -12950,7 +12867,6 @@ declare namespace google.maps.places {
1295012867
* href="http://microformats.org/wiki/adr">adr microformat</a>.
1295112868
*/
1295212869
adrFormatAddress?: string | null;
12953-
allowsDogs?: boolean | null;
1295412870
/**
1295512871
* Attribution text to be displayed for this Place result.
1295612872
*/
@@ -13019,18 +12935,13 @@ declare namespace google.maps.places {
1301912935
* &#39;undefined&#39; if this field has not yet been requested.
1302012936
*/
1302112937
hasDineIn?: boolean | null;
13022-
hasLiveMusic?: boolean | null;
13023-
hasMenuForChildren?: boolean | null;
13024-
hasOutdoorSeating?: boolean | null;
13025-
hasRestroom?: boolean | null;
1302612938
/**
1302712939
* Whether a place has takeout. Returns &#39;true&#39; or &#39;false&#39; if
1302812940
* the value is known. Returns &#39;null&#39; if the value is unknown.
1302912941
* Returns
1303012942
* &#39;undefined&#39; if this field has not yet been requested.
1303112943
*/
1303212944
hasTakeout?: boolean | null;
13033-
hasWiFi?: boolean | null;
1303412945
/**
1303512946
* The default HEX color code for the place&#39;s category.
1303612947
*/
@@ -13044,9 +12955,6 @@ declare namespace google.maps.places {
1304412955
* includes the country code, and is prefixed with the plus (+) sign.
1304512956
*/
1304612957
internationalPhoneNumber?: string | null;
13047-
isGoodForChildren?: boolean | null;
13048-
isGoodForGroups?: boolean | null;
13049-
isGoodForWatchingSports?: boolean | null;
1305012958
/**
1305112959
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1305212960
* Check if the place is open at the given datetime. Resolves with
@@ -13077,16 +12985,6 @@ declare namespace google.maps.places {
1307712985
* instead.
1307812986
*/
1307912987
openingHours?: google.maps.places.OpeningHours | null;
13080-
/**
13081-
* Options of parking provided by the place. <code>undefined</code> if the
13082-
* parking options data have not been called for from the server.
13083-
*/
13084-
parkingOptions?: google.maps.places.ParkingOptions | null;
13085-
/**
13086-
* Payment options provided by the place. <code>undefined</code> if the
13087-
* payment options data have not been called for from the server.
13088-
*/
13089-
paymentOptions?: google.maps.places.PaymentOptions | null;
1309012988
/**
1309112989
* Photos of this Place. The collection will contain up to ten {@link
1309212990
* google.maps.places.Photo} objects.
@@ -13139,9 +13037,6 @@ declare namespace google.maps.places {
1313913037
* &#39;undefined&#39; if this field has not yet been requested.
1314013038
*/
1314113039
servesBrunch?: boolean | null;
13142-
servesCocktails?: boolean | null;
13143-
servesCoffee?: boolean | null;
13144-
servesDessert?: boolean | null;
1314513040
/**
1314613041
* Whether a place serves dinner. Returns &#39;true&#39; or &#39;false&#39;
1314713042
* if the value is known. Returns &#39;null&#39; if the value is unknown.
@@ -13377,7 +13272,7 @@ declare namespace google.maps.places {
1337713272
types?: string[] | null;
1337813273
}
1337913274
/**
13380-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
13275+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1338113276
*
1338213277
* This event is created after the user selects a place with the Place
1338313278
* Autocomplete Element. Access the selection with <code>event.place</code>.
@@ -13388,7 +13283,7 @@ declare namespace google.maps.places {
1338813283
*/
1338913284
export class PlaceAutocompletePlaceSelectEvent extends Event {
1339013285
/**
13391-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
13286+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1339213287
*
1339313288
* This event is created after the user selects a place with the Place
1339413289
* Autocomplete Element. Access the selection with <code>event.place</code>.
@@ -13399,12 +13294,12 @@ declare namespace google.maps.places {
1339913294
*/
1340013295
constructor();
1340113296
/**
13402-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
13297+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1340313298
*/
1340413299
place: google.maps.places.Place;
1340513300
}
1340613301
/**
13407-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
13302+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1340813303
*
1340913304
* This event is emitted by the PlaceAutocompleteElement when there is an
1341013305
* issue with the network request.
@@ -13415,7 +13310,7 @@ declare namespace google.maps.places {
1341513310
*/
1341613311
export class PlaceAutocompleteRequestErrorEvent extends Event {
1341713312
/**
13418-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
13313+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1341913314
*
1342013315
* This event is emitted by the PlaceAutocompleteElement when there is an
1342113316
* issue with the network request.
@@ -14391,7 +14286,7 @@ declare namespace google.maps.places {
1439114286
/**
1439214287
* Fields to be included in the response, <a
1439314288
* href="https://developers.google.com/maps/billing/understanding-cost-of-use#places-product">which
14394-
* will be billed for</a>. If <code>[&#39;*&#39;]</code> is passed in, all
14289+
* will be billed for</a>. If <code>[&#39;ALL&#39;]</code> is passed in, all
1439514290
* available fields will be returned and billed for (this is not recommended
1439614291
* for production deployments). For a list of fields see {@link
1439714292
* google.maps.places.PlaceResult}. Nested fields can be specified with

0 commit comments

Comments
 (0)