@googlemaps/routing 1.1.0 → 1.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/protos/google/geo/type/viewport.proto +1 -1
  3. package/build/protos/google/maps/routing/v2/fallback_info.proto +5 -4
  4. package/build/protos/google/maps/routing/v2/geocoding_results.proto +4 -4
  5. package/build/protos/google/maps/routing/v2/localized_time.proto +1 -1
  6. package/build/protos/google/maps/routing/v2/location.proto +2 -2
  7. package/build/protos/google/maps/routing/v2/maneuver.proto +2 -2
  8. package/build/protos/google/maps/routing/v2/navigation_instruction.proto +5 -4
  9. package/build/protos/google/maps/routing/v2/polyline.proto +3 -3
  10. package/build/protos/google/maps/routing/v2/route.proto +11 -11
  11. package/build/protos/google/maps/routing/v2/route_label.proto +3 -3
  12. package/build/protos/google/maps/routing/v2/route_modifiers.proto +6 -6
  13. package/build/protos/google/maps/routing/v2/route_travel_mode.proto +1 -1
  14. package/build/protos/google/maps/routing/v2/routes_service.proto +49 -40
  15. package/build/protos/google/maps/routing/v2/routing_preference.proto +6 -4
  16. package/build/protos/google/maps/routing/v2/speed_reading_interval.proto +3 -3
  17. package/build/protos/google/maps/routing/v2/toll_info.proto +5 -5
  18. package/build/protos/google/maps/routing/v2/toll_passes.proto +17 -2
  19. package/build/protos/google/maps/routing/v2/traffic_model.proto +1 -1
  20. package/build/protos/google/maps/routing/v2/transit.proto +1 -1
  21. package/build/protos/google/maps/routing/v2/transit_preferences.proto +1 -1
  22. package/build/protos/google/maps/routing/v2/units.proto +1 -1
  23. package/build/protos/google/maps/routing/v2/vehicle_emission_type.proto +2 -2
  24. package/build/protos/google/maps/routing/v2/vehicle_info.proto +2 -2
  25. package/build/protos/google/maps/routing/v2/waypoint.proto +5 -5
  26. package/build/protos/protos.d.ts +779 -16
  27. package/build/protos/protos.js +3019 -257
  28. package/build/protos/protos.json +358 -16
  29. package/build/src/v2/routes_client.d.ts +45 -36
  30. package/build/src/v2/routes_client.js +34 -27
  31. package/package.json +3 -3
@@ -193,6 +193,21 @@
193
193
  }
194
194
  }
195
195
  },
196
+ "Edition": {
197
+ "values": {
198
+ "EDITION_UNKNOWN": 0,
199
+ "EDITION_PROTO2": 998,
200
+ "EDITION_PROTO3": 999,
201
+ "EDITION_2023": 1000,
202
+ "EDITION_2024": 1001,
203
+ "EDITION_1_TEST_ONLY": 1,
204
+ "EDITION_2_TEST_ONLY": 2,
205
+ "EDITION_99997_TEST_ONLY": 99997,
206
+ "EDITION_99998_TEST_ONLY": 99998,
207
+ "EDITION_99999_TEST_ONLY": 99999,
208
+ "EDITION_MAX": 2147483647
209
+ }
210
+ },
196
211
  "FileDescriptorProto": {
197
212
  "fields": {
198
213
  "name": {
@@ -257,8 +272,8 @@
257
272
  "id": 12
258
273
  },
259
274
  "edition": {
260
- "type": "string",
261
- "id": 13
275
+ "type": "Edition",
276
+ "id": 14
262
277
  }
263
278
  }
264
279
  },
@@ -350,6 +365,26 @@
350
365
  "rule": "repeated",
351
366
  "type": "UninterpretedOption",
352
367
  "id": 999
368
+ },
369
+ "declaration": {
370
+ "rule": "repeated",
371
+ "type": "Declaration",
372
+ "id": 2,
373
+ "options": {
374
+ "retention": "RETENTION_SOURCE"
375
+ }
376
+ },
377
+ "features": {
378
+ "type": "FeatureSet",
379
+ "id": 50
380
+ },
381
+ "verification": {
382
+ "type": "VerificationState",
383
+ "id": 3,
384
+ "options": {
385
+ "default": "UNVERIFIED",
386
+ "retention": "RETENTION_SOURCE"
387
+ }
353
388
  }
