@chargetrip/types 1.42.0 → 1.43.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/src/graphql.ts CHANGED
@@ -181,15 +181,25 @@ export type AuthorizeConnectedVehicleOptions = {
181
181
  code?: Maybe<Scalars["PlainString"]>;
182
182
  };
183
183
 
184
+ export type AuxiliaryConsumption = {
185
+ /** Value of the auxiliary power consumption of the vehicle. */
186
+ value: Scalars["Float"];
187
+ /** Type of auxiliary power consumption of the vehicle. */
188
+ type: AuxiliaryConsumptionUnit;
189
+ /** Source of inputted data. */
190
+ source: TelemetryInputSource;
191
+ };
192
+
184
193
  export type AuxiliaryConsumptionInput = {
185
194
  /** Value of the auxiliary power consumption of the vehicle. */
186
195
  value: Scalars["Float"];
187
196
  /** Type of auxiliary power consumption of the vehicle. */
188
197
  type: AuxiliaryConsumptionUnit;
189
198
  /** Source of inputted data, defaults to 'manual'. */
190
- source?: Maybe<TelemetryInputSource>;
199
+ source?: TelemetryInputSource;
191
200
  };
192
201
 
202
+ /** Auxiliary consumption units. */
193
203
  export enum AuxiliaryConsumptionUnit {
194
204
  /** Return the auxiliary consumption in kilowatt hours. */
195
205
  KILOWATT_HOUR = "kilowatt_hour"
@@ -209,7 +219,7 @@ export type BatteryTemperatureInput = {
209
219
  /** Type of temperature of the battery. */
210
220
  type: TemperatureUnit;
211
221
  /** Source of inputted data, defaults to 'manual'. */
212
- source?: Maybe<TelemetryInputSource>;
222
+ source?: TelemetryInputSource;
213
223
  };
214
224
 
215
225
  /** Deprecated: In favour of Vehicle. */
@@ -1494,15 +1504,25 @@ export enum ChargeMode {
1494
1504
  ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1495
1505
  }
1496
1506
 
1507
+ export type ChargeSpeed = {
1508
+ /** Value of the charge speed of the battery. */
1509
+ value: Scalars["Float"];
1510
+ /** Type of the charge speed of the battery. */
1511
+ type: ChargeSpeedUnit;
1512
+ /** Source of inputted data */
1513
+ source: TelemetryInputSource;
1514
+ };
1515
+
1497
1516
  export type ChargeSpeedInput = {
1498
1517
  /** Value of the charge speed of the battery. */
1499
1518
  value: Scalars["Float"];
1500
1519
  /** Type of the charge speed of the battery. */
1501
1520
  type: ChargeSpeedUnit;
1502
1521
  /** Source of inputted data, defaults to 'manual'. */
1503
- source?: Maybe<TelemetryInputSource>;
1522
+ source?: TelemetryInputSource;
1504
1523
  };
1505
1524
 
1525
+ /** Charge speed unit. */
1506
1526
  export enum ChargeSpeedUnit {
1507
1527
  /** Return the charge speed in kilowatt hours. */
1508
1528
  KILOWATT_HOUR = "kilowatt_hour",
@@ -1525,7 +1545,7 @@ export type ChargeTotalInput = {
1525
1545
  export type Charger = {
1526
1546
  /** Type of a charger. */
1527
1547
  standard?: Maybe<ConnectorType>;
1528
- /** Power of a charger. */
1548
+ /** Power of a charger, in kW. */
1529
1549
  power?: Maybe<Scalars["Float"]>;
1530
1550
  /** Price of a charger. */
1531
1551
  price?: Maybe<Scalars["String"]>;
@@ -1537,6 +1557,7 @@ export type Charger = {
1537
1557
  total?: Maybe<Scalars["Int"]>;
1538
1558
  };
1539
1559
 
1560
+ /** Status of a charger. */
1540
1561
  export enum ChargerStatus {
1541
1562
  /** The charger is free. */
1542
1563
  FREE = "free",
@@ -2175,6 +2196,47 @@ export type CreateConnectedVehicleOptions = {
2175
2196
  scope?: Maybe<Array<ConnectScope>>;
2176
2197
  };
2177
2198
 
2199
+ export type CreateRoute = {
2200
+ /** Vehicle used on a route. */
2201
+ vehicle: RouteVehicle;
2202
+ /** Origin of a route. */
2203
+ origin: RouteOriginFeaturePoint;
2204
+ /** Destination of a route. */
2205
+ destination: RouteDestinationFeaturePoint;
2206
+ /** Via points of a route. */
2207
+ via?: Maybe<Array<RouteViaFeaturePoint>>;
2208
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2209
+ operators?: Maybe<RouteOperatorPreferences>;
2210
+ /** Season of a route. */
2211
+ season: RouteSeason;
2212
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2213
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2214
+ /** Departure time of a route. */
2215
+ departure_time?: Maybe<Scalars["DateTime"]>;
2216
+ };
2217
+
2218
+ /** Input for the create route mutation. */
2219
+ export type CreateRouteInput = {
2220
+ /** Vehicle specific input. */
2221
+ vehicle: RouteVehicleInput;
2222
+ /** Origin of a route. */
2223
+ origin: RouteOriginFeaturePointInput;
2224
+ /** Destination of a route. */
2225
+ destination: RouteDestinationFeaturePointInput;
2226
+ /** Optional via points of a route. */
2227
+ via?: Maybe<Array<RouteViaFeaturePointInput>>;
2228
+ /** Prioritized operators for a route calculation. */
2229
+ operators?: Maybe<RouteOperatorPreferencesInput>;
2230
+ /** Optional flag to specify the season. */
2231
+ season?: Maybe<RouteSeason>;
2232
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2233
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2234
+ /** Current elevation. */
2235
+ elevation?: Maybe<ElevationInput>;
2236
+ /** Route departure time. */
2237
+ departure_time?: Maybe<Scalars["DateTime"]>;
2238
+ };
2239
+
2178
2240
  /** Currency according to the ISO 4217 standard. */
2179
2241
  export enum CurrencyUnit {
2180
2242
  /** Return the currency in EUR. */
@@ -2182,7 +2244,138 @@ export enum CurrencyUnit {
2182
2244
  /** Return the currency in USD. */
2183
2245
  USD = "USD",
2184
2246
  /** Return the currency in GBP. */
2185
- GBP = "GBP"
2247
+ GBP = "GBP",
2248
+ AED = "AED",
2249
+ AFN = "AFN",
2250
+ ALL = "ALL",
2251
+ AMD = "AMD",
2252
+ ANG = "ANG",
2253
+ AOA = "AOA",
2254
+ ARS = "ARS",
2255
+ AUD = "AUD",
2256
+ AWG = "AWG",
2257
+ AZN = "AZN",
2258
+ BAM = "BAM",
2259
+ BBD = "BBD",
2260
+ BDT = "BDT",
2261
+ BGN = "BGN",
2262
+ BIF = "BIF",
2263
+ BMD = "BMD",
2264
+ BND = "BND",
2265
+ BOB = "BOB",
2266
+ BRL = "BRL",
2267
+ BSD = "BSD",
2268
+ BWP = "BWP",
2269
+ BYN = "BYN",
2270
+ BZD = "BZD",
2271
+ CAD = "CAD",
2272
+ CDF = "CDF",
2273
+ CHF = "CHF",
2274
+ CLP = "CLP",
2275
+ CNY = "CNY",
2276
+ COP = "COP",
2277
+ CRC = "CRC",
2278
+ CVE = "CVE",
2279
+ CZK = "CZK",
2280
+ DJF = "DJF",
2281
+ DKK = "DKK",
2282
+ DOP = "DOP",
2283
+ DZD = "DZD",
2284
+ EGP = "EGP",
2285
+ ETB = "ETB",
2286
+ FJD = "FJD",
2287
+ FKP = "FKP",
2288
+ GEL = "GEL",
2289
+ GIP = "GIP",
2290
+ GMD = "GMD",
2291
+ GNF = "GNF",
2292
+ GTQ = "GTQ",
2293
+ GYD = "GYD",
2294
+ HKD = "HKD",
2295
+ HNL = "HNL",
2296
+ HTG = "HTG",
2297
+ HUF = "HUF",
2298
+ IDR = "IDR",
2299
+ ILS = "ILS",
2300
+ INR = "INR",
2301
+ ISK = "ISK",
2302
+ JMD = "JMD",
2303
+ JPY = "JPY",
2304
+ KES = "KES",
2305
+ KGS = "KGS",
2306
+ KHR = "KHR",
2307
+ KMF = "KMF",
2308
+ KRW = "KRW",
2309
+ KYD = "KYD",
2310
+ KZT = "KZT",
2311
+ LAK = "LAK",
2312
+ LBP = "LBP",
2313
+ LKR = "LKR",
2314
+ LRD = "LRD",
2315
+ LSL = "LSL",
2316
+ MAD = "MAD",
2317
+ MDL = "MDL",
2318
+ MGA = "MGA",
2319
+ MKD = "MKD",
2320
+ MMK = "MMK",
2321
+ MNT = "MNT",
2322
+ MOP = "MOP",
2323
+ MUR = "MUR",
2324
+ MVR = "MVR",
2325
+ MWK = "MWK",
2326
+ MXN = "MXN",
2327
+ MYR = "MYR",
2328
+ MZN = "MZN",
2329
+ NAD = "NAD",
2330
+ NGN = "NGN",
2331
+ NIO = "NIO",
2332
+ NOK = "NOK",
2333
+ NPR = "NPR",
2334
+ NZD = "NZD",
2335
+ PAB = "PAB",
2336
+ PEN = "PEN",
2337
+ PGK = "PGK",
2338
+ PHP = "PHP",
2339
+ PKR = "PKR",
2340
+ PLN = "PLN",
2341
+ PYG = "PYG",
2342
+ QAR = "QAR",
2343
+ RON = "RON",
2344
+ RSD = "RSD",
2345
+ RUB = "RUB",
2346
+ RWF = "RWF",
2347
+ SAR = "SAR",
2348
+ SBD = "SBD",
2349
+ SCR = "SCR",
2350
+ SEK = "SEK",
2351
+ SGD = "SGD",
2352
+ SHP = "SHP",
2353
+ SLE = "SLE",
2354
+ SOS = "SOS",
2355
+ SRD = "SRD",
2356
+ STD = "STD",
2357
+ SZL = "SZL",
2358
+ THB = "THB",
2359
+ TJS = "TJS",
2360
+ TOP = "TOP",
2361
+ TRY = "TRY",
2362
+ TTD = "TTD",
2363
+ TWD = "TWD",
2364
+ TZS = "TZS",
2365
+ UAH = "UAH",
2366
+ UGX = "UGX",
2367
+ UYU = "UYU",
2368
+ UZS = "UZS",
2369
+ VND = "VND",
2370
+ VUV = "VUV",
2371
+ WST = "WST",
2372
+ XAF = "XAF",
2373
+ XCD = "XCD",
2374
+ XOF = "XOF",
2375
+ XPF = "XPF",
2376
+ YER = "YER",
2377
+ ZAR = "ZAR",
2378
+ ZMW = "ZMW"
2186
2379
  }
2187
2380
 
2188
2381
  export enum DimensionUnit {
@@ -2196,14 +2389,15 @@ export enum DimensionUnit {
2196
2389
  MILE = "mile"
2197
2390
  }
2198
2391
 
2392
+ /** Distance unit */
2199
2393
  export enum DistanceUnit {
2200
- /** Return the distance in meters */
2394
+ /** Return the distance in meters. */
2201
2395
  METER = "meter",
2202
- /** Return the distance in feet */
2396
+ /** Return the distance in feet. */
2203
2397
  FOOT = "foot",
2204
- /** Return the distance in kilometers */
2398
+ /** Return the distance in kilometers. */
2205
2399
  KILOMETER = "kilometer",
2206
- /** Return the distance in miles */
2400
+ /** Return the distance in miles. */
2207
2401
  MILE = "mile"
2208
2402
  }
2209
2403
 
@@ -2246,13 +2440,24 @@ export type EVSE = {
2246
2440
  custom_properties?: Maybe<EvseCustomProperties>;
2247
2441
  };
2248
2442
 
2443
+ export type ElectricityGenerationMethod = {
2444
+ /** Fraction of total electricity production. */
2445
+ fraction: Scalars["Float"];
2446
+ /** Emissions per kWh of the generation method. */
2447
+ intensity: Scalars["Float"];
2448
+ };
2449
+
2450
+ export type ElectricityGenerationMethodintensityArgs = {
2451
+ unit?: Maybe<EmissionUnit>;
2452
+ };
2453
+
2249
2454
  export type ElevationInput = {
2250
2455
  /** Value of the elevation. */
2251
2456
  value: Scalars["Float"];
2252
2457
  /** Type of the value of elevation. */
2253
2458
  type: DistanceUnit;
2254
2459
  /** Source of inputted data, defaults to 'manual'. */
2255
- source?: Maybe<TelemetryInputSource>;
2460
+ source?: TelemetryInputSource;
2256
2461
  };
2257
2462
 
2258
2463
  export enum ElevationUnit {
@@ -2276,6 +2481,22 @@ export enum EmissionUnit {
2276
2481
  OUNCE = "ounce"
2277
2482
  }
2278
2483
 
2484
+ export type EmissionsFactor = {
2485
+ /** The name of the area for which the emissions factor was calculated. */
2486
+ name: Scalars["String"];
2487
+ /** The type of area for which the emissions factor was calculated. */
2488
+ type: EmissionsFactorType;
2489
+ /** The base regional emissions factor in CO2e/kWh. */
2490
+ value: Scalars["Float"];
2491
+ };
2492
+
2493
+ /** Emissions factor type. */
2494
+ export enum EmissionsFactorType {
2495
+ COUNTRY = "country",
2496
+ SUBREGION = "subregion",
2497
+ REGION = "region"
2498
+ }
2499
+
2279
2500
  /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
2280
2501
  export type EvseCustomProperties = {
2281
2502
  /** OICP standard custom properties. */
@@ -2361,6 +2582,45 @@ export enum FeatureType {
2361
2582
  FEATURE = "Feature"
2362
2583
  }
2363
2584
 
2585
+ export type FluidEmissions = {
2586
+ /** Total fluid emissions. */
2587
+ total: Scalars["Float"];
2588
+ /** Wiper fluid maintenance emissions. */
2589
+ wiper: Scalars["Float"];
2590
+ /** Brake fluid maintenance emissions. */
2591
+ brake: Scalars["Float"];
2592
+ /** Powertrain coolant fluid maintenance emissions. */
2593
+ powertrain_coolant: Scalars["Float"];
2594
+ /** Transmission fluid maintenance emissions. */
2595
+ transmission: Scalars["Float"];
2596
+ /** Motor oil maintenance emissions. */
2597
+ motor_oil?: Maybe<Scalars["Float"]>;
2598
+ };
2599
+
2600
+ export type FluidEmissionstotalArgs = {
2601
+ unit?: Maybe<EmissionUnit>;
2602
+ };
2603
+
2604
+ export type FluidEmissionswiperArgs = {
2605
+ unit?: Maybe<EmissionUnit>;
2606
+ };
2607
+
2608
+ export type FluidEmissionsbrakeArgs = {
2609
+ unit?: Maybe<EmissionUnit>;
2610
+ };
2611
+
2612
+ export type FluidEmissionspowertrain_coolantArgs = {
2613
+ unit?: Maybe<EmissionUnit>;
2614
+ };
2615
+
2616
+ export type FluidEmissionstransmissionArgs = {
2617
+ unit?: Maybe<EmissionUnit>;
2618
+ };
2619
+
2620
+ export type FluidEmissionsmotor_oilArgs = {
2621
+ unit?: Maybe<EmissionUnit>;
2622
+ };
2623
+
2364
2624
  export enum FuelConsumptionUnit {
2365
2625
  /** Return the fuel consumption in liters per 100 kilometers. */
2366
2626
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -2381,6 +2641,7 @@ export type GeometryPoint = {
2381
2641
  coordinates: Array<Scalars["Float"]>;
2382
2642
  };
2383
2643
 
2644
+ /** Mode of heat pump. */
2384
2645
  export enum HeatPumpMode {
2385
2646
  /** Default to the vehicle configuration. */
2386
2647
  DEFAULT = "default",
@@ -2488,9 +2749,9 @@ export type IsolineInput = {
2488
2749
  quality?: Maybe<IsolineQuality>;
2489
2750
  /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2490
2751
  ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2491
- /** Battery state of charge. When omitted the default value is 100 percent. */
2752
+ /** Battery state of charge. Default is usable battery kwh of the inputted vehicle. */
2492
2753
  state_of_charge?: Maybe<StateOfChargeInput>;
2493
- /** Minimum final battery state of charge. When omitted the default value is 0 percent. */
2754
+ /** Minimum final battery state of charge. Default is 0 */
2494
2755
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2495
2756
  };
2496
2757
 
@@ -2658,6 +2919,8 @@ export type Mutation = {
2658
2919
  * This is a premium feature, contact Chargetrip for more information.
2659
2920
  */
2660
2921
  deleteUserReview: Review;
2922
+ /** [BETA] Create a new route from the route input and its ID. */
2923
+ createRoute: Scalars["ID"];
2661
2924
  /** Create a new route from the route input and its ID */
2662
2925
  newRoute?: Maybe<Scalars["ID"]>;
2663
2926
  };
@@ -2706,6 +2969,10 @@ export type MutationdeleteUserReviewArgs = {
2706
2969
  id: Scalars["ID"];
2707
2970
  };
2708
2971
 
2972
+ export type MutationcreateRouteArgs = {
2973
+ input: CreateRouteInput;
2974
+ };
2975
+
2709
2976
  export type MutationnewRouteArgs = {
2710
2977
  input?: Maybe<RequestInput>;
2711
2978
  };
@@ -2752,7 +3019,7 @@ export type NavigationInstructionsInput = {
2752
3019
  instructions_format: InstructionsFormat;
2753
3020
  /** Preferred navigation instructions language. Default: en */
2754
3021
  language?: Maybe<MappingLanguage>;
2755
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5 */
3022
+ /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2756
3023
  precision?: Maybe<Scalars["Int"]>;
2757
3024
  };
2758
3025
 
@@ -3051,9 +3318,9 @@ export type OCPIEnvironmentalImpact = {
3051
3318
 
3052
3319
  /** Categories of environmental impact values. */
3053
3320
  export enum OCPIEnvironmentalImpactCategory {
3054
- /** Produced nuclear waste in grams per kilowatthour. */
3321
+ /** Produced nuclear waste in g/kWh. */
3055
3322
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
3056
- /** Exhausted carbon dioxide in grams per kilowatthour. */
3323
+ /** Exhausted carbon dioxide in g/kWh. */
3057
3324
  CARBON_DIOXIDE = "CARBON_DIOXIDE"
3058
3325
  }
3059
3326
 
@@ -3453,7 +3720,7 @@ export type OdometerInput = {
3453
3720
  /** Type of the value of the vehicle's odometer. */
3454
3721
  type: DistanceUnit;
3455
3722
  /** Source of inputted data, defaults to 'manual'. */
3456
- source?: Maybe<TelemetryInputSource>;
3723
+ source?: TelemetryInputSource;
3457
3724
  };
3458
3725
 
3459
3726
  /** Operator data which extends OCPI BusinessDetails. */
@@ -3514,6 +3781,15 @@ export type OutsideTempInput = {
3514
3781
  source?: Maybe<TelemetryInputSource>;
3515
3782
  };
3516
3783
 
3784
+ export type OutsideTemperatureInput = {
3785
+ /** Value of the outside temperature. */
3786
+ value: Scalars["Float"];
3787
+ /** Type of the value of the outside temperature. */
3788
+ type: TemperatureUnit;
3789
+ /** Source of inputted data. */
3790
+ source?: TelemetryInputSource;
3791
+ };
3792
+
3517
3793
  export enum ParkingCost {
3518
3794
  /** Parking is free. */
3519
3795
  FREE = "free",
@@ -3565,6 +3841,12 @@ export type PolygonProperties = {
3565
3841
  index?: Maybe<Scalars["Int"]>;
3566
3842
  };
3567
3843
 
3844
+ /** Number of decimals for a polyline. */
3845
+ export enum PolylineInputDecimals {
3846
+ FIVE = "five",
3847
+ SIX = "six"
3848
+ }
3849
+
3568
3850
  export type PowerInput = {
3569
3851
  /** Value of the positive or negative power. When negative the vehicle is charging. */
3570
3852
  value: Scalars["Float"];
@@ -3606,6 +3888,7 @@ export enum PowerUnit {
3606
3888
  HORSEPOWER = "horsepower"
3607
3889
  }
3608
3890
 
3891
+ /** Pressure units. */
3609
3892
  export enum PressureUnit {
3610
3893
  /** Return the pressure in bar. */
3611
3894
  BAR = "bar",
@@ -3681,11 +3964,11 @@ export type Query = {
3681
3964
  isoline?: Maybe<Isoline>;
3682
3965
  /** [BETA] Get a navigation session by ID */
3683
3966
  navigation?: Maybe<Navigation>;
3684
- /** Get a full list of operators */
3967
+ /** Get a full list of operators. */
3685
3968
  operatorList?: Maybe<Array<Maybe<Operator>>>;
3686
- /** Get information about an operator by its ID */
3969
+ /** Get information about an operator by its ID. */
3687
3970
  operator?: Maybe<Operator>;
3688
- /** Get all reviews of a station by the station ID */
3971
+ /** Get all reviews of a station by the station ID. */
3689
3972
  reviewList?: Maybe<Array<Review>>;
3690
3973
  /**
3691
3974
  * Get all reviews of stations that were added by an authenticated user.
@@ -3695,6 +3978,10 @@ export type Query = {
3695
3978
  userReviewList?: Maybe<Array<Review>>;
3696
3979
  /** Get a route by ID */
3697
3980
  route?: Maybe<Route>;
3981
+ /** [BETA] Get a route by ID. */
3982
+ getRoute: RouteResponse;
3983
+ /** [BETA] Get emissions for a route. */
3984
+ getRouteEmissions: RouteDetailsEmissions;
3698
3985
  /** [BETA] Emissions profile for route. */
3699
3986
  routeEmissions: RouteEmissions;
3700
3987
  /** Retrieve information about a route path segment */
@@ -3707,9 +3994,9 @@ export type Query = {
3707
3994
  stationList?: Maybe<Array<Maybe<Station>>>;
3708
3995
  /** Search for stations around a GeoJSON point with a specific distance in meters. */
3709
3996
  stationAround?: Maybe<Array<Maybe<Station>>>;
3710
- /** Get information about a tariff by the tariff ID */
3997
+ /** Get information about a tariff by the tariff ID. */
3711
3998
  tariff?: Maybe<OCPITariff>;
3712
- /** Get the full list of tariffs */
3999
+ /** Get the full list of tariffs. */
3713
4000
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3714
4001
  /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3715
4002
  navigationMapping?: Maybe<Scalars["JSON"]>;
@@ -3791,6 +4078,15 @@ export type QueryrouteArgs = {
3791
4078
  id: Scalars["ID"];
3792
4079
  };
3793
4080
 
4081
+ export type QuerygetRouteArgs = {
4082
+ id: Scalars["ID"];
4083
+ };
4084
+
4085
+ export type QuerygetRouteEmissionsArgs = {
4086
+ route_id: Scalars["ID"];
4087
+ route_details_id: Scalars["ID"];
4088
+ };
4089
+
3794
4090
  export type QueryrouteEmissionsArgs = {
3795
4091
  route_id: Scalars["ID"];
3796
4092
  route_alternative_id?: Maybe<Scalars["ID"]>;
@@ -3874,7 +4170,7 @@ export type RequestEv = {
3874
4170
  adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
3875
4171
  /** Minimum desired power of chargers. */
3876
4172
  minPower?: Maybe<Scalars["Int"]>;
3877
- /** Climate is on. The default is true. */
4173
+ /** Climate is on. */
3878
4174
  climate?: Maybe<Scalars["Boolean"]>;
3879
4175
  /** Vehicle Heat Pump configuration. */
3880
4176
  heatPump?: Maybe<HeatPumpMode>;
@@ -3953,7 +4249,7 @@ export type RequestEvCabinInput = {
3953
4249
  };
3954
4250
 
3955
4251
  export type RequestEvConsumption = {
3956
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
4252
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
3957
4253
  auxiliary?: Maybe<Scalars["Float"]>;
3958
4254
  /**
3959
4255
  * Consumption, in kWh, of the auxiliaries.
@@ -3973,7 +4269,7 @@ export type RequestEvConsumption = {
3973
4269
  };
3974
4270
 
3975
4271
  export type RequestEvConsumptionInput = {
3976
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
4272
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
3977
4273
  auxiliary?: Maybe<Scalars["Float"]>;
3978
4274
  /** Deprecated in favor of auxiliary. */
3979
4275
  aux?: Maybe<CarConsumptionInput>;
@@ -3994,7 +4290,7 @@ export type RequestEvInput = {
3994
4290
  adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3995
4291
  /** Minimum desired power of chargers. */
3996
4292
  minPower?: Maybe<Scalars["Int"]>;
3997
- /** Flag which indicates if the climate is on. The default is true. */
4293
+ /** Flag which indicates if the climate is on. */
3998
4294
  climate?: Maybe<Scalars["Boolean"]>;
3999
4295
  /** Vehicle Heat Pump configuration. */
4000
4296
  heatPump?: Maybe<HeatPumpMode>;
@@ -4062,7 +4358,7 @@ export type RequestRoute = {
4062
4358
  operators?: Maybe<RouteOperators>;
4063
4359
  /** Season. */
4064
4360
  season?: Maybe<RouteSeason>;
4065
- /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4361
+ /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4066
4362
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4067
4363
  /** Origin of a route. */
4068
4364
  origin?: Maybe<FeaturePoint>;
@@ -4093,7 +4389,7 @@ export type RequestRouteInput = {
4093
4389
  operators?: Maybe<RouteOperatorsInput>;
4094
4390
  /** Optional flag to specify the season. */
4095
4391
  season?: Maybe<RouteSeason>;
4096
- /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4392
+ /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4097
4393
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4098
4394
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
4099
4395
  chargeMode?: Maybe<ChargeMode>;
@@ -4129,7 +4425,7 @@ export type Review = {
4129
4425
  /** Locale of a message. */
4130
4426
  locale?: Maybe<Scalars["String"]>;
4131
4427
  /** Vehicle that was provided/selected by a user. */
4132
- ev?: Maybe<Car>;
4428
+ ev?: Maybe<Vehicle>;
4133
4429
  /** Plug type that was provided/selected by a user. */
4134
4430
  plugType?: Maybe<ConnectorType>;
4135
4431
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
@@ -4349,212 +4645,666 @@ export type RouteApp = {
4349
4645
  id?: Maybe<Scalars["ID"]>;
4350
4646
  };
4351
4647
 
4352
- export type RouteEmbeddedEmissions = {
4353
- /** Total embedded emissions. */
4354
- total: Scalars["Float"];
4355
- /** Total manufacturing emissions. */
4356
- manufacturing: RouteEmbeddedManufacturingEmissions;
4357
- /** Total distribution related emissions. */
4358
- distribution: Scalars["Float"];
4359
- /** Distribution sea segment emissions. */
4360
- maritime: RouteEmbeddedMaritimeEmissions;
4361
- /** Distribution land segment emissions. */
4362
- land: RouteEmbeddedLandEmissions;
4363
- };
4364
-
4365
- export type RouteEmbeddedEmissionstotalArgs = {
4366
- unit?: Maybe<EmissionUnit>;
4367
- };
4368
-
4369
- export type RouteEmbeddedEmissionsdistributionArgs = {
4370
- unit?: Maybe<EmissionUnit>;
4371
- };
4372
-
4373
- export type RouteEmbeddedLandEmissions = {
4374
- /** Total embedded land emissions. */
4375
- total: Scalars["Float"];
4376
- /** Distribution land segment emissions from fuel consumption. */
4377
- fuel: Scalars["Float"];
4378
- /** Distribution land segment lifecycle emissions. */
4379
- lifecycle: Scalars["Float"];
4380
- };
4381
-
4382
- export type RouteEmbeddedLandEmissionstotalArgs = {
4383
- unit?: Maybe<EmissionUnit>;
4648
+ export type RouteDestinationFeaturePoint = {
4649
+ /** Feature type. */
4650
+ type: FeatureType;
4651
+ /** Geometry of the feature. */
4652
+ geometry: Point;
4653
+ /** Optional object where additional properties can be specified. */
4654
+ properties?: Maybe<RouteDestinationProperties>;
4384
4655
  };
4385
4656
 
4386
- export type RouteEmbeddedLandEmissionsfuelArgs = {
4387
- unit?: Maybe<EmissionUnit>;
4657
+ export type RouteDestinationFeaturePointInput = {
4658
+ /** Feature type. */
4659
+ type: FeatureType;
4660
+ /** Geometry of the feature. */
4661
+ geometry: PointInput;
4662
+ /** Optional object where additional properties can be specified. */
4663
+ properties?: Maybe<RouteDestinationPropertiesInput>;
4388
4664
  };
4389
4665
 
4390
- export type RouteEmbeddedLandEmissionslifecycleArgs = {
4391
- unit?: Maybe<EmissionUnit>;
4666
+ export type RouteDestinationProperties = {
4667
+ /** Data about the destination location. */
4668
+ location?: Maybe<RoutePropertiesLocation>;
4669
+ /** Data about the destination station. */
4670
+ station?: Maybe<RoutePropertiesStation>;
4392
4671
  };
4393
4672
 
4394
- export type RouteEmbeddedManufacturingEmissions = {
4395
- /** Total embedded manufacturing emissions. */
4396
- total: Scalars["Float"];
4397
- /** Body manufacturing emissions. */
4398
- body: Scalars["Float"];
4399
- /** Lithium ion battery manufacturing emissions. */
4400
- battery?: Maybe<Scalars["Float"]>;
4673
+ export type RouteDestinationPropertiesInput = {
4674
+ /** Data about the destination location. */
4675
+ location?: Maybe<RoutePropertiesLocationInput>;
4676
+ /** Data about the destination station. */
4677
+ station?: Maybe<RoutePropertiesStationInput>;
4401
4678
  };
4402
4679
 
4403
- export type RouteEmbeddedManufacturingEmissionstotalArgs = {
4404
- unit?: Maybe<EmissionUnit>;
4680
+ export type RouteDetails = {
4681
+ /** ID of a route computation. */
4682
+ id: Scalars["ID"];
4683
+ /** Type of a computed route. */
4684
+ type: RouteDetailsType;
4685
+ /** Aggregation of the connectors. */
4686
+ connectors: RouteDetailsConnectors;
4687
+ /** Total distance of a route. */
4688
+ distance: Scalars["Float"];
4689
+ /** Aggregation of all durations of a route. */
4690
+ durations: RouteDetailsDurations;
4691
+ /** Total energy used for a route in kilowatt hours. */
4692
+ consumption: Scalars["Float"];
4693
+ /** Range available at the beginning of a trip. */
4694
+ range_at_origin: Scalars["Float"];
4695
+ /** Range available at the end of a trip. */
4696
+ range_at_destination: Scalars["Float"];
4697
+ /** Text information about a route direction. */
4698
+ via?: Maybe<Scalars["String"]>;
4699
+ /** Polyline containing encoded coordinates. */
4700
+ polyline?: Maybe<Scalars["String"]>;
4701
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
4702
+ path_plot: Array<RouteDetailsPathSegment>;
4703
+ /** Details about elevation on a route. */
4704
+ elevation: RouteDetailsElevation;
4705
+ /** Money saving information. */
4706
+ savings?: Maybe<RouteDetailsSavings>;
4707
+ /** Legs of a route. */
4708
+ legs: Array<RouteDetailsLeg>;
4709
+ alternative_stations: Array<RouteDetailsAlternativeStation>;
4710
+ /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4711
+ tags: Array<RouteDetailsTag>;
4712
+ /** Number of charges along a route. */
4713
+ charges: Scalars["Int"];
4405
4714
  };
4406
4715
 
4407
- export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
4408
- unit?: Maybe<EmissionUnit>;
4716
+ export type RouteDetailsdistanceArgs = {
4717
+ unit?: Maybe<DistanceUnit>;
4409
4718
  };
4410
4719
 
4411
- export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4412
- unit?: Maybe<EmissionUnit>;
4720
+ export type RouteDetailsrange_at_originArgs = {
4721
+ unit?: Maybe<StateOfChargeUnit>;
4413
4722
  };
4414
4723
 
4415
- export type RouteEmbeddedMaritimeEmissions = {
4416
- /** Total embedded maritime emissions. */
4417
- total: Scalars["Float"];
4418
- /** Fuel related sea segment emissions. */
4419
- fuel: Scalars["Float"];
4420
- /** Port facility related sea segment emissions. */
4421
- port: Scalars["Float"];
4422
- /** Idling related sea segment emissions. */
4423
- idle: Scalars["Float"];
4424
- /** Distributed lifecycle related sea segment emissions. */
4425
- lifecycle: Scalars["Float"];
4724
+ export type RouteDetailsrange_at_destinationArgs = {
4725
+ unit?: Maybe<StateOfChargeUnit>;
4426
4726
  };
4427
4727
 
4428
- export type RouteEmbeddedMaritimeEmissionstotalArgs = {
4429
- unit?: Maybe<EmissionUnit>;
4728
+ export type RouteDetailspolylineArgs = {
4729
+ decimals: PolylineInputDecimals;
4430
4730
  };
4431
4731
 
4432
- export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
4433
- unit?: Maybe<EmissionUnit>;
4732
+ export type RouteDetailsAlternativeStation = {
4733
+ /** ID of a station. */
4734
+ id: Scalars["ID"];
4735
+ /** GeoJSON location of a station. */
4736
+ location: Point;
4737
+ /** Speed of a station. A station along a route can be either fast or turbo. */
4738
+ speed: StationSpeedType;
4739
+ /** Status of a station. */
4740
+ status: ChargerStatus;
4741
+ /** Ranking of an operator. */
4742
+ operator_ranking?: Maybe<Scalars["Int"]>;
4743
+ };
4744
+
4745
+ /** Aggregation of the connectors on a route. */
4746
+ export type RouteDetailsConnectors = {
4747
+ /** Aggregation of every connector on a route. */
4748
+ all: RouteDetailsConnectorsValues;
4749
+ /** Aggregation of every usable connector on a route. */
4750
+ usable: RouteDetailsConnectorsValues;
4751
+ };
4752
+
4753
+ /** Aggregation of the connectors on a route by status. */
4754
+ export type RouteDetailsConnectorsValues = {
4755
+ /** Total numbers of connectors. */
4756
+ total: Scalars["Int"];
4757
+ /** Number of connectors with status available. */
4758
+ available: Scalars["Int"];
4759
+ /** Number of connectors with status occupied. */
4760
+ occupied: Scalars["Int"];
4761
+ /** Number of connectors with status unknown. */
4762
+ unknown: Scalars["Int"];
4763
+ /** Number of connectors with status out of order. */
4764
+ out_of_order: Scalars["Int"];
4765
+ };
4766
+
4767
+ /** Aggregation of all durations of a route. */
4768
+ export type RouteDetailsDurations = {
4769
+ /** Total duration, in seconds. */
4770
+ total: Scalars["Int"];
4771
+ /** Total duration charging, in seconds. */
4772
+ charging: Scalars["Int"];
4773
+ /** Total duration driving, in seconds. */
4774
+ driving: Scalars["Int"];
4775
+ /** Total duration stopped for a short stay, for example at a via point, in seconds. */
4776
+ stopover: Scalars["Int"];
4777
+ /** Total duration of ferry rides, in seconds. */
4778
+ ferry?: Maybe<Scalars["Int"]>;
4779
+ };
4780
+
4781
+ export type RouteDetailsElevation = {
4782
+ /** Total value driving uphill on a route. */
4783
+ up: Scalars["Float"];
4784
+ /** Total value driving downhill on a route. */
4785
+ down: Scalars["Float"];
4786
+ /** Maximum elevation on a route. */
4787
+ maximum: Scalars["Float"];
4788
+ /** Minimum elevation on a route. */
4789
+ minimum: Scalars["Float"];
4790
+ };
4791
+
4792
+ export type RouteDetailsElevationupArgs = {
4793
+ unit?: Maybe<DistanceUnit>;
4434
4794
  };
4435
4795
 
4436
- export type RouteEmbeddedMaritimeEmissionsportArgs = {
4437
- unit?: Maybe<EmissionUnit>;
4796
+ export type RouteDetailsElevationdownArgs = {
4797
+ unit?: Maybe<DistanceUnit>;
4438
4798
  };
4439
4799
 
4440
- export type RouteEmbeddedMaritimeEmissionsidleArgs = {
4441
- unit?: Maybe<EmissionUnit>;
4800
+ export type RouteDetailsElevationmaximumArgs = {
4801
+ unit?: Maybe<DistanceUnit>;
4442
4802
  };
4443
4803
 
4444
- export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
4445
- unit?: Maybe<EmissionUnit>;
4804
+ export type RouteDetailsElevationminimumArgs = {
4805
+ unit?: Maybe<DistanceUnit>;
4446
4806
  };
4447
4807
 
4448
- export type RouteEmissions = {
4808
+ export type RouteDetailsEmissions = {
4449
4809
  /** ID of the route for which we retrieve the emissions profile. */
4450
4810
  route_id: Scalars["ID"];
4451
- /** ID of the route alternative for which we retrieve the emissions profile. */
4452
4811
  route_alternative_id: Scalars["ID"];
4453
4812
  /** Emissions profile for the vehicle used in route. */
4454
4813
  route_vehicle: RouteVehicleEmissions;
4455
- /** Emissions profile for an equivalent internal combustion engine vehicle. */
4456
4814
  internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
4815
+ /** Estimated GHG emissions saved by a user driving this route with the electric vehicle in grams of CO2e. */
4816
+ co2e_saved: Scalars["Float"];
4457
4817
  };
4458
4818
 
4459
- export type RouteEmissionsinternal_combustion_vehicleArgs = {
4819
+ export type RouteDetailsEmissionsinternal_combustion_vehicleArgs = {
4460
4820
  fuel_type?: Maybe<RouteOperationalFuelType>;
4461
4821
  };
4462
4822
 
4463
- export type RouteEndOfLifeEmissions = {
4464
- /** Total end of life emissions. */
4465
- total: Scalars["Float"];
4466
- /** Total fluid related end of life emissions. */
4467
- fluids: RouteEndOfLifeFluidsEmissions;
4468
- /** Battery related end of life emissions. */
4469
- battery: Scalars["Float"];
4470
- /** Tire related end of life emissions. */
4471
- tires: Scalars["Float"];
4472
- /** Body end of life emissions. */
4473
- body: Scalars["Float"];
4474
- /** Transport end of life emissions. */
4475
- transport: Scalars["Float"];
4476
- };
4477
-
4478
- export type RouteEndOfLifeEmissionstotalArgs = {
4823
+ export type RouteDetailsEmissionsco2e_savedArgs = {
4479
4824
  unit?: Maybe<EmissionUnit>;
4480
4825
  };
4481
4826
 
4482
- export type RouteEndOfLifeEmissionsbatteryArgs = {
4483
- unit?: Maybe<EmissionUnit>;
4827
+ /** Leg of a route detail. */
4828
+ export type RouteDetailsLeg = {
4829
+ /** Distance from the start to the end of a leg. */
4830
+ distance: Scalars["Float"];
4831
+ /** Aggregation of all durations of a route leg. */
4832
+ durations: RouteDetailsDurations;
4833
+ /** Total energy used in a leg in kilowatt hours. */
4834
+ consumption: Scalars["Float"];
4835
+ /** Origin point location. */
4836
+ origin: RouteDetailsLegFeaturePoint;
4837
+ /** Destination point location. */
4838
+ destination: RouteDetailsLegFeaturePoint;
4839
+ /** Range at the origin of the leg. */
4840
+ range_at_origin: Scalars["Float"];
4841
+ /** Range at the destination of the leg. */
4842
+ range_at_destination: Scalars["Float"];
4843
+ /** Range after charging on the leg. */
4844
+ range_after_charge?: Maybe<Scalars["Float"]>;
4845
+ /** Type of a leg. */
4846
+ type: RouteDetailsLegType;
4847
+ /** Name of a destination. This is the station name in case a user should charge or the name of the location in case this was provided. */
4848
+ name?: Maybe<Scalars["String"]>;
4849
+ /** Information about the station at the origin of this leg. */
4850
+ station?: Maybe<RouteDetailsLegStation>;
4851
+ /** Aggregation of the connectors on the leg. */
4852
+ connectors: RouteDetailsConnectors;
4853
+ /** Polyline containing encoded coordinates. */
4854
+ polyline: Scalars["String"];
4855
+ /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
4856
+ tags: Array<RouteDetailsTag>;
4857
+ /** Maneuvers of a leg - used to generate turn-by-turn instructions. */
4858
+ maneuvers: Array<RouteDetailsManeuver>;
4859
+ /** Road sections of a leg - divided by means of transportation. */
4860
+ sections: Array<RouteDetailsLegSection>;
4484
4861
  };
4485
4862
 
4486
- export type RouteEndOfLifeEmissionstiresArgs = {
4487
- unit?: Maybe<EmissionUnit>;
4863
+ /** Leg of a route detail. */
4864
+ export type RouteDetailsLegdistanceArgs = {
4865
+ unit?: Maybe<DistanceUnit>;
4488
4866
  };
4489
4867
 
4490
- export type RouteEndOfLifeEmissionsbodyArgs = {
4491
- unit?: Maybe<EmissionUnit>;
4868
+ /** Leg of a route detail. */
4869
+ export type RouteDetailsLegrange_at_originArgs = {
4870
+ unit?: Maybe<StateOfChargeUnit>;
4492
4871
  };
4493
4872
 
4494
- export type RouteEndOfLifeEmissionstransportArgs = {
4495
- unit?: Maybe<EmissionUnit>;
4873
+ /** Leg of a route detail. */
4874
+ export type RouteDetailsLegrange_at_destinationArgs = {
4875
+ unit?: Maybe<StateOfChargeUnit>;
4496
4876
  };
4497
4877
 
4498
- export type RouteEndOfLifeFluidsEmissions = {
4499
- /** Total end of life fluids emissions. */
4500
- total: Scalars["Float"];
4501
- /** Total wiper fluid end of life emissions. */
4502
- wiper: Scalars["Float"];
4503
- /** Total brake fluid end of life emissions. */
4504
- brake: Scalars["Float"];
4505
- /** Total powertrain coolant fluid end of life emissions. */
4506
- coolant: Scalars["Float"];
4507
- /** Total transmission fluid end of life emissions. */
4508
- transmission: Scalars["Float"];
4509
- /** Total motor oil end of life emissions. */
4510
- motor_oil?: Maybe<Scalars["Float"]>;
4878
+ /** Leg of a route detail. */
4879
+ export type RouteDetailsLegrange_after_chargeArgs = {
4880
+ unit?: Maybe<StateOfChargeUnit>;
4511
4881
  };
4512
4882
 
4513
- export type RouteEndOfLifeFluidsEmissionstotalArgs = {
4514
- unit?: Maybe<EmissionUnit>;
4883
+ /** Leg of a route detail. */
4884
+ export type RouteDetailsLegpolylineArgs = {
4885
+ decimals: PolylineInputDecimals;
4515
4886
  };
4516
4887
 
4517
- export type RouteEndOfLifeFluidsEmissionswiperArgs = {
4518
- unit?: Maybe<EmissionUnit>;
4888
+ export type RouteDetailsLegFeaturePoint = {
4889
+ /** Feature type. */
4890
+ type: FeatureType;
4891
+ /** Geometry of the feature. */
4892
+ geometry: Point;
4893
+ /** Properties of the feature. */
4894
+ properties?: Maybe<RouteDetailsLegFeatureProperties>;
4519
4895
  };
4520
4896
 
4521
- export type RouteEndOfLifeFluidsEmissionsbrakeArgs = {
4522
- unit?: Maybe<EmissionUnit>;
4897
+ export type RouteDetailsLegFeatureProperties = {
4898
+ /** Name of the location. */
4899
+ name?: Maybe<Scalars["String"]>;
4900
+ /** ID of the station. */
4901
+ station_id?: Maybe<Scalars["ID"]>;
4902
+ /** External ID of the station. */
4903
+ external_station_id?: Maybe<Scalars["ID"]>;
4904
+ /** Temperature at the location. */
4905
+ temperature?: Maybe<Scalars["Float"]>;
4906
+ /** Air pressure at the location. */
4907
+ air_pressure?: Maybe<Scalars["Float"]>;
4908
+ /** Solar irradiance at the location. */
4909
+ solar_irradiance?: Maybe<Scalars["Float"]>;
4910
+ /** Duration, in seconds, of time spent at this location. */
4911
+ duration?: Maybe<Scalars["Int"]>;
4912
+ /** Number of occupants present in the vehicle. */
4913
+ occupants?: Maybe<Scalars["Int"]>;
4914
+ /** Value of the current weight of the occupants. */
4915
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4916
+ /** Value of the current weight of the cargo. */
4917
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4523
4918
  };
4524
4919
 
4525
- export type RouteEndOfLifeFluidsEmissionscoolantArgs = {
4526
- unit?: Maybe<EmissionUnit>;
4920
+ export type RouteDetailsLegFeaturePropertiestemperatureArgs = {
4921
+ unit?: Maybe<TemperatureUnit>;
4527
4922
  };
4528
4923
 
4529
- export type RouteEndOfLifeFluidsEmissionstransmissionArgs = {
4530
- unit?: Maybe<EmissionUnit>;
4924
+ export type RouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
4925
+ unit?: Maybe<WeightUnit>;
4531
4926
  };
4532
4927
 
4533
- export type RouteEndOfLifeFluidsEmissionsmotor_oilArgs = {
4534
- unit?: Maybe<EmissionUnit>;
4928
+ export type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
4929
+ unit?: Maybe<WeightUnit>;
4535
4930
  };
4536
4931
 
4537
- export type RouteInstruction = {
4538
- /** Information about the points on the polyline. */
4539
- points?: Maybe<RouteInstructionPoints>;
4540
- /** Sign of the instruction. See `RouteInstructionSign`. */
4541
- sign?: Maybe<RouteInstructionSign>;
4542
- /** Name of the street on which the instruction is. */
4543
- name?: Maybe<Scalars["String"]>;
4544
- /** Distance, in meters, of the current route instruction. */
4545
- distance?: Maybe<Scalars["Int"]>;
4546
- /** Duration, in seconds, of the current route instruction. */
4547
- time?: Maybe<Scalars["Int"]>;
4548
- /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise is null. */
4549
- exit_number?: Maybe<Scalars["Int"]>;
4550
- /** Curvature angle between the roundabout and street you exit the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise is null. */
4551
- turn_angle?: Maybe<Scalars["Float"]>;
4932
+ export type RouteDetailsLegManeuverPoints = {
4933
+ /** Number of polyline points which are included in this instruction. */
4934
+ size: Scalars["Int"];
4935
+ /** Interval of points that are included in this instruction, an array with 2 values, where the first value is the index of the polyline where the interval starts. The second value is where it ends. */
4936
+ interval: Array<Scalars["Int"]>;
4552
4937
  };
4553
4938
 
4554
- export type RouteInstructionPoints = {
4555
- /** Number of polyline points which are included in this instruction. */
4556
- size?: Maybe<Scalars["Int"]>;
4557
- /** The interval of points that are included in this instruction, an array with 2 values, where the first value is the index of the polyline where the interval starts. The second value is where it ends. */
4939
+ /** Type of a maneuver indicating the main action. */
4940
+ export enum RouteDetailsLegManeuverType {
4941
+ UNKNOWN = "UNKNOWN",
4942
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
4943
+ U_TURN_LEFT = "U_TURN_LEFT",
4944
+ KEEP_LEFT = "KEEP_LEFT",
4945
+ LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
4946
+ TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
4947
+ TURN_LEFT = "TURN_LEFT",
4948
+ TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
4949
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
4950
+ TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
4951
+ TURN_RIGHT = "TURN_RIGHT",
4952
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
4953
+ FINISH = "FINISH",
4954
+ REACHED_VIA = "REACHED_VIA",
4955
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
4956
+ USE_ROUNDABOUT = "USE_ROUNDABOUT",
4957
+ KEEP_RIGHT = "KEEP_RIGHT",
4958
+ U_TURN_RIGHT = "U_TURN_RIGHT",
4959
+ PT_START_TRIP = "PT_START_TRIP",
4960
+ PT_TRANSFER = "PT_TRANSFER",
4961
+ PT_END_TRIP = "PT_END_TRIP",
4962
+ IGNORE = "IGNORE"
4963
+ }
4964
+
4965
+ export type RouteDetailsLegSection = {
4966
+ /** Section type. */
4967
+ type: RouteDetailsLegSectionType;
4968
+ /** Origin point. */
4969
+ origin: RouteDetailsLegSectionFeaturePoint;
4970
+ /** Destination point. */
4971
+ destination: RouteDetailsLegSectionFeaturePoint;
4972
+ /** Aggregation of tags over the current section. */
4973
+ tags: Array<RouteDetailsTag>;
4974
+ /** Polyline containing encoded coordinates. */
4975
+ polyline?: Maybe<Scalars["String"]>;
4976
+ /** Distance from the start to the end of a section. */
4977
+ distance: Scalars["Float"];
4978
+ /** Total drive time from the start to the end of a section, in seconds. */
4979
+ duration: Scalars["Float"];
4980
+ /** Total energy used in a section in kilowatt-hours. */
4981
+ consumption: Scalars["Float"];
4982
+ };
4983
+
4984
+ export type RouteDetailsLegSectionpolylineArgs = {
4985
+ decimals: PolylineInputDecimals;
4986
+ };
4987
+
4988
+ export type RouteDetailsLegSectiondistanceArgs = {
4989
+ unit?: Maybe<DistanceUnit>;
4990
+ };
4991
+
4992
+ export type RouteDetailsLegSectionFeaturePoint = {
4993
+ /** Feature type. */
4994
+ type: FeatureType;
4995
+ /** Geometry of the feature. */
4996
+ geometry: Point;
4997
+ /** Properties of the feature. */
4998
+ properties: RouteDetailsLegSectionFeaturePointProperties;
4999
+ };
5000
+
5001
+ export type RouteDetailsLegSectionFeaturePointProperties = {
5002
+ /** Number of occupants present in the vehicle. */
5003
+ occupants: Scalars["Int"];
5004
+ /** Value of the current weight of the occupants. */
5005
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
5006
+ /** Value of the current weight of the cargo. */
5007
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
5008
+ };
5009
+
5010
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
5011
+ unit?: Maybe<WeightUnit>;
5012
+ };
5013
+
5014
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
5015
+ unit?: Maybe<WeightUnit>;
5016
+ };
5017
+
5018
+ /** Type of a route details leg section. */
5019
+ export enum RouteDetailsLegSectionType {
5020
+ DRIVING = "driving",
5021
+ FERRY = "ferry",
5022
+ WALKING = "walking"
5023
+ }
5024
+
5025
+ export type RouteDetailsLegStation = {
5026
+ /** ID of a station. */
5027
+ station_id: Scalars["ID"];
5028
+ /** Name of a station. */
5029
+ station_name?: Maybe<Scalars["String"]>;
5030
+ /** ID of an operator. */
5031
+ operator_id: Scalars["ID"];
5032
+ /** Name of an operator. */
5033
+ operator_name?: Maybe<Scalars["String"]>;
5034
+ /** ID of the EVSE that was selected in a route. */
5035
+ evse_uid?: Maybe<Scalars["ID"]>;
5036
+ /** ID of the connector that was selected in a route. */
5037
+ connector_id?: Maybe<Scalars["ID"]>;
5038
+ /** List of amenities present at the station. */
5039
+ amenities?: Maybe<Array<AmenityType>>;
5040
+ };
5041
+
5042
+ /** Type of a leg. */
5043
+ export enum RouteDetailsLegType {
5044
+ STATION = "station",
5045
+ STATION_VIA = "station_via",
5046
+ STATION_FINAL = "station_final",
5047
+ STATION_AMENITY = "station_amenity",
5048
+ VIA = "via",
5049
+ FINAL = "final"
5050
+ }
5051
+
5052
+ export type RouteDetailsManeuver = {
5053
+ /** Type of instruction. */
5054
+ type: RouteDetailsLegManeuverType;
5055
+ /** Location of the maneuver. */
5056
+ location?: Maybe<RouteDetailsLegFeaturePoint>;
5057
+ /** Name of the street on which an instruction is. */
5058
+ name?: Maybe<Scalars["String"]>;
5059
+ /** Distance, in meters, of a route instruction. */
5060
+ distance: Scalars["Float"];
5061
+ /** Duration, in seconds, of a route instruction. */
5062
+ duration: Scalars["Int"];
5063
+ /** Information about the points on a polyline. */
5064
+ points: RouteDetailsLegManeuverPoints;
5065
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise this value is null. */
5066
+ exit_number?: Maybe<Scalars["Int"]>;
5067
+ /** Curvature angle between the roundabout and the exit of the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise this value is `null`. */
5068
+ turn_angle?: Maybe<Scalars["Float"]>;
5069
+ /** Aggregation of tags over the current maneuver. */
5070
+ tags?: Maybe<Array<RouteDetailsTag>>;
5071
+ };
5072
+
5073
+ export type RouteDetailsManeuverdistanceArgs = {
5074
+ unit?: Maybe<DistanceUnit>;
5075
+ };
5076
+
5077
+ export type RouteDetailsPathSegment = {
5078
+ /** Elevation value of a route path segment. */
5079
+ elevation: Scalars["Float"];
5080
+ /** Average speed of a route path segment. */
5081
+ average_speed: Scalars["Float"];
5082
+ /** Consumption, in kilowatt hours, of a route path segment. */
5083
+ consumption: Scalars["Float"];
5084
+ /** Distance of a route path segment. */
5085
+ distance: Scalars["Float"];
5086
+ /** Duration, in seconds, of a route path segment. */
5087
+ duration: Scalars["Float"];
5088
+ /** State of charge, in kilowatt hours, of a route path segment. */
5089
+ state_of_charge?: Maybe<Scalars["Float"]>;
5090
+ /** Maximum vehicle speed of a route path segment. */
5091
+ max_speed: Scalars["Float"];
5092
+ };
5093
+
5094
+ export type RouteDetailsPathSegmentelevationArgs = {
5095
+ unit?: Maybe<DistanceUnit>;
5096
+ };
5097
+
5098
+ export type RouteDetailsPathSegmentaverage_speedArgs = {
5099
+ unit?: Maybe<SpeedUnit>;
5100
+ };
5101
+
5102
+ export type RouteDetailsPathSegmentdistanceArgs = {
5103
+ unit?: Maybe<DistanceUnit>;
5104
+ };
5105
+
5106
+ export type RouteDetailsPathSegmentstate_of_chargeArgs = {
5107
+ unit?: Maybe<StateOfChargeUnit>;
5108
+ };
5109
+
5110
+ export type RouteDetailsPathSegmentmax_speedArgs = {
5111
+ unit?: Maybe<SpeedUnit>;
5112
+ };
5113
+
5114
+ /** Money saving information. */
5115
+ export type RouteDetailsSavings = {
5116
+ /** Money saved by a user driving this route with an electric vehicle. */
5117
+ money?: Maybe<Scalars["Float"]>;
5118
+ /** Average gas price with which the calculation was made. */
5119
+ average_gas_price?: Maybe<Scalars["Float"]>;
5120
+ /** Average energy price with which the calculation was made. */
5121
+ average_energy_price?: Maybe<Scalars["Float"]>;
5122
+ };
5123
+
5124
+ /** Tags of a route. */
5125
+ export enum RouteDetailsTag {
5126
+ ROAD = "road",
5127
+ HIGHWAY = "highway",
5128
+ TOLL = "toll",
5129
+ FERRY = "ferry",
5130
+ WALKING = "walking",
5131
+ CROSSBORDER = "crossborder"
5132
+ }
5133
+
5134
+ /** Types of a route. */
5135
+ export enum RouteDetailsType {
5136
+ FASTEST = "fastest",
5137
+ BEST_MATCHING = "best_matching",
5138
+ ALTERNATIVE = "alternative"
5139
+ }
5140
+
5141
+ export type RouteEmbeddedEmissions = {
5142
+ /** Total embedded emissions. */
5143
+ total: Scalars["Float"];
5144
+ /** Manufacturing emissions. */
5145
+ manufacturing: RouteEmbeddedManufacturingEmissions;
5146
+ /** Total distribution emissions. */
5147
+ distribution: Scalars["Float"];
5148
+ /** Distribution sea segment emissions. */
5149
+ maritime: RouteEmbeddedMaritimeEmissions;
5150
+ /** Distribution land segment emissions. */
5151
+ land: RouteEmbeddedLandEmissions;
5152
+ };
5153
+
5154
+ export type RouteEmbeddedEmissionstotalArgs = {
5155
+ unit?: Maybe<EmissionUnit>;
5156
+ };
5157
+
5158
+ export type RouteEmbeddedEmissionsdistributionArgs = {
5159
+ unit?: Maybe<EmissionUnit>;
5160
+ };
5161
+
5162
+ export type RouteEmbeddedLandEmissions = {
5163
+ /** Total embedded land segment emissions. */
5164
+ total: Scalars["Float"];
5165
+ /** Distribution land segment emissions from fuel consumption. */
5166
+ fuel: Scalars["Float"];
5167
+ /** Distribution land segment lifecycle emissions. */
5168
+ lifecycle: Scalars["Float"];
5169
+ };
5170
+
5171
+ export type RouteEmbeddedLandEmissionstotalArgs = {
5172
+ unit?: Maybe<EmissionUnit>;
5173
+ };
5174
+
5175
+ export type RouteEmbeddedLandEmissionsfuelArgs = {
5176
+ unit?: Maybe<EmissionUnit>;
5177
+ };
5178
+
5179
+ export type RouteEmbeddedLandEmissionslifecycleArgs = {
5180
+ unit?: Maybe<EmissionUnit>;
5181
+ };
5182
+
5183
+ export type RouteEmbeddedManufacturingEmissions = {
5184
+ /** Total embedded manufacturing emissions. */
5185
+ total: Scalars["Float"];
5186
+ /** Vehicle body manufacturing emissions. */
5187
+ body: Scalars["Float"];
5188
+ /** Lithium ion battery manufacturing emissions. */
5189
+ battery?: Maybe<Scalars["Float"]>;
5190
+ };
5191
+
5192
+ export type RouteEmbeddedManufacturingEmissionstotalArgs = {
5193
+ unit?: Maybe<EmissionUnit>;
5194
+ };
5195
+
5196
+ export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
5197
+ unit?: Maybe<EmissionUnit>;
5198
+ };
5199
+
5200
+ export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
5201
+ unit?: Maybe<EmissionUnit>;
5202
+ };
5203
+
5204
+ export type RouteEmbeddedMaritimeEmissions = {
5205
+ /** Total embedded maritime emissions. */
5206
+ total: Scalars["Float"];
5207
+ /** Fuel related maritime segment emissions. */
5208
+ fuel: Scalars["Float"];
5209
+ /** Port facility related maritime segment emissions. */
5210
+ port: Scalars["Float"];
5211
+ /** Idling related maritime segment emissions. */
5212
+ idle: Scalars["Float"];
5213
+ /** Distributed lifecycle related maritime segment emissions. */
5214
+ lifecycle: Scalars["Float"];
5215
+ };
5216
+
5217
+ export type RouteEmbeddedMaritimeEmissionstotalArgs = {
5218
+ unit?: Maybe<EmissionUnit>;
5219
+ };
5220
+
5221
+ export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
5222
+ unit?: Maybe<EmissionUnit>;
5223
+ };
5224
+
5225
+ export type RouteEmbeddedMaritimeEmissionsportArgs = {
5226
+ unit?: Maybe<EmissionUnit>;
5227
+ };
5228
+
5229
+ export type RouteEmbeddedMaritimeEmissionsidleArgs = {
5230
+ unit?: Maybe<EmissionUnit>;
5231
+ };
5232
+
5233
+ export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
5234
+ unit?: Maybe<EmissionUnit>;
5235
+ };
5236
+
5237
+ export type RouteEmissions = {
5238
+ /** ID of the route for which we retrieve the emissions profile. */
5239
+ route_id: Scalars["ID"];
5240
+ /** ID of the route alternative for which we retrieve the emissions profile. */
5241
+ route_alternative_id: Scalars["ID"];
5242
+ /** Emissions profile for the vehicle used in route. */
5243
+ route_vehicle: RouteVehicleEmissions;
5244
+ /** Emissions profile for an equivalent internal combustion engine vehicle. */
5245
+ internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
5246
+ };
5247
+
5248
+ export type RouteEmissionsinternal_combustion_vehicleArgs = {
5249
+ fuel_type?: Maybe<RouteOperationalFuelType>;
5250
+ };
5251
+
5252
+ export type RouteEndOfLifeEmissions = {
5253
+ /** Total end of life emissions. */
5254
+ total: Scalars["Float"];
5255
+ /** Fluid related end of life emissions. */
5256
+ fluids: FluidEmissions;
5257
+ /** Battery related end of life emissions. */
5258
+ battery: Scalars["Float"];
5259
+ /** Tire related end of life emissions. */
5260
+ tires: Scalars["Float"];
5261
+ /** Body end of life emissions. */
5262
+ body: Scalars["Float"];
5263
+ /** Transport end of life emissions. */
5264
+ transport: Scalars["Float"];
5265
+ };
5266
+
5267
+ export type RouteEndOfLifeEmissionstotalArgs = {
5268
+ unit?: Maybe<EmissionUnit>;
5269
+ };
5270
+
5271
+ export type RouteEndOfLifeEmissionsbatteryArgs = {
5272
+ unit?: Maybe<EmissionUnit>;
5273
+ };
5274
+
5275
+ export type RouteEndOfLifeEmissionstiresArgs = {
5276
+ unit?: Maybe<EmissionUnit>;
5277
+ };
5278
+
5279
+ export type RouteEndOfLifeEmissionsbodyArgs = {
5280
+ unit?: Maybe<EmissionUnit>;
5281
+ };
5282
+
5283
+ export type RouteEndOfLifeEmissionstransportArgs = {
5284
+ unit?: Maybe<EmissionUnit>;
5285
+ };
5286
+
5287
+ export type RouteInstruction = {
5288
+ /** Information about the points on the polyline. */
5289
+ points?: Maybe<RouteInstructionPoints>;
5290
+ /** Sign of the instruction. See `RouteInstructionSign`. */
5291
+ sign?: Maybe<RouteInstructionSign>;
5292
+ /** Name of the street on which the instruction is. */
5293
+ name?: Maybe<Scalars["String"]>;
5294
+ /** Distance, in meters, of the current route instruction. */
5295
+ distance?: Maybe<Scalars["Int"]>;
5296
+ /** Duration, in seconds, of the current route instruction. */
5297
+ time?: Maybe<Scalars["Int"]>;
5298
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise is null. */
5299
+ exit_number?: Maybe<Scalars["Int"]>;
5300
+ /** Curvature angle between the roundabout and street you exit the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise is null. */
5301
+ turn_angle?: Maybe<Scalars["Float"]>;
5302
+ };
5303
+
5304
+ export type RouteInstructionPoints = {
5305
+ /** Number of polyline points which are included in this instruction. */
5306
+ size?: Maybe<Scalars["Int"]>;
5307
+ /** The interval of points that are included in this instruction, an array with 2 values, where the first value is the index of the polyline where the interval starts. The second value is where it ends. */
4558
5308
  interval?: Maybe<Array<Maybe<Scalars["Int"]>>>;
4559
5309
  };
4560
5310
 
@@ -4587,13 +5337,15 @@ export enum RouteInstructionSign {
4587
5337
  export type RouteInternalCombustionVehicleEmissions = {
4588
5338
  /** Total co2e emissions. */
4589
5339
  total: Scalars["Float"];
4590
- /** Embedded emissions. */
5340
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
5341
+ iso_14083_2023: Scalars["Float"];
5342
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4591
5343
  embedded: RouteEmbeddedEmissions;
4592
5344
  /** Operational emissions. */
4593
5345
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4594
5346
  /** End of life emissions. */
4595
5347
  end_of_life: RouteEndOfLifeEmissions;
4596
- /** Emissions info for the legs in the order as within the route. */
5348
+ /** Emissions info for the legs in the same order as in the route. */
4597
5349
  legs: Array<RouteInternalCombustionVehicleLegEmissions>;
4598
5350
  };
4599
5351
 
@@ -4601,14 +5353,20 @@ export type RouteInternalCombustionVehicleEmissionstotalArgs = {
4601
5353
  unit?: Maybe<EmissionUnit>;
4602
5354
  };
4603
5355
 
5356
+ export type RouteInternalCombustionVehicleEmissionsiso_14083_2023Args = {
5357
+ unit?: Maybe<EmissionUnit>;
5358
+ };
5359
+
4604
5360
  export type RouteInternalCombustionVehicleLegEmissions = {
4605
- /** Total co2e emissions for the leg. */
5361
+ /** Total co2e emissions. */
4606
5362
  total: Scalars["Float"];
4607
- /** Embedded emissions for the leg. */
5363
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
5364
+ iso_14083_2023: Scalars["Float"];
5365
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4608
5366
  embedded: RouteEmbeddedEmissions;
4609
- /** Operational emissions for the leg. */
5367
+ /** Operational emissions. */
4610
5368
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4611
- /** End of life emissions for the leg. */
5369
+ /** End of life emissions. */
4612
5370
  end_of_life: RouteEndOfLifeEmissions;
4613
5371
  };
4614
5372
 
@@ -4616,14 +5374,18 @@ export type RouteInternalCombustionVehicleLegEmissionstotalArgs = {
4616
5374
  unit?: Maybe<EmissionUnit>;
4617
5375
  };
4618
5376
 
5377
+ export type RouteInternalCombustionVehicleLegEmissionsiso_14083_2023Args = {
5378
+ unit?: Maybe<EmissionUnit>;
5379
+ };
5380
+
4619
5381
  export type RouteInternalCombustionVehicleOperationalEmissions = {
4620
5382
  /** Total operational emissions. */
4621
5383
  total: Scalars["Float"];
4622
- /** Fuel emissions data. */
5384
+ /** Fuel emissions. */
4623
5385
  fuel: RouteOperationalFuelEmissions;
4624
- /** Total road infrastructure emissions. */
5386
+ /** Road infrastructure emissions. */
4625
5387
  infrastructure: RouteOperationalInfrastructureEmissions;
4626
- /** Total maintenance emissions. */
5388
+ /** Maintenance emissions. */
4627
5389
  maintenance: RouteOperationalMaintenanceEmissions;
4628
5390
  };
4629
5391
 
@@ -4696,13 +5458,82 @@ export type RouteLeg = {
4696
5458
  occupants?: Maybe<Scalars["Int"]>;
4697
5459
  };
4698
5460
 
4699
- export type RouteLegpolylineArgs = {
4700
- decimals?: Maybe<Scalars["Int"]>;
5461
+ export type RouteLegpolylineArgs = {
5462
+ decimals?: Maybe<Scalars["Int"]>;
5463
+ };
5464
+
5465
+ export type RouteLegMeta = {
5466
+ /** Warnings that certain conditions specified in a route mutation are not respected. */
5467
+ warnings: Array<RouteMetaWarning>;
5468
+ };
5469
+
5470
+ export type RouteLegOperationalElectricityEmissions = {
5471
+ /** Total electricity emissions. */
5472
+ total: Scalars["Float"];
5473
+ /** Base emissions without efficiency losses. */
5474
+ base_value: Scalars["Float"];
5475
+ /** Emissions for electricity lost in the battery. */
5476
+ battery_losses: Scalars["Float"];
5477
+ /** Emissions for electricity lost in transmission. */
5478
+ transmission_losses: Scalars["Float"];
5479
+ /** Emissions for electricity lost during charging. */
5480
+ chargepoint_losses: Scalars["Float"];
5481
+ /** Electricity efficiency information. */
5482
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
5483
+ /** Electricity intensity information. */
5484
+ intensity: RouteLegOperationalElectricityEmissionsIntensity;
5485
+ };
5486
+
5487
+ export type RouteLegOperationalElectricityEmissionstotalArgs = {
5488
+ unit?: Maybe<EmissionUnit>;
5489
+ };
5490
+
5491
+ export type RouteLegOperationalElectricityEmissionsbase_valueArgs = {
5492
+ unit?: Maybe<EmissionUnit>;
5493
+ };
5494
+
5495
+ export type RouteLegOperationalElectricityEmissionsbattery_lossesArgs = {
5496
+ unit?: Maybe<EmissionUnit>;
5497
+ };
5498
+
5499
+ export type RouteLegOperationalElectricityEmissionstransmission_lossesArgs = {
5500
+ unit?: Maybe<EmissionUnit>;
5501
+ };
5502
+
5503
+ export type RouteLegOperationalElectricityEmissionschargepoint_lossesArgs = {
5504
+ unit?: Maybe<EmissionUnit>;
4701
5505
  };
4702
5506
 
4703
- export type RouteLegMeta = {
4704
- /** Warnings that certain conditions specified in a route mutation are not respected. */
4705
- warnings: Array<RouteMetaWarning>;
5507
+ /** Electricity emission intensity for a leg */
5508
+ export type RouteLegOperationalElectricityEmissionsIntensity = {
5509
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5510
+ total: Scalars["Float"];
5511
+ /** Base regional electricity emissions intensity for the leg. */
5512
+ base_regional_value: EmissionsFactor;
5513
+ /** Base regional electricity intensity used for the ISO 14083:2023 emissions estimation. */
5514
+ base_iso_14083_2023_regional_value: EmissionsFactor;
5515
+ /** Electricity mix for the leg. */
5516
+ energy_sources: RouteOperationalElectricityEnergySources;
5517
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5518
+ infrastructure: Scalars["Float"];
5519
+ /** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
5520
+ average_demand: Scalars["Float"];
5521
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
5522
+ base_load_fraction: Scalars["Float"];
5523
+ /** Season for which the leg was calculated. */
5524
+ season: RouteOperationalElectricitySeason;
5525
+ /** Climate for which the leg was calculated. */
5526
+ climate: RouteOperationalElectricityClimate;
5527
+ };
5528
+
5529
+ /** Electricity emission intensity for a leg */
5530
+ export type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
5531
+ unit?: Maybe<EmissionUnit>;
5532
+ };
5533
+
5534
+ /** Electricity emission intensity for a leg */
5535
+ export type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5536
+ unit?: Maybe<EmissionUnit>;
4706
5537
  };
4707
5538
 
4708
5539
  export type RouteMeta = {
@@ -4719,6 +5550,17 @@ export type RouteMetaWarning = {
4719
5550
  data?: Maybe<Scalars["JSON"]>;
4720
5551
  };
4721
5552
 
5553
+ export type RouteMetadata = {
5554
+ /** Refers to the x-app-id specified in the headers. */
5555
+ app_id: Scalars["ID"];
5556
+ /** Date when a route was created by a createRoute mutation. */
5557
+ created_at: Scalars["DateTime"];
5558
+ /** Last updated date of a route. */
5559
+ updated_at: Scalars["DateTime"];
5560
+ /** Length of time required to successfully calculate a route, in milliseconds. */
5561
+ computation_time?: Maybe<Scalars["Int"]>;
5562
+ };
5563
+
4722
5564
  /** Köppen climate classification. */
4723
5565
  export enum RouteOperationalElectricityClimate {
4724
5566
  /** Tropical rain forest climate. */
@@ -4789,7 +5631,7 @@ export type RouteOperationalElectricityEmissions = {
4789
5631
  /** Total electricity emissions. */
4790
5632
  total: Scalars["Float"];
4791
5633
  /** Base emissions without efficiency losses. */
4792
- base_emissions: Scalars["Float"];
5634
+ base_value: Scalars["Float"];
4793
5635
  /** Emissions for electricity lost in the battery. */
4794
5636
  battery_losses: Scalars["Float"];
4795
5637
  /** Emissions for electricity lost in transmission. */
@@ -4797,16 +5639,16 @@ export type RouteOperationalElectricityEmissions = {
4797
5639
  /** Emissions for electricity lost during charging. */
4798
5640
  chargepoint_losses: Scalars["Float"];
4799
5641
  /** Electricity efficiency information. */
4800
- electricity_efficiency: RouteOperationalElectricityEmissionsEfficiency;
5642
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
4801
5643
  /** Electricity intensity information. */
4802
- electricity_intensity: RouteOperationalElectricityEmissionsIntensity;
5644
+ intensity: RouteOperationalElectricityEmissionsIntensity;
4803
5645
  };
4804
5646
 
4805
5647
  export type RouteOperationalElectricityEmissionstotalArgs = {
4806
5648
  unit?: Maybe<EmissionUnit>;
4807
5649
  };
4808
5650
 
4809
- export type RouteOperationalElectricityEmissionsbase_emissionsArgs = {
5651
+ export type RouteOperationalElectricityEmissionsbase_valueArgs = {
4810
5652
  unit?: Maybe<EmissionUnit>;
4811
5653
  };
4812
5654
 
@@ -4824,27 +5666,27 @@ export type RouteOperationalElectricityEmissionschargepoint_lossesArgs = {
4824
5666
 
4825
5667
  export type RouteOperationalElectricityEmissionsEfficiency = {
4826
5668
  /** Average total electricity efficiency. */
4827
- total_efficiency: Scalars["Float"];
5669
+ total: Scalars["Float"];
4828
5670
  /** Average efficiency of the battery. */
4829
- battery_efficiency: Scalars["Float"];
4830
- /** Average efficiency of electricity transmission. */
4831
- transmission_efficiency: Scalars["Float"];
4832
- /** Average base regional grid efficiency. */
4833
- base_transmission_efficiency: Scalars["Float"];
5671
+ battery: Scalars["Float"];
5672
+ /** Average estimated transmission efficiency using the base transmission efficiency adjusting for temperature. */
5673
+ transmission: Scalars["Float"];
5674
+ /** Average base regional grid transmission efficiency. */
5675
+ base_transmission: Scalars["Float"];
4834
5676
  /** Average transmission efficiency change due to temperature. */
4835
- transmission_efficiency_temperature_modifier: Scalars["Float"];
5677
+ transmission_temperature_modifier: Scalars["Float"];
4836
5678
  /** Average efficiency of the chargepoint. */
4837
- chargepoint_efficiency: Scalars["Float"];
4838
- /** Average evse efficiency. */
4839
- evse_efficiency: Scalars["Float"];
4840
- /** Average breaker efficiency. */
4841
- breaker_efficiency: Scalars["Float"];
4842
- /** Average power electronics unit efficiency. */
4843
- power_electronics_unit_efficiency: Scalars["Float"];
4844
- /** Average transformer efficiency. */
4845
- transformer_efficiency: Scalars["Float"];
5679
+ chargepoint: Scalars["Float"];
5680
+ /** Average evse (electric vehicle supply equipment) efficiency of the chargepoint. */
5681
+ evse: Scalars["Float"];
5682
+ /** Average circuit breaker efficiency of the chargepoint. */
5683
+ breaker: Scalars["Float"];
5684
+ /** Average power electronics unit efficiency of the chargepoint. */
5685
+ power_electronics_unit: Scalars["Float"];
5686
+ /** Average transformer efficiency of the chargepoint. */
5687
+ transformer: Scalars["Float"];
4846
5688
  /** Change in chargepoint efficiency due to temperature. */
4847
- chargepoint_efficiency_temperature_modifier: Scalars["Float"];
5689
+ chargepoint_temperature_modifier: Scalars["Float"];
4848
5690
  /** Average charging current in amperes. */
4849
5691
  average_charging_current: Scalars["Float"];
4850
5692
  /** Average charging voltage in volts. */
@@ -4863,58 +5705,67 @@ export type RouteOperationalElectricityEmissionsEfficiencyaverage_regional_tempe
4863
5705
  unit?: Maybe<TemperatureUnit>;
4864
5706
  };
4865
5707
 
4866
- export type RouteOperationalElectricityEmissionsGenerationMethods = {
4867
- /** Fraction of coal production. */
4868
- coal: Scalars["Float"];
4869
- /** Fraction of gas production. */
4870
- gas: Scalars["Float"];
4871
- /** Fraction of hydroelectric production. */
4872
- hydro: Scalars["Float"];
4873
- /** Fraction of solar production. */
4874
- solar: Scalars["Float"];
4875
- /** Fraction of wind production. */
4876
- wind: Scalars["Float"];
4877
- /** Fraction of oil production. */
4878
- oil: Scalars["Float"];
4879
- /** Fraction of nuclear production. */
4880
- nuclear: Scalars["Float"];
4881
- /** Fraction of biofuel production. */
4882
- biofuel: Scalars["Float"];
4883
- /** Fraction of other production. */
4884
- other: Scalars["Float"];
4885
- };
4886
-
5708
+ /** Electricity emission intensity for the route */
4887
5709
  export type RouteOperationalElectricityEmissionsIntensity = {
4888
- /** Average route electricity emissions intensity in unit CO2e/kWh. */
4889
- total_electricity_intensity: Scalars["Float"];
4890
- /** Base regional electricity emissions intensity in unit CO2e/kWh. */
4891
- base_electricity_intensity: Scalars["Float"];
4892
- /** Generation methods of electricity production. */
4893
- generation_methods: RouteOperationalElectricityEmissionsGenerationMethods;
4894
- /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc in unit CO2e/kWh. */
4895
- electricity_infrastructure_intensity: Scalars["Float"];
4896
- /** Season for which the route was calculated. */
4897
- season: RouteOperationalElectricitySeason;
4898
- /** The climate for which the route was calculated. */
4899
- climate: RouteOperationalElectricityClimate;
4900
- /** Average electricity demand at the time of route charges as a fraction of average demand. */
4901
- average_electricity_demand: Scalars["Float"];
4902
- /** Fraction of regional power generation that is not affected by demand (always on). */
5710
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5711
+ total: Scalars["Float"];
5712
+ /** Average base regional electricity emissions intensity in unit CO2e/kWh. */
5713
+ average_base_regional_value: Scalars["Float"];
5714
+ /** Total electricity intensity used for iso 14083:2023 scope emissions estimate in unit CO2e/kWh. */
5715
+ iso_14083_2023: Scalars["Float"];
5716
+ /** Average electricity mix for the route. */
5717
+ energy_sources: RouteOperationalElectricityEnergySources;
5718
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5719
+ infrastructure: Scalars["Float"];
5720
+ /** Average electricity demand at the time of route charges as a fraction of the annual average demand. */
5721
+ average_demand: Scalars["Float"];
5722
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
4903
5723
  base_load_fraction: Scalars["Float"];
4904
5724
  };
4905
5725
 
4906
- export type RouteOperationalElectricityEmissionsIntensitytotal_electricity_intensityArgs = {
5726
+ /** Electricity emission intensity for the route */
5727
+ export type RouteOperationalElectricityEmissionsIntensitytotalArgs = {
5728
+ unit?: Maybe<EmissionUnit>;
5729
+ };
5730
+
5731
+ /** Electricity emission intensity for the route */
5732
+ export type RouteOperationalElectricityEmissionsIntensityaverage_base_regional_valueArgs = {
4907
5733
  unit?: Maybe<EmissionUnit>;
4908
5734
  };
4909
5735
 
4910
- export type RouteOperationalElectricityEmissionsIntensitybase_electricity_intensityArgs = {
5736
+ /** Electricity emission intensity for the route */
5737
+ export type RouteOperationalElectricityEmissionsIntensityiso_14083_2023Args = {
4911
5738
  unit?: Maybe<EmissionUnit>;
4912
5739
  };
4913
5740
 
4914
- export type RouteOperationalElectricityEmissionsIntensityelectricity_infrastructure_intensityArgs = {
5741
+ /** Electricity emission intensity for the route */
5742
+ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
4915
5743
  unit?: Maybe<EmissionUnit>;
4916
5744
  };
4917
5745
 
5746
+ export type RouteOperationalElectricityEnergySources = {
5747
+ /** Electricity produced by coal power plants. */
5748
+ coal: ElectricityGenerationMethod;
5749
+ /** Electricity produced by natural gas power plants. */
5750
+ gas: ElectricityGenerationMethod;
5751
+ /** Electricity produced by hydroelectric power. */
5752
+ hydro: ElectricityGenerationMethod;
5753
+ /** Electricity produced by solar power. */
5754
+ solar: ElectricityGenerationMethod;
5755
+ /** Electricity produced by wind power. */
5756
+ wind: ElectricityGenerationMethod;
5757
+ /** Electricity produced by oil power plants. */
5758
+ oil: ElectricityGenerationMethod;
5759
+ /** Electricity produced by nuclear power plants. */
5760
+ nuclear: ElectricityGenerationMethod;
5761
+ /** Electricity produced by biofuel/biomass. */
5762
+ biofuel: ElectricityGenerationMethod;
5763
+ /** Electricity produced by geothermal power plants. */
5764
+ geothermal: ElectricityGenerationMethod;
5765
+ /** Electricity produced by other means. */
5766
+ other: ElectricityGenerationMethod;
5767
+ };
5768
+
4918
5769
  /** Yearly seasons. */
4919
5770
  export enum RouteOperationalElectricitySeason {
4920
5771
  /** Winter season. */
@@ -4927,56 +5778,17 @@ export enum RouteOperationalElectricitySeason {
4927
5778
  FALL = "fall"
4928
5779
  }
4929
5780
 
4930
- export type RouteOperationalFluidEmissions = {
4931
- /** Total fluid. */
4932
- total: Scalars["Float"];
4933
- /** Total wiper fluid maintenance emissions. */
4934
- wiper: Scalars["Float"];
4935
- /** Total brake fluid maintenance emissions. */
4936
- brake: Scalars["Float"];
4937
- /** Total powertrain coolant fluid maintenance emissions. */
4938
- coolant: Scalars["Float"];
4939
- /** Total transmission fluid maintenance emissions. */
4940
- transmission: Scalars["Float"];
4941
- /** Total motor oil maintenance emissions. */
4942
- motor_oil?: Maybe<Scalars["Float"]>;
4943
- };
4944
-
4945
- export type RouteOperationalFluidEmissionstotalArgs = {
4946
- unit?: Maybe<EmissionUnit>;
4947
- };
4948
-
4949
- export type RouteOperationalFluidEmissionswiperArgs = {
4950
- unit?: Maybe<EmissionUnit>;
4951
- };
4952
-
4953
- export type RouteOperationalFluidEmissionsbrakeArgs = {
4954
- unit?: Maybe<EmissionUnit>;
4955
- };
4956
-
4957
- export type RouteOperationalFluidEmissionscoolantArgs = {
4958
- unit?: Maybe<EmissionUnit>;
4959
- };
4960
-
4961
- export type RouteOperationalFluidEmissionstransmissionArgs = {
4962
- unit?: Maybe<EmissionUnit>;
4963
- };
4964
-
4965
- export type RouteOperationalFluidEmissionsmotor_oilArgs = {
4966
- unit?: Maybe<EmissionUnit>;
4967
- };
4968
-
4969
5781
  export type RouteOperationalFuelEmissions = {
4970
- /** Total fuel for the route. */
5782
+ /** Total fuel emissions for the route. */
4971
5783
  total: Scalars["Float"];
4972
- /** Direct (tank to wheels) emissions of the fuel. */
4973
- direct_emissions: Scalars["Float"];
4974
- /** Indirect (well to tank) emissions of the fuel. */
4975
- indirect_emissions: Scalars["Float"];
4976
- /** Fuel consumption for the route in litres. */
4977
- fuel_consumption: Scalars["Float"];
5784
+ /** Direct (tank to wheels) fuel emissions for the route. */
5785
+ direct: Scalars["Float"];
5786
+ /** Indirect (well to tank) fuel emissions for the route. */
5787
+ indirect: Scalars["Float"];
5788
+ /** Total fuel consumption for the route. */
5789
+ consumption: Scalars["Float"];
4978
5790
  /** Estimated internal combustion vehicle weight. */
4979
- weight: Scalars["Float"];
5791
+ vehicle_weight: Scalars["Float"];
4980
5792
  /** Estimated internal combustion vehicle engine torque. */
4981
5793
  engine_torque: Scalars["Float"];
4982
5794
  /** Average powertrain efficiency. */
@@ -4993,19 +5805,19 @@ export type RouteOperationalFuelEmissionstotalArgs = {
4993
5805
  unit?: Maybe<EmissionUnit>;
4994
5806
  };
4995
5807
 
4996
- export type RouteOperationalFuelEmissionsdirect_emissionsArgs = {
5808
+ export type RouteOperationalFuelEmissionsdirectArgs = {
4997
5809
  unit?: Maybe<EmissionUnit>;
4998
5810
  };
4999
5811
 
5000
- export type RouteOperationalFuelEmissionsindirect_emissionsArgs = {
5812
+ export type RouteOperationalFuelEmissionsindirectArgs = {
5001
5813
  unit?: Maybe<EmissionUnit>;
5002
5814
  };
5003
5815
 
5004
- export type RouteOperationalFuelEmissionsfuel_consumptionArgs = {
5816
+ export type RouteOperationalFuelEmissionsconsumptionArgs = {
5005
5817
  unit?: Maybe<FuelUnit>;
5006
5818
  };
5007
5819
 
5008
- export type RouteOperationalFuelEmissionsweightArgs = {
5820
+ export type RouteOperationalFuelEmissionsvehicle_weightArgs = {
5009
5821
  unit?: Maybe<WeightUnit>;
5010
5822
  };
5011
5823
 
@@ -5026,11 +5838,11 @@ export enum RouteOperationalFuelType {
5026
5838
  }
5027
5839
 
5028
5840
  export type RouteOperationalInfrastructureEmissions = {
5029
- /** Total infrastructure. */
5841
+ /** Total road infrastructure emissions. */
5030
5842
  total: Scalars["Float"];
5031
- /** Embedded (construction, decommissioning, etc) emissions cost. */
5843
+ /** Embedded (construction, decommissioning, etc) road infrastructure emissions. */
5032
5844
  embedded: Scalars["Float"];
5033
- /** Induced maintenance emissions. */
5845
+ /** Induced road infrastructure maintenance emissions. */
5034
5846
  maintenance: Scalars["Float"];
5035
5847
  };
5036
5848
 
@@ -5047,10 +5859,10 @@ export type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
5047
5859
  };
5048
5860
 
5049
5861
  export type RouteOperationalMaintenanceEmissions = {
5050
- /** Total maintenance. */
5862
+ /** Total maintenance emissions. */
5051
5863
  total: Scalars["Float"];
5052
- /** Total fluid related maintenance emissions. */
5053
- fluids: RouteOperationalFluidEmissions;
5864
+ /** Fluid related maintenance emissions. */
5865
+ fluids: FluidEmissions;
5054
5866
  /** Battery related maintenance emissions. */
5055
5867
  battery: Scalars["Float"];
5056
5868
  /** Tire related maintenance emissions. */
@@ -5081,6 +5893,71 @@ export type RouteOperationalMaintenanceEmissionsrepairArgs = {
5081
5893
  unit?: Maybe<EmissionUnit>;
5082
5894
  };
5083
5895
 
5896
+ export type RouteOperatorPreferences = {
5897
+ /** Flag indicating if an operator should be preferred or required. */
5898
+ type?: Maybe<RouteOperatorsType>;
5899
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5900
+ ranking?: Maybe<RouteOperatorPreferencesRanking>;
5901
+ /** Route operators that should be excluded. */
5902
+ exclude?: Maybe<Array<RouteOperatorsValue>>;
5903
+ };
5904
+
5905
+ /** Prioritized operators for a route calculation. */
5906
+ export type RouteOperatorPreferencesInput = {
5907
+ /** Flag indicating if the operators ranking should be preferred or required. */
5908
+ type: RouteOperatorsType;
5909
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5910
+ ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5911
+ /** Route operators that should be excluded. */
5912
+ exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5913
+ };
5914
+
5915
+ export type RouteOperatorPreferencesRanking = {
5916
+ /** Level one (most significant) for operator ranking. */
5917
+ level_one?: Maybe<Array<RouteOperatorsValue>>;
5918
+ /** Level two for operator ranking. */
5919
+ level_two?: Maybe<Array<RouteOperatorsValue>>;
5920
+ /** Level three for operator ranking. */
5921
+ level_three?: Maybe<Array<RouteOperatorsValue>>;
5922
+ /** Level four for operator ranking. */
5923
+ level_four?: Maybe<Array<RouteOperatorsValue>>;
5924
+ /** Level five for operator ranking. */
5925
+ level_five?: Maybe<Array<RouteOperatorsValue>>;
5926
+ /** Level six for operator ranking. */
5927
+ level_six?: Maybe<Array<RouteOperatorsValue>>;
5928
+ /** Level seven for operator ranking. */
5929
+ level_seven?: Maybe<Array<RouteOperatorsValue>>;
5930
+ /** Level eight for operator ranking. */
5931
+ level_eight?: Maybe<Array<RouteOperatorsValue>>;
5932
+ /** Level nine for operator ranking. */
5933
+ level_nine?: Maybe<Array<RouteOperatorsValue>>;
5934
+ /** Level ten for operator ranking. */
5935
+ level_ten?: Maybe<Array<RouteOperatorsValue>>;
5936
+ };
5937
+
5938
+ export type RouteOperatorPreferencesRankingInput = {
5939
+ /** Level one (most significant) for operator ranking. */
5940
+ level_one?: Maybe<Array<RouteOperatorsValueInput>>;
5941
+ /** Level two for operator ranking. */
5942
+ level_two?: Maybe<Array<RouteOperatorsValueInput>>;
5943
+ /** Level three for operator ranking. */
5944
+ level_three?: Maybe<Array<RouteOperatorsValueInput>>;
5945
+ /** Level four for operator ranking. */
5946
+ level_four?: Maybe<Array<RouteOperatorsValueInput>>;
5947
+ /** Level five for operator ranking. */
5948
+ level_five?: Maybe<Array<RouteOperatorsValueInput>>;
5949
+ /** Level six for operator ranking. */
5950
+ level_six?: Maybe<Array<RouteOperatorsValueInput>>;
5951
+ /** Level seven for operator ranking. */
5952
+ level_seven?: Maybe<Array<RouteOperatorsValueInput>>;
5953
+ /** Level eight for operator ranking. */
5954
+ level_eight?: Maybe<Array<RouteOperatorsValueInput>>;
5955
+ /** Level nine for operator ranking. */
5956
+ level_nine?: Maybe<Array<RouteOperatorsValueInput>>;
5957
+ /** Level ten (least significant) for operator ranking. */
5958
+ level_ten?: Maybe<Array<RouteOperatorsValueInput>>;
5959
+ };
5960
+
5084
5961
  /** Prioritized operators for a route calculation. */
5085
5962
  export type RouteOperators = {
5086
5963
  /** Flag indicating if the operators ranking should be preferred or required. */
@@ -5151,7 +6028,7 @@ export type RouteOperatorsRankingInput = {
5151
6028
 
5152
6029
  /** Type of operator prioritization for a route. */
5153
6030
  export enum RouteOperatorsType {
5154
- /** Default option. Operators ranking will not be taken into account if no type is given. */
6031
+ /** Operators ranking will not be taken into account if no type is given. */
5155
6032
  NONE = "none",
5156
6033
  /** Operators given in the operators ranking will be preferred when calculating routes. */
5157
6034
  PREFERRED = "preferred",
@@ -5159,6 +6036,54 @@ export enum RouteOperatorsType {
5159
6036
  REQUIRED = "required"
5160
6037
  }
5161
6038
 
6039
+ export type RouteOperatorsValue = {
6040
+ /** ID of an operator. */
6041
+ id: Scalars["ID"];
6042
+ /** List of country codes. */
6043
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
6044
+ };
6045
+
6046
+ export type RouteOperatorsValueInput = {
6047
+ /** ID of an operator. */
6048
+ id: Scalars["ID"];
6049
+ /** List of countries in which the operator should be excluded. When not specified the operator will be excluded in every country. */
6050
+ countries: Array<CountryCodeAlpha2>;
6051
+ };
6052
+
6053
+ export type RouteOriginFeaturePoint = {
6054
+ /** Feature type. */
6055
+ type: FeatureType;
6056
+ /** Geometry of the feature. */
6057
+ geometry: Point;
6058
+ /** Optional object where additional properties can be specified. */
6059
+ properties?: Maybe<RouteOriginProperties>;
6060
+ };
6061
+
6062
+ export type RouteOriginFeaturePointInput = {
6063
+ /** Feature type. */
6064
+ type: FeatureType;
6065
+ /** Geometry of the feature. */
6066
+ geometry: PointInput;
6067
+ /** Optional object where additional properties can be specified. */
6068
+ properties?: Maybe<RouteOriginPropertiesInput>;
6069
+ };
6070
+
6071
+ export type RouteOriginProperties = {
6072
+ /** Data about the origin location. */
6073
+ location?: Maybe<RoutePropertiesLocation>;
6074
+ /** Vehicle data at the origin location. */
6075
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6076
+ };
6077
+
6078
+ export type RouteOriginPropertiesInput = {
6079
+ /** Data about the origin location. */
6080
+ location?: Maybe<RoutePropertiesLocationInput>;
6081
+ /** Vehicle data at the origin location. */
6082
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6083
+ /** Station data at the origin location. */
6084
+ station?: Maybe<RoutePropertiesStationInput>;
6085
+ };
6086
+
5162
6087
  export type RoutePath = {
5163
6088
  /** GeoJSON location of a route path segment. */
5164
6089
  location?: Maybe<Point>;
@@ -5180,6 +6105,75 @@ export type RoutePath = {
5180
6105
  stateOfCharge?: Maybe<Scalars["Float"]>;
5181
6106
  };
5182
6107
 
6108
+ export type RoutePropertiesLocation = {
6109
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6110
+ name?: Maybe<Scalars["String"]>;
6111
+ /** Duration to stay at this point. */
6112
+ stop_duration?: Maybe<Scalars["Int"]>;
6113
+ /** Temperature. */
6114
+ temperature?: Maybe<Scalars["Float"]>;
6115
+ /** Air pressure. */
6116
+ air_pressure?: Maybe<Scalars["Float"]>;
6117
+ /** Solar irradiance. */
6118
+ solar_irradiance?: Maybe<Scalars["Float"]>;
6119
+ /** Country. */
6120
+ country?: Maybe<Array<CountryCodeAlpha2>>;
6121
+ };
6122
+
6123
+ export type RoutePropertiesLocationInput = {
6124
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6125
+ name?: Maybe<Scalars["String"]>;
6126
+ /** Duration to stay at this point. */
6127
+ stop_duration?: Maybe<Scalars["Int"]>;
6128
+ };
6129
+
6130
+ export type RoutePropertiesStation = {
6131
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6132
+ station_id?: Maybe<Scalars["ID"]>;
6133
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6134
+ external_station_id?: Maybe<Scalars["ID"]>;
6135
+ };
6136
+
6137
+ export type RoutePropertiesStationInput = {
6138
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6139
+ station_id?: Maybe<Scalars["ID"]>;
6140
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6141
+ external_station_id?: Maybe<Scalars["ID"]>;
6142
+ };
6143
+
6144
+ export type RoutePropertiesVehicle = {
6145
+ /** Number of occupants present in the vehicle. */
6146
+ occupants?: Maybe<Scalars["Int"]>;
6147
+ /** Combined weight of the occupants. */
6148
+ total_occupant_weight?: Maybe<TotalOccupantWeight>;
6149
+ /** Weight of the cargo. */
6150
+ total_cargo_weight?: Maybe<TotalCargoWeight>;
6151
+ };
6152
+
6153
+ export type RoutePropertiesVehicleInput = {
6154
+ /** Number of occupants present in the vehicle. */
6155
+ occupants?: Maybe<Scalars["Int"]>;
6156
+ /** Combined weight of the occupants. */
6157
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
6158
+ /** Weight of the cargo. */
6159
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
6160
+ };
6161
+
6162
+ export type RouteResponse = {
6163
+ /** ID of a route calculation. */
6164
+ id: Scalars["ID"];
6165
+ /** Status of a route. */
6166
+ status: RouteStatus;
6167
+ /** Recommended route. */
6168
+ recommended?: Maybe<RouteDetails>;
6169
+ /** Meta data for a route. */
6170
+ meta: RouteMetadata;
6171
+ /** Route request. */
6172
+ request_input: CreateRoute;
6173
+ /** Region of a route calculation. */
6174
+ region: Scalars["String"];
6175
+ };
6176
+
5183
6177
  /** Scheduled charge stop along a route. */
5184
6178
  export type RouteScheduledChargeStop = {
5185
6179
  /** List of amenity types. */
@@ -5227,7 +6221,7 @@ export enum RouteStatus {
5227
6221
  PROCESSING = "processing",
5228
6222
  /** We finished computing the route, with a result. Final status. */
5229
6223
  DONE = "done",
5230
- /** We finished the computing the route, without any result. Final status. */
6224
+ /** We finished computing the route, without any result. Final status. */
5231
6225
  NOT_FOUND = "not_found",
5232
6226
  /** An error occurred while computing the route. Final status. */
5233
6227
  ERROR = "error"
@@ -5262,16 +6256,142 @@ export enum RouteTagType {
5262
6256
  CROSSBORDER = "crossborder"
5263
6257
  }
5264
6258
 
6259
+ export type RouteVehicle = {
6260
+ /** ID of the vehicle. */
6261
+ id: Scalars["ID"];
6262
+ /** EV battery specific configuration. */
6263
+ battery?: Maybe<RouteVehicleBattery>;
6264
+ /** Charging configuration. */
6265
+ charging?: Maybe<RouteVehicleCharging>;
6266
+ /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
6267
+ tire_pressure?: Maybe<TirePressure>;
6268
+ /** Value of the vehicle's odometer. */
6269
+ odometer?: Maybe<Scalars["Float"]>;
6270
+ /** Value of the auxiliary power consumption of the vehicle. */
6271
+ auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
6272
+ /** Flag which indicates if climate control is on. */
6273
+ climate?: Maybe<Scalars["Boolean"]>;
6274
+ /** Vehicle Heat Pump configuration. */
6275
+ heat_pump: HeatPumpMode;
6276
+ /** Vehicle cabin configuration. */
6277
+ cabin: RouteVehicleCabin;
6278
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6279
+ motor_rpm?: Maybe<Scalars["Int"]>;
6280
+ /** Value of the outside temperature. */
6281
+ outside_temperature?: Maybe<Temperature>;
6282
+ /** Vehicle is in park, neutral or turned off. */
6283
+ is_parked?: Maybe<Scalars["Boolean"]>;
6284
+ /** Value of the vehicle's speed. */
6285
+ vehicle_speed?: Maybe<VehicleSpeed>;
6286
+ /** Current heading in degrees. */
6287
+ heading?: Maybe<Scalars["Float"]>;
6288
+ };
6289
+
6290
+ export type RouteVehicleBattery = {
6291
+ /** Battery capacity. */
6292
+ capacity: StateOfCharge;
6293
+ /** State of charge. */
6294
+ state_of_charge: StateOfCharge;
6295
+ /** Minimum final battery state of charge. */
6296
+ final_state_of_charge: StateOfCharge;
6297
+ /** Temperature of the battery. */
6298
+ temperature?: Maybe<Temperature>;
6299
+ /** Battery current in ampere. */
6300
+ current?: Maybe<Scalars["Float"]>;
6301
+ /** Battery voltage in volts. */
6302
+ voltage?: Maybe<Scalars["Float"]>;
6303
+ /** Value of the positive or negative power. When negative, the vehicle is charging. */
6304
+ power?: Maybe<Scalars["Float"]>;
6305
+ /** Indicates if the vehicle is charging. */
6306
+ is_charging?: Maybe<Scalars["Boolean"]>;
6307
+ };
6308
+
6309
+ /** EV battery specific configuration for a create route mutation. */
6310
+ export type RouteVehicleBatteryInput = {
6311
+ /** Battery capacity. */
6312
+ capacity?: Maybe<StateOfChargeInput>;
6313
+ /** Battery state of charge. */
6314
+ state_of_charge?: Maybe<StateOfChargeInput>;
6315
+ /** Minimum battery state of charge. */
6316
+ final_state_of_charge?: Maybe<StateOfChargeInput>;
6317
+ /** Battery temperature. */
6318
+ temperature?: Maybe<BatteryTemperatureInput>;
6319
+ /** Battery current in ampere. */
6320
+ current?: Maybe<Scalars["Float"]>;
6321
+ /** Battery voltage in volts. */
6322
+ voltage?: Maybe<Scalars["Float"]>;
6323
+ /** Vehicle power. */
6324
+ power?: Maybe<Scalars["Float"]>;
6325
+ /** Vehicle is currently charging. */
6326
+ is_charging?: Maybe<Scalars["Boolean"]>;
6327
+ };
6328
+
6329
+ export type RouteVehicleCabin = {
6330
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6331
+ is_preconditioned: Scalars["Boolean"];
6332
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6333
+ desired_temperature: Temperature;
6334
+ };
6335
+
6336
+ export type RouteVehicleCabinInput = {
6337
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6338
+ is_preconditioned?: Scalars["Boolean"];
6339
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6340
+ desired_temperature: TemperatureInput;
6341
+ };
6342
+
6343
+ export type RouteVehicleCharging = {
6344
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6345
+ mode: ChargeMode;
6346
+ /** Minimum desired power of chargers. */
6347
+ minimum_power: Scalars["Int"];
6348
+ /** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
6349
+ risk_margin: Scalars["Int"];
6350
+ /** Supported connectors. */
6351
+ connectors?: Maybe<Array<RouteVehicleChargingConnector>>;
6352
+ /** Supported adapters. */
6353
+ adapters?: Maybe<Array<RouteVehicleChargingConnector>>;
6354
+ };
6355
+
6356
+ export type RouteVehicleChargingConnector = {
6357
+ /** Type of the plug. */
6358
+ standard: ConnectorType;
6359
+ /** Maximum charging speed for the plug. */
6360
+ max_charge_speed: ChargeSpeed;
6361
+ };
6362
+
6363
+ export type RouteVehicleChargingConnectorInput = {
6364
+ /** Plug type. */
6365
+ standard: ConnectorType;
6366
+ /** Maximum charging speed for this plug. */
6367
+ max_charge_speed: ChargeSpeedInput;
6368
+ };
6369
+
6370
+ export type RouteVehicleChargingInput = {
6371
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6372
+ mode?: Maybe<ChargeMode>;
6373
+ /** Minimum desired power of chargers. */
6374
+ minimum_power?: Maybe<Scalars["Float"]>;
6375
+ /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
6376
+ risk_margin?: Maybe<Scalars["Int"]>;
6377
+ /** Supported connectors. */
6378
+ connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6379
+ /** Supported adapters. */
6380
+ adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6381
+ };
6382
+
5265
6383
  export type RouteVehicleEmissions = {
5266
6384
  /** Total co2e emissions. */
5267
6385
  total: Scalars["Float"];
5268
- /** Embedded emissions. */
6386
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
6387
+ iso_14083_2023: Scalars["Float"];
6388
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5269
6389
  embedded: RouteEmbeddedEmissions;
5270
6390
  /** Operational emissions. */
5271
6391
  operational: RouteVehicleOperationalEmissions;
5272
6392
  /** End of life emissions. */
5273
6393
  end_of_life: RouteEndOfLifeEmissions;
5274
- /** Emissions info for the legs in the order as within the route. */
6394
+ /** Emissions info for the legs in the same order as in the route. */
5275
6395
  legs: Array<RouteVehicleLegEmissions>;
5276
6396
  };
5277
6397
 
@@ -5279,13 +6399,49 @@ export type RouteVehicleEmissionstotalArgs = {
5279
6399
  unit?: Maybe<EmissionUnit>;
5280
6400
  };
5281
6401
 
6402
+ export type RouteVehicleEmissionsiso_14083_2023Args = {
6403
+ unit?: Maybe<EmissionUnit>;
6404
+ };
6405
+
6406
+ /** Vehicle specific input for a create route mutation. */
6407
+ export type RouteVehicleInput = {
6408
+ /** ID of the vehicle. */
6409
+ id: Scalars["ID"];
6410
+ /** EV battery specific configuration. */
6411
+ battery?: Maybe<RouteVehicleBatteryInput>;
6412
+ /** Charging configuration. */
6413
+ charging?: Maybe<RouteVehicleChargingInput>;
6414
+ /** Average tire pressures of all wheels. */
6415
+ tire_pressure?: Maybe<TirePressureInput>;
6416
+ /** Odometer (mileage) reading. */
6417
+ odometer?: Maybe<OdometerInput>;
6418
+ /** Average auxiliary power consumption. */
6419
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
6420
+ /** Flag which indicates if climate control is on. */
6421
+ climate?: Maybe<Scalars["Boolean"]>;
6422
+ /** Vehicle Heat Pump configuration. */
6423
+ heat_pump?: Maybe<HeatPumpMode>;
6424
+ /** Vehicle cabin configuration for creating the route. */
6425
+ cabin?: Maybe<RouteVehicleCabinInput>;
6426
+ /** Outside temperature. */
6427
+ outside_temperature?: Maybe<OutsideTemperatureInput>;
6428
+ /** Vehicle is in park, neutral or turned off. */
6429
+ is_parked?: Maybe<Scalars["Boolean"]>;
6430
+ /** Vehicle speed. */
6431
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
6432
+ /** Current heading in degrees. */
6433
+ heading?: Maybe<Scalars["Float"]>;
6434
+ };
6435
+
5282
6436
  export type RouteVehicleLegEmissions = {
5283
6437
  /** Total co2e emissions for the leg. */
5284
6438
  total: Scalars["Float"];
5285
- /** Embedded emissions for the leg. */
6439
+ /** Total leg co2e emissions from vehicle operational processes using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
6440
+ iso_14083_2023: Scalars["Float"];
6441
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5286
6442
  embedded: RouteEmbeddedEmissions;
5287
6443
  /** Operational emissions for the leg. */
5288
- operational: RouteVehicleOperationalEmissions;
6444
+ operational: RouteVehicleLegOperationalEmissions;
5289
6445
  /** End of life emissions for the leg. */
5290
6446
  end_of_life: RouteEndOfLifeEmissions;
5291
6447
  };
@@ -5294,14 +6450,33 @@ export type RouteVehicleLegEmissionstotalArgs = {
5294
6450
  unit?: Maybe<EmissionUnit>;
5295
6451
  };
5296
6452
 
6453
+ export type RouteVehicleLegEmissionsiso_14083_2023Args = {
6454
+ unit?: Maybe<EmissionUnit>;
6455
+ };
6456
+
6457
+ export type RouteVehicleLegOperationalEmissions = {
6458
+ /** Total operational emissions for the leg. */
6459
+ total: Scalars["Float"];
6460
+ /** Electricity emissions data for the leg. */
6461
+ electricity: RouteLegOperationalElectricityEmissions;
6462
+ /** Total road infrastructure emissions for the leg. */
6463
+ infrastructure: RouteOperationalInfrastructureEmissions;
6464
+ /** Total maintenance emissions for the leg. */
6465
+ maintenance: RouteOperationalMaintenanceEmissions;
6466
+ };
6467
+
6468
+ export type RouteVehicleLegOperationalEmissionstotalArgs = {
6469
+ unit?: Maybe<EmissionUnit>;
6470
+ };
6471
+
5297
6472
  export type RouteVehicleOperationalEmissions = {
5298
6473
  /** Total operational emissions. */
5299
6474
  total: Scalars["Float"];
5300
- /** Electricity emissions data. */
6475
+ /** Electricity emissions. */
5301
6476
  electricity: RouteOperationalElectricityEmissions;
5302
- /** Total road infrastructure emissions. */
6477
+ /** Road infrastructure emissions. */
5303
6478
  infrastructure: RouteOperationalInfrastructureEmissions;
5304
- /** Total maintenance emissions. */
6479
+ /** Maintenance emissions. */
5305
6480
  maintenance: RouteOperationalMaintenanceEmissions;
5306
6481
  };
5307
6482
 
@@ -5309,17 +6484,53 @@ export type RouteVehicleOperationalEmissionstotalArgs = {
5309
6484
  unit?: Maybe<EmissionUnit>;
5310
6485
  };
5311
6486
 
6487
+ export type RouteViaFeaturePoint = {
6488
+ /** Feature type. */
6489
+ type: FeatureType;
6490
+ /** Geometry of the feature. */
6491
+ geometry: Point;
6492
+ /** Optional object where additional properties can be specified. */
6493
+ properties?: Maybe<RouteViaProperties>;
6494
+ };
6495
+
6496
+ export type RouteViaFeaturePointInput = {
6497
+ /** Feature type. */
6498
+ type: FeatureType;
6499
+ /** Geometry of the feature. */
6500
+ geometry: PointInput;
6501
+ /** Optional object where additional properties can be specified. */
6502
+ properties?: Maybe<RouteViaPropertiesInput>;
6503
+ };
6504
+
6505
+ export type RouteViaProperties = {
6506
+ /** Location data of the via point. */
6507
+ location: RoutePropertiesLocation;
6508
+ /** Vehicle data of the via point. */
6509
+ vehicle: RoutePropertiesVehicle;
6510
+ /** Station data of the via point. */
6511
+ station: RoutePropertiesStation;
6512
+ };
6513
+
6514
+ export type RouteViaPropertiesInput = {
6515
+ /** Location data of the via point. */
6516
+ location: RoutePropertiesLocationInput;
6517
+ /** Vehicle data of the via point. */
6518
+ vehicle: RoutePropertiesVehicleInput;
6519
+ /** Station data of the via point. */
6520
+ station: RoutePropertiesStationInput;
6521
+ };
6522
+
5312
6523
  /** Scheduled charge stop along a route. */
5313
6524
  export type ScheduledChargeStopInput = {
5314
6525
  /** List of amenity types. */
5315
6526
  types: Array<AmenityType>;
5316
6527
  /** Duration at the amenity, in seconds. The value should be between 900 and 86400. */
5317
6528
  duration: Scalars["Int"];
5318
- /** Maximum allowed offset from the stop_after value in seconds. Default is 1800. */
6529
+ /** Maximum allowed offset from the stop_after value in seconds. */
5319
6530
  offset?: Maybe<Scalars["Int"]>;
5320
6531
  /** Desired drive time for a scheduled stop after leaving the origin point, in seconds. */
5321
6532
  stop_after: Scalars["Int"];
5322
- /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. Default is 1000. */
6533
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
5323
6534
  max_distance_from_station?: Maybe<Scalars["Int"]>;
5324
6535
  };
5325
6536
 
@@ -5328,6 +6539,7 @@ export enum SortDirection {
5328
6539
  DESCENDING = "descending"
5329
6540
  }
5330
6541
 
6542
+ /** Speed units. */
5331
6543
  export enum SpeedUnit {
5332
6544
  /** Return the speed in kilometers per hour. */
5333
6545
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -5343,15 +6555,25 @@ export type StandardStats = {
5343
6555
  total?: Maybe<Scalars["Int"]>;
5344
6556
  };
5345
6557
 
6558
+ export type StateOfCharge = {
6559
+ /** Value of the state of charge of the vehicle. */
6560
+ value: Scalars["Float"];
6561
+ /** Type of the state of charge of the vehicle. */
6562
+ type: StateOfChargeUnit;
6563
+ /** Source of inputted data. */
6564
+ source: TelemetryInputSource;
6565
+ };
6566
+
5346
6567
  export type StateOfChargeInput = {
5347
6568
  /** Value of the state of charge of the vehicle. */
5348
6569
  value: Scalars["Float"];
5349
6570
  /** Type of the state of charge of the vehicle. */
5350
6571
  type: StateOfChargeUnit;
5351
6572
  /** Source of inputted data, defaults to 'manual'. */
5352
- source?: Maybe<TelemetryInputSource>;
6573
+ source?: TelemetryInputSource;
5353
6574
  };
5354
6575
 
6576
+ /** State of charge unit. */
5355
6577
  export enum StateOfChargeUnit {
5356
6578
  /** Return the state of charge in kilometers. */
5357
6579
  KILOMETER = "kilometer",
@@ -5522,7 +6744,7 @@ export type StationAroundFilter = {
5522
6744
  location?: Maybe<PointInput>;
5523
6745
  /** Distance, in meters, to search around. */
5524
6746
  distance?: Maybe<Scalars["Int"]>;
5525
- /** Powers in kWh. */
6747
+ /** Powers in kW. */
5526
6748
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5527
6749
  /** Amenities available near a station. */
5528
6750
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5542,7 +6764,7 @@ export type StationAroundQuery = {
5542
6764
  location?: Maybe<PointInput>;
5543
6765
  /** Distance, in meters, to search around. */
5544
6766
  distance?: Maybe<Scalars["Int"]>;
5545
- /** Power in kWh. */
6767
+ /** Power in kW. */
5546
6768
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5547
6769
  /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park. */
5548
6770
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
@@ -5642,7 +6864,7 @@ export type StationHeavyVehiclesRestrictionsmassArgs = {
5642
6864
 
5643
6865
  /** Filter which can be applied to retrieve the station list action. */
5644
6866
  export type StationListFilter = {
5645
- /** Powers in kWh. */
6867
+ /** Powers in kW. */
5646
6868
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5647
6869
  /** Amenities available near a station. */
5648
6870
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5709,11 +6931,11 @@ export type StationRoaming = {
5709
6931
 
5710
6932
  /** The station speed type. */
5711
6933
  export enum StationSpeedType {
5712
- /** Slow charging (below 43 kWh). */
6934
+ /** Slow charging (below 43 kW). */
5713
6935
  SLOW = "slow",
5714
- /** Fast charging stations (above 43 kWh and below 150 kWh). */
6936
+ /** Fast charging stations (above 43 kW and below 150 kW). */
5715
6937
  FAST = "fast",
5716
- /** Ultra fast charging stations (above 150 kWh). */
6938
+ /** Ultra fast charging stations (above 150 kW). */
5717
6939
  TURBO = "turbo"
5718
6940
  }
5719
6941
 
@@ -5784,6 +7006,8 @@ export type Subscription = {
5784
7006
  navigationUpdatedById?: Maybe<Navigation>;
5785
7007
  /** Subscription for a specific route was updated in the system event */
5786
7008
  routeUpdatedById?: Maybe<Route>;
7009
+ /** [BETA] Subscription for a specific route was updated in the system event */
7010
+ route: RouteResponse;
5787
7011
  };
5788
7012
 
5789
7013
  export type SubscriptionconnectedVehicleArgs = {
@@ -5802,6 +7026,10 @@ export type SubscriptionrouteUpdatedByIdArgs = {
5802
7026
  id: Scalars["ID"];
5803
7027
  };
5804
7028
 
7029
+ export type SubscriptionrouteArgs = {
7030
+ id: Scalars["ID"];
7031
+ };
7032
+
5805
7033
  export type Telemetry = {
5806
7034
  /** Value of the auxiliary power consumption of the vehicle. */
5807
7035
  auxiliary_consumption?: Maybe<Scalars["Float"]>;
@@ -5948,6 +7176,7 @@ export type TelemetryInput = {
5948
7176
  custom?: Maybe<Scalars["JSON"]>;
5949
7177
  };
5950
7178
 
7179
+ /** Telemetry input sources. */
5951
7180
  export enum TelemetryInputSource {
5952
7181
  /** Manually inputted value. */
5953
7182
  MANUAL = "manual",
@@ -5960,6 +7189,8 @@ export type Temperature = {
5960
7189
  value: Scalars["Float"];
5961
7190
  /** Type of temperature. */
5962
7191
  type: TemperatureUnit;
7192
+ /** Source of inputted data. */
7193
+ source: TelemetryInputSource;
5963
7194
  };
5964
7195
 
5965
7196
  export type TemperatureInput = {
@@ -5967,8 +7198,11 @@ export type TemperatureInput = {
5967
7198
  value: Scalars["Float"];
5968
7199
  /** Type of temperature. */
5969
7200
  type: TemperatureUnit;
7201
+ /** Source of inputted data. */
7202
+ source?: TelemetryInputSource;
5970
7203
  };
5971
7204
 
7205
+ /** Temperature unit. */
5972
7206
  export enum TemperatureUnit {
5973
7207
  /** Return the temperature in Celsius. */
5974
7208
  CELSIUS = "Celsius",
@@ -5976,13 +7210,22 @@ export enum TemperatureUnit {
5976
7210
  FAHRENHEIT = "Fahrenheit"
5977
7211
  }
5978
7212
 
7213
+ export type TirePressure = {
7214
+ /** Values for the tire pressure, starting from the front side right to left and to the rear (FR, FL, RL, RR). */
7215
+ value: Array<Scalars["Float"]>;
7216
+ /** Type of the value of pressure. */
7217
+ type: PressureUnit;
7218
+ /** Source of inputted data. */
7219
+ source: TelemetryInputSource;
7220
+ };
7221
+
5979
7222
  export type TirePressureInput = {
5980
7223
  /** Values for the tire pressure, starting from the front side right to left and to the rear. */
5981
7224
  value: Array<Scalars["Float"]>;
5982
7225
  /** Type of the value of pressure. */
5983
7226
  type: PressureUnit;
5984
7227
  /** Source of inputted data, defaults to 'manual'. */
5985
- source?: Maybe<TelemetryInputSource>;
7228
+ source?: TelemetryInputSource;
5986
7229
  };
5987
7230
 
5988
7231
  export enum TorqueUnit {
@@ -5992,13 +7235,31 @@ export enum TorqueUnit {
5992
7235
  FOOT_POUND = "foot_pound"
5993
7236
  }
5994
7237
 
7238
+ export type TotalCargoWeight = {
7239
+ /** Value of the current weight of the cargo. */
7240
+ value: Scalars["Float"];
7241
+ /** Type of the current weight of the cargo. */
7242
+ type: WeightUnit;
7243
+ /** Source of inputted data. */
7244
+ source: TelemetryInputSource;
7245
+ };
7246
+
5995
7247
  export type TotalCargoWeightInput = {
5996
7248
  /** Value of the current weight of the cargo. */
5997
7249
  value: Scalars["Float"];
5998
7250
  /** Type of the current weight of the cargo. */
5999
7251
  type: WeightUnit;
6000
7252
  /** Source of inputted data, defaults to 'manual'. */
6001
- source?: Maybe<TelemetryInputSource>;
7253
+ source?: TelemetryInputSource;
7254
+ };
7255
+
7256
+ export type TotalOccupantWeight = {
7257
+ /** Value of the current weight of the occupants. */
7258
+ value: Scalars["Float"];
7259
+ /** Type of the current weight of the occupants. */
7260
+ type: WeightUnit;
7261
+ /** Source of inputted data. */
7262
+ source: TelemetryInputSource;
6002
7263
  };
6003
7264
 
6004
7265
  export type TotalOccupantWeightInput = {
@@ -6007,7 +7268,7 @@ export type TotalOccupantWeightInput = {
6007
7268
  /** Type of the current weight of the occupants. */
6008
7269
  type: WeightUnit;
6009
7270
  /** Source of inputted data, defaults to 'manual'. */
6010
- source?: Maybe<TelemetryInputSource>;
7271
+ source?: TelemetryInputSource;
6011
7272
  };
6012
7273
 
6013
7274
  export enum TurningCircleUnit {
@@ -7261,7 +8522,7 @@ export type VehiclePremiumRoutingfuel_consumptionArgs = {
7261
8522
  };
7262
8523
 
7263
8524
  export type VehiclePremiumRoutingConsumption = {
7264
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
8525
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
7265
8526
  auxiliary?: Maybe<Scalars["Float"]>;
7266
8527
  /**
7267
8528
  * Consumption, in kWh, of the auxiliaries.
@@ -7417,13 +8678,22 @@ export type VehicleRouting = {
7417
8678
  fast_charging_support: Scalars["Boolean"];
7418
8679
  };
7419
8680
 
8681
+ export type VehicleSpeed = {
8682
+ /** Value of the vehicle speed. */
8683
+ value: Scalars["Float"];
8684
+ /** Type of the vehicle speed. */
8685
+ type: SpeedUnit;
8686
+ /** Source of inputted data. */
8687
+ source: TelemetryInputSource;
8688
+ };
8689
+
7420
8690
  export type VehicleSpeedInput = {
7421
8691
  /** Value of the vehicle speed. */
7422
8692
  value: Scalars["Float"];
7423
8693
  /** Type of the vehicle speed. */
7424
8694
  type: SpeedUnit;
7425
8695
  /** Source of inputted data, defaults to 'manual'. */
7426
- source?: Maybe<TelemetryInputSource>;
8696
+ source?: TelemetryInputSource;
7427
8697
  };
7428
8698
 
7429
8699
  /** Status of a vehicle. */
@@ -7517,6 +8787,7 @@ export enum VolumeUnit {
7517
8787
  CUBIC_FOOT = "cubic_foot"
7518
8788
  }
7519
8789
 
8790
+ /** Weight unit. */
7520
8791
  export enum WeightUnit {
7521
8792
  /** Return the weight in kilograms. */
7522
8793
  KILOGRAM = "kilogram",