@chargetrip/types 1.47.2 → 1.48.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.
@@ -622,6 +622,18 @@
622
622
  "description": null,
623
623
  "isDeprecated": false,
624
624
  "deprecationReason": null
625
+ },
626
+ {
627
+ "name": "bakery",
628
+ "description": null,
629
+ "isDeprecated": false,
630
+ "deprecationReason": null
631
+ },
632
+ {
633
+ "name": "convenience_store",
634
+ "description": null,
635
+ "isDeprecated": false,
636
+ "deprecationReason": null
625
637
  }
626
638
  ],
627
639
  "possibleTypes": null
@@ -676,9 +688,13 @@
676
688
  "description": "Name of the amenity.",
677
689
  "args": [],
678
690
  "type": {
679
- "kind": "SCALAR",
680
- "name": "String",
681
- "ofType": null
691
+ "kind": "NON_NULL",
692
+ "name": null,
693
+ "ofType": {
694
+ "kind": "SCALAR",
695
+ "name": "String",
696
+ "ofType": null
697
+ }
682
698
  },
683
699
  "isDeprecated": false,
684
700
  "deprecationReason": null
@@ -1213,6 +1229,18 @@
1213
1229
  "description": null,
1214
1230
  "isDeprecated": false,
1215
1231
  "deprecationReason": null
1232
+ },
1233
+ {
1234
+ "name": "bakery",
1235
+ "description": null,
1236
+ "isDeprecated": false,
1237
+ "deprecationReason": null
1238
+ },
1239
+ {
1240
+ "name": "convenience_store",
1241
+ "description": null,
1242
+ "isDeprecated": false,
1243
+ "deprecationReason": null
1216
1244
  }
1217
1245
  ],
1218
1246
  "possibleTypes": null
@@ -19273,42 +19301,6 @@
19273
19301
  },
19274
19302
  "isDeprecated": false,
19275
19303
  "deprecationReason": null
19276
- },
19277
- {
19278
- "name": "id",
19279
- "description": "User ID.",
19280
- "args": [],
19281
- "type": {
19282
- "kind": "SCALAR",
19283
- "name": "ID",
19284
- "ofType": null
19285
- },
19286
- "isDeprecated": true,
19287
- "deprecationReason": "Not sent back anymore, will be null"
19288
- },
19289
- {
19290
- "name": "firstName",
19291
- "description": "First name.",
19292
- "args": [],
19293
- "type": {
19294
- "kind": "SCALAR",
19295
- "name": "String",
19296
- "ofType": null
19297
- },
19298
- "isDeprecated": true,
19299
- "deprecationReason": "In favor of name."
19300
- },
19301
- {
19302
- "name": "lastName",
19303
- "description": "Last name.",
19304
- "args": [],
19305
- "type": {
19306
- "kind": "SCALAR",
19307
- "name": "String",
19308
- "ofType": null
19309
- },
19310
- "isDeprecated": true,
19311
- "deprecationReason": "In favor of name"
19312
19304
  }
19313
19305
  ],
19314
19306
  "inputFields": null,
@@ -20547,6 +20539,26 @@
20547
20539
  },
20548
20540
  "isDeprecated": false,
20549
20541
  "deprecationReason": null
20542
+ },
20543
+ {
20544
+ "name": "warnings",
20545
+ "description": "[BETA] Warnings that certain conditions specified in a route mutation are not respected.",
20546
+ "args": [],
20547
+ "type": {
20548
+ "kind": "LIST",
20549
+ "name": null,
20550
+ "ofType": {
20551
+ "kind": "NON_NULL",
20552
+ "name": null,
20553
+ "ofType": {
20554
+ "kind": "OBJECT",
20555
+ "name": "RouteWarning",
20556
+ "ofType": null
20557
+ }
20558
+ }
20559
+ },
20560
+ "isDeprecated": false,
20561
+ "deprecationReason": null
20550
20562
  }
20551
20563
  ],
20552
20564
  "inputFields": null,
@@ -21285,6 +21297,26 @@
21285
21297
  },
21286
21298
  "isDeprecated": false,
21287
21299
  "deprecationReason": null