354
389
  },
355
390
  "extensions": [
@@ -357,7 +392,45 @@
357
392
  1000,
358
393
  536870911
359
394
  ]
360
- ]
395
+ ],
396
+ "nested": {
397
+ "Declaration": {
398
+ "fields": {
399
+ "number": {
400
+ "type": "int32",
401
+ "id": 1
402
+ },
403
+ "fullName": {
404
+ "type": "string",
405
+ "id": 2
406
+ },
407
+ "type": {
408
+ "type": "string",
409
+ "id": 3
410
+ },
411
+ "reserved": {
412
+ "type": "bool",
413
+ "id": 5
414
+ },
415
+ "repeated": {
416
+ "type": "bool",
417
+ "id": 6
418
+ }
419
+ },
420
+ "reserved": [
421
+ [
422
+ 4,
423
+ 4
424
+ ]
425
+ ]
426
+ },
427
+ "VerificationState": {
428
+ "values": {
429
+ "DECLARATION": 0,
430
+ "UNVERIFIED": 1
431
+ }
432
+ }
433
+ }
361
434
  },
362
435
  "FieldDescriptorProto": {
363
436
  "fields": {
@@ -432,8 +505,8 @@
432
505
  "Label": {
433
506
  "values": {
434
507
  "LABEL_OPTIONAL": 1,
435
- "LABEL_REQUIRED": 2,
436
- "LABEL_REPEATED": 3
508
+ "LABEL_REPEATED": 3,
509
+ "LABEL_REQUIRED": 2
437
510
  }
438
511
  }
439
512
  }
@@ -621,13 +694,6 @@
621
694
  "default": false
622
695
  }
623
696
  },
624
- "phpGenericServices": {
625
- "type": "bool",
626
- "id": 42,
627
- "options": {
628
- "default": false
629
- }
630
- },
631
697
  "deprecated": {
632
698
  "type": "bool",
633
699
  "id": 23,
@@ -670,6 +736,10 @@
670
736
  "type": "string",
671
737
  "id": 45
672
738
  },
739
+ "features": {
740
+ "type": "FeatureSet",
741
+ "id": 50
742
+ },
673
743
  "uninterpretedOption": {
674
744
  "rule": "repeated",
675
745
  "type": "UninterpretedOption",
@@ -683,6 +753,10 @@
683
753
  ]
684
754
  ],
685
755
  "reserved": [
756
+ [
757
+ 42,
758
+ 42
759
+ ],
686
760
  [
687
761
  38,
688
762
  38
@@ -732,6 +806,10 @@
732
806
  "deprecated": true
733
807
  }
734
808
  },
809
+ "features": {
810
+ "type": "FeatureSet",
811
+ "id": 12
812
+ },
735
813
  "uninterpretedOption": {
736
814
  "rule": "repeated",
737
815
  "type": "UninterpretedOption",
@@ -826,9 +904,22 @@
826
904
  "type": "OptionRetention",
827
905
  "id": 17
828
906
  },
829
- "target": {
907
+ "targets": {
908
+ "rule": "repeated",
830
909
  "type": "OptionTargetType",
831
- "id": 18
910
+ "id": 19,
911
+ "options": {
912
+ "packed": false
913
+ }
914
+ },
915
+ "editionDefaults": {
916
+ "rule": "repeated",
917
+ "type": "EditionDefault",
918
+ "id": 20
919
+ },
920
+ "features": {
921
+ "type": "FeatureSet",
922
+ "id": 21
832
923
  },
833
924
  "uninterpretedOption": {
834
925
  "rule": "repeated",
@@ -846,6 +937,10 @@
846
937
  [
847
938
  4,
848
939
  4
940
+ ],
941
+ [
942
+ 18,
943
+ 18
849
944
  ]
850
945
  ],
851
946
  "nested": {
@@ -883,11 +978,27 @@
883
978
  "TARGET_TYPE_SERVICE": 8,
884
979
  "TARGET_TYPE_METHOD": 9
885
980
  }
981
+ },
982
+ "EditionDefault": {
983
+ "fields": {
984
+ "edition": {
985
+ "type": "Edition",
986
+ "id": 3
987
+ },
988
+ "value": {
989
+ "type": "string",
990
+ "id": 2
991
+ }
992
+ }
886
993
  }
