@googlemaps/places 1.8.0 → 1.9.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/CHANGELOG.md +7 -0
- package/build/protos/google/maps/places/v1/fuel_options.proto +7 -1
- package/build/protos/protos.d.ts +3 -1
- package/build/protos/protos.js +15 -1
- package/build/protos/protos.json +2 -0
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/places_client.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.8.0...places-v1.9.0) (2025-01-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [places] add more fuel type enum values ([#5981](https://github.com/googleapis/google-cloud-node/issues/5981)) ([d0a1ba9](https://github.com/googleapis/google-cloud-node/commit/d0a1ba90bc3b411dfb404c5d1933650a9c46552a))
|
|
9
|
+
|
|
3
10
|
## [1.8.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.7.0...places-v1.8.0) (2024-11-14)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -40,6 +40,9 @@ message FuelOptions {
|
|
|
40
40
|
// Diesel fuel.
|
|
41
41
|
DIESEL = 1;
|
|
42
42
|
|
|
43
|
+
// Diesel plus fuel.
|
|
44
|
+
DIESEL_PLUS = 19;
|
|
45
|
+
|
|
43
46
|
// Regular unleaded.
|
|
44
47
|
REGULAR_UNLEADED = 2;
|
|
45
48
|
|
|
@@ -73,7 +76,7 @@ message FuelOptions {
|
|
|
73
76
|
// SP 100.
|
|
74
77
|
SP100 = 12;
|
|
75
78
|
|
|
76
|
-
//
|
|
79
|
+
// Liquefied Petroleum Gas.
|
|
77
80
|
LPG = 13;
|
|
78
81
|
|
|
79
82
|
// E 80.
|
|
@@ -82,6 +85,9 @@ message FuelOptions {
|
|
|
82
85
|
// E 85.
|
|
83
86
|
E85 = 15;
|
|
84
87
|
|
|
88
|
+
// E 100.
|
|
89
|
+
E100 = 20;
|
|
90
|
+
|
|
85
91
|
// Methane.
|
|
86
92
|
METHANE = 16;
|
|
87
93
|
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 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.
|
|
@@ -2246,6 +2246,7 @@ export namespace google {
|
|
|
2246
2246
|
enum FuelType {
|
|
2247
2247
|
FUEL_TYPE_UNSPECIFIED = 0,
|
|
2248
2248
|
DIESEL = 1,
|
|
2249
|
+
DIESEL_PLUS = 19,
|
|
2249
2250
|
REGULAR_UNLEADED = 2,
|
|
2250
2251
|
MIDGRADE = 3,
|
|
2251
2252
|
PREMIUM = 4,
|
|
@@ -2260,6 +2261,7 @@ export namespace google {
|
|
|
2260
2261
|
LPG = 13,
|
|
2261
2262
|
E80 = 14,
|
|
2262
2263
|
E85 = 15,
|
|
2264
|
+
E100 = 20,
|
|
2263
2265
|
METHANE = 16,
|
|
2264
2266
|
BIO_DIESEL = 17,
|
|
2265
2267
|
TRUCK_DIESEL = 18
|
package/build/protos/protos.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 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.
|
|
@@ -5358,6 +5358,7 @@
|
|
|
5358
5358
|
return "type: enum value expected";
|
|
5359
5359
|
case 0:
|
|
5360
5360
|
case 1:
|
|
5361
|
+
case 19:
|
|
5361
5362
|
case 2:
|
|
5362
5363
|
case 3:
|
|
5363
5364
|
case 4:
|
|
@@ -5372,6 +5373,7 @@
|
|
|
5372
5373
|
case 13:
|
|
5373
5374
|
case 14:
|
|
5374
5375
|
case 15:
|
|
5376
|
+
case 20:
|
|
5375
5377
|
case 16:
|
|
5376
5378
|
case 17:
|
|
5377
5379
|
case 18:
|
|
@@ -5417,6 +5419,10 @@
|
|
|
5417
5419
|
case 1:
|
|
5418
5420
|
message.type = 1;
|
|
5419
5421
|
break;
|
|
5422
|
+
case "DIESEL_PLUS":
|
|
5423
|
+
case 19:
|
|
5424
|
+
message.type = 19;
|
|
5425
|
+
break;
|
|
5420
5426
|
case "REGULAR_UNLEADED":
|
|
5421
5427
|
case 2:
|
|
5422
5428
|
message.type = 2;
|
|
@@ -5473,6 +5479,10 @@
|
|
|
5473
5479
|
case 15:
|
|
5474
5480
|
message.type = 15;
|
|
5475
5481
|
break;
|
|
5482
|
+
case "E100":
|
|
5483
|
+
case 20:
|
|
5484
|
+
message.type = 20;
|
|
5485
|
+
break;
|
|
5476
5486
|
case "METHANE":
|
|
5477
5487
|
case 16:
|
|
5478
5488
|
message.type = 16;
|
|
@@ -5558,6 +5568,7 @@
|
|
|
5558
5568
|
* @enum {number}
|
|
5559
5569
|
* @property {number} FUEL_TYPE_UNSPECIFIED=0 FUEL_TYPE_UNSPECIFIED value
|
|
5560
5570
|
* @property {number} DIESEL=1 DIESEL value
|
|
5571
|
+
* @property {number} DIESEL_PLUS=19 DIESEL_PLUS value
|
|
5561
5572
|
* @property {number} REGULAR_UNLEADED=2 REGULAR_UNLEADED value
|
|
5562
5573
|
* @property {number} MIDGRADE=3 MIDGRADE value
|
|
5563
5574
|
* @property {number} PREMIUM=4 PREMIUM value
|
|
@@ -5572,6 +5583,7 @@
|
|
|
5572
5583
|
* @property {number} LPG=13 LPG value
|
|
5573
5584
|
* @property {number} E80=14 E80 value
|
|
5574
5585
|
* @property {number} E85=15 E85 value
|
|
5586
|
+
* @property {number} E100=20 E100 value
|
|
5575
5587
|
* @property {number} METHANE=16 METHANE value
|
|
5576
5588
|
* @property {number} BIO_DIESEL=17 BIO_DIESEL value
|
|
5577
5589
|
* @property {number} TRUCK_DIESEL=18 TRUCK_DIESEL value
|
|
@@ -5580,6 +5592,7 @@
|
|
|
5580
5592
|
var valuesById = {}, values = Object.create(valuesById);
|
|
5581
5593
|
values[valuesById[0] = "FUEL_TYPE_UNSPECIFIED"] = 0;
|
|
5582
5594
|
values[valuesById[1] = "DIESEL"] = 1;
|
|
5595
|
+
values[valuesById[19] = "DIESEL_PLUS"] = 19;
|
|
5583
5596
|
values[valuesById[2] = "REGULAR_UNLEADED"] = 2;
|
|
5584
5597
|
values[valuesById[3] = "MIDGRADE"] = 3;
|
|
5585
5598
|
values[valuesById[4] = "PREMIUM"] = 4;
|
|
@@ -5594,6 +5607,7 @@
|
|
|
5594
5607
|
values[valuesById[13] = "LPG"] = 13;
|
|
5595
5608
|
values[valuesById[14] = "E80"] = 14;
|
|
5596
5609
|
values[valuesById[15] = "E85"] = 15;
|
|
5610
|
+
values[valuesById[20] = "E100"] = 20;
|
|
5597
5611
|
values[valuesById[16] = "METHANE"] = 16;
|
|
5598
5612
|
values[valuesById[17] = "BIO_DIESEL"] = 17;
|
|
5599
5613
|
values[valuesById[18] = "TRUCK_DIESEL"] = 18;
|
package/build/protos/protos.json
CHANGED
|
@@ -436,6 +436,7 @@
|
|
|
436
436
|
"values": {
|
|
437
437
|
"FUEL_TYPE_UNSPECIFIED": 0,
|
|
438
438
|
"DIESEL": 1,
|
|
439
|
+
"DIESEL_PLUS": 19,
|
|
439
440
|
"REGULAR_UNLEADED": 2,
|
|
440
441
|
"MIDGRADE": 3,
|
|
441
442
|
"PREMIUM": 4,
|
|
@@ -450,6 +451,7 @@
|
|
|
450
451
|
"LPG": 13,
|
|
451
452
|
"E80": 14,
|
|
452
453
|
"E85": 15,
|
|
454
|
+
"E100": 20,
|
|
453
455
|
"METHANE": 16,
|
|
454
456
|
"BIO_DIESEL": 17,
|
|
455
457
|
"TRUCK_DIESEL": 18
|
package/build/src/index.js
CHANGED
package/build/src/v1/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googlemaps/places",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Places API (New) client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/mocha": "^9.0.0",
|
|
52
|
-
"@types/node": "^
|
|
52
|
+
"@types/node": "^22.0.0",
|
|
53
53
|
"@types/sinon": "^17.0.0",
|
|
54
54
|
"c8": "^9.0.0",
|
|
55
55
|
"gapic-tools": "^0.4.0",
|