21300
+ },
21301
+ {
21302
+ "name": "warnings",
21303
+ "description": "[BETA] Warnings that certain conditions specified in a route mutation are not respected.",
21304
+ "args": [],
21305
+ "type": {
21306
+ "kind": "LIST",
21307
+ "name": null,
21308
+ "ofType": {
21309
+ "kind": "NON_NULL",
21310
+ "name": null,
21311
+ "ofType": {
21312
+ "kind": "OBJECT",
21313
+ "name": "RouteDetailsLegWarning",
21314
+ "ofType": null
21315
+ }
21316
+ }
21317
+ },
21318
+ "isDeprecated": false,
21319
+ "deprecationReason": null
21288
21320
  }
21289
21321
  ],
21290
21322
  "inputFields": null,
@@ -22171,6 +22203,80 @@
22171
22203
  ],
22172
22204
  "possibleTypes": null
22173
22205
  },
22206
+ {
22207
+ "kind": "OBJECT",
22208
+ "name": "RouteDetailsLegWarning",
22209
+ "description": null,
22210
+ "fields": [
22211
+ {
22212
+ "name": "code",
22213
+ "description": "The code of the warning.",
22214
+ "args": [],
22215
+ "type": {
22216
+ "kind": "NON_NULL",
22217
+ "name": null,
22218
+ "ofType": {
22219
+ "kind": "ENUM",
22220
+ "name": "RouteDetailsLegWarningCode",
22221
+ "ofType": null
22222
+ }
22223
+ },
22224
+ "isDeprecated": false,
22225
+ "deprecationReason": null
22226
+ }
22227
+ ],
22228
+ "inputFields": null,
22229
+ "interfaces": [],
22230
+ "enumValues": null,
22231
+ "possibleTypes": null
22232
+ },
22233
+ {
22234
+ "kind": "ENUM",
22235
+ "name": "RouteDetailsLegWarningCode",
22236
+ "description": "Types of warnings that can be encountered in a route leg.",
22237
+ "fields": null,
22238
+ "inputFields": null,
22239
+ "interfaces": null,
22240
+ "enumValues": [
22241
+ {
22242
+ "name": "via_not_vehicle_accessible",
22243
+ "description": "The via location cannot be reached by vehicle.",
22244
+ "isDeprecated": false,
22245
+ "deprecationReason": null
22246
+ },
22247
+ {
22248
+ "name": "operators_preferred_not_available",
22249
+ "description": "The leg could not use stations from the preferred operator(s).",
22250
+ "isDeprecated": false,
22251
+ "deprecationReason": null
22252
+ },
22253
+ {
22254
+ "name": "maximum_weight_exceeded",
22255
+ "description": "Vehicle's load may exceed the maximum supported weight of the vehicle.",
22256
+ "isDeprecated": false,
22257
+ "deprecationReason": null
22258
+ },
22259
+ {
22260
+ "name": "segment_unavoidable",
22261
+ "description": "The leg includes sections requested to be avoided.",
22262
+ "isDeprecated": false,
22263
+ "deprecationReason": null
22264
+ },
22265
+ {
22266
+ "name": "station_limited_open_hours",
22267
+ "description": "The charging station used in the leg has limited opening hours.",
22268
+ "isDeprecated": false,
22269
+ "deprecationReason": null
22270
+ },
22271
+ {
22272
+ "name": "via_insufficient_charging_time",
22273
+ "description": "The specified stop duration at the via charging station is insufficient to start a charging session.",
22274
+ "isDeprecated": false,
22275
+ "deprecationReason": null
22276
+ }
22277
+ ],
22278
+ "possibleTypes": null
22279
+ },
22174
22280
  {
22175
22281
  "kind": "OBJECT",
22176
22282
  "name": "RouteDetailsManeuver",
@@ -26963,7 +27069,7 @@
26963
27069
  "inputFields": [
26964
27070
  {
26965
27071
  "name": "type",
26966
- "description": "Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied).",
27072
+ "description": "Determines how operator preferences are applied to stations during route calculation. If no ranking is provided through 'levels' or project settings, no operator preference is applied.",
26967
27073
  "type": {
26968
27074
  "kind": "NON_NULL",
26969
27075
  "name": null,
@@ -30821,6 +30927,92 @@
30821
30927
  "enumValues": null,
30822
30928
  "possibleTypes": null
30823
30929
  },
30930
+ {
30931
+ "kind": "OBJECT",
30932
+ "name": "RouteWarning",
30933
+ "description": null,
30934
+ "fields": [
30935
+ {
30936
+ "name": "code",
30937
+ "description": "The code of the warning.",
30938
+ "args": [],
30939
+ "type": {
30940
+ "kind": "NON_NULL",
30941
+ "name": null,
30942
+ "ofType": {
30943
+ "kind": "ENUM",
30944
+ "name": "RouteWarningCode",
30945
+ "ofType": null
30946
+ }
30947
+ },
30948
+ "isDeprecated": false,
30949
+ "deprecationReason": null
30950
+ }
30951
+ ],
30952
+ "inputFields": null,
30953
+ "interfaces": [],
30954
+ "enumValues": null,
30955
+ "possibleTypes": null
30956
+ },
30957
+ {
30958
+ "kind": "ENUM",
30959
+ "name": "RouteWarningCode",
30960
+ "description": "Types of warnings that can be encountered in a route.",
30961
+ "fields": null,
30962
+ "inputFields": null,
30963
+ "interfaces": null,
30964
+ "enumValues": [
30965
+ {
30966
+ "name": "ev_unavailable_in_region",
30967
+ "description": "The selected vehicle model is unavailable on one or more regions along the route.",
30968
+ "isDeprecated": false,
30969
+ "deprecationReason": null
30970
+ },
30971
+ {
30972
+ "name": "hev_no_charging_stations",
30973
+ "description": "Route excludes charging stations as a hybrid vehicle does not require external charging.",
30974
+ "isDeprecated": false,
30975
+ "deprecationReason": null
30976
+ },
30977
+ {
30978
+ "name": "erev_battery_only_range",
30979
+ "description": "Route is calculated using only the battery range of the extended-range vehicle. ",
30980
+ "isDeprecated": false,
30981
+ "deprecationReason": null
30982
+ },
30983
+ {
30984
+ "name": "origin_not_vehicle_accessible",
30985
+ "description": "The origin location cannot be reached by vehicle and requires a walking section to reach the point.",
30986
+ "isDeprecated": false,
30987
+ "deprecationReason": null
30988
+ },
30989
+ {
30990
+ "name": "destination_not_vehicle_accessible",
30991
+ "description": "The destination location cannot be reached by vehicle and requires a walking section to reach the point.",
30992
+ "isDeprecated": false,
30993
+ "deprecationReason": null
30994
+ },
30995
+ {
30996
+ "name": "final_soc_not_possible",
30997
+ "description": "The requested final state of charge cannot be achieved.",
30998
+ "isDeprecated": false,
30999
+ "deprecationReason": null
31000
+ },
31001
+ {
31002
+ "name": "low_speed",
31003
+ "description": "The set maximum speed is too low (below 50 km/h) and may result in an inefficient route.",
31004
+ "isDeprecated": false,
31005
+ "deprecationReason": null
31006
+ },
31007
+ {
31008
+ "name": "operator_preferences_not_found",
31009
+ "description": "Operator preferences were ignored because they have not been configured for this project nor provided in the route create request.",
31010
+ "isDeprecated": false,
31011
+ "deprecationReason": null
31012
+ }
31013
+ ],
31014
+ "possibleTypes": null
31015
+ },
30824
31016
  {
30825
31017
  "kind": "OBJECT",
30826
31018
  "name": "RouteWeather",
@@ -31899,18 +32091,6 @@
31899
32091
  "isDeprecated": false,
31900
32092
  "deprecationReason": null
31901
32093
  },
31902
- {
31903
- "name": "private",
31904
- "description": "A flag that indicates if a station is on private property.",
31905
- "args": [],
31906
- "type": {
31907
- "kind": "SCALAR",
31908
- "name": "Boolean",
31909
- "ofType": null
31910
- },
31911
- "isDeprecated": true,
31912
- "deprecationReason": "In favor of access_type."
31913
- },
31914
32094
  {
31915
32095
  "name": "power",
31916
32096
  "description": "Connectors grouped by power.",
@@ -31923,22 +32103,6 @@
31923
32103
  "isDeprecated": false,
31924
32104
  "deprecationReason": null
31925
32105
  },
31926
- {
31927
- "name": "predicted_availability",
31928
- "description": "Station availability.",
31929
- "args": [],
31930
- "type": {
31931
- "kind": "LIST",
31932
- "name": null,
31933
- "ofType": {
31934
- "kind": "OBJECT",
31935
- "name": "StationPredictedAvailability",
31936
- "ofType": null
31937
- }
31938
- },
31939
- "isDeprecated": true,
31940
- "deprecationReason": "predicted_availability, no value will be sent. Deprecated in favor of predicted_occupancy."
31941
- },
31942
32106
  {
31943
32107
  "name": "predicted_occupancy",
31944
32108
  "description": "Predicted station occupancy.",
@@ -32389,46 +32553,6 @@
32389
32553
  "name": "StationCustomProperties",
32390
32554
  "description": null,
32391
32555
  "fields": [
32392
- {
32393
- "name": "roaming",
32394
- "description": "List of eMSP cards accepted at a charging station.",
32395
- "args": [],
32396
- "type": {
32397
- "kind": "LIST",
32398
- "name": null,
32399
- "ofType": {
32400
- "kind": "OBJECT",
32401
- "name": "StationRoaming",
32402
- "ofType": null
32403
- }
32404
- },
32405
- "isDeprecated": true,
32406
- "deprecationReason": "In favor of station.roaming."
32407
- },
32408
- {
32409
- "name": "support_phone_number",
32410
- "description": "Phone number for assistance at a charging station.",
32411
- "args": [],
32412
- "type": {
32413
- "kind": "SCALAR",
32414
- "name": "String",
32415
- "ofType": null
32416
- },
32417
- "isDeprecated": true,
32418
- "deprecationReason": "In favor of station.support_phone_number."
32419
- },
32420
- {
32421
- "name": "charging_behaviour",
32422
- "description": "Charging behavior of a station.",
32423
- "args": [],
32424
- "type": {
32425
- "kind": "OBJECT",
32426
- "name": "ChargingBehaviour",
32427
- "ofType": null
32428
- },
32429
- "isDeprecated": true,
32430
- "deprecationReason": "In favor of station.charging_behaviour."
32431
- },
32432
32556
  {
32433
32557
  "name": "reliability_score",
32434
32558
  "description": "Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values.",
@@ -32441,50 +32565,6 @@
32441
32565
  "isDeprecated": true,
32442
32566
  "deprecationReason": "In favor of station.reliability_score."
32443
32567
  },
32444
- {
32445
- "name": "adhoc_authorisation_method",
32446
- "description": "List of available ad hoc payment methods.",
32447
- "args": [],
32448
- "type": {
32449
- "kind": "LIST",
32450
- "name": null,
32451
- "ofType": {
32452
- "kind": "ENUM",
32453
- "name": "AdhocAuthorisationMethod",
32454
- "ofType": null
32455
- }
32456
- },
32457
- "isDeprecated": true,
32458
- "deprecationReason": "In favor of station.adhoc_authorisation_payment_method."
32459
- },
32460
- {
32461
- "name": "predicted_occupancy",
32462
- "description": "Predicted station occupancy.",
32463
- "args": [],
32464
- "type": {
32465
- "kind": "LIST",
32466
- "name": null,
32467
- "ofType": {
32468
- "kind": "OBJECT",
32469
- "name": "StationPredictedOccupancy",
32470
- "ofType": null
32471
- }
32472
- },
32473
- "isDeprecated": true,
32474
- "deprecationReason": "In favor of station.predicted_occupancy."
32475
- },
32476
- {
32477
- "name": "access_type",
32478
- "description": "Type of access to the charging station.",
32479
- "args": [],
32480
- "type": {
32481
- "kind": "ENUM",
32482
- "name": "AccessType",
32483
- "ofType": null
32484
- },
32485
- "isDeprecated": true,
32486
- "deprecationReason": "In favor of station.access_type."
32487
- },
32488
32568
  {
32489
32569
  "name": "oicp",
32490
32570
  "description": "Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values.",
@@ -37475,22 +37555,6 @@
37475
37555
  "isDeprecated": false,
37476
37556
  "deprecationReason": null
37477
37557
  },
37478
- {
37479
- "name": "price",
37480
- "description": "Pricing of the vehicle.",
37481
- "args": [],
37482
- "type": {
37483
- "kind": "NON_NULL",
37484
- "name": null,
37485
- "ofType": {
37486
- "kind": "OBJECT",
37487
- "name": "VehiclePremiumPrice",
37488
- "ofType": null
37489
- }
37490
- },
37491
- "isDeprecated": true,
37492
- "deprecationReason": "In favor of pricing."
37493
- },
37494
37558
  {
37495
37559
  "name": "pricing",
37496
37560
  "description": "Starting price in the currency defined in the field argument. If not defined, it will return the starting price in the currency returned in the currency field.",
@@ -38228,31 +38292,6 @@
38228
38292
  "isDeprecated": false,
38229
38293
  "deprecationReason": null
38230
38294
  },
38231
- {
38232
- "name": "max_gross_vehicle_weight",
38233
- "description": "Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload).",
38234
- "args": [
38235
- {
38236
- "name": "unit",
38237
- "description": null,
38238
- "type": {
38239
- "kind": "ENUM",
38240
- "name": "WeightUnit",
38241
- "ofType": null
38242
- },
38243
- "defaultValue": "kilogram",
38244
- "isDeprecated": false,
38245
- "deprecationReason": null
38246
- }
38247
- ],
38248
- "type": {
38249
- "kind": "SCALAR",
38250
- "name": "Float",
38251
- "ofType": null
38252
- },
38253
- "isDeprecated": true,
38254
- "deprecationReason": "In favor of weight_gvwr.nominal"
38255
- },
38256
38295
  {
38257
38296
  "name": "boot_capacity",
38258
38297
  "description": "Standard luggage capacity.",
@@ -41254,103 +41293,6 @@
41254
41293
  },
41255
41294
  "isDeprecated": false,
41256
41295
  "deprecationReason": null
41257
- },
41258
- {
41259
- "name": "aux",
41260
- "description": "Consumption, in kWh, of the auxiliaries.",
41261
- "args": [],
41262
- "type": {
41263
- "kind": "OBJECT",
41264
- "name": "VehiclePremiumRoutingConsumptionValue",
41265
- "ofType": null
41266
- },
41267
- "isDeprecated": true,
41268
- "deprecationReason": "In favor of auxiliary"
41269
- },
41270
- {
41271
- "name": "bms",
41272
- "description": "Consumption, in kWh, of the battery management system.",
41273
- "args": [],
41274
- "type": {
41275
- "kind": "OBJECT",
41276
- "name": "VehiclePremiumRoutingConsumptionValue",
41277
- "ofType": null
41278
- },
41279
- "isDeprecated": true,
41280
- "deprecationReason": "In favor of auxiliary"
41281
- },
41282
- {
41283
- "name": "idle",
41284
- "description": "Consumption, in kWh, of the vehicle in idle mode.",
41285
- "args": [],
41286
- "type": {
41287
- "kind": "OBJECT",
41288
- "name": "VehiclePremiumRoutingConsumptionValue",
41289
- "ofType": null
41290
- },
41291
- "isDeprecated": true,
41292
- "deprecationReason": "In favor of auxiliary"
41293
- }
41294
- ],
41295
- "inputFields": null,
41296
- "interfaces": [],
41297
- "enumValues": null,
41298
- "possibleTypes": null
41299
- },
41300
- {
41301
- "kind": "OBJECT",
41302
- "name": "VehiclePremiumRoutingConsumptionValue",
41303
- "description": null,
41304
- "fields": [
41305
- {
41306
- "name": "best",
41307
- "description": "Best (lowest) consumption in summer.",
41308
- "args": [
41309
- {
41310
- "name": "unit",
41311
- "description": null,
41312
- "type": {
41313
- "kind": "ENUM",
41314
- "name": "ConsumptionUnit",
41315
- "ofType": null
41316
- },
41317
- "defaultValue": "kilowatt_hours_per_100_kilometers",
41318
- "isDeprecated": false,
41319
- "deprecationReason": null
41320
- }
41321
- ],
41322
- "type": {
41323
- "kind": "SCALAR",
41324
- "name": "Float",
41325
- "ofType": null
41326
- },
41327
- "isDeprecated": false,
41328
- "deprecationReason": null
41329
- },
41330
- {
41331
- "name": "worst",
41332
- "description": "Best (lowest) consumption in winter.",
41333
- "args": [
41334
- {
41335
- "name": "unit",
41336
- "description": null,
41337
- "type": {
41338
- "kind": "ENUM",
41339
- "name": "ConsumptionUnit",
41340
- "ofType": null
41341
- },
41342
- "defaultValue": "kilowatt_hours_per_100_kilometers",
41343
- "isDeprecated": false,
41344
- "deprecationReason": null
41345
- }
41346
- ],
41347
- "type": {
41348
- "kind": "SCALAR",
41349
- "name": "Float",
41350
- "ofType": null
41351
- },
41352
- "isDeprecated": false,
41353
- "deprecationReason": null
41354
41296
  }
41355
41297
  ],
41356
41298
  "inputFields": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.47.2",
3
+ "version": "1.48.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",