887
994
  }
888
995
  },
889
996
  "OneofOptions": {
890
997
  "fields": {
998
+ "features": {
999
+ "type": "FeatureSet",
1000
+ "id": 1
1001
+ },
891
1002
  "uninterpretedOption": {
892
1003
  "rule": "repeated",
893
1004
  "type": "UninterpretedOption",
@@ -921,6 +1032,10 @@
921
1032
  "deprecated": true
922
1033
  }
923
1034
  },
1035
+ "features": {
1036
+ "type": "FeatureSet",
1037
+ "id": 7
1038
+ },
924
1039
  "uninterpretedOption": {
925
1040
  "rule": "repeated",
926
1041
  "type": "UninterpretedOption",
@@ -949,6 +1064,17 @@
949
1064
  "default": false
950
1065
  }
951
1066
  },
1067
+ "features": {
1068
+ "type": "FeatureSet",
1069
+ "id": 2
1070
+ },
1071
+ "debugRedact": {
1072
+ "type": "bool",
1073
+ "id": 3,
1074
+ "options": {
1075
+ "default": false
1076
+ }
1077
+ },
952
1078
  "uninterpretedOption": {
953
1079
  "rule": "repeated",
954
1080
  "type": "UninterpretedOption",
@@ -964,6 +1090,10 @@
964
1090
  },
965
1091
  "ServiceOptions": {
966
1092
  "fields": {
1093
+ "features": {
1094
+ "type": "FeatureSet",
1095
+ "id": 34
1096
+ },
967
1097
  "deprecated": {
968
1098
  "type": "bool",
969
1099
  "id": 33,
@@ -1000,6 +1130,10 @@
1000
1130
  "default": "IDEMPOTENCY_UNKNOWN"
1001
1131
  }
1002
1132
  },
1133
+ "features": {
1134
+ "type": "FeatureSet",
1135
+ "id": 35
1136
+ },
1003
1137
  "uninterpretedOption": {
1004
1138
  "rule": "repeated",
1005
1139
  "type": "UninterpretedOption",
@@ -1071,6 +1205,166 @@
1071
1205
  }
1072
1206
  }
1073
1207
  },
