@googlemaps/places 2.2.0 → 2.4.0
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/build/protos/google/maps/places/v1/address_descriptor.proto +1 -1
- package/build/protos/google/maps/places/v1/attribution.proto +1 -1
- package/build/protos/google/maps/places/v1/content_block.proto +7 -11
- package/build/protos/google/maps/places/v1/contextual_content.proto +4 -4
- package/build/protos/google/maps/places/v1/ev_charging.proto +1 -1
- package/build/protos/google/maps/places/v1/fuel_options.proto +1 -1
- package/build/protos/google/maps/places/v1/geometry.proto +1 -1
- package/build/protos/google/maps/places/v1/photo.proto +1 -1
- package/build/protos/google/maps/places/v1/place.proto +37 -1
- package/build/protos/google/maps/places/v1/places_service.proto +16 -1
- package/build/protos/google/maps/places/v1/polyline.proto +1 -1
- package/build/protos/google/maps/places/v1/price_range.proto +1 -1
- package/build/protos/google/maps/places/v1/review.proto +1 -1
- package/build/protos/google/maps/places/v1/route_modifiers.proto +1 -1
- package/build/protos/google/maps/places/v1/routing_preference.proto +1 -1
- package/build/protos/google/maps/places/v1/routing_summary.proto +1 -1
- package/build/protos/google/maps/places/v1/travel_mode.proto +1 -1
- package/build/protos/protos.d.ts +450 -298
- package/build/protos/protos.js +2753 -2307
- package/build/protos/protos.json +129 -71
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/places_client.d.ts +9 -0
- package/build/src/v1/places_client.js +1 -1
- package/build/src/v1/places_client.js.map +1 -1
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -1464,14 +1464,11 @@ export namespace google {
|
|
|
1464
1464
|
/** Properties of a ContentBlock. */
|
|
1465
1465
|
interface IContentBlock {
|
|
1466
1466
|
|
|
1467
|
-
/** ContentBlock topic */
|
|
1468
|
-
topic?: (string|null);
|
|
1469
|
-
|
|
1470
1467
|
/** ContentBlock content */
|
|
1471
1468
|
content?: (google.type.ILocalizedText|null);
|
|
1472
1469
|
|
|
1473
|
-
/** ContentBlock
|
|
1474
|
-
|
|
1470
|
+
/** ContentBlock referencedPlaces */
|
|
1471
|
+
referencedPlaces?: (string[]|null);
|
|
1475
1472
|
}
|
|
1476
1473
|
|
|
1477
1474
|
/** Represents a ContentBlock. */
|
|
@@ -1483,14 +1480,11 @@ export namespace google {
|
|
|
1483
1480
|
*/
|
|
1484
1481
|
constructor(properties?: google.maps.places.v1.IContentBlock);
|
|
1485
1482
|
|
|
1486
|
-
/** ContentBlock topic. */
|
|
1487
|
-
public topic: string;
|
|
1488
|
-
|
|
1489
1483
|
/** ContentBlock content. */
|
|
1490
1484
|
public content?: (google.type.ILocalizedText|null);
|
|
1491
1485
|
|
|
1492
|
-
/** ContentBlock
|
|
1493
|
-
public
|
|
1486
|
+
/** ContentBlock referencedPlaces. */
|
|
1487
|
+
public referencedPlaces: string[];
|
|
1494
1488
|
|
|
1495
1489
|
/**
|
|
1496
1490
|
* Creates a new ContentBlock instance using the specified properties.
|
|
@@ -1570,260 +1564,6 @@ export namespace google {
|
|
|
1570
1564
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1571
1565
|
}
|
|
1572
1566
|
|
|
1573
|
-
/** Properties of a References. */
|
|
1574
|
-
interface IReferences {
|
|
1575
|
-
|
|
1576
|
-
/** References reviews */
|
|
1577
|
-
reviews?: (google.maps.places.v1.IReview[]|null);
|
|
1578
|
-
|
|
1579
|
-
/** References places */
|
|
1580
|
-
places?: (string[]|null);
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
/** Represents a References. */
|
|
1584
|
-
class References implements IReferences {
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Constructs a new References.
|
|
1588
|
-
* @param [properties] Properties to set
|
|
1589
|
-
*/
|
|
1590
|
-
constructor(properties?: google.maps.places.v1.IReferences);
|
|
1591
|
-
|
|
1592
|
-
/** References reviews. */
|
|
1593
|
-
public reviews: google.maps.places.v1.IReview[];
|
|
1594
|
-
|
|
1595
|
-
/** References places. */
|
|
1596
|
-
public places: string[];
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Creates a new References instance using the specified properties.
|
|
1600
|
-
* @param [properties] Properties to set
|
|
1601
|
-
* @returns References instance
|
|
1602
|
-
*/
|
|
1603
|
-
public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
|
|
1604
|
-
|
|
1605
|
-
/**
|
|
1606
|
-
* Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
1607
|
-
* @param message References message or plain object to encode
|
|
1608
|
-
* @param [writer] Writer to encode to
|
|
1609
|
-
* @returns Writer
|
|
1610
|
-
*/
|
|
1611
|
-
public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
1615
|
-
* @param message References message or plain object to encode
|
|
1616
|
-
* @param [writer] Writer to encode to
|
|
1617
|
-
* @returns Writer
|
|
1618
|
-
*/
|
|
1619
|
-
public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* Decodes a References message from the specified reader or buffer.
|
|
1623
|
-
* @param reader Reader or buffer to decode from
|
|
1624
|
-
* @param [length] Message length if known beforehand
|
|
1625
|
-
* @returns References
|
|
1626
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1627
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1628
|
-
*/
|
|
1629
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Decodes a References message from the specified reader or buffer, length delimited.
|
|
1633
|
-
* @param reader Reader or buffer to decode from
|
|
1634
|
-
* @returns References
|
|
1635
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1636
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1637
|
-
*/
|
|
1638
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* Verifies a References message.
|
|
1642
|
-
* @param message Plain object to verify
|
|
1643
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1644
|
-
*/
|
|
1645
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* Creates a References message from a plain object. Also converts values to their respective internal types.
|
|
1649
|
-
* @param object Plain object
|
|
1650
|
-
* @returns References
|
|
1651
|
-
*/
|
|
1652
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Creates a plain object from a References message. Also converts values to other types if specified.
|
|
1656
|
-
* @param message References
|
|
1657
|
-
* @param [options] Conversion options
|
|
1658
|
-
* @returns Plain object
|
|
1659
|
-
*/
|
|
1660
|
-
public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* Converts this References to JSON.
|
|
1664
|
-
* @returns JSON object
|
|
1665
|
-
*/
|
|
1666
|
-
public toJSON(): { [k: string]: any };
|
|
1667
|
-
|
|
1668
|
-
/**
|
|
1669
|
-
* Gets the default type url for References
|
|
1670
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1671
|
-
* @returns The default type url
|
|
1672
|
-
*/
|
|
1673
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
/** Properties of a Review. */
|
|
1677
|
-
interface IReview {
|
|
1678
|
-
|
|
1679
|
-
/** Review name */
|
|
1680
|
-
name?: (string|null);
|
|
1681
|
-
|
|
1682
|
-
/** Review relativePublishTimeDescription */
|
|
1683
|
-
relativePublishTimeDescription?: (string|null);
|
|
1684
|
-
|
|
1685
|
-
/** Review text */
|
|
1686
|
-
text?: (google.type.ILocalizedText|null);
|
|
1687
|
-
|
|
1688
|
-
/** Review originalText */
|
|
1689
|
-
originalText?: (google.type.ILocalizedText|null);
|
|
1690
|
-
|
|
1691
|
-
/** Review rating */
|
|
1692
|
-
rating?: (number|null);
|
|
1693
|
-
|
|
1694
|
-
/** Review authorAttribution */
|
|
1695
|
-
authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
1696
|
-
|
|
1697
|
-
/** Review publishTime */
|
|
1698
|
-
publishTime?: (google.protobuf.ITimestamp|null);
|
|
1699
|
-
|
|
1700
|
-
/** Review flagContentUri */
|
|
1701
|
-
flagContentUri?: (string|null);
|
|
1702
|
-
|
|
1703
|
-
/** Review googleMapsUri */
|
|
1704
|
-
googleMapsUri?: (string|null);
|
|
1705
|
-
|
|
1706
|
-
/** Review visitDate */
|
|
1707
|
-
visitDate?: (google.type.IDate|null);
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
/** Represents a Review. */
|
|
1711
|
-
class Review implements IReview {
|
|
1712
|
-
|
|
1713
|
-
/**
|
|
1714
|
-
* Constructs a new Review.
|
|
1715
|
-
* @param [properties] Properties to set
|
|
1716
|
-
*/
|
|
1717
|
-
constructor(properties?: google.maps.places.v1.IReview);
|
|
1718
|
-
|
|
1719
|
-
/** Review name. */
|
|
1720
|
-
public name: string;
|
|
1721
|
-
|
|
1722
|
-
/** Review relativePublishTimeDescription. */
|
|
1723
|
-
public relativePublishTimeDescription: string;
|
|
1724
|
-
|
|
1725
|
-
/** Review text. */
|
|
1726
|
-
public text?: (google.type.ILocalizedText|null);
|
|
1727
|
-
|
|
1728
|
-
/** Review originalText. */
|
|
1729
|
-
public originalText?: (google.type.ILocalizedText|null);
|
|
1730
|
-
|
|
1731
|
-
/** Review rating. */
|
|
1732
|
-
public rating: number;
|
|
1733
|
-
|
|
1734
|
-
/** Review authorAttribution. */
|
|
1735
|
-
public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
1736
|
-
|
|
1737
|
-
/** Review publishTime. */
|
|
1738
|
-
public publishTime?: (google.protobuf.ITimestamp|null);
|
|
1739
|
-
|
|
1740
|
-
/** Review flagContentUri. */
|
|
1741
|
-
public flagContentUri: string;
|
|
1742
|
-
|
|
1743
|
-
/** Review googleMapsUri. */
|
|
1744
|
-
public googleMapsUri: string;
|
|
1745
|
-
|
|
1746
|
-
/** Review visitDate. */
|
|
1747
|
-
public visitDate?: (google.type.IDate|null);
|
|
1748
|
-
|
|
1749
|
-
/**
|
|
1750
|
-
* Creates a new Review instance using the specified properties.
|
|
1751
|
-
* @param [properties] Properties to set
|
|
1752
|
-
* @returns Review instance
|
|
1753
|
-
*/
|
|
1754
|
-
public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
|
|
1755
|
-
|
|
1756
|
-
/**
|
|
1757
|
-
* Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
1758
|
-
* @param message Review message or plain object to encode
|
|
1759
|
-
* @param [writer] Writer to encode to
|
|
1760
|
-
* @returns Writer
|
|
1761
|
-
*/
|
|
1762
|
-
public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1763
|
-
|
|
1764
|
-
/**
|
|
1765
|
-
* Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
1766
|
-
* @param message Review message or plain object to encode
|
|
1767
|
-
* @param [writer] Writer to encode to
|
|
1768
|
-
* @returns Writer
|
|
1769
|
-
*/
|
|
1770
|
-
public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1771
|
-
|
|
1772
|
-
/**
|
|
1773
|
-
* Decodes a Review message from the specified reader or buffer.
|
|
1774
|
-
* @param reader Reader or buffer to decode from
|
|
1775
|
-
* @param [length] Message length if known beforehand
|
|
1776
|
-
* @returns Review
|
|
1777
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1778
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1779
|
-
*/
|
|
1780
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
|
|
1781
|
-
|
|
1782
|
-
/**
|
|
1783
|
-
* Decodes a Review message from the specified reader or buffer, length delimited.
|
|
1784
|
-
* @param reader Reader or buffer to decode from
|
|
1785
|
-
* @returns Review
|
|
1786
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1787
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1788
|
-
*/
|
|
1789
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
|
|
1790
|
-
|
|
1791
|
-
/**
|
|
1792
|
-
* Verifies a Review message.
|
|
1793
|
-
* @param message Plain object to verify
|
|
1794
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1795
|
-
*/
|
|
1796
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
* Creates a Review message from a plain object. Also converts values to their respective internal types.
|
|
1800
|
-
* @param object Plain object
|
|
1801
|
-
* @returns Review
|
|
1802
|
-
*/
|
|
1803
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Creates a plain object from a Review message. Also converts values to other types if specified.
|
|
1807
|
-
* @param message Review
|
|
1808
|
-
* @param [options] Conversion options
|
|
1809
|
-
* @returns Plain object
|
|
1810
|
-
*/
|
|
1811
|
-
public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
* Converts this Review to JSON.
|
|
1815
|
-
* @returns JSON object
|
|
1816
|
-
*/
|
|
1817
|
-
public toJSON(): { [k: string]: any };
|
|
1818
|
-
|
|
1819
|
-
/**
|
|
1820
|
-
* Gets the default type url for Review
|
|
1821
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1822
|
-
* @returns The default type url
|
|
1823
|
-
*/
|
|
1824
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
1567
|
/** Properties of a ContextualContent. */
|
|
1828
1568
|
interface IContextualContent {
|
|
1829
1569
|
|
|
@@ -2503,93 +2243,244 @@ export namespace google {
|
|
|
2503
2243
|
/** Photo name. */
|
|
2504
2244
|
public name: string;
|
|
2505
2245
|
|
|
2506
|
-
/** Photo widthPx. */
|
|
2507
|
-
public widthPx: number;
|
|
2246
|
+
/** Photo widthPx. */
|
|
2247
|
+
public widthPx: number;
|
|
2248
|
+
|
|
2249
|
+
/** Photo heightPx. */
|
|
2250
|
+
public heightPx: number;
|
|
2251
|
+
|
|
2252
|
+
/** Photo authorAttributions. */
|
|
2253
|
+
public authorAttributions: google.maps.places.v1.IAuthorAttribution[];
|
|
2254
|
+
|
|
2255
|
+
/** Photo flagContentUri. */
|
|
2256
|
+
public flagContentUri: string;
|
|
2257
|
+
|
|
2258
|
+
/** Photo googleMapsUri. */
|
|
2259
|
+
public googleMapsUri: string;
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* Creates a new Photo instance using the specified properties.
|
|
2263
|
+
* @param [properties] Properties to set
|
|
2264
|
+
* @returns Photo instance
|
|
2265
|
+
*/
|
|
2266
|
+
public static create(properties?: google.maps.places.v1.IPhoto): google.maps.places.v1.Photo;
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* Encodes the specified Photo message. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
|
|
2270
|
+
* @param message Photo message or plain object to encode
|
|
2271
|
+
* @param [writer] Writer to encode to
|
|
2272
|
+
* @returns Writer
|
|
2273
|
+
*/
|
|
2274
|
+
public static encode(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Encodes the specified Photo message, length delimited. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
|
|
2278
|
+
* @param message Photo message or plain object to encode
|
|
2279
|
+
* @param [writer] Writer to encode to
|
|
2280
|
+
* @returns Writer
|
|
2281
|
+
*/
|
|
2282
|
+
public static encodeDelimited(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Decodes a Photo message from the specified reader or buffer.
|
|
2286
|
+
* @param reader Reader or buffer to decode from
|
|
2287
|
+
* @param [length] Message length if known beforehand
|
|
2288
|
+
* @returns Photo
|
|
2289
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2290
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2291
|
+
*/
|
|
2292
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Photo;
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* Decodes a Photo message from the specified reader or buffer, length delimited.
|
|
2296
|
+
* @param reader Reader or buffer to decode from
|
|
2297
|
+
* @returns Photo
|
|
2298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2300
|
+
*/
|
|
2301
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Photo;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Verifies a Photo message.
|
|
2305
|
+
* @param message Plain object to verify
|
|
2306
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2307
|
+
*/
|
|
2308
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* Creates a Photo message from a plain object. Also converts values to their respective internal types.
|
|
2312
|
+
* @param object Plain object
|
|
2313
|
+
* @returns Photo
|
|
2314
|
+
*/
|
|
2315
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Photo;
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* Creates a plain object from a Photo message. Also converts values to other types if specified.
|
|
2319
|
+
* @param message Photo
|
|
2320
|
+
* @param [options] Conversion options
|
|
2321
|
+
* @returns Plain object
|
|
2322
|
+
*/
|
|
2323
|
+
public static toObject(message: google.maps.places.v1.Photo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* Converts this Photo to JSON.
|
|
2327
|
+
* @returns JSON object
|
|
2328
|
+
*/
|
|
2329
|
+
public toJSON(): { [k: string]: any };
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Gets the default type url for Photo
|
|
2333
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2334
|
+
* @returns The default type url
|
|
2335
|
+
*/
|
|
2336
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
/** Properties of a Review. */
|
|
2340
|
+
interface IReview {
|
|
2341
|
+
|
|
2342
|
+
/** Review name */
|
|
2343
|
+
name?: (string|null);
|
|
2344
|
+
|
|
2345
|
+
/** Review relativePublishTimeDescription */
|
|
2346
|
+
relativePublishTimeDescription?: (string|null);
|
|
2347
|
+
|
|
2348
|
+
/** Review text */
|
|
2349
|
+
text?: (google.type.ILocalizedText|null);
|
|
2350
|
+
|
|
2351
|
+
/** Review originalText */
|
|
2352
|
+
originalText?: (google.type.ILocalizedText|null);
|
|
2353
|
+
|
|
2354
|
+
/** Review rating */
|
|
2355
|
+
rating?: (number|null);
|
|
2356
|
+
|
|
2357
|
+
/** Review authorAttribution */
|
|
2358
|
+
authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
2359
|
+
|
|
2360
|
+
/** Review publishTime */
|
|
2361
|
+
publishTime?: (google.protobuf.ITimestamp|null);
|
|
2362
|
+
|
|
2363
|
+
/** Review flagContentUri */
|
|
2364
|
+
flagContentUri?: (string|null);
|
|
2365
|
+
|
|
2366
|
+
/** Review googleMapsUri */
|
|
2367
|
+
googleMapsUri?: (string|null);
|
|
2368
|
+
|
|
2369
|
+
/** Review visitDate */
|
|
2370
|
+
visitDate?: (google.type.IDate|null);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
/** Represents a Review. */
|
|
2374
|
+
class Review implements IReview {
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Constructs a new Review.
|
|
2378
|
+
* @param [properties] Properties to set
|
|
2379
|
+
*/
|
|
2380
|
+
constructor(properties?: google.maps.places.v1.IReview);
|
|
2381
|
+
|
|
2382
|
+
/** Review name. */
|
|
2383
|
+
public name: string;
|
|
2384
|
+
|
|
2385
|
+
/** Review relativePublishTimeDescription. */
|
|
2386
|
+
public relativePublishTimeDescription: string;
|
|
2387
|
+
|
|
2388
|
+
/** Review text. */
|
|
2389
|
+
public text?: (google.type.ILocalizedText|null);
|
|
2390
|
+
|
|
2391
|
+
/** Review originalText. */
|
|
2392
|
+
public originalText?: (google.type.ILocalizedText|null);
|
|
2393
|
+
|
|
2394
|
+
/** Review rating. */
|
|
2395
|
+
public rating: number;
|
|
2508
2396
|
|
|
2509
|
-
/**
|
|
2510
|
-
public
|
|
2397
|
+
/** Review authorAttribution. */
|
|
2398
|
+
public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
2511
2399
|
|
|
2512
|
-
/**
|
|
2513
|
-
public
|
|
2400
|
+
/** Review publishTime. */
|
|
2401
|
+
public publishTime?: (google.protobuf.ITimestamp|null);
|
|
2514
2402
|
|
|
2515
|
-
/**
|
|
2403
|
+
/** Review flagContentUri. */
|
|
2516
2404
|
public flagContentUri: string;
|
|
2517
2405
|
|
|
2518
|
-
/**
|
|
2406
|
+
/** Review googleMapsUri. */
|
|
2519
2407
|
public googleMapsUri: string;
|
|
2520
2408
|
|
|
2409
|
+
/** Review visitDate. */
|
|
2410
|
+
public visitDate?: (google.type.IDate|null);
|
|
2411
|
+
|
|
2521
2412
|
/**
|
|
2522
|
-
* Creates a new
|
|
2413
|
+
* Creates a new Review instance using the specified properties.
|
|
2523
2414
|
* @param [properties] Properties to set
|
|
2524
|
-
* @returns
|
|
2415
|
+
* @returns Review instance
|
|
2525
2416
|
*/
|
|
2526
|
-
public static create(properties?: google.maps.places.v1.
|
|
2417
|
+
public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
|
|
2527
2418
|
|
|
2528
2419
|
/**
|
|
2529
|
-
* Encodes the specified
|
|
2530
|
-
* @param message
|
|
2420
|
+
* Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
2421
|
+
* @param message Review message or plain object to encode
|
|
2531
2422
|
* @param [writer] Writer to encode to
|
|
2532
2423
|
* @returns Writer
|
|
2533
2424
|
*/
|
|
2534
|
-
public static encode(message: google.maps.places.v1.
|
|
2425
|
+
public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2535
2426
|
|
|
2536
2427
|
/**
|
|
2537
|
-
* Encodes the specified
|
|
2538
|
-
* @param message
|
|
2428
|
+
* Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
2429
|
+
* @param message Review message or plain object to encode
|
|
2539
2430
|
* @param [writer] Writer to encode to
|
|
2540
2431
|
* @returns Writer
|
|
2541
2432
|
*/
|
|
2542
|
-
public static encodeDelimited(message: google.maps.places.v1.
|
|
2433
|
+
public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2543
2434
|
|
|
2544
2435
|
/**
|
|
2545
|
-
* Decodes a
|
|
2436
|
+
* Decodes a Review message from the specified reader or buffer.
|
|
2546
2437
|
* @param reader Reader or buffer to decode from
|
|
2547
2438
|
* @param [length] Message length if known beforehand
|
|
2548
|
-
* @returns
|
|
2439
|
+
* @returns Review
|
|
2549
2440
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2550
2441
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2551
2442
|
*/
|
|
2552
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.
|
|
2443
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
|
|
2553
2444
|
|
|
2554
2445
|
/**
|
|
2555
|
-
* Decodes a
|
|
2446
|
+
* Decodes a Review message from the specified reader or buffer, length delimited.
|
|
2556
2447
|
* @param reader Reader or buffer to decode from
|
|
2557
|
-
* @returns
|
|
2448
|
+
* @returns Review
|
|
2558
2449
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2559
2450
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2560
2451
|
*/
|
|
2561
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.
|
|
2452
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
|
|
2562
2453
|
|
|
2563
2454
|
/**
|
|
2564
|
-
* Verifies a
|
|
2455
|
+
* Verifies a Review message.
|
|
2565
2456
|
* @param message Plain object to verify
|
|
2566
2457
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2567
2458
|
*/
|
|
2568
2459
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2569
2460
|
|
|
2570
2461
|
/**
|
|
2571
|
-
* Creates a
|
|
2462
|
+
* Creates a Review message from a plain object. Also converts values to their respective internal types.
|
|
2572
2463
|
* @param object Plain object
|
|
2573
|
-
* @returns
|
|
2464
|
+
* @returns Review
|
|
2574
2465
|
*/
|
|
2575
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.
|
|
2466
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
|
|
2576
2467
|
|
|
2577
2468
|
/**
|
|
2578
|
-
* Creates a plain object from a
|
|
2579
|
-
* @param message
|
|
2469
|
+
* Creates a plain object from a Review message. Also converts values to other types if specified.
|
|
2470
|
+
* @param message Review
|
|
2580
2471
|
* @param [options] Conversion options
|
|
2581
2472
|
* @returns Plain object
|
|
2582
2473
|
*/
|
|
2583
|
-
public static toObject(message: google.maps.places.v1.
|
|
2474
|
+
public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2584
2475
|
|
|
2585
2476
|
/**
|
|
2586
|
-
* Converts this
|
|
2477
|
+
* Converts this Review to JSON.
|
|
2587
2478
|
* @returns JSON object
|
|
2588
2479
|
*/
|
|
2589
2480
|
public toJSON(): { [k: string]: any };
|
|
2590
2481
|
|
|
2591
2482
|
/**
|
|
2592
|
-
* Gets the default type url for
|
|
2483
|
+
* Gets the default type url for Review
|
|
2593
2484
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2594
2485
|
* @returns The default type url
|
|
2595
2486
|
*/
|
|
@@ -3205,6 +3096,9 @@ export namespace google {
|
|
|
3205
3096
|
/** Place primaryTypeDisplayName */
|
|
3206
3097
|
primaryTypeDisplayName?: (google.type.ILocalizedText|null);
|
|
3207
3098
|
|
|
3099
|
+
/** Place googleMapsTypeLabel */
|
|
3100
|
+
googleMapsTypeLabel?: (google.type.ILocalizedText|null);
|
|
3101
|
+
|
|
3208
3102
|
/** Place nationalPhoneNumber */
|
|
3209
3103
|
nationalPhoneNumber?: (string|null);
|
|
3210
3104
|
|
|
@@ -3262,6 +3156,9 @@ export namespace google {
|
|
|
3262
3156
|
/** Place businessStatus */
|
|
3263
3157
|
businessStatus?: (google.maps.places.v1.Place.BusinessStatus|keyof typeof google.maps.places.v1.Place.BusinessStatus|null);
|
|
3264
3158
|
|
|
3159
|
+
/** Place openingDate */
|
|
3160
|
+
openingDate?: (google.type.IDate|null);
|
|
3161
|
+
|
|
3265
3162
|
/** Place priceLevel */
|
|
3266
3163
|
priceLevel?: (google.maps.places.v1.PriceLevel|keyof typeof google.maps.places.v1.PriceLevel|null);
|
|
3267
3164
|
|
|
@@ -3388,6 +3285,9 @@ export namespace google {
|
|
|
3388
3285
|
/** Place addressDescriptor */
|
|
3389
3286
|
addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3390
3287
|
|
|
3288
|
+
/** Place googleMapsLinks */
|
|
3289
|
+
googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
|
|
3290
|
+
|
|
3391
3291
|
/** Place priceRange */
|
|
3392
3292
|
priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3393
3293
|
|
|
@@ -3437,6 +3337,9 @@ export namespace google {
|
|
|
3437
3337
|
/** Place primaryTypeDisplayName. */
|
|
3438
3338
|
public primaryTypeDisplayName?: (google.type.ILocalizedText|null);
|
|
3439
3339
|
|
|
3340
|
+
/** Place googleMapsTypeLabel. */
|
|
3341
|
+
public googleMapsTypeLabel?: (google.type.ILocalizedText|null);
|
|
3342
|
+
|
|
3440
3343
|
/** Place nationalPhoneNumber. */
|
|
3441
3344
|
public nationalPhoneNumber: string;
|
|
3442
3345
|
|
|
@@ -3494,6 +3397,9 @@ export namespace google {
|
|
|
3494
3397
|
/** Place businessStatus. */
|
|
3495
3398
|
public businessStatus: (google.maps.places.v1.Place.BusinessStatus|keyof typeof google.maps.places.v1.Place.BusinessStatus);
|
|
3496
3399
|
|
|
3400
|
+
/** Place openingDate. */
|
|
3401
|
+
public openingDate?: (google.type.IDate|null);
|
|
3402
|
+
|
|
3497
3403
|
/** Place priceLevel. */
|
|
3498
3404
|
public priceLevel: (google.maps.places.v1.PriceLevel|keyof typeof google.maps.places.v1.PriceLevel);
|
|
3499
3405
|
|
|
@@ -3620,6 +3526,9 @@ export namespace google {
|
|
|
3620
3526
|
/** Place addressDescriptor. */
|
|
3621
3527
|
public addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3622
3528
|
|
|
3529
|
+
/** Place googleMapsLinks. */
|
|
3530
|
+
public googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
|
|
3531
|
+
|
|
3623
3532
|
/** Place priceRange. */
|
|
3624
3533
|
public priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3625
3534
|
|
|
@@ -4422,7 +4331,8 @@ export namespace google {
|
|
|
4422
4331
|
BUSINESS_STATUS_UNSPECIFIED = 0,
|
|
4423
4332
|
OPERATIONAL = 1,
|
|
4424
4333
|
CLOSED_TEMPORARILY = 2,
|
|
4425
|
-
CLOSED_PERMANENTLY = 3
|
|
4334
|
+
CLOSED_PERMANENTLY = 3,
|
|
4335
|
+
FUTURE_OPENING = 4
|
|
4426
4336
|
}
|
|
4427
4337
|
|
|
4428
4338
|
/** Properties of an Attribution. */
|
|
@@ -5206,6 +5116,127 @@ export namespace google {
|
|
|
5206
5116
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5207
5117
|
}
|
|
5208
5118
|
|
|
5119
|
+
/** Properties of a GoogleMapsLinks. */
|
|
5120
|
+
interface IGoogleMapsLinks {
|
|
5121
|
+
|
|
5122
|
+
/** GoogleMapsLinks directionsUri */
|
|
5123
|
+
directionsUri?: (string|null);
|
|
5124
|
+
|
|
5125
|
+
/** GoogleMapsLinks placeUri */
|
|
5126
|
+
placeUri?: (string|null);
|
|
5127
|
+
|
|
5128
|
+
/** GoogleMapsLinks writeAReviewUri */
|
|
5129
|
+
writeAReviewUri?: (string|null);
|
|
5130
|
+
|
|
5131
|
+
/** GoogleMapsLinks reviewsUri */
|
|
5132
|
+
reviewsUri?: (string|null);
|
|
5133
|
+
|
|
5134
|
+
/** GoogleMapsLinks photosUri */
|
|
5135
|
+
photosUri?: (string|null);
|
|
5136
|
+
}
|
|
5137
|
+
|
|
5138
|
+
/** Represents a GoogleMapsLinks. */
|
|
5139
|
+
class GoogleMapsLinks implements IGoogleMapsLinks {
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* Constructs a new GoogleMapsLinks.
|
|
5143
|
+
* @param [properties] Properties to set
|
|
5144
|
+
*/
|
|
5145
|
+
constructor(properties?: google.maps.places.v1.Place.IGoogleMapsLinks);
|
|
5146
|
+
|
|
5147
|
+
/** GoogleMapsLinks directionsUri. */
|
|
5148
|
+
public directionsUri: string;
|
|
5149
|
+
|
|
5150
|
+
/** GoogleMapsLinks placeUri. */
|
|
5151
|
+
public placeUri: string;
|
|
5152
|
+
|
|
5153
|
+
/** GoogleMapsLinks writeAReviewUri. */
|
|
5154
|
+
public writeAReviewUri: string;
|
|
5155
|
+
|
|
5156
|
+
/** GoogleMapsLinks reviewsUri. */
|
|
5157
|
+
public reviewsUri: string;
|
|
5158
|
+
|
|
5159
|
+
/** GoogleMapsLinks photosUri. */
|
|
5160
|
+
public photosUri: string;
|
|
5161
|
+
|
|
5162
|
+
/**
|
|
5163
|
+
* Creates a new GoogleMapsLinks instance using the specified properties.
|
|
5164
|
+
* @param [properties] Properties to set
|
|
5165
|
+
* @returns GoogleMapsLinks instance
|
|
5166
|
+
*/
|
|
5167
|
+
public static create(properties?: google.maps.places.v1.Place.IGoogleMapsLinks): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
* Encodes the specified GoogleMapsLinks message. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
|
|
5171
|
+
* @param message GoogleMapsLinks message or plain object to encode
|
|
5172
|
+
* @param [writer] Writer to encode to
|
|
5173
|
+
* @returns Writer
|
|
5174
|
+
*/
|
|
5175
|
+
public static encode(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5176
|
+
|
|
5177
|
+
/**
|
|
5178
|
+
* Encodes the specified GoogleMapsLinks message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
|
|
5179
|
+
* @param message GoogleMapsLinks message or plain object to encode
|
|
5180
|
+
* @param [writer] Writer to encode to
|
|
5181
|
+
* @returns Writer
|
|
5182
|
+
*/
|
|
5183
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5184
|
+
|
|
5185
|
+
/**
|
|
5186
|
+
* Decodes a GoogleMapsLinks message from the specified reader or buffer.
|
|
5187
|
+
* @param reader Reader or buffer to decode from
|
|
5188
|
+
* @param [length] Message length if known beforehand
|
|
5189
|
+
* @returns GoogleMapsLinks
|
|
5190
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5191
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5192
|
+
*/
|
|
5193
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5194
|
+
|
|
5195
|
+
/**
|
|
5196
|
+
* Decodes a GoogleMapsLinks message from the specified reader or buffer, length delimited.
|
|
5197
|
+
* @param reader Reader or buffer to decode from
|
|
5198
|
+
* @returns GoogleMapsLinks
|
|
5199
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5200
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5201
|
+
*/
|
|
5202
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5203
|
+
|
|
5204
|
+
/**
|
|
5205
|
+
* Verifies a GoogleMapsLinks message.
|
|
5206
|
+
* @param message Plain object to verify
|
|
5207
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5208
|
+
*/
|
|
5209
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Creates a GoogleMapsLinks message from a plain object. Also converts values to their respective internal types.
|
|
5213
|
+
* @param object Plain object
|
|
5214
|
+
* @returns GoogleMapsLinks
|
|
5215
|
+
*/
|
|
5216
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* Creates a plain object from a GoogleMapsLinks message. Also converts values to other types if specified.
|
|
5220
|
+
* @param message GoogleMapsLinks
|
|
5221
|
+
* @param [options] Conversion options
|
|
5222
|
+
* @returns Plain object
|
|
5223
|
+
*/
|
|
5224
|
+
public static toObject(message: google.maps.places.v1.Place.GoogleMapsLinks, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5225
|
+
|
|
5226
|
+
/**
|
|
5227
|
+
* Converts this GoogleMapsLinks to JSON.
|
|
5228
|
+
* @returns JSON object
|
|
5229
|
+
*/
|
|
5230
|
+
public toJSON(): { [k: string]: any };
|
|
5231
|
+
|
|
5232
|
+
/**
|
|
5233
|
+
* Gets the default type url for GoogleMapsLinks
|
|
5234
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5235
|
+
* @returns The default type url
|
|
5236
|
+
*/
|
|
5237
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5209
5240
|
/** Properties of a ReviewSummary. */
|
|
5210
5241
|
interface IReviewSummary {
|
|
5211
5242
|
|
|
@@ -6280,6 +6311,9 @@ export namespace google {
|
|
|
6280
6311
|
|
|
6281
6312
|
/** SearchNearbyRequest routingParameters */
|
|
6282
6313
|
routingParameters?: (google.maps.places.v1.IRoutingParameters|null);
|
|
6314
|
+
|
|
6315
|
+
/** SearchNearbyRequest includeFutureOpeningBusinesses */
|
|
6316
|
+
includeFutureOpeningBusinesses?: (boolean|null);
|
|
6283
6317
|
}
|
|
6284
6318
|
|
|
6285
6319
|
/** Represents a SearchNearbyRequest. */
|
|
@@ -6321,6 +6355,9 @@ export namespace google {
|
|
|
6321
6355
|
/** SearchNearbyRequest routingParameters. */
|
|
6322
6356
|
public routingParameters?: (google.maps.places.v1.IRoutingParameters|null);
|
|
6323
6357
|
|
|
6358
|
+
/** SearchNearbyRequest includeFutureOpeningBusinesses. */
|
|
6359
|
+
public includeFutureOpeningBusinesses: boolean;
|
|
6360
|
+
|
|
6324
6361
|
/**
|
|
6325
6362
|
* Creates a new SearchNearbyRequest instance using the specified properties.
|
|
6326
6363
|
* @param [properties] Properties to set
|
|
@@ -6662,6 +6699,9 @@ export namespace google {
|
|
|
6662
6699
|
|
|
6663
6700
|
/** SearchTextRequest includePureServiceAreaBusinesses */
|
|
6664
6701
|
includePureServiceAreaBusinesses?: (boolean|null);
|
|
6702
|
+
|
|
6703
|
+
/** SearchTextRequest includeFutureOpeningBusinesses */
|
|
6704
|
+
includeFutureOpeningBusinesses?: (boolean|null);
|
|
6665
6705
|
}
|
|
6666
6706
|
|
|
6667
6707
|
/** Represents a SearchTextRequest. */
|
|
@@ -6721,6 +6761,9 @@ export namespace google {
|
|
|
6721
6761
|
/** SearchTextRequest includePureServiceAreaBusinesses. */
|
|
6722
6762
|
public includePureServiceAreaBusinesses: boolean;
|
|
6723
6763
|
|
|
6764
|
+
/** SearchTextRequest includeFutureOpeningBusinesses. */
|
|
6765
|
+
public includeFutureOpeningBusinesses: boolean;
|
|
6766
|
+
|
|
6724
6767
|
/**
|
|
6725
6768
|
* Creates a new SearchTextRequest instance using the specified properties.
|
|
6726
6769
|
* @param [properties] Properties to set
|
|
@@ -7695,6 +7738,9 @@ export namespace google {
|
|
|
7695
7738
|
|
|
7696
7739
|
/** AutocompletePlacesRequest includePureServiceAreaBusinesses */
|
|
7697
7740
|
includePureServiceAreaBusinesses?: (boolean|null);
|
|
7741
|
+
|
|
7742
|
+
/** AutocompletePlacesRequest includeFutureOpeningBusinesses */
|
|
7743
|
+
includeFutureOpeningBusinesses?: (boolean|null);
|
|
7698
7744
|
}
|
|
7699
7745
|
|
|
7700
7746
|
/** Represents an AutocompletePlacesRequest. */
|
|
@@ -7742,6 +7788,9 @@ export namespace google {
|
|
|
7742
7788
|
/** AutocompletePlacesRequest includePureServiceAreaBusinesses. */
|
|
7743
7789
|
public includePureServiceAreaBusinesses: boolean;
|
|
7744
7790
|
|
|
7791
|
+
/** AutocompletePlacesRequest includeFutureOpeningBusinesses. */
|
|
7792
|
+
public includeFutureOpeningBusinesses: boolean;
|
|
7793
|
+
|
|
7745
7794
|
/**
|
|
7746
7795
|
* Creates a new AutocompletePlacesRequest instance using the specified properties.
|
|
7747
7796
|
* @param [properties] Properties to set
|
|
@@ -9223,6 +9272,109 @@ export namespace google {
|
|
|
9223
9272
|
WALK = 3,
|
|
9224
9273
|
TWO_WHEELER = 4
|
|
9225
9274
|
}
|
|
9275
|
+
|
|
9276
|
+
/** Properties of a References. */
|
|
9277
|
+
interface IReferences {
|
|
9278
|
+
|
|
9279
|
+
/** References reviews */
|
|
9280
|
+
reviews?: (google.maps.places.v1.IReview[]|null);
|
|
9281
|
+
|
|
9282
|
+
/** References places */
|
|
9283
|
+
places?: (string[]|null);
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9286
|
+
/** Represents a References. */
|
|
9287
|
+
class References implements IReferences {
|
|
9288
|
+
|
|
9289
|
+
/**
|
|
9290
|
+
* Constructs a new References.
|
|
9291
|
+
* @param [properties] Properties to set
|
|
9292
|
+
*/
|
|
9293
|
+
constructor(properties?: google.maps.places.v1.IReferences);
|
|
9294
|
+
|
|
9295
|
+
/** References reviews. */
|
|
9296
|
+
public reviews: google.maps.places.v1.IReview[];
|
|
9297
|
+
|
|
9298
|
+
/** References places. */
|
|
9299
|
+
public places: string[];
|
|
9300
|
+
|
|
9301
|
+
/**
|
|
9302
|
+
* Creates a new References instance using the specified properties.
|
|
9303
|
+
* @param [properties] Properties to set
|
|
9304
|
+
* @returns References instance
|
|
9305
|
+
*/
|
|
9306
|
+
public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
|
|
9307
|
+
|
|
9308
|
+
/**
|
|
9309
|
+
* Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
9310
|
+
* @param message References message or plain object to encode
|
|
9311
|
+
* @param [writer] Writer to encode to
|
|
9312
|
+
* @returns Writer
|
|
9313
|
+
*/
|
|
9314
|
+
public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9315
|
+
|
|
9316
|
+
/**
|
|
9317
|
+
* Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
9318
|
+
* @param message References message or plain object to encode
|
|
9319
|
+
* @param [writer] Writer to encode to
|
|
9320
|
+
* @returns Writer
|
|
9321
|
+
*/
|
|
9322
|
+
public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9323
|
+
|
|
9324
|
+
/**
|
|
9325
|
+
* Decodes a References message from the specified reader or buffer.
|
|
9326
|
+
* @param reader Reader or buffer to decode from
|
|
9327
|
+
* @param [length] Message length if known beforehand
|
|
9328
|
+
* @returns References
|
|
9329
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9330
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9331
|
+
*/
|
|
9332
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
|
|
9333
|
+
|
|
9334
|
+
/**
|
|
9335
|
+
* Decodes a References message from the specified reader or buffer, length delimited.
|
|
9336
|
+
* @param reader Reader or buffer to decode from
|
|
9337
|
+
* @returns References
|
|
9338
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9339
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9340
|
+
*/
|
|
9341
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
|
|
9342
|
+
|
|
9343
|
+
/**
|
|
9344
|
+
* Verifies a References message.
|
|
9345
|
+
* @param message Plain object to verify
|
|
9346
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9347
|
+
*/
|
|
9348
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9349
|
+
|
|
9350
|
+
/**
|
|
9351
|
+
* Creates a References message from a plain object. Also converts values to their respective internal types.
|
|
9352
|
+
* @param object Plain object
|
|
9353
|
+
* @returns References
|
|
9354
|
+
*/
|
|
9355
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
|
|
9356
|
+
|
|
9357
|
+
/**
|
|
9358
|
+
* Creates a plain object from a References message. Also converts values to other types if specified.
|
|
9359
|
+
* @param message References
|
|
9360
|
+
* @param [options] Conversion options
|
|
9361
|
+
* @returns Plain object
|
|
9362
|
+
*/
|
|
9363
|
+
public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9364
|
+
|
|
9365
|
+
/**
|
|
9366
|
+
* Converts this References to JSON.
|
|
9367
|
+
* @returns JSON object
|
|
9368
|
+
*/
|
|
9369
|
+
public toJSON(): { [k: string]: any };
|
|
9370
|
+
|
|
9371
|
+
/**
|
|
9372
|
+
* Gets the default type url for References
|
|
9373
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9374
|
+
* @returns The default type url
|
|
9375
|
+
*/
|
|
9376
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9377
|
+
}
|
|
9226
9378
|
}
|
|
9227
9379
|
}
|
|
9228
9380
|
}
|