@googlemaps/places 2.1.1 → 2.3.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.
@@ -216,7 +216,7 @@
216
216
  "csharp_namespace": "Google.Maps.Places.V1",
217
217
  "go_package": "cloud.google.com/go/maps/places/apiv1/placespb;placespb",
218
218
  "java_multiple_files": true,
219
- "java_outer_classname": "TravelModeProto",
219
+ "java_outer_classname": "ReferenceProto",
220
220
  "java_package": "com.google.maps.places.v1",
221
221
  "objc_class_prefix": "GMPSV1",
222
222
  "php_namespace": "Google\\Maps\\Places\\V1"
@@ -348,83 +348,20 @@
348
348
  },
349
349
  "ContentBlock": {
350
350
  "fields": {
351
- "topic": {
352
- "type": "string",
353
- "id": 1
354
- },
355
351
  "content": {
356
352
  "type": "google.type.LocalizedText",
357
353
  "id": 2
358
354
  },
359
- "references": {
360
- "type": "References",
361
- "id": 3
362
- }
363
- }
364
- },
365
- "References": {
366
- "fields": {
367
- "reviews": {
368
- "rule": "repeated",
369
- "type": "Review",
370
- "id": 1
371
- },
372
- "places": {
355
+ "referencedPlaces": {
373
356
  "rule": "repeated",
374
357
  "type": "string",
375
- "id": 2,
358
+ "id": 4,
376
359
  "options": {
377
360
  "(google.api.resource_reference).type": "places.googleapis.com/Place"
378
361
  }
379
362
  }
380
363
  }
381
364
  },
382
- "Review": {
383
- "options": {
384
- "(google.api.resource).type": "places.googleapis.com/Review",
385
- "(google.api.resource).pattern": "places/{place}/reviews/{review}",
386
- "(google.api.resource).plural": "reviews",
387
- "(google.api.resource).singular": "review"
388
- },
389
- "fields": {
390
- "name": {
391
- "type": "string",
392
- "id": 1
393
- },
394
- "relativePublishTimeDescription": {
395
- "type": "string",
396
- "id": 2
397
- },
398
- "text": {
399
- "type": "google.type.LocalizedText",
400
- "id": 9
401
- },
402
- "originalText": {
403
- "type": "google.type.LocalizedText",
404
- "id": 12
405
- },
406
- "rating": {
407
- "type": "double",
408
- "id": 7
409
- },
410
- "authorAttribution": {
411
- "type": "AuthorAttribution",
412
- "id": 13
413
- },
414
- "publishTime": {
415
- "type": "google.protobuf.Timestamp",
416
- "id": 14
417
- },
418
- "flagContentUri": {
419
- "type": "string",
420
- "id": 15
421
- },
422
- "googleMapsUri": {
423
- "type": "string",
424
- "id": 16
425
- }
426
- }
427
- },
428
365
  "ContextualContent": {
429
366
  "fields": {
430
367
  "reviews": {
@@ -563,6 +500,56 @@
563
500
  }
564
501
  }
565
502
  },
503
+ "Review": {
504
+ "options": {
505
+ "(google.api.resource).type": "places.googleapis.com/Review",
506
+ "(google.api.resource).pattern": "places/{place}/reviews/{review}",
507
+ "(google.api.resource).plural": "reviews",
508
+ "(google.api.resource).singular": "review"
509
+ },
510
+ "fields": {
511
+ "name": {
512
+ "type": "string",
513
+ "id": 1
514
+ },
515
+ "relativePublishTimeDescription": {
516
+ "type": "string",
517
+ "id": 2
518
+ },
519
+ "text": {
520
+ "type": "google.type.LocalizedText",
521
+ "id": 9
522
+ },
523
+ "originalText": {
524
+ "type": "google.type.LocalizedText",
525
+ "id": 12
526
+ },
527
+ "rating": {
528
+ "type": "double",
529
+ "id": 7
530
+ },
531
+ "authorAttribution": {
532
+ "type": "AuthorAttribution",
533
+ "id": 13
534
+ },
535
+ "publishTime": {
536
+ "type": "google.protobuf.Timestamp",
537
+ "id": 14
538
+ },
539
+ "flagContentUri": {
540
+ "type": "string",
541
+ "id": 15
542
+ },
543
+ "googleMapsUri": {
544
+ "type": "string",
545
+ "id": 16
546
+ },
547
+ "visitDate": {
548
+ "type": "google.type.Date",
549
+ "id": 17
550
+ }
551
+ }
552
+ },
566
553
  "EVChargeOptions": {
567
554
  "fields": {
568
555
  "connectorCount": {
@@ -881,6 +868,10 @@
881
868
  "type": "google.type.LocalizedText",
882
869
  "id": 32
883
870
  },
871
+ "googleMapsTypeLabel": {
872
+ "type": "google.type.LocalizedText",
873
+ "id": 96
874
+ },
884
875
  "nationalPhoneNumber": {
885
876
  "type": "string",
886
877
  "id": 7
@@ -1214,6 +1205,10 @@
1214
1205
  "type": "AddressDescriptor",
1215
1206
  "id": 84
1216
1207
  },
1208
+ "googleMapsLinks": {
1209
+ "type": "GoogleMapsLinks",
1210
+ "id": 85
1211
+ },
1217
1212
  "priceRange": {
1218
1213
  "type": "PriceRange",
1219
1214
  "id": 86
@@ -1229,6 +1224,21 @@
1229
1224
  "neighborhoodSummary": {
1230
1225
  "type": "NeighborhoodSummary",
1231
1226
  "id": 91
1227
+ },
1228
+ "consumerAlert": {
1229
+ "type": "ConsumerAlert",
1230
+ "id": 92
1231
+ },
1232
+ "movedPlace": {
1233
+ "type": "string",
1234
+ "id": 93,
1235
+ "options": {
1236
+ "(google.api.resource_reference).type": "places.googleapis.com/Place"
1237
+ }
1238
+ },
1239
+ "movedPlaceId": {
1240
+ "type": "string",
1241
+ "id": 94
1232
1242
  }
1233
1243
  },
1234
1244
  "nested": {
@@ -1666,6 +1676,30 @@
1666
1676
  }
1667
1677
  }
1668
1678
  },
1679
+ "GoogleMapsLinks": {
1680
+ "fields": {
1681
+ "directionsUri": {
1682
+ "type": "string",
1683
+ "id": 1
1684
+ },
1685
+ "placeUri": {
1686
+ "type": "string",
1687
+ "id": 2
1688
+ },
1689
+ "writeAReviewUri": {
1690
+ "type": "string",
1691
+ "id": 3
1692
+ },
1693
+ "reviewsUri": {
1694
+ "type": "string",
1695
+ "id": 4
1696
+ },
1697
+ "photosUri": {
1698
+ "type": "string",
1699
+ "id": 5
1700
+ }
1701
+ }
1702
+ },
1669
1703
  "ReviewSummary": {
1670
1704
  "fields": {
1671
1705
  "text": {
@@ -1679,6 +1713,10 @@
1679
1713
  "disclosureText": {
1680
1714
  "type": "google.type.LocalizedText",
1681
1715
  "id": 3
1716
+ },
1717
+ "reviewsUri": {
1718
+ "type": "string",
1719
+ "id": 4
1682
1720
  }
1683
1721
  }
1684
1722
  },
@@ -1729,6 +1767,54 @@
1729
1767
  "id": 4
1730
1768
  }
1731
1769
  }