1208
+ "FeatureSet": {
1209
+ "fields": {
1210
+ "fieldPresence": {
1211
+ "type": "FieldPresence",
1212
+ "id": 1,
1213
+ "options": {
1214
+ "retention": "RETENTION_RUNTIME",
1215
+ "targets": "TARGET_TYPE_FILE",
1216
+ "edition_defaults.edition": "EDITION_2023",
1217
+ "edition_defaults.value": "EXPLICIT"
1218
+ }
1219
+ },
1220
+ "enumType": {
1221
+ "type": "EnumType",
1222
+ "id": 2,
1223
+ "options": {
1224
+ "retention": "RETENTION_RUNTIME",
1225
+ "targets": "TARGET_TYPE_FILE",
1226
+ "edition_defaults.edition": "EDITION_PROTO3",
1227
+ "edition_defaults.value": "OPEN"
1228
+ }
1229
+ },
1230
+ "repeatedFieldEncoding": {
1231
+ "type": "RepeatedFieldEncoding",
1232
+ "id": 3,
1233
+ "options": {
1234
+ "retention": "RETENTION_RUNTIME",
1235
+ "targets": "TARGET_TYPE_FILE",
1236
+ "edition_defaults.edition": "EDITION_PROTO3",
1237
+ "edition_defaults.value": "PACKED"
1238
+ }
1239
+ },
1240
+ "utf8Validation": {
1241
+ "type": "Utf8Validation",
1242
+ "id": 4,
1243
+ "options": {
1244
+ "retention": "RETENTION_RUNTIME",
1245
+ "targets": "TARGET_TYPE_FILE",
1246
+ "edition_defaults.edition": "EDITION_PROTO3",
1247
+ "edition_defaults.value": "VERIFY"
1248
+ }
1249
+ },
1250
+ "messageEncoding": {
1251
+ "type": "MessageEncoding",
1252
+ "id": 5,
1253
+ "options": {
1254
+ "retention": "RETENTION_RUNTIME",
1255
+ "targets": "TARGET_TYPE_FILE",
1256
+ "edition_defaults.edition": "EDITION_PROTO2",
1257
+ "edition_defaults.value": "LENGTH_PREFIXED"
1258
+ }
1259
+ },
1260
+ "jsonFormat": {
1261
+ "type": "JsonFormat",
1262
+ "id": 6,
1263
+ "options": {
1264
+ "retention": "RETENTION_RUNTIME",
1265
+ "targets": "TARGET_TYPE_FILE",
1266
+ "edition_defaults.edition": "EDITION_PROTO3",
1267
+ "edition_defaults.value": "ALLOW"
1268
+ }
1269
+ }
1270
+ },
1271
+ "extensions": [
1272
+ [
1273
+ 1000,
1274
+ 1000
1275
+ ],
1276
+ [
1277
+ 1001,
1278
+ 1001
1279
+ ],
1280
+ [
1281
+ 9995,
1282
+ 9999
1283
+ ]
1284
+ ],
1285
+ "reserved": [
1286
+ [
1287
+ 999,
1288
+ 999
1289
+ ]
1290
+ ],
1291
+ "nested": {
1292
+ "FieldPresence": {
1293
+ "values": {
1294
+ "FIELD_PRESENCE_UNKNOWN": 0,
1295
+ "EXPLICIT": 1,
1296
+ "IMPLICIT": 2,
1297
+ "LEGACY_REQUIRED": 3
1298
+ }
1299
+ },
1300
+ "EnumType": {
1301
+ "values": {
1302
+ "ENUM_TYPE_UNKNOWN": 0,
1303
+ "OPEN": 1,
1304
+ "CLOSED": 2
1305
+ }
1306
+ },
1307
+ "RepeatedFieldEncoding": {
1308
+ "values": {
1309
+ "REPEATED_FIELD_ENCODING_UNKNOWN": 0,
1310
+ "PACKED": 1,
1311
+ "EXPANDED": 2
1312
+ }
1313
+ },
1314
+ "Utf8Validation": {
1315
+ "values": {
1316
+ "UTF8_VALIDATION_UNKNOWN": 0,
1317
+ "VERIFY": 2,
1318
+ "NONE": 3
1319
+ }
1320
+ },
1321
+ "MessageEncoding": {
1322
+ "values": {
1323
+ "MESSAGE_ENCODING_UNKNOWN": 0,
1324
+ "LENGTH_PREFIXED": 1,
1325
+ "DELIMITED": 2
1326
+ }
1327
+ },
1328
+ "JsonFormat": {
1329
+ "values": {
1330
+ "JSON_FORMAT_UNKNOWN": 0,
1331
+ "ALLOW": 1,
1332
+ "LEGACY_BEST_EFFORT": 2
1333
+ }
1334
+ }
1335
+ }
1336
+ },
1337
+ "FeatureSetDefaults": {
1338
+ "fields": {
1339
+ "defaults": {
1340
+ "rule": "repeated",
1341
+ "type": "FeatureSetEditionDefault",
1342
+ "id": 1
1343
+ },
1344
+ "minimumEdition": {
1345
+ "type": "Edition",
1346
+ "id": 4
1347
+ },
1348
+ "maximumEdition": {
1349
+ "type": "Edition",
1350
+ "id": 5
1351
+ }
1352
+ },
1353
+ "nested": {
1354
+ "FeatureSetEditionDefault": {
1355
+ "fields": {
1356
+ "edition": {
1357
+ "type": "Edition",
1358
+ "id": 3
1359
+ },
1360
+ "features": {
1361
+ "type": "FeatureSet",
1362
+ "id": 2
1363
+ }
1364
+ }
1365
+ }
1366
+ }
1367
+ },
1074
1368
  "SourceCodeInfo": {
1075
1369
  "fields": {
1076
1370
  "location": {
@@ -2032,6 +2326,8 @@
2032
2326
  "ID_E_TOLL": 16,
2033
2327
  "IN_FASTAG": 78,
2034
2328
  "IN_LOCAL_HP_PLATE_EXEMPT": 79,
2329
+ "JP_ETC": 98,
2330
+ "JP_ETC2": 99,
2035
2331
  "MX_IAVE": 90,
2036
2332
  "MX_PASE": 91,
2037
2333
  "MX_QUICKPASS": 93,
@@ -2107,6 +2403,7 @@
2107
2403
  "US_WA_GOOD_TO_GO": 1,
2108
2404
  "US_WV_EZPASSWV": 62,
2109
2405
  "US_WV_MEMORIAL_BRIDGE_TICKETS": 63,
2406
+ "US_WV_MOV_PASS": 100,
2110
2407
  "US_WV_NEWELL_TOLL_BRIDGE_TICKET": 64
2111
2408
  }
2112
2409
  },
@@ -2401,6 +2698,13 @@
2401
2698
  "(google.api.field_behavior)": "OPTIONAL"
2402
2699
  }
