Skip to content

Commit

Permalink
Update Quarterly Maps JavaScript API typings for 3.55.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609562103
  • Loading branch information
googlemaps-bot committed Feb 23, 2024
1 parent ca268c7 commit d6e0210
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 113 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.56.0
3.55.0
119 changes: 7 additions & 112 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

// Google Maps JS API Version: 3.56
// Google Maps JS API Version: 3.55
// tslint:disable:enforce-name-casing
// tslint:disable:no-any
// tslint:disable:interface-over-type-literal
Expand Down Expand Up @@ -5125,8 +5125,6 @@ declare namespace google.maps {
OpeningHours: typeof google.maps.places.OpeningHours;
OpeningHoursPeriod: typeof google.maps.places.OpeningHoursPeriod;
OpeningHoursPoint: typeof google.maps.places.OpeningHoursPoint;
ParkingOptions: typeof google.maps.places.ParkingOptions;
PaymentOptions: typeof google.maps.places.PaymentOptions;
Photo: typeof google.maps.places.Photo;
Place: typeof google.maps.places.Place;
PlacesService: typeof google.maps.places.PlacesService;
Expand Down Expand Up @@ -12802,87 +12800,6 @@ declare namespace google.maps.places {
*/
minute: number;
}
/**
* Access by calling `const {ParkingOptions} = await
* google.maps.importLibrary("places")`. See
* https://developers.google.com/maps/documentation/javascript/libraries.
*/
export class ParkingOptions {
/**
* Whether a place offers free garage parking. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasFreeGarageParking: boolean | null;
/**
* Whether a place offers free parking lots. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasFreeParkingLot: boolean | null;
/**
* Whether a place offers free street parking. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasFreeStreetParking: boolean | null;
/**
* Whether a place offers paid garage parking. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasPaidGarageParking: boolean | null;
/**
* Whether a place offers paid parking lots. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasPaidParkingLot: boolean | null;
/**
* Whether a place offers paid street parking. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasPaidStreetParking: boolean | null;
/**
* Whether a place offers valet parking. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
hasValetParking: boolean | null;
}
/**
* Access by calling `const {PaymentOptions} = await
* google.maps.importLibrary("places")`. See
* https://developers.google.com/maps/documentation/javascript/libraries.
*/
export class PaymentOptions {
/**
* Whether a place only accepts payment via cash. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
acceptsCashOnly: boolean | null;
/**
* Whether a place accepts payment via credit card. Returns 'true'
* or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
acceptsCreditCards: boolean | null;
/**
* Whether a place accepts payment via debit card. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
acceptsDebitCards: boolean | null;
/**
* Whether a place accepts payment via NFC. Returns 'true' or
* 'false' if the value is known. Returns 'null' if the
* value is unknown.
*/
acceptsNFC: boolean | null;
}
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
*
Expand Down Expand Up @@ -12950,7 +12867,6 @@ declare namespace google.maps.places {
* href="http://microformats.org/wiki/adr">adr microformat</a>.
*/
adrFormatAddress?: string | null;
allowsDogs?: boolean | null;
/**
* Attribution text to be displayed for this Place result.
*/
Expand Down Expand Up @@ -13019,18 +12935,13 @@ declare namespace google.maps.places {
* &#39;undefined&#39; if this field has not yet been requested.
*/
hasDineIn?: boolean | null;
hasLiveMusic?: boolean | null;
hasMenuForChildren?: boolean | null;
hasOutdoorSeating?: boolean | null;
hasRestroom?: boolean | null;
/**
* Whether a place has takeout. Returns &#39;true&#39; or &#39;false&#39; if
* the value is known. Returns &#39;null&#39; if the value is unknown.
* Returns
* &#39;undefined&#39; if this field has not yet been requested.
*/
hasTakeout?: boolean | null;
hasWiFi?: boolean | null;
/**
* The default HEX color code for the place&#39;s category.
*/
Expand All @@ -13044,9 +12955,6 @@ declare namespace google.maps.places {
* includes the country code, and is prefixed with the plus (+) sign.
*/
internationalPhoneNumber?: string | null;
isGoodForChildren?: boolean | null;
isGoodForGroups?: boolean | null;
isGoodForWatchingSports?: boolean | null;
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Check if the place is open at the given datetime. Resolves with
Expand Down Expand Up @@ -13077,16 +12985,6 @@ declare namespace google.maps.places {
* instead.
*/
openingHours?: google.maps.places.OpeningHours | null;
/**
* Options of parking provided by the place. <code>undefined</code> if the
* parking options data have not been called for from the server.
*/
parkingOptions?: google.maps.places.ParkingOptions | null;
/**
* Payment options provided by the place. <code>undefined</code> if the
* payment options data have not been called for from the server.
*/
paymentOptions?: google.maps.places.PaymentOptions | null;
/**
* Photos of this Place. The collection will contain up to ten {@link
* google.maps.places.Photo} objects.
Expand Down Expand Up @@ -13139,9 +13037,6 @@ declare namespace google.maps.places {
* &#39;undefined&#39; if this field has not yet been requested.
*/
servesBrunch?: boolean | null;
servesCocktails?: boolean | null;
servesCoffee?: boolean | null;
servesDessert?: boolean | null;
/**
* Whether a place serves dinner. Returns &#39;true&#39; or &#39;false&#39;
* if the value is known. Returns &#39;null&#39; if the value is unknown.
Expand Down Expand Up @@ -13377,7 +13272,7 @@ declare namespace google.maps.places {
types?: string[] | null;
}
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
*
* This event is created after the user selects a place with the Place
* Autocomplete Element. Access the selection with <code>event.place</code>.
Expand All @@ -13388,7 +13283,7 @@ declare namespace google.maps.places {
*/
export class PlaceAutocompletePlaceSelectEvent extends Event {
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
*
* This event is created after the user selects a place with the Place
* Autocomplete Element. Access the selection with <code>event.place</code>.
Expand All @@ -13399,12 +13294,12 @@ declare namespace google.maps.places {
*/
constructor();
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
*/
place: google.maps.places.Place;
}
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
*
* This event is emitted by the PlaceAutocompleteElement when there is an
* issue with the network request.
Expand All @@ -13415,7 +13310,7 @@ declare namespace google.maps.places {
*/
export class PlaceAutocompleteRequestErrorEvent extends Event {
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
*
* This event is emitted by the PlaceAutocompleteElement when there is an
* issue with the network request.
Expand Down Expand Up @@ -14391,7 +14286,7 @@ declare namespace google.maps.places {
/**
* Fields to be included in the response, <a
* href="https://developers.google.com/maps/billing/understanding-cost-of-use#places-product">which
* will be billed for</a>. If <code>[&#39;*&#39;]</code> is passed in, all
* will be billed for</a>. If <code>[&#39;ALL&#39;]</code> is passed in, all
* available fields will be returned and billed for (this is not recommended
* for production deployments). For a list of fields see {@link
* google.maps.places.PlaceResult}. Nested fields can be specified with
Expand Down

0 comments on commit d6e0210

Please sign in to comment.