1770
+ },
1771
+ "ConsumerAlert": {
1772
+ "fields": {
1773
+ "overview": {
1774
+ "type": "string",
1775
+ "id": 1
1776
+ },
1777
+ "details": {
1778
+ "type": "Details",
1779
+ "id": 2
1780
+ },
1781
+ "languageCode": {
1782
+ "type": "string",
1783
+ "id": 3
1784
+ }
1785
+ },
1786
+ "nested": {
1787
+ "Details": {
1788
+ "fields": {
1789
+ "title": {
1790
+ "type": "string",
1791
+ "id": 1
1792
+ },
1793
+ "description": {
1794
+ "type": "string",
1795
+ "id": 2
1796
+ },
1797
+ "aboutLink": {
1798
+ "type": "Link",
1799
+ "id": 3
1800
+ }
1801
+ },
1802
+ "nested": {
1803
+ "Link": {
1804
+ "fields": {
1805
+ "title": {
1806
+ "type": "string",
1807
+ "id": 1
1808
+ },
1809
+ "uri": {
1810
+ "type": "string",
1811
+ "id": 2
1812
+ }
1813
+ }
1814
+ }
1815
+ }
1816
+ }
1817
+ }
1732
1818
  }
1733
1819
  }
1734
1820
  },
@@ -2567,6 +2653,23 @@
2567
2653
  "WALK": 3,
2568
2654
  "TWO_WHEELER": 4
2569
2655
  }
2656
+ },
2657
+ "References": {
2658
+ "fields": {
2659
+ "reviews": {
2660
+ "rule": "repeated",
2661
+ "type": "Review",
2662
+ "id": 1
2663
+ },
2664
+ "places": {
2665
+ "rule": "repeated",
2666
+ "type": "string",
2667
+ "id": 2,
2668
+ "options": {
2669
+ "(google.api.resource_reference).type": "places.googleapis.com/Place"
2670
+ }
2671
+ }
2672
+ }
2570
2673
  }
2571
2674
  }
2572
2675
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googlemaps/places",
3
- "version": "2.1.1",
3
+ "version": "2.3.0",
4
4
  "description": "Places API (New) client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",