@googlemaps/places 2.2.0 → 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,87 +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
- "visitDate": {
427
- "type": "google.type.Date",
428
- "id": 17
429
- }
430
- }
431
- },
432
365
  "ContextualContent": {
433
366
  "fields": {
434
367
  "reviews": {
@@ -567,6 +500,56 @@
567
500
  }
568
501
  }
569
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
+ },
570
553
  "EVChargeOptions": {
571
554
  "fields": {
572
555
  "connectorCount": {
@@ -885,6 +868,10 @@
885
868
  "type": "google.type.LocalizedText",
886
869
  "id": 32
887
870
  },
871
+ "googleMapsTypeLabel": {
872
+ "type": "google.type.LocalizedText",
873
+ "id": 96
874
+ },
888
875
  "nationalPhoneNumber": {
889
876
  "type": "string",
890
877
  "id": 7
@@ -1218,6 +1205,10 @@
1218
1205
  "type": "AddressDescriptor",
1219
1206
  "id": 84
1220
1207
  },
1208
+ "googleMapsLinks": {
1209
+ "type": "GoogleMapsLinks",
1210
+ "id": 85
1211
+ },
1221
1212
  "priceRange": {
1222
1213
  "type": "PriceRange",
1223
1214
  "id": 86
@@ -1685,6 +1676,30 @@
1685
1676
  }
1686
1677
  }
1687
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
+ },
1688
1703
  "ReviewSummary": {
1689
1704
  "fields": {
1690
1705
  "text": {
@@ -2638,6 +2653,23 @@
2638
2653
  "WALK": 3,
2639
2654
  "TWO_WHEELER": 4
2640
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
+ }
2641
2673
  }
2642
2674
  }
2643
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.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Places API (New) client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",