Skip to content

Commit ca268c7

Browse files
Update Quarterly Maps JavaScript API typings for 3.55.0
PiperOrigin-RevId: 609499309
1 parent 125f20a commit ca268c7

File tree

2 files changed

+113
-8
lines changed

2 files changed

+113
-8
lines changed

VERSION

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

index.d.ts

Lines changed: 112 additions & 7 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.55
7+
// Google Maps JS API Version: 3.56
88
// tslint:disable:enforce-name-casing
99
// tslint:disable:no-any
1010
// tslint:disable:interface-over-type-literal
@@ -5125,6 +5125,8 @@ 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;
51285130
Photo: typeof google.maps.places.Photo;
51295131
Place: typeof google.maps.places.Place;
51305132
PlacesService: typeof google.maps.places.PlacesService;
@@ -12800,6 +12802,87 @@ declare namespace google.maps.places {
1280012802
*/
1280112803
minute: number;
1280212804
}
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+
}
1280312886
/**
1280412887
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1280512888
*
@@ -12867,6 +12950,7 @@ declare namespace google.maps.places {
1286712950
* href="http://microformats.org/wiki/adr">adr microformat</a>.
1286812951
*/
1286912952
adrFormatAddress?: string | null;
12953+
allowsDogs?: boolean | null;
1287012954
/**
1287112955
* Attribution text to be displayed for this Place result.
1287212956
*/
@@ -12935,13 +13019,18 @@ declare namespace google.maps.places {
1293513019
* &#39;undefined&#39; if this field has not yet been requested.
1293613020
*/
1293713021
hasDineIn?: boolean | null;
13022+
hasLiveMusic?: boolean | null;
13023+
hasMenuForChildren?: boolean | null;
13024+
hasOutdoorSeating?: boolean | null;
13025+
hasRestroom?: boolean | null;
1293813026
/**
1293913027
* Whether a place has takeout. Returns &#39;true&#39; or &#39;false&#39; if
1294013028
* the value is known. Returns &#39;null&#39; if the value is unknown.
1294113029
* Returns
1294213030
* &#39;undefined&#39; if this field has not yet been requested.
1294313031
*/
1294413032
hasTakeout?: boolean | null;
13033+
hasWiFi?: boolean | null;
1294513034
/**
1294613035
* The default HEX color code for the place&#39;s category.
1294713036
*/
@@ -12955,6 +13044,9 @@ declare namespace google.maps.places {
1295513044
* includes the country code, and is prefixed with the plus (+) sign.
1295613045
*/
1295713046
internationalPhoneNumber?: string | null;
13047+
isGoodForChildren?: boolean | null;
13048+
isGoodForGroups?: boolean | null;
13049+
isGoodForWatchingSports?: boolean | null;
1295813050
/**
1295913051
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1296013052
* Check if the place is open at the given datetime. Resolves with
@@ -12985,6 +13077,16 @@ declare namespace google.maps.places {
1298513077
* instead.
1298613078
*/
1298713079
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;
1298813090
/**
1298913091
* Photos of this Place. The collection will contain up to ten {@link
1299013092
* google.maps.places.Photo} objects.
@@ -13037,6 +13139,9 @@ declare namespace google.maps.places {
1303713139
* &#39;undefined&#39; if this field has not yet been requested.
1303813140
*/
1303913141
servesBrunch?: boolean | null;
13142+
servesCocktails?: boolean | null;
13143+
servesCoffee?: boolean | null;
13144+
servesDessert?: boolean | null;
1304013145
/**
1304113146
* Whether a place serves dinner. Returns &#39;true&#39; or &#39;false&#39;
1304213147
* if the value is known. Returns &#39;null&#39; if the value is unknown.
@@ -13272,7 +13377,7 @@ declare namespace google.maps.places {
1327213377
types?: string[] | null;
1327313378
}
1327413379
/**
13275-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13380+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1327613381
*
1327713382
* This event is created after the user selects a place with the Place
1327813383
* Autocomplete Element. Access the selection with <code>event.place</code>.
@@ -13283,7 +13388,7 @@ declare namespace google.maps.places {
1328313388
*/
1328413389
export class PlaceAutocompletePlaceSelectEvent extends Event {
1328513390
/**
13286-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13391+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1328713392
*
1328813393
* This event is created after the user selects a place with the Place
1328913394
* Autocomplete Element. Access the selection with <code>event.place</code>.
@@ -13294,12 +13399,12 @@ declare namespace google.maps.places {
1329413399
*/
1329513400
constructor();
1329613401
/**
13297-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13402+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1329813403
*/
1329913404
place: google.maps.places.Place;
1330013405
}
1330113406
/**
13302-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13407+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1330313408
*
1330413409
* This event is emitted by the PlaceAutocompleteElement when there is an
1330513410
* issue with the network request.
@@ -13310,7 +13415,7 @@ declare namespace google.maps.places {
1331013415
*/
1331113416
export class PlaceAutocompleteRequestErrorEvent extends Event {
1331213417
/**
13313-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13418+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1331413419
*
1331513420
* This event is emitted by the PlaceAutocompleteElement when there is an
1331613421
* issue with the network request.
@@ -14286,7 +14391,7 @@ declare namespace google.maps.places {
1428614391
/**
1428714392
* Fields to be included in the response, <a
1428814393
* href="https://developers.google.com/maps/billing/understanding-cost-of-use#places-product">which
14289-
* will be billed for</a>. If <code>[&#39;ALL&#39;]</code> is passed in, all
14394+
* will be billed for</a>. If <code>[&#39;*&#39;]</code> is passed in, all
1429014395
* available fields will be returned and billed for (this is not recommended
1429114396
* for production deployments). For a list of fields see {@link
1429214397
* google.maps.places.PlaceResult}. Nested fields can be specified with

0 commit comments

Comments
 (0)