2403
2700
  },
2701
+ "units": {
2702
+ "type": "Units",
2703
+ "id": 7,
2704
+ "options": {
2705
+ "(google.api.field_behavior)": "OPTIONAL"
2706
+ }
2707
+ },
2404
2708
  "extraComputations": {
2405
2709
  "rule": "repeated",
2406
2710
  "type": "ExtraComputation",
@@ -2897,6 +3201,10 @@
2897
3201
  "rule": "repeated",
2898
3202
  "type": "ClientLibrarySettings",
2899
3203
  "id": 109
3204
+ },
3205
+ "protoReferenceDocumentationUri": {
3206
+ "type": "string",
3207
+ "id": 110
2900
3208
  }
2901
3209
  }
2902
3210
  },
@@ -2954,6 +3262,31 @@
2954
3262
  "common": {
2955
3263
  "type": "CommonLanguageSettings",
2956
3264
  "id": 1
3265
+ },
3266
+ "renamedServices": {
3267
+ "keyType": "string",
3268
+ "type": "string",
3269
+ "id": 2
3270
+ },
3271
+ "renamedResources": {
3272
+ "keyType": "string",
3273
+ "type": "string",
3274
+ "id": 3
3275
+ },
3276
+ "ignoredResources": {
3277
+ "rule": "repeated",
3278
+ "type": "string",
3279
+ "id": 4
3280
+ },
3281
+ "forcedNamespaceAliases": {
3282
+ "rule": "repeated",
3283
+ "type": "string",
3284
+ "id": 5
3285
+ },
3286
+ "handwrittenSignatures": {
3287
+ "rule": "repeated",
3288
+ "type": "string",
3289
+ "id": 6
2957
3290
  }
2958
3291
  }
2959
3292
  },
@@ -2982,6 +3315,11 @@
2982
3315
  "longRunning": {
2983
3316
  "type": "LongRunning",
2984
3317
  "id": 2
3318
+ },
3319
+ "autoPopulatedFields": {
3320
+ "rule": "repeated",
3321
+ "type": "string",
3322
+ "id": 3
2985
3323
  }
2986
3324
  },
2987
3325
  "nested": {
@@ -3013,7 +3351,10 @@
3013
3351
  "CLOUD": 1,
3014
3352
  "ADS": 2,
3015
3353
  "PHOTOS": 3,
3016
- "STREET_VIEW": 4
3354
+ "STREET_VIEW": 4,
3355
+ "SHOPPING": 5,
3356
+ "GEO": 6,
3357
+ "GENERATIVE_AI": 7
3017
3358
  }
3018
3359
  },
3019
3360
  "ClientLibraryDestination": {
@@ -3050,7 +3391,8 @@
3050
3391
  "INPUT_ONLY": 4,
3051
3392
  "IMMUTABLE": 5,
3052
3393
  "UNORDERED_LIST": 6,
3053
- "NON_EMPTY_DEFAULT": 7
3394
+ "NON_EMPTY_DEFAULT": 7,
3395
+ "IDENTIFIER": 8
3054
3396
  }
3055
3397
  }
3056
3398
  }