diff --git a/index.d.ts b/index.d.ts index 0d833f5..77c9388 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5114,6 +5114,7 @@ declare namespace google.maps { placeId: string; } export interface PlacesLibrary { + AccessibilityOptions: typeof google.maps.places.AccessibilityOptions; AddressComponent: typeof google.maps.places.AddressComponent; Attribution: typeof google.maps.places.Attribution; AuthorAttribution: typeof google.maps.places.AuthorAttribution; @@ -12150,6 +12151,38 @@ declare namespace google.maps.marker { } } declare namespace google.maps.places { + /** + * Access by calling `const {AccessibilityOptions} = await + * google.maps.importLibrary("places")`. See + * https://developers.google.com/maps/documentation/javascript/libraries. + */ + export class AccessibilityOptions { + /** + * Whether a place has a wheelchair accessible entrance. Returns + * 'true' or 'false' if the value is known. Returns + * 'null' if the value is unknown. + */ + hasWheelchairAccessibleEntrance: boolean | null; + /** + * Whether a place has wheelchair accessible parking. Returns 'true' + * or + * 'false' if the value is known. Returns 'null' if the + * value is unknown. + */ + hasWheelchairAccessibleParking: boolean | null; + /** + * Whether a place has a wheelchair accessible restroom. Returns + * 'true' or 'false' if the value is known. Returns + * 'null' if the value is unknown. + */ + hasWheelchairAccessibleRestroom: boolean | null; + /** + * Whether a place offers wheelchair accessible seating. Returns + * 'true' or 'false' if the value is known. Returns + * 'null' if the value is unknown. + */ + hasWheelchairAccessibleSeating: boolean | null; + } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * @@ -12818,6 +12851,11 @@ declare namespace google.maps.places { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor(options: google.maps.places.PlaceOptions); + /** + * Accessibility options of this Place. undefined if the + * accessibility options data have not been called for from the server. + */ + accessibilityOptions?: google.maps.places.AccessibilityOptions | null; /** * The collection of address components for this Place’s location. Empty * object if there is no known address data. undefined if the @@ -13090,7 +13128,7 @@ declare namespace google.maps.places { type: string; } /** - * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel. + * Available only in the v=beta channel: https://goo.gle/3oAthT3. * *