@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.
@@ -175,14 +175,23 @@ export declare type AuthorizeConnectedVehicleOptions = {
175
175
  /** OAuth code returned as a query parameter on the OAuth callback */
176
176
  code?: Maybe<Scalars["PlainString"]>;
177
177
  };
178
+ export declare type AuxiliaryConsumption = {
179
+ /** Value of the auxiliary power consumption of the vehicle. */
180
+ value: Scalars["Float"];
181
+ /** Type of auxiliary power consumption of the vehicle. */
182
+ type: AuxiliaryConsumptionUnit;
183
+ /** Source of inputted data. */
184
+ source: TelemetryInputSource;
185
+ };
178
186
  export declare type AuxiliaryConsumptionInput = {
179
187
  /** Value of the auxiliary power consumption of the vehicle. */
180
188
  value: Scalars["Float"];
181
189
  /** Type of auxiliary power consumption of the vehicle. */
182
190
  type: AuxiliaryConsumptionUnit;
183
191
  /** Source of inputted data, defaults to 'manual'. */
184
- source?: Maybe<TelemetryInputSource>;
192
+ source?: TelemetryInputSource;
185
193
  };
194
+ /** Auxiliary consumption units. */
186
195
  export declare enum AuxiliaryConsumptionUnit {
187
196
  /** Return the auxiliary consumption in kilowatt hours. */
188
197
  KILOWATT_HOUR = "kilowatt_hour"
@@ -200,7 +209,7 @@ export declare type BatteryTemperatureInput = {
200
209
  /** Type of temperature of the battery. */
201
210
  type: TemperatureUnit;
202
211
  /** Source of inputted data, defaults to 'manual'. */
203
- source?: Maybe<TelemetryInputSource>;
212
+ source?: TelemetryInputSource;
204
213
  };
205
214
  /** Deprecated: In favour of Vehicle. */
206
215
  export declare type Car = {
@@ -1411,14 +1420,23 @@ export declare enum ChargeMode {
1411
1420
  /** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80%. */
1412
1421
  ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1413
1422
  }
1423
+ export declare type ChargeSpeed = {
1424
+ /** Value of the charge speed of the battery. */
1425
+ value: Scalars["Float"];
1426
+ /** Type of the charge speed of the battery. */
1427
+ type: ChargeSpeedUnit;
1428
+ /** Source of inputted data */
1429
+ source: TelemetryInputSource;
1430
+ };
1414
1431
  export declare type ChargeSpeedInput = {
1415
1432
  /** Value of the charge speed of the battery. */
1416
1433
  value: Scalars["Float"];
1417
1434
  /** Type of the charge speed of the battery. */
1418
1435
  type: ChargeSpeedUnit;
1419
1436
  /** Source of inputted data, defaults to 'manual'. */
1420
- source?: Maybe<TelemetryInputSource>;
1437
+ source?: TelemetryInputSource;
1421
1438
  };
1439
+ /** Charge speed unit. */
1422
1440
  export declare enum ChargeSpeedUnit {
1423
1441
  /** Return the charge speed in kilowatt hours. */
1424
1442
  KILOWATT_HOUR = "kilowatt_hour",
@@ -1439,7 +1457,7 @@ export declare type ChargeTotalInput = {
1439
1457
  export declare type Charger = {
1440
1458
  /** Type of a charger. */
1441
1459
  standard?: Maybe<ConnectorType>;
1442
- /** Power of a charger. */
1460
+ /** Power of a charger, in kW. */
1443
1461
  power?: Maybe<Scalars["Float"]>;
1444
1462
  /** Price of a charger. */
1445
1463
  price?: Maybe<Scalars["String"]>;
@@ -1450,6 +1468,7 @@ export declare type Charger = {
1450
1468
  /** Total number of EVSEs grouped in a charger. */
1451
1469
  total?: Maybe<Scalars["Int"]>;
1452
1470
  };
1471
+ /** Status of a charger. */
1453
1472
  export declare enum ChargerStatus {
1454
1473
  /** The charger is free. */
1455
1474
  FREE = "free",
@@ -2061,6 +2080,45 @@ export declare type CreateConnectedVehicleOptions = {
2061
2080
  /** Scope */
2062
2081
  scope?: Maybe<Array<ConnectScope>>;
2063
2082
  };
2083
+ export declare type CreateRoute = {
2084
+ /** Vehicle used on a route. */
2085
+ vehicle: RouteVehicle;
2086
+ /** Origin of a route. */
2087
+ origin: RouteOriginFeaturePoint;
2088
+ /** Destination of a route. */
2089
+ destination: RouteDestinationFeaturePoint;
2090
+ /** Via points of a route. */
2091
+ via?: Maybe<Array<RouteViaFeaturePoint>>;
2092
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2093
+ operators?: Maybe<RouteOperatorPreferences>;
2094
+ /** Season of a route. */
2095
+ season: RouteSeason;
2096
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2097
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2098
+ /** Departure time of a route. */
2099
+ departure_time?: Maybe<Scalars["DateTime"]>;
2100
+ };
2101
+ /** Input for the create route mutation. */
2102
+ export declare type CreateRouteInput = {
2103
+ /** Vehicle specific input. */
2104
+ vehicle: RouteVehicleInput;
2105
+ /** Origin of a route. */
2106
+ origin: RouteOriginFeaturePointInput;
2107
+ /** Destination of a route. */
2108
+ destination: RouteDestinationFeaturePointInput;
2109
+ /** Optional via points of a route. */
2110
+ via?: Maybe<Array<RouteViaFeaturePointInput>>;
2111
+ /** Prioritized operators for a route calculation. */
2112
+ operators?: Maybe<RouteOperatorPreferencesInput>;
2113
+ /** Optional flag to specify the season. */
2114
+ season?: Maybe<RouteSeason>;
2115
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2116
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2117
+ /** Current elevation. */
2118
+ elevation?: Maybe<ElevationInput>;
2119
+ /** Route departure time. */
2120
+ departure_time?: Maybe<Scalars["DateTime"]>;
2121
+ };
2064
2122
  /** Currency according to the ISO 4217 standard. */
2065
2123
  export declare enum CurrencyUnit {
2066
2124
  /** Return the currency in EUR. */
@@ -2068,7 +2126,138 @@ export declare enum CurrencyUnit {
2068
2126
  /** Return the currency in USD. */
2069
2127
  USD = "USD",
2070
2128
  /** Return the currency in GBP. */
2071
- GBP = "GBP"
2129
+ GBP = "GBP",
2130
+ AED = "AED",
2131
+ AFN = "AFN",
2132
+ ALL = "ALL",
2133
+ AMD = "AMD",
2134
+ ANG = "ANG",
2135
+ AOA = "AOA",
2136
+ ARS = "ARS",
2137
+ AUD = "AUD",
2138
+ AWG = "AWG",
2139
+ AZN = "AZN",
2140
+ BAM = "BAM",
2141
+ BBD = "BBD",
2142
+ BDT = "BDT",
2143
+ BGN = "BGN",
2144
+ BIF = "BIF",
2145
+ BMD = "BMD",
2146
+ BND = "BND",
2147
+ BOB = "BOB",
2148
+ BRL = "BRL",
2149
+ BSD = "BSD",
2150
+ BWP = "BWP",
2151
+ BYN = "BYN",
2152
+ BZD = "BZD",
2153
+ CAD = "CAD",
2154
+ CDF = "CDF",
2155
+ CHF = "CHF",
2156
+ CLP = "CLP",
2157
+ CNY = "CNY",
2158
+ COP = "COP",
2159
+ CRC = "CRC",
2160
+ CVE = "CVE",
2161
+ CZK = "CZK",
2162
+ DJF = "DJF",
2163
+ DKK = "DKK",
2164
+ DOP = "DOP",
2165
+ DZD = "DZD",
2166
+ EGP = "EGP",
2167
+ ETB = "ETB",
2168
+ FJD = "FJD",
2169
+ FKP = "FKP",
2170
+ GEL = "GEL",
2171
+ GIP = "GIP",
2172
+ GMD = "GMD",
2173
+ GNF = "GNF",
2174
+ GTQ = "GTQ",
2175
+ GYD = "GYD",
2176
+ HKD = "HKD",
2177
+ HNL = "HNL",
2178
+ HTG = "HTG",
2179
+ HUF = "HUF",
2180
+ IDR = "IDR",
2181
+ ILS = "ILS",
2182
+ INR = "INR",
2183
+ ISK = "ISK",
2184
+ JMD = "JMD",
2185
+ JPY = "JPY",
2186
+ KES = "KES",
2187
+ KGS = "KGS",
2188
+ KHR = "KHR",
2189
+ KMF = "KMF",
2190
+ KRW = "KRW",
2191
+ KYD = "KYD",
2192
+ KZT = "KZT",
2193
+ LAK = "LAK",
2194
+ LBP = "LBP",
2195
+ LKR = "LKR",
2196
+ LRD = "LRD",
2197
+ LSL = "LSL",
2198
+ MAD = "MAD",
2199
+ MDL = "MDL",
2200
+ MGA = "MGA",
2201
+ MKD = "MKD",
2202
+ MMK = "MMK",
2203
+ MNT = "MNT",
2204
+ MOP = "MOP",
2205
+ MUR = "MUR",
2206
+ MVR = "MVR",
2207
+ MWK = "MWK",
2208
+ MXN = "MXN",
2209
+ MYR = "MYR",
2210
+ MZN = "MZN",
2211
+ NAD = "NAD",
2212
+ NGN = "NGN",
2213
+ NIO = "NIO",
2214
+ NOK = "NOK",
2215
+ NPR = "NPR",
2216
+ NZD = "NZD",
2217
+ PAB = "PAB",
2218
+ PEN = "PEN",
2219
+ PGK = "PGK",
2220
+ PHP = "PHP",
2221
+ PKR = "PKR",
2222
+ PLN = "PLN",
2223
+ PYG = "PYG",
2224
+ QAR = "QAR",
2225
+ RON = "RON",
2226
+ RSD = "RSD",
2227
+ RUB = "RUB",
2228
+ RWF = "RWF",
2229
+ SAR = "SAR",
2230
+ SBD = "SBD",
2231
+ SCR = "SCR",
2232
+ SEK = "SEK",
2233
+ SGD = "SGD",
2234
+ SHP = "SHP",
2235
+ SLE = "SLE",
2236
+ SOS = "SOS",
2237
+ SRD = "SRD",
2238
+ STD = "STD",
2239
+ SZL = "SZL",
2240
+ THB = "THB",
2241
+ TJS = "TJS",
2242
+ TOP = "TOP",
2243
+ TRY = "TRY",
2244
+ TTD = "TTD",
2245
+ TWD = "TWD",
2246
+ TZS = "TZS",
2247
+ UAH = "UAH",
2248
+ UGX = "UGX",
2249
+ UYU = "UYU",
2250
+ UZS = "UZS",
2251
+ VND = "VND",
2252
+ VUV = "VUV",
2253
+ WST = "WST",
2254
+ XAF = "XAF",
2255
+ XCD = "XCD",
2256
+ XOF = "XOF",
2257
+ XPF = "XPF",
2258
+ YER = "YER",
2259
+ ZAR = "ZAR",
2260
+ ZMW = "ZMW"
2072
2261
  }
2073
2262
  export declare enum DimensionUnit {
2074
2263
  /** Return the dimension in meters. */
@@ -2080,14 +2269,15 @@ export declare enum DimensionUnit {
2080
2269
  /** Return the dimension in miles. */
2081
2270
  MILE = "mile"
2082
2271
  }
2272
+ /** Distance unit */
2083
2273
  export declare enum DistanceUnit {
2084
- /** Return the distance in meters */
2274
+ /** Return the distance in meters. */
2085
2275
  METER = "meter",
2086
- /** Return the distance in feet */
2276
+ /** Return the distance in feet. */
2087
2277
  FOOT = "foot",
2088
- /** Return the distance in kilometers */
2278
+ /** Return the distance in kilometers. */
2089
2279
  KILOMETER = "kilometer",
2090
- /** Return the distance in miles */
2280
+ /** Return the distance in miles. */
2091
2281
  MILE = "mile"
2092
2282
  }
2093
2283
  /** EVSE data which extends OCPI EVSE. */
@@ -2128,13 +2318,22 @@ export declare type EVSE = {
2128
2318
  /** Custom properties of an EVSE. */
2129
2319
  custom_properties?: Maybe<EvseCustomProperties>;
2130
2320
  };
2321
+ export declare type ElectricityGenerationMethod = {
2322
+ /** Fraction of total electricity production. */
2323
+ fraction: Scalars["Float"];
2324
+ /** Emissions per kWh of the generation method. */
2325
+ intensity: Scalars["Float"];
2326
+ };
2327
+ export declare type ElectricityGenerationMethodintensityArgs = {
2328
+ unit?: Maybe<EmissionUnit>;
2329
+ };
2131
2330
  export declare type ElevationInput = {
2132
2331
  /** Value of the elevation. */
2133
2332
  value: Scalars["Float"];
2134
2333
  /** Type of the value of elevation. */
2135
2334
  type: DistanceUnit;
2136
2335
  /** Source of inputted data, defaults to 'manual'. */
2137
- source?: Maybe<TelemetryInputSource>;
2336
+ source?: TelemetryInputSource;
2138
2337
  };
2139
2338
  export declare enum ElevationUnit {
2140
2339
  /** Return the elevation in meters. */
@@ -2154,6 +2353,20 @@ export declare enum EmissionUnit {
2154
2353
  /** Return the emissions in ounces. */
2155
2354
  OUNCE = "ounce"
2156
2355
  }
2356
+ export declare type EmissionsFactor = {
2357
+ /** The name of the area for which the emissions factor was calculated. */
2358
+ name: Scalars["String"];
2359
+ /** The type of area for which the emissions factor was calculated. */
2360
+ type: EmissionsFactorType;
2361
+ /** The base regional emissions factor in CO2e/kWh. */
2362
+ value: Scalars["Float"];
2363
+ };
2364
+ /** Emissions factor type. */
2365
+ export declare enum EmissionsFactorType {
2366
+ COUNTRY = "country",
2367
+ SUBREGION = "subregion",
2368
+ REGION = "region"
2369
+ }
2157
2370
  /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
2158
2371
  export declare type EvseCustomProperties = {
2159
2372
  /** OICP standard custom properties. */
@@ -2229,6 +2442,38 @@ export declare type FeaturePointPolygonPropertiesInput = {
2229
2442
  export declare enum FeatureType {
2230
2443
  FEATURE = "Feature"
2231
2444
  }
2445
+ export declare type FluidEmissions = {
2446
+ /** Total fluid emissions. */
2447
+ total: Scalars["Float"];
2448
+ /** Wiper fluid maintenance emissions. */
2449
+ wiper: Scalars["Float"];
2450
+ /** Brake fluid maintenance emissions. */
2451
+ brake: Scalars["Float"];
2452
+ /** Powertrain coolant fluid maintenance emissions. */
2453
+ powertrain_coolant: Scalars["Float"];
2454
+ /** Transmission fluid maintenance emissions. */
2455
+ transmission: Scalars["Float"];
2456
+ /** Motor oil maintenance emissions. */
2457
+ motor_oil?: Maybe<Scalars["Float"]>;
2458
+ };
2459
+ export declare type FluidEmissionstotalArgs = {
2460
+ unit?: Maybe<EmissionUnit>;
2461
+ };
2462
+ export declare type FluidEmissionswiperArgs = {
2463
+ unit?: Maybe<EmissionUnit>;
2464
+ };
2465
+ export declare type FluidEmissionsbrakeArgs = {
2466
+ unit?: Maybe<EmissionUnit>;
2467
+ };
2468
+ export declare type FluidEmissionspowertrain_coolantArgs = {
2469
+ unit?: Maybe<EmissionUnit>;
2470
+ };
2471
+ export declare type FluidEmissionstransmissionArgs = {
2472
+ unit?: Maybe<EmissionUnit>;
2473
+ };
2474
+ export declare type FluidEmissionsmotor_oilArgs = {
2475
+ unit?: Maybe<EmissionUnit>;
2476
+ };
2232
2477
  export declare enum FuelConsumptionUnit {
2233
2478
  /** Return the fuel consumption in liters per 100 kilometers. */
2234
2479
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -2246,6 +2491,7 @@ export declare type GeometryPoint = {
2246
2491
  type: PointType;
2247
2492
  coordinates: Array<Scalars["Float"]>;
2248
2493
  };
2494
+ /** Mode of heat pump. */
2249
2495
  export declare enum HeatPumpMode {
2250
2496
  /** Default to the vehicle configuration. */
2251
2497
  DEFAULT = "default",
@@ -2344,9 +2590,9 @@ export declare type IsolineInput = {
2344
2590
  quality?: Maybe<IsolineQuality>;
2345
2591
  /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2346
2592
  ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2347
- /** Battery state of charge. When omitted the default value is 100 percent. */
2593
+ /** Battery state of charge. Default is usable battery kwh of the inputted vehicle. */
2348
2594
  state_of_charge?: Maybe<StateOfChargeInput>;
2349
- /** Minimum final battery state of charge. When omitted the default value is 0 percent. */
2595
+ /** Minimum final battery state of charge. Default is 0 */
2350
2596
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2351
2597
  };
2352
2598
  /** Granularity of the isoline. */
@@ -2496,6 +2742,8 @@ export declare type Mutation = {
2496
2742
  * This is a premium feature, contact Chargetrip for more information.
2497
2743
  */
2498
2744
  deleteUserReview: Review;
2745
+ /** [BETA] Create a new route from the route input and its ID. */
2746
+ createRoute: Scalars["ID"];
2499
2747
  /** Create a new route from the route input and its ID */
2500
2748
  newRoute?: Maybe<Scalars["ID"]>;
2501
2749
  };
@@ -2532,6 +2780,9 @@ export declare type MutationaddReviewArgs = {
2532
2780
  export declare type MutationdeleteUserReviewArgs = {
2533
2781
  id: Scalars["ID"];
2534
2782
  };
2783
+ export declare type MutationcreateRouteArgs = {
2784
+ input: CreateRouteInput;
2785
+ };
2535
2786
  export declare type MutationnewRouteArgs = {
2536
2787
  input?: Maybe<RequestInput>;
2537
2788
  };
@@ -2574,7 +2825,7 @@ export declare type NavigationInstructionsInput = {
2574
2825
  instructions_format: InstructionsFormat;
2575
2826
  /** Preferred navigation instructions language. Default: en */
2576
2827
  language?: Maybe<MappingLanguage>;
2577
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5 */
2828
+ /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2578
2829
  precision?: Maybe<Scalars["Int"]>;
2579
2830
  };
2580
2831
  /** Navigation meta information. */
@@ -2853,9 +3104,9 @@ export declare type OCPIEnvironmentalImpact = {
2853
3104
  };
2854
3105
  /** Categories of environmental impact values. */
2855
3106
  export declare enum OCPIEnvironmentalImpactCategory {
2856
- /** Produced nuclear waste in grams per kilowatthour. */
3107
+ /** Produced nuclear waste in g/kWh. */
2857
3108
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
2858
- /** Exhausted carbon dioxide in grams per kilowatthour. */
3109
+ /** Exhausted carbon dioxide in g/kWh. */
2859
3110
  CARBON_DIOXIDE = "CARBON_DIOXIDE"
2860
3111
  }
2861
3112
  /** Specifies one exceptional period for opening or access hours. */
@@ -3226,7 +3477,7 @@ export declare type OdometerInput = {
3226
3477
  /** Type of the value of the vehicle's odometer. */
3227
3478
  type: DistanceUnit;
3228
3479
  /** Source of inputted data, defaults to 'manual'. */
3229
- source?: Maybe<TelemetryInputSource>;
3480
+ source?: TelemetryInputSource;
3230
3481
  };
3231
3482
  /** Operator data which extends OCPI BusinessDetails. */
3232
3483
  export declare type Operator = {
@@ -3282,6 +3533,14 @@ export declare type OutsideTempInput = {
3282
3533
  /** Source of inputted data, defaults to 'manual'. */
3283
3534
  source?: Maybe<TelemetryInputSource>;
3284
3535
  };
3536
+ export declare type OutsideTemperatureInput = {
3537
+ /** Value of the outside temperature. */
3538
+ value: Scalars["Float"];
3539
+ /** Type of the value of the outside temperature. */
3540
+ type: TemperatureUnit;
3541
+ /** Source of inputted data. */
3542
+ source?: TelemetryInputSource;
3543
+ };
3285
3544
  export declare enum ParkingCost {
3286
3545
  /** Parking is free. */
3287
3546
  FREE = "free",
@@ -3327,6 +3586,11 @@ export declare type PolygonProperties = {
3327
3586
  /** Index of the feature inside the list. */
3328
3587
  index?: Maybe<Scalars["Int"]>;
3329
3588
  };
3589
+ /** Number of decimals for a polyline. */
3590
+ export declare enum PolylineInputDecimals {
3591
+ FIVE = "five",
3592
+ SIX = "six"
3593
+ }
3330
3594
  export declare type PowerInput = {
3331
3595
  /** Value of the positive or negative power. When negative the vehicle is charging. */
3332
3596
  value: Scalars["Float"];
@@ -3363,6 +3627,7 @@ export declare enum PowerUnit {
3363
3627
  /** Return the power in horsepower. */
3364
3628
  HORSEPOWER = "horsepower"
3365
3629
  }
3630
+ /** Pressure units. */
3366
3631
  export declare enum PressureUnit {
3367
3632
  /** Return the pressure in bar. */
3368
3633
  BAR = "bar",
@@ -3432,11 +3697,11 @@ export declare type Query = {
3432
3697
  isoline?: Maybe<Isoline>;
3433
3698
  /** [BETA] Get a navigation session by ID */
3434
3699
  navigation?: Maybe<Navigation>;
3435
- /** Get a full list of operators */
3700
+ /** Get a full list of operators. */
3436
3701
  operatorList?: Maybe<Array<Maybe<Operator>>>;
3437
- /** Get information about an operator by its ID */
3702
+ /** Get information about an operator by its ID. */
3438
3703
  operator?: Maybe<Operator>;
3439
- /** Get all reviews of a station by the station ID */
3704
+ /** Get all reviews of a station by the station ID. */
3440
3705
  reviewList?: Maybe<Array<Review>>;
3441
3706
  /**
3442
3707
  * Get all reviews of stations that were added by an authenticated user.
@@ -3446,6 +3711,10 @@ export declare type Query = {
3446
3711
  userReviewList?: Maybe<Array<Review>>;
3447
3712
  /** Get a route by ID */
3448
3713
  route?: Maybe<Route>;
3714
+ /** [BETA] Get a route by ID. */
3715
+ getRoute: RouteResponse;
3716
+ /** [BETA] Get emissions for a route. */
3717
+ getRouteEmissions: RouteDetailsEmissions;
3449
3718
  /** [BETA] Emissions profile for route. */
3450
3719
  routeEmissions: RouteEmissions;
3451
3720
  /** Retrieve information about a route path segment */
@@ -3458,9 +3727,9 @@ export declare type Query = {
3458
3727
  stationList?: Maybe<Array<Maybe<Station>>>;
3459
3728
  /** Search for stations around a GeoJSON point with a specific distance in meters. */
3460
3729
  stationAround?: Maybe<Array<Maybe<Station>>>;
3461
- /** Get information about a tariff by the tariff ID */
3730
+ /** Get information about a tariff by the tariff ID. */
3462
3731
  tariff?: Maybe<OCPITariff>;
3463
- /** Get the full list of tariffs */
3732
+ /** Get the full list of tariffs. */
3464
3733
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3465
3734
  /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3466
3735
  navigationMapping?: Maybe<Scalars["JSON"]>;
@@ -3527,6 +3796,13 @@ export declare type QueryuserReviewListArgs = {
3527
3796
  export declare type QueryrouteArgs = {
3528
3797
  id: Scalars["ID"];
3529
3798
  };
3799
+ export declare type QuerygetRouteArgs = {
3800
+ id: Scalars["ID"];
3801
+ };
3802
+ export declare type QuerygetRouteEmissionsArgs = {
3803
+ route_id: Scalars["ID"];
3804
+ route_details_id: Scalars["ID"];
3805
+ };
3530
3806
  export declare type QueryrouteEmissionsArgs = {
3531
3807
  route_id: Scalars["ID"];
3532
3808
  route_alternative_id?: Maybe<Scalars["ID"]>;
@@ -3598,7 +3874,7 @@ export declare type RequestEv = {
3598
3874
  adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
3599
3875
  /** Minimum desired power of chargers. */
3600
3876
  minPower?: Maybe<Scalars["Int"]>;
3601
- /** Climate is on. The default is true. */
3877
+ /** Climate is on. */
3602
3878
  climate?: Maybe<Scalars["Boolean"]>;
3603
3879
  /** Vehicle Heat Pump configuration. */
3604
3880
  heatPump?: Maybe<HeatPumpMode>;
@@ -3669,7 +3945,7 @@ export declare type RequestEvCabinInput = {
3669
3945
  desiredTemperature?: Maybe<TemperatureInput>;
3670
3946
  };
3671
3947
  export declare type RequestEvConsumption = {
3672
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
3948
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
3673
3949
  auxiliary?: Maybe<Scalars["Float"]>;
3674
3950
  /**
3675
3951
  * Consumption, in kWh, of the auxiliaries.
@@ -3688,7 +3964,7 @@ export declare type RequestEvConsumption = {
3688
3964
  idle?: Maybe<CarConsumption>;
3689
3965
  };
3690
3966
  export declare type RequestEvConsumptionInput = {
3691
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
3967
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
3692
3968
  auxiliary?: Maybe<Scalars["Float"]>;
3693
3969
  /** Deprecated in favor of auxiliary. */
3694
3970
  aux?: Maybe<CarConsumptionInput>;
@@ -3708,7 +3984,7 @@ export declare type RequestEvInput = {
3708
3984
  adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3709
3985
  /** Minimum desired power of chargers. */
3710
3986
  minPower?: Maybe<Scalars["Int"]>;
3711
- /** Flag which indicates if the climate is on. The default is true. */
3987
+ /** Flag which indicates if the climate is on. */
3712
3988
  climate?: Maybe<Scalars["Boolean"]>;
3713
3989
  /** Vehicle Heat Pump configuration. */
3714
3990
  heatPump?: Maybe<HeatPumpMode>;
@@ -3772,7 +4048,7 @@ export declare type RequestRoute = {
3772
4048
  operators?: Maybe<RouteOperators>;
3773
4049
  /** Season. */
3774
4050
  season?: Maybe<RouteSeason>;
3775
- /** 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%. */
4051
+ /** 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. */
3776
4052
  safeRiskMargin?: Maybe<Scalars["Int"]>;
3777
4053
  /** Origin of a route. */
3778
4054
  origin?: Maybe<FeaturePoint>;
@@ -3802,7 +4078,7 @@ export declare type RequestRouteInput = {
3802
4078
  operators?: Maybe<RouteOperatorsInput>;
3803
4079
  /** Optional flag to specify the season. */
3804
4080
  season?: Maybe<RouteSeason>;
3805
- /** 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%. */
4081
+ /** 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. */
3806
4082
  safeRiskMargin?: Maybe<Scalars["Int"]>;
3807
4083
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
3808
4084
  chargeMode?: Maybe<ChargeMode>;
@@ -3836,7 +4112,7 @@ export declare type Review = {
3836
4112
  /** Locale of a message. */
3837
4113
  locale?: Maybe<Scalars["String"]>;
3838
4114
  /** Vehicle that was provided/selected by a user. */
3839
- ev?: Maybe<Car>;
4115
+ ev?: Maybe<Vehicle>;
3840
4116
  /** Plug type that was provided/selected by a user. */
3841
4117
  plugType?: Maybe<ConnectorType>;
3842
4118
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
@@ -4042,12 +4318,450 @@ export declare type RouteApp = {
4042
4318
  /** ID of the app who requested a route. */
4043
4319
  id?: Maybe<Scalars["ID"]>;
4044
4320
  };
4321
+ export declare type RouteDestinationFeaturePoint = {
4322
+ /** Feature type. */
4323
+ type: FeatureType;
4324
+ /** Geometry of the feature. */
4325
+ geometry: Point;
4326
+ /** Optional object where additional properties can be specified. */
4327
+ properties?: Maybe<RouteDestinationProperties>;
4328
+ };
4329
+ export declare type RouteDestinationFeaturePointInput = {
4330
+ /** Feature type. */
4331
+ type: FeatureType;
4332
+ /** Geometry of the feature. */
4333
+ geometry: PointInput;
4334
+ /** Optional object where additional properties can be specified. */
4335
+ properties?: Maybe<RouteDestinationPropertiesInput>;
4336
+ };
4337
+ export declare type RouteDestinationProperties = {
4338
+ /** Data about the destination location. */
4339
+ location?: Maybe<RoutePropertiesLocation>;
4340
+ /** Data about the destination station. */
4341
+ station?: Maybe<RoutePropertiesStation>;
4342
+ };
4343
+ export declare type RouteDestinationPropertiesInput = {
4344
+ /** Data about the destination location. */
4345
+ location?: Maybe<RoutePropertiesLocationInput>;
4346
+ /** Data about the destination station. */
4347
+ station?: Maybe<RoutePropertiesStationInput>;
4348
+ };
4349
+ export declare type RouteDetails = {
4350
+ /** ID of a route computation. */
4351
+ id: Scalars["ID"];
4352
+ /** Type of a computed route. */
4353
+ type: RouteDetailsType;
4354
+ /** Aggregation of the connectors. */
4355
+ connectors: RouteDetailsConnectors;
4356
+ /** Total distance of a route. */
4357
+ distance: Scalars["Float"];
4358
+ /** Aggregation of all durations of a route. */
4359
+ durations: RouteDetailsDurations;
4360
+ /** Total energy used for a route in kilowatt hours. */
4361
+ consumption: Scalars["Float"];
4362
+ /** Range available at the beginning of a trip. */
4363
+ range_at_origin: Scalars["Float"];
4364
+ /** Range available at the end of a trip. */
4365
+ range_at_destination: Scalars["Float"];
4366
+ /** Text information about a route direction. */
4367
+ via?: Maybe<Scalars["String"]>;
4368
+ /** Polyline containing encoded coordinates. */
4369
+ polyline?: Maybe<Scalars["String"]>;
4370
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
4371
+ path_plot: Array<RouteDetailsPathSegment>;
4372
+ /** Details about elevation on a route. */
4373
+ elevation: RouteDetailsElevation;
4374
+ /** Money saving information. */
4375
+ savings?: Maybe<RouteDetailsSavings>;
4376
+ /** Legs of a route. */
4377
+ legs: Array<RouteDetailsLeg>;
4378
+ alternative_stations: Array<RouteDetailsAlternativeStation>;
4379
+ /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4380
+ tags: Array<RouteDetailsTag>;
4381
+ /** Number of charges along a route. */
4382
+ charges: Scalars["Int"];
4383
+ };
4384
+ export declare type RouteDetailsdistanceArgs = {
4385
+ unit?: Maybe<DistanceUnit>;
4386
+ };
4387
+ export declare type RouteDetailsrange_at_originArgs = {
4388
+ unit?: Maybe<StateOfChargeUnit>;
4389
+ };
4390
+ export declare type RouteDetailsrange_at_destinationArgs = {
4391
+ unit?: Maybe<StateOfChargeUnit>;
4392
+ };
4393
+ export declare type RouteDetailspolylineArgs = {
4394
+ decimals: PolylineInputDecimals;
4395
+ };
4396
+ export declare type RouteDetailsAlternativeStation = {
4397
+ /** ID of a station. */
4398
+ id: Scalars["ID"];
4399
+ /** GeoJSON location of a station. */
4400
+ location: Point;
4401
+ /** Speed of a station. A station along a route can be either fast or turbo. */
4402
+ speed: StationSpeedType;
4403
+ /** Status of a station. */
4404
+ status: ChargerStatus;
4405
+ /** Ranking of an operator. */
4406
+ operator_ranking?: Maybe<Scalars["Int"]>;
4407
+ };
4408
+ /** Aggregation of the connectors on a route. */
4409
+ export declare type RouteDetailsConnectors = {
4410
+ /** Aggregation of every connector on a route. */
4411
+ all: RouteDetailsConnectorsValues;
4412
+ /** Aggregation of every usable connector on a route. */
4413
+ usable: RouteDetailsConnectorsValues;
4414
+ };
4415
+ /** Aggregation of the connectors on a route by status. */
4416
+ export declare type RouteDetailsConnectorsValues = {
4417
+ /** Total numbers of connectors. */
4418
+ total: Scalars["Int"];
4419
+ /** Number of connectors with status available. */
4420
+ available: Scalars["Int"];
4421
+ /** Number of connectors with status occupied. */
4422
+ occupied: Scalars["Int"];
4423
+ /** Number of connectors with status unknown. */
4424
+ unknown: Scalars["Int"];
4425
+ /** Number of connectors with status out of order. */
4426
+ out_of_order: Scalars["Int"];
4427
+ };
4428
+ /** Aggregation of all durations of a route. */
4429
+ export declare type RouteDetailsDurations = {
4430
+ /** Total duration, in seconds. */
4431
+ total: Scalars["Int"];
4432
+ /** Total duration charging, in seconds. */
4433
+ charging: Scalars["Int"];
4434
+ /** Total duration driving, in seconds. */
4435
+ driving: Scalars["Int"];
4436
+ /** Total duration stopped for a short stay, for example at a via point, in seconds. */
4437
+ stopover: Scalars["Int"];
4438
+ /** Total duration of ferry rides, in seconds. */
4439
+ ferry?: Maybe<Scalars["Int"]>;
4440
+ };
4441
+ export declare type RouteDetailsElevation = {
4442
+ /** Total value driving uphill on a route. */
4443
+ up: Scalars["Float"];
4444
+ /** Total value driving downhill on a route. */
4445
+ down: Scalars["Float"];
4446
+ /** Maximum elevation on a route. */
4447
+ maximum: Scalars["Float"];
4448
+ /** Minimum elevation on a route. */
4449
+ minimum: Scalars["Float"];
4450
+ };
4451
+ export declare type RouteDetailsElevationupArgs = {
4452
+ unit?: Maybe<DistanceUnit>;
4453
+ };
4454
+ export declare type RouteDetailsElevationdownArgs = {
4455
+ unit?: Maybe<DistanceUnit>;
4456
+ };
4457
+ export declare type RouteDetailsElevationmaximumArgs = {
4458
+ unit?: Maybe<DistanceUnit>;
4459
+ };
4460
+ export declare type RouteDetailsElevationminimumArgs = {
4461
+ unit?: Maybe<DistanceUnit>;
4462
+ };
4463
+ export declare type RouteDetailsEmissions = {
4464
+ /** ID of the route for which we retrieve the emissions profile. */
4465
+ route_id: Scalars["ID"];
4466
+ route_alternative_id: Scalars["ID"];
4467
+ /** Emissions profile for the vehicle used in route. */
4468
+ route_vehicle: RouteVehicleEmissions;
4469
+ internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
4470
+ /** Estimated GHG emissions saved by a user driving this route with the electric vehicle in grams of CO2e. */
4471
+ co2e_saved: Scalars["Float"];
4472
+ };
4473
+ export declare type RouteDetailsEmissionsinternal_combustion_vehicleArgs = {
4474
+ fuel_type?: Maybe<RouteOperationalFuelType>;
4475
+ };
4476
+ export declare type RouteDetailsEmissionsco2e_savedArgs = {
4477
+ unit?: Maybe<EmissionUnit>;
4478
+ };
4479
+ /** Leg of a route detail. */
4480
+ export declare type RouteDetailsLeg = {
4481
+ /** Distance from the start to the end of a leg. */
4482
+ distance: Scalars["Float"];
4483
+ /** Aggregation of all durations of a route leg. */
4484
+ durations: RouteDetailsDurations;
4485
+ /** Total energy used in a leg in kilowatt hours. */
4486
+ consumption: Scalars["Float"];
4487
+ /** Origin point location. */
4488
+ origin: RouteDetailsLegFeaturePoint;
4489
+ /** Destination point location. */
4490
+ destination: RouteDetailsLegFeaturePoint;
4491
+ /** Range at the origin of the leg. */
4492
+ range_at_origin: Scalars["Float"];
4493
+ /** Range at the destination of the leg. */
4494
+ range_at_destination: Scalars["Float"];
4495
+ /** Range after charging on the leg. */
4496
+ range_after_charge?: Maybe<Scalars["Float"]>;
4497
+ /** Type of a leg. */
4498
+ type: RouteDetailsLegType;
4499
+ /** 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. */
4500
+ name?: Maybe<Scalars["String"]>;
4501
+ /** Information about the station at the origin of this leg. */
4502
+ station?: Maybe<RouteDetailsLegStation>;
4503
+ /** Aggregation of the connectors on the leg. */
4504
+ connectors: RouteDetailsConnectors;
4505
+ /** Polyline containing encoded coordinates. */
4506
+ polyline: Scalars["String"];
4507
+ /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
4508
+ tags: Array<RouteDetailsTag>;
4509
+ /** Maneuvers of a leg - used to generate turn-by-turn instructions. */
4510
+ maneuvers: Array<RouteDetailsManeuver>;
4511
+ /** Road sections of a leg - divided by means of transportation. */
4512
+ sections: Array<RouteDetailsLegSection>;
4513
+ };
4514
+ /** Leg of a route detail. */
4515
+ export declare type RouteDetailsLegdistanceArgs = {
4516
+ unit?: Maybe<DistanceUnit>;
4517
+ };
4518
+ /** Leg of a route detail. */
4519
+ export declare type RouteDetailsLegrange_at_originArgs = {
4520
+ unit?: Maybe<StateOfChargeUnit>;
4521
+ };
4522
+ /** Leg of a route detail. */
4523
+ export declare type RouteDetailsLegrange_at_destinationArgs = {
4524
+ unit?: Maybe<StateOfChargeUnit>;
4525
+ };
4526
+ /** Leg of a route detail. */
4527
+ export declare type RouteDetailsLegrange_after_chargeArgs = {
4528
+ unit?: Maybe<StateOfChargeUnit>;
4529
+ };
4530
+ /** Leg of a route detail. */
4531
+ export declare type RouteDetailsLegpolylineArgs = {
4532
+ decimals: PolylineInputDecimals;
4533
+ };
4534
+ export declare type RouteDetailsLegFeaturePoint = {
4535
+ /** Feature type. */
4536
+ type: FeatureType;
4537
+ /** Geometry of the feature. */
4538
+ geometry: Point;
4539
+ /** Properties of the feature. */
4540
+ properties?: Maybe<RouteDetailsLegFeatureProperties>;
4541
+ };
4542
+ export declare type RouteDetailsLegFeatureProperties = {
4543
+ /** Name of the location. */
4544
+ name?: Maybe<Scalars["String"]>;
4545
+ /** ID of the station. */
4546
+ station_id?: Maybe<Scalars["ID"]>;
4547
+ /** External ID of the station. */
4548
+ external_station_id?: Maybe<Scalars["ID"]>;
4549
+ /** Temperature at the location. */
4550
+ temperature?: Maybe<Scalars["Float"]>;
4551
+ /** Air pressure at the location. */
4552
+ air_pressure?: Maybe<Scalars["Float"]>;
4553
+ /** Solar irradiance at the location. */
4554
+ solar_irradiance?: Maybe<Scalars["Float"]>;
4555
+ /** Duration, in seconds, of time spent at this location. */
4556
+ duration?: Maybe<Scalars["Int"]>;
4557
+ /** Number of occupants present in the vehicle. */
4558
+ occupants?: Maybe<Scalars["Int"]>;
4559
+ /** Value of the current weight of the occupants. */
4560
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4561
+ /** Value of the current weight of the cargo. */
4562
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4563
+ };
4564
+ export declare type RouteDetailsLegFeaturePropertiestemperatureArgs = {
4565
+ unit?: Maybe<TemperatureUnit>;
4566
+ };
4567
+ export declare type RouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
4568
+ unit?: Maybe<WeightUnit>;
4569
+ };
4570
+ export declare type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
4571
+ unit?: Maybe<WeightUnit>;
4572
+ };
4573
+ export declare type RouteDetailsLegManeuverPoints = {
4574
+ /** Number of polyline points which are included in this instruction. */
4575
+ size: Scalars["Int"];
4576
+ /** 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. */
4577
+ interval: Array<Scalars["Int"]>;
4578
+ };
4579
+ /** Type of a maneuver indicating the main action. */
4580
+ export declare enum RouteDetailsLegManeuverType {
4581
+ UNKNOWN = "UNKNOWN",
4582
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
4583
+ U_TURN_LEFT = "U_TURN_LEFT",
4584
+ KEEP_LEFT = "KEEP_LEFT",
4585
+ LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
4586
+ TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
4587
+ TURN_LEFT = "TURN_LEFT",
4588
+ TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
4589
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
4590
+ TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
4591
+ TURN_RIGHT = "TURN_RIGHT",
4592
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
4593
+ FINISH = "FINISH",
4594
+ REACHED_VIA = "REACHED_VIA",
4595
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
4596
+ USE_ROUNDABOUT = "USE_ROUNDABOUT",
4597
+ KEEP_RIGHT = "KEEP_RIGHT",
4598
+ U_TURN_RIGHT = "U_TURN_RIGHT",
4599
+ PT_START_TRIP = "PT_START_TRIP",
4600
+ PT_TRANSFER = "PT_TRANSFER",
4601
+ PT_END_TRIP = "PT_END_TRIP",
4602
+ IGNORE = "IGNORE"
4603
+ }
4604
+ export declare type RouteDetailsLegSection = {
4605
+ /** Section type. */
4606
+ type: RouteDetailsLegSectionType;
4607
+ /** Origin point. */
4608
+ origin: RouteDetailsLegSectionFeaturePoint;
4609
+ /** Destination point. */
4610
+ destination: RouteDetailsLegSectionFeaturePoint;
4611
+ /** Aggregation of tags over the current section. */
4612
+ tags: Array<RouteDetailsTag>;
4613
+ /** Polyline containing encoded coordinates. */
4614
+ polyline?: Maybe<Scalars["String"]>;
4615
+ /** Distance from the start to the end of a section. */
4616
+ distance: Scalars["Float"];
4617
+ /** Total drive time from the start to the end of a section, in seconds. */
4618
+ duration: Scalars["Float"];
4619
+ /** Total energy used in a section in kilowatt-hours. */
4620
+ consumption: Scalars["Float"];
4621
+ };
4622
+ export declare type RouteDetailsLegSectionpolylineArgs = {
4623
+ decimals: PolylineInputDecimals;
4624
+ };
4625
+ export declare type RouteDetailsLegSectiondistanceArgs = {
4626
+ unit?: Maybe<DistanceUnit>;
4627
+ };
4628
+ export declare type RouteDetailsLegSectionFeaturePoint = {
4629
+ /** Feature type. */
4630
+ type: FeatureType;
4631
+ /** Geometry of the feature. */
4632
+ geometry: Point;
4633
+ /** Properties of the feature. */
4634
+ properties: RouteDetailsLegSectionFeaturePointProperties;
4635
+ };
4636
+ export declare type RouteDetailsLegSectionFeaturePointProperties = {
4637
+ /** Number of occupants present in the vehicle. */
4638
+ occupants: Scalars["Int"];
4639
+ /** Value of the current weight of the occupants. */
4640
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4641
+ /** Value of the current weight of the cargo. */
4642
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4643
+ };
4644
+ export declare type RouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
4645
+ unit?: Maybe<WeightUnit>;
4646
+ };
4647
+ export declare type RouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
4648
+ unit?: Maybe<WeightUnit>;
4649
+ };
4650
+ /** Type of a route details leg section. */
4651
+ export declare enum RouteDetailsLegSectionType {
4652
+ DRIVING = "driving",
4653
+ FERRY = "ferry",
4654
+ WALKING = "walking"
4655
+ }
4656
+ export declare type RouteDetailsLegStation = {
4657
+ /** ID of a station. */
4658
+ station_id: Scalars["ID"];
4659
+ /** Name of a station. */
4660
+ station_name?: Maybe<Scalars["String"]>;
4661
+ /** ID of an operator. */
4662
+ operator_id: Scalars["ID"];
4663
+ /** Name of an operator. */
4664
+ operator_name?: Maybe<Scalars["String"]>;
4665
+ /** ID of the EVSE that was selected in a route. */
4666
+ evse_uid?: Maybe<Scalars["ID"]>;
4667
+ /** ID of the connector that was selected in a route. */
4668
+ connector_id?: Maybe<Scalars["ID"]>;
4669
+ /** List of amenities present at the station. */
4670
+ amenities?: Maybe<Array<AmenityType>>;
4671
+ };
4672
+ /** Type of a leg. */
4673
+ export declare enum RouteDetailsLegType {
4674
+ STATION = "station",
4675
+ STATION_VIA = "station_via",
4676
+ STATION_FINAL = "station_final",
4677
+ STATION_AMENITY = "station_amenity",
4678
+ VIA = "via",
4679
+ FINAL = "final"
4680
+ }
4681
+ export declare type RouteDetailsManeuver = {
4682
+ /** Type of instruction. */
4683
+ type: RouteDetailsLegManeuverType;
4684
+ /** Location of the maneuver. */
4685
+ location?: Maybe<RouteDetailsLegFeaturePoint>;
4686
+ /** Name of the street on which an instruction is. */
4687
+ name?: Maybe<Scalars["String"]>;
4688
+ /** Distance, in meters, of a route instruction. */
4689
+ distance: Scalars["Float"];
4690
+ /** Duration, in seconds, of a route instruction. */
4691
+ duration: Scalars["Int"];
4692
+ /** Information about the points on a polyline. */
4693
+ points: RouteDetailsLegManeuverPoints;
4694
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise this value is null. */
4695
+ exit_number?: Maybe<Scalars["Int"]>;
4696
+ /** 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`. */
4697
+ turn_angle?: Maybe<Scalars["Float"]>;
4698
+ /** Aggregation of tags over the current maneuver. */
4699
+ tags?: Maybe<Array<RouteDetailsTag>>;
4700
+ };
4701
+ export declare type RouteDetailsManeuverdistanceArgs = {
4702
+ unit?: Maybe<DistanceUnit>;
4703
+ };
4704
+ export declare type RouteDetailsPathSegment = {
4705
+ /** Elevation value of a route path segment. */
4706
+ elevation: Scalars["Float"];
4707
+ /** Average speed of a route path segment. */
4708
+ average_speed: Scalars["Float"];
4709
+ /** Consumption, in kilowatt hours, of a route path segment. */
4710
+ consumption: Scalars["Float"];
4711
+ /** Distance of a route path segment. */
4712
+ distance: Scalars["Float"];
4713
+ /** Duration, in seconds, of a route path segment. */
4714
+ duration: Scalars["Float"];
4715
+ /** State of charge, in kilowatt hours, of a route path segment. */
4716
+ state_of_charge?: Maybe<Scalars["Float"]>;
4717
+ /** Maximum vehicle speed of a route path segment. */
4718
+ max_speed: Scalars["Float"];
4719
+ };
4720
+ export declare type RouteDetailsPathSegmentelevationArgs = {
4721
+ unit?: Maybe<DistanceUnit>;
4722
+ };
4723
+ export declare type RouteDetailsPathSegmentaverage_speedArgs = {
4724
+ unit?: Maybe<SpeedUnit>;
4725
+ };
4726
+ export declare type RouteDetailsPathSegmentdistanceArgs = {
4727
+ unit?: Maybe<DistanceUnit>;
4728
+ };
4729
+ export declare type RouteDetailsPathSegmentstate_of_chargeArgs = {
4730
+ unit?: Maybe<StateOfChargeUnit>;
4731
+ };
4732
+ export declare type RouteDetailsPathSegmentmax_speedArgs = {
4733
+ unit?: Maybe<SpeedUnit>;
4734
+ };
4735
+ /** Money saving information. */
4736
+ export declare type RouteDetailsSavings = {
4737
+ /** Money saved by a user driving this route with an electric vehicle. */
4738
+ money?: Maybe<Scalars["Float"]>;
4739
+ /** Average gas price with which the calculation was made. */
4740
+ average_gas_price?: Maybe<Scalars["Float"]>;
4741
+ /** Average energy price with which the calculation was made. */
4742
+ average_energy_price?: Maybe<Scalars["Float"]>;
4743
+ };
4744
+ /** Tags of a route. */
4745
+ export declare enum RouteDetailsTag {
4746
+ ROAD = "road",
4747
+ HIGHWAY = "highway",
4748
+ TOLL = "toll",
4749
+ FERRY = "ferry",
4750
+ WALKING = "walking",
4751
+ CROSSBORDER = "crossborder"
4752
+ }
4753
+ /** Types of a route. */
4754
+ export declare enum RouteDetailsType {
4755
+ FASTEST = "fastest",
4756
+ BEST_MATCHING = "best_matching",
4757
+ ALTERNATIVE = "alternative"
4758
+ }
4045
4759
  export declare type RouteEmbeddedEmissions = {
4046
4760
  /** Total embedded emissions. */
4047
4761
  total: Scalars["Float"];
4048
- /** Total manufacturing emissions. */
4762
+ /** Manufacturing emissions. */
4049
4763
  manufacturing: RouteEmbeddedManufacturingEmissions;
4050
- /** Total distribution related emissions. */
4764
+ /** Total distribution emissions. */
4051
4765
  distribution: Scalars["Float"];
4052
4766
  /** Distribution sea segment emissions. */
4053
4767
  maritime: RouteEmbeddedMaritimeEmissions;
@@ -4061,7 +4775,7 @@ export declare type RouteEmbeddedEmissionsdistributionArgs = {
4061
4775
  unit?: Maybe<EmissionUnit>;
4062
4776
  };
4063
4777
  export declare type RouteEmbeddedLandEmissions = {
4064
- /** Total embedded land emissions. */
4778
+ /** Total embedded land segment emissions. */
4065
4779
  total: Scalars["Float"];
4066
4780
  /** Distribution land segment emissions from fuel consumption. */
4067
4781
  fuel: Scalars["Float"];
@@ -4080,7 +4794,7 @@ export declare type RouteEmbeddedLandEmissionslifecycleArgs = {
4080
4794
  export declare type RouteEmbeddedManufacturingEmissions = {
4081
4795
  /** Total embedded manufacturing emissions. */
4082
4796
  total: Scalars["Float"];
4083
- /** Body manufacturing emissions. */
4797
+ /** Vehicle body manufacturing emissions. */
4084
4798
  body: Scalars["Float"];
4085
4799
  /** Lithium ion battery manufacturing emissions. */
4086
4800
  battery?: Maybe<Scalars["Float"]>;
@@ -4097,13 +4811,13 @@ export declare type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4097
4811
  export declare type RouteEmbeddedMaritimeEmissions = {
4098
4812
  /** Total embedded maritime emissions. */
4099
4813
  total: Scalars["Float"];
4100
- /** Fuel related sea segment emissions. */
4814
+ /** Fuel related maritime segment emissions. */
4101
4815
  fuel: Scalars["Float"];
4102
- /** Port facility related sea segment emissions. */
4816
+ /** Port facility related maritime segment emissions. */
4103
4817
  port: Scalars["Float"];
4104
- /** Idling related sea segment emissions. */
4818
+ /** Idling related maritime segment emissions. */
4105
4819
  idle: Scalars["Float"];
4106
- /** Distributed lifecycle related sea segment emissions. */
4820
+ /** Distributed lifecycle related maritime segment emissions. */
4107
4821
  lifecycle: Scalars["Float"];
4108
4822
  };
4109
4823
  export declare type RouteEmbeddedMaritimeEmissionstotalArgs = {
@@ -4137,8 +4851,8 @@ export declare type RouteEmissionsinternal_combustion_vehicleArgs = {
4137
4851
  export declare type RouteEndOfLifeEmissions = {
4138
4852
  /** Total end of life emissions. */
4139
4853
  total: Scalars["Float"];
4140
- /** Total fluid related end of life emissions. */
4141
- fluids: RouteEndOfLifeFluidsEmissions;
4854
+ /** Fluid related end of life emissions. */
4855
+ fluids: FluidEmissions;
4142
4856
  /** Battery related end of life emissions. */
4143
4857
  battery: Scalars["Float"];
4144
4858
  /** Tire related end of life emissions. */
@@ -4163,38 +4877,6 @@ export declare type RouteEndOfLifeEmissionsbodyArgs = {
4163
4877
  export declare type RouteEndOfLifeEmissionstransportArgs = {
4164
4878
  unit?: Maybe<EmissionUnit>;
4165
4879
  };
4166
- export declare type RouteEndOfLifeFluidsEmissions = {
4167
- /** Total end of life fluids emissions. */
4168
- total: Scalars["Float"];
4169
- /** Total wiper fluid end of life emissions. */
4170
- wiper: Scalars["Float"];
4171
- /** Total brake fluid end of life emissions. */
4172
- brake: Scalars["Float"];
4173
- /** Total powertrain coolant fluid end of life emissions. */
4174
- coolant: Scalars["Float"];
4175
- /** Total transmission fluid end of life emissions. */
4176
- transmission: Scalars["Float"];
4177
- /** Total motor oil end of life emissions. */
4178
- motor_oil?: Maybe<Scalars["Float"]>;
4179
- };
4180
- export declare type RouteEndOfLifeFluidsEmissionstotalArgs = {
4181
- unit?: Maybe<EmissionUnit>;
4182
- };
4183
- export declare type RouteEndOfLifeFluidsEmissionswiperArgs = {
4184
- unit?: Maybe<EmissionUnit>;
4185
- };
4186
- export declare type RouteEndOfLifeFluidsEmissionsbrakeArgs = {
4187
- unit?: Maybe<EmissionUnit>;
4188
- };
4189
- export declare type RouteEndOfLifeFluidsEmissionscoolantArgs = {
4190
- unit?: Maybe<EmissionUnit>;
4191
- };
4192
- export declare type RouteEndOfLifeFluidsEmissionstransmissionArgs = {
4193
- unit?: Maybe<EmissionUnit>;
4194
- };
4195
- export declare type RouteEndOfLifeFluidsEmissionsmotor_oilArgs = {
4196
- unit?: Maybe<EmissionUnit>;
4197
- };
4198
4880
  export declare type RouteInstruction = {
4199
4881
  /** Information about the points on the polyline. */
4200
4882
  points?: Maybe<RouteInstructionPoints>;
@@ -4245,39 +4927,49 @@ export declare enum RouteInstructionSign {
4245
4927
  export declare type RouteInternalCombustionVehicleEmissions = {
4246
4928
  /** Total co2e emissions. */
4247
4929
  total: Scalars["Float"];
4248
- /** Embedded emissions. */
4930
+ /** 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. */
4931
+ iso_14083_2023: Scalars["Float"];
4932
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4249
4933
  embedded: RouteEmbeddedEmissions;
4250
4934
  /** Operational emissions. */
4251
4935
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4252
4936
  /** End of life emissions. */
4253
4937
  end_of_life: RouteEndOfLifeEmissions;
4254
- /** Emissions info for the legs in the order as within the route. */
4938
+ /** Emissions info for the legs in the same order as in the route. */
4255
4939
  legs: Array<RouteInternalCombustionVehicleLegEmissions>;
4256
4940
  };
4257
4941
  export declare type RouteInternalCombustionVehicleEmissionstotalArgs = {
4258
4942
  unit?: Maybe<EmissionUnit>;
4259
4943
  };
4944
+ export declare type RouteInternalCombustionVehicleEmissionsiso_14083_2023Args = {
4945
+ unit?: Maybe<EmissionUnit>;
4946
+ };
4260
4947
  export declare type RouteInternalCombustionVehicleLegEmissions = {
4261
- /** Total co2e emissions for the leg. */
4948
+ /** Total co2e emissions. */
4262
4949
  total: Scalars["Float"];
4263
- /** Embedded emissions for the leg. */
4950
+ /** 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. */
4951
+ iso_14083_2023: Scalars["Float"];
4952
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4264
4953
  embedded: RouteEmbeddedEmissions;
4265
- /** Operational emissions for the leg. */
4954
+ /** Operational emissions. */
4266
4955
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4267
- /** End of life emissions for the leg. */
4956
+ /** End of life emissions. */
4268
4957
  end_of_life: RouteEndOfLifeEmissions;
4269
4958
  };
4270
4959
  export declare type RouteInternalCombustionVehicleLegEmissionstotalArgs = {
4271
4960
  unit?: Maybe<EmissionUnit>;
4272
4961
  };
4962
+ export declare type RouteInternalCombustionVehicleLegEmissionsiso_14083_2023Args = {
4963
+ unit?: Maybe<EmissionUnit>;
4964
+ };
4273
4965
  export declare type RouteInternalCombustionVehicleOperationalEmissions = {
4274
4966
  /** Total operational emissions. */
4275
4967
  total: Scalars["Float"];
4276
- /** Fuel emissions data. */
4968
+ /** Fuel emissions. */
4277
4969
  fuel: RouteOperationalFuelEmissions;
4278
- /** Total road infrastructure emissions. */
4970
+ /** Road infrastructure emissions. */
4279
4971
  infrastructure: RouteOperationalInfrastructureEmissions;
4280
- /** Total maintenance emissions. */
4972
+ /** Maintenance emissions. */
4281
4973
  maintenance: RouteOperationalMaintenanceEmissions;
4282
4974
  };
4283
4975
  export declare type RouteInternalCombustionVehicleOperationalEmissionstotalArgs = {
@@ -4354,6 +5046,66 @@ export declare type RouteLegMeta = {
4354
5046
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4355
5047
  warnings: Array<RouteMetaWarning>;
4356
5048
  };
5049
+ export declare type RouteLegOperationalElectricityEmissions = {
5050
+ /** Total electricity emissions. */
5051
+ total: Scalars["Float"];
5052
+ /** Base emissions without efficiency losses. */
5053
+ base_value: Scalars["Float"];
5054
+ /** Emissions for electricity lost in the battery. */
5055
+ battery_losses: Scalars["Float"];
5056
+ /** Emissions for electricity lost in transmission. */
5057
+ transmission_losses: Scalars["Float"];
5058
+ /** Emissions for electricity lost during charging. */
5059
+ chargepoint_losses: Scalars["Float"];
5060
+ /** Electricity efficiency information. */
5061
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
5062
+ /** Electricity intensity information. */
5063
+ intensity: RouteLegOperationalElectricityEmissionsIntensity;
5064
+ };
5065
+ export declare type RouteLegOperationalElectricityEmissionstotalArgs = {
5066
+ unit?: Maybe<EmissionUnit>;
5067
+ };
5068
+ export declare type RouteLegOperationalElectricityEmissionsbase_valueArgs = {
5069
+ unit?: Maybe<EmissionUnit>;
5070
+ };
5071
+ export declare type RouteLegOperationalElectricityEmissionsbattery_lossesArgs = {
5072
+ unit?: Maybe<EmissionUnit>;
5073
+ };
5074
+ export declare type RouteLegOperationalElectricityEmissionstransmission_lossesArgs = {
5075
+ unit?: Maybe<EmissionUnit>;
5076
+ };
5077
+ export declare type RouteLegOperationalElectricityEmissionschargepoint_lossesArgs = {
5078
+ unit?: Maybe<EmissionUnit>;
5079
+ };
5080
+ /** Electricity emission intensity for a leg */
5081
+ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
5082
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5083
+ total: Scalars["Float"];
5084
+ /** Base regional electricity emissions intensity for the leg. */
5085
+ base_regional_value: EmissionsFactor;
5086
+ /** Base regional electricity intensity used for the ISO 14083:2023 emissions estimation. */
5087
+ base_iso_14083_2023_regional_value: EmissionsFactor;
5088
+ /** Electricity mix for the leg. */
5089
+ energy_sources: RouteOperationalElectricityEnergySources;
5090
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5091
+ infrastructure: Scalars["Float"];
5092
+ /** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
5093
+ average_demand: Scalars["Float"];
5094
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
5095
+ base_load_fraction: Scalars["Float"];
5096
+ /** Season for which the leg was calculated. */
5097
+ season: RouteOperationalElectricitySeason;
5098
+ /** Climate for which the leg was calculated. */
5099
+ climate: RouteOperationalElectricityClimate;
5100
+ };
5101
+ /** Electricity emission intensity for a leg */
5102
+ export declare type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
5103
+ unit?: Maybe<EmissionUnit>;
5104
+ };
5105
+ /** Electricity emission intensity for a leg */
5106
+ export declare type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5107
+ unit?: Maybe<EmissionUnit>;
5108
+ };
4357
5109
  export declare type RouteMeta = {
4358
5110
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4359
5111
  warnings: Array<RouteMetaWarning>;
@@ -4366,6 +5118,16 @@ export declare type RouteMetaWarning = {
4366
5118
  /** Optional JSON object containing data explaining the warning, for development purposes. */
4367
5119
  data?: Maybe<Scalars["JSON"]>;
4368
5120
  };
5121
+ export declare type RouteMetadata = {
5122
+ /** Refers to the x-app-id specified in the headers. */
5123
+ app_id: Scalars["ID"];
5124
+ /** Date when a route was created by a createRoute mutation. */
5125
+ created_at: Scalars["DateTime"];
5126
+ /** Last updated date of a route. */
5127
+ updated_at: Scalars["DateTime"];
5128
+ /** Length of time required to successfully calculate a route, in milliseconds. */
5129
+ computation_time?: Maybe<Scalars["Int"]>;
5130
+ };
4369
5131
  /** Köppen climate classification. */
4370
5132
  export declare enum RouteOperationalElectricityClimate {
4371
5133
  /** Tropical rain forest climate. */
@@ -4435,7 +5197,7 @@ export declare type RouteOperationalElectricityEmissions = {
4435
5197
  /** Total electricity emissions. */
4436
5198
  total: Scalars["Float"];
4437
5199
  /** Base emissions without efficiency losses. */
4438
- base_emissions: Scalars["Float"];
5200
+ base_value: Scalars["Float"];
4439
5201
  /** Emissions for electricity lost in the battery. */
4440
5202
  battery_losses: Scalars["Float"];
4441
5203
  /** Emissions for electricity lost in transmission. */
@@ -4443,14 +5205,14 @@ export declare type RouteOperationalElectricityEmissions = {
4443
5205
  /** Emissions for electricity lost during charging. */
4444
5206
  chargepoint_losses: Scalars["Float"];
4445
5207
  /** Electricity efficiency information. */
4446
- electricity_efficiency: RouteOperationalElectricityEmissionsEfficiency;
5208
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
4447
5209
  /** Electricity intensity information. */
4448
- electricity_intensity: RouteOperationalElectricityEmissionsIntensity;
5210
+ intensity: RouteOperationalElectricityEmissionsIntensity;
4449
5211
  };
4450
5212
  export declare type RouteOperationalElectricityEmissionstotalArgs = {
4451
5213
  unit?: Maybe<EmissionUnit>;
4452
5214
  };
4453
- export declare type RouteOperationalElectricityEmissionsbase_emissionsArgs = {
5215
+ export declare type RouteOperationalElectricityEmissionsbase_valueArgs = {
4454
5216
  unit?: Maybe<EmissionUnit>;
4455
5217
  };
4456
5218
  export declare type RouteOperationalElectricityEmissionsbattery_lossesArgs = {
@@ -4464,27 +5226,27 @@ export declare type RouteOperationalElectricityEmissionschargepoint_lossesArgs =
4464
5226
  };
4465
5227
  export declare type RouteOperationalElectricityEmissionsEfficiency = {
4466
5228
  /** Average total electricity efficiency. */
4467
- total_efficiency: Scalars["Float"];
5229
+ total: Scalars["Float"];
4468
5230
  /** Average efficiency of the battery. */
4469
- battery_efficiency: Scalars["Float"];
4470
- /** Average efficiency of electricity transmission. */
4471
- transmission_efficiency: Scalars["Float"];
4472
- /** Average base regional grid efficiency. */
4473
- base_transmission_efficiency: Scalars["Float"];
5231
+ battery: Scalars["Float"];
5232
+ /** Average estimated transmission efficiency using the base transmission efficiency adjusting for temperature. */
5233
+ transmission: Scalars["Float"];
5234
+ /** Average base regional grid transmission efficiency. */
5235
+ base_transmission: Scalars["Float"];
4474
5236
  /** Average transmission efficiency change due to temperature. */
4475
- transmission_efficiency_temperature_modifier: Scalars["Float"];
5237
+ transmission_temperature_modifier: Scalars["Float"];
4476
5238
  /** Average efficiency of the chargepoint. */
4477
- chargepoint_efficiency: Scalars["Float"];
4478
- /** Average evse efficiency. */
4479
- evse_efficiency: Scalars["Float"];
4480
- /** Average breaker efficiency. */
4481
- breaker_efficiency: Scalars["Float"];
4482
- /** Average power electronics unit efficiency. */
4483
- power_electronics_unit_efficiency: Scalars["Float"];
4484
- /** Average transformer efficiency. */
4485
- transformer_efficiency: Scalars["Float"];
5239
+ chargepoint: Scalars["Float"];
5240
+ /** Average evse (electric vehicle supply equipment) efficiency of the chargepoint. */
5241
+ evse: Scalars["Float"];
5242
+ /** Average circuit breaker efficiency of the chargepoint. */
5243
+ breaker: Scalars["Float"];
5244
+ /** Average power electronics unit efficiency of the chargepoint. */
5245
+ power_electronics_unit: Scalars["Float"];
5246
+ /** Average transformer efficiency of the chargepoint. */
5247
+ transformer: Scalars["Float"];
4486
5248
  /** Change in chargepoint efficiency due to temperature. */
4487
- chargepoint_efficiency_temperature_modifier: Scalars["Float"];
5249
+ chargepoint_temperature_modifier: Scalars["Float"];
4488
5250
  /** Average charging current in amperes. */
4489
5251
  average_charging_current: Scalars["Float"];
4490
5252
  /** Average charging voltage in volts. */
@@ -4500,53 +5262,61 @@ export declare type RouteOperationalElectricityEmissionsEfficiencyaverage_temper
4500
5262
  export declare type RouteOperationalElectricityEmissionsEfficiencyaverage_regional_temperatureArgs = {
4501
5263
  unit?: Maybe<TemperatureUnit>;
4502
5264
  };
4503
- export declare type RouteOperationalElectricityEmissionsGenerationMethods = {
4504
- /** Fraction of coal production. */
4505
- coal: Scalars["Float"];
4506
- /** Fraction of gas production. */
4507
- gas: Scalars["Float"];
4508
- /** Fraction of hydroelectric production. */
4509
- hydro: Scalars["Float"];
4510
- /** Fraction of solar production. */
4511
- solar: Scalars["Float"];
4512
- /** Fraction of wind production. */
4513
- wind: Scalars["Float"];
4514
- /** Fraction of oil production. */
4515
- oil: Scalars["Float"];
4516
- /** Fraction of nuclear production. */
4517
- nuclear: Scalars["Float"];
4518
- /** Fraction of biofuel production. */
4519
- biofuel: Scalars["Float"];
4520
- /** Fraction of other production. */
4521
- other: Scalars["Float"];
4522
- };
5265
+ /** Electricity emission intensity for the route */
4523
5266
  export declare type RouteOperationalElectricityEmissionsIntensity = {
4524
- /** Average route electricity emissions intensity in unit CO2e/kWh. */
4525
- total_electricity_intensity: Scalars["Float"];
4526
- /** Base regional electricity emissions intensity in unit CO2e/kWh. */
4527
- base_electricity_intensity: Scalars["Float"];
4528
- /** Generation methods of electricity production. */
4529
- generation_methods: RouteOperationalElectricityEmissionsGenerationMethods;
4530
- /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc in unit CO2e/kWh. */
4531
- electricity_infrastructure_intensity: Scalars["Float"];
4532
- /** Season for which the route was calculated. */
4533
- season: RouteOperationalElectricitySeason;
4534
- /** The climate for which the route was calculated. */
4535
- climate: RouteOperationalElectricityClimate;
4536
- /** Average electricity demand at the time of route charges as a fraction of average demand. */
4537
- average_electricity_demand: Scalars["Float"];
4538
- /** Fraction of regional power generation that is not affected by demand (always on). */
5267
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5268
+ total: Scalars["Float"];
5269
+ /** Average base regional electricity emissions intensity in unit CO2e/kWh. */
5270
+ average_base_regional_value: Scalars["Float"];
5271
+ /** Total electricity intensity used for iso 14083:2023 scope emissions estimate in unit CO2e/kWh. */
5272
+ iso_14083_2023: Scalars["Float"];
5273
+ /** Average electricity mix for the route. */
5274
+ energy_sources: RouteOperationalElectricityEnergySources;
5275
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5276
+ infrastructure: Scalars["Float"];
5277
+ /** Average electricity demand at the time of route charges as a fraction of the annual average demand. */
5278
+ average_demand: Scalars["Float"];
5279
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
4539
5280
  base_load_fraction: Scalars["Float"];
4540
5281
  };
4541
- export declare type RouteOperationalElectricityEmissionsIntensitytotal_electricity_intensityArgs = {
5282
+ /** Electricity emission intensity for the route */
5283
+ export declare type RouteOperationalElectricityEmissionsIntensitytotalArgs = {
5284
+ unit?: Maybe<EmissionUnit>;
5285
+ };
5286
+ /** Electricity emission intensity for the route */
5287
+ export declare type RouteOperationalElectricityEmissionsIntensityaverage_base_regional_valueArgs = {
4542
5288
  unit?: Maybe<EmissionUnit>;
4543
5289
  };
4544
- export declare type RouteOperationalElectricityEmissionsIntensitybase_electricity_intensityArgs = {
5290
+ /** Electricity emission intensity for the route */
5291
+ export declare type RouteOperationalElectricityEmissionsIntensityiso_14083_2023Args = {
4545
5292
  unit?: Maybe<EmissionUnit>;
4546
5293
  };
4547
- export declare type RouteOperationalElectricityEmissionsIntensityelectricity_infrastructure_intensityArgs = {
5294
+ /** Electricity emission intensity for the route */
5295
+ export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
4548
5296
  unit?: Maybe<EmissionUnit>;
4549
5297
  };
5298
+ export declare type RouteOperationalElectricityEnergySources = {
5299
+ /** Electricity produced by coal power plants. */
5300
+ coal: ElectricityGenerationMethod;
5301
+ /** Electricity produced by natural gas power plants. */
5302
+ gas: ElectricityGenerationMethod;
5303
+ /** Electricity produced by hydroelectric power. */
5304
+ hydro: ElectricityGenerationMethod;
5305
+ /** Electricity produced by solar power. */
5306
+ solar: ElectricityGenerationMethod;
5307
+ /** Electricity produced by wind power. */
5308
+ wind: ElectricityGenerationMethod;
5309
+ /** Electricity produced by oil power plants. */
5310
+ oil: ElectricityGenerationMethod;
5311
+ /** Electricity produced by nuclear power plants. */
5312
+ nuclear: ElectricityGenerationMethod;
5313
+ /** Electricity produced by biofuel/biomass. */
5314
+ biofuel: ElectricityGenerationMethod;
5315
+ /** Electricity produced by geothermal power plants. */
5316
+ geothermal: ElectricityGenerationMethod;
5317
+ /** Electricity produced by other means. */
5318
+ other: ElectricityGenerationMethod;
5319
+ };
4550
5320
  /** Yearly seasons. */
4551
5321
  export declare enum RouteOperationalElectricitySeason {
4552
5322
  /** Winter season. */
@@ -4558,49 +5328,17 @@ export declare enum RouteOperationalElectricitySeason {
4558
5328
  /** Fall season. */
4559
5329
  FALL = "fall"
4560
5330
  }
4561
- export declare type RouteOperationalFluidEmissions = {
4562
- /** Total fluid. */
4563
- total: Scalars["Float"];
4564
- /** Total wiper fluid maintenance emissions. */
4565
- wiper: Scalars["Float"];
4566
- /** Total brake fluid maintenance emissions. */
4567
- brake: Scalars["Float"];
4568
- /** Total powertrain coolant fluid maintenance emissions. */
4569
- coolant: Scalars["Float"];
4570
- /** Total transmission fluid maintenance emissions. */
4571
- transmission: Scalars["Float"];
4572
- /** Total motor oil maintenance emissions. */
4573
- motor_oil?: Maybe<Scalars["Float"]>;
4574
- };
4575
- export declare type RouteOperationalFluidEmissionstotalArgs = {
4576
- unit?: Maybe<EmissionUnit>;
4577
- };
4578
- export declare type RouteOperationalFluidEmissionswiperArgs = {
4579
- unit?: Maybe<EmissionUnit>;
4580
- };
4581
- export declare type RouteOperationalFluidEmissionsbrakeArgs = {
4582
- unit?: Maybe<EmissionUnit>;
4583
- };
4584
- export declare type RouteOperationalFluidEmissionscoolantArgs = {
4585
- unit?: Maybe<EmissionUnit>;
4586
- };
4587
- export declare type RouteOperationalFluidEmissionstransmissionArgs = {
4588
- unit?: Maybe<EmissionUnit>;
4589
- };
4590
- export declare type RouteOperationalFluidEmissionsmotor_oilArgs = {
4591
- unit?: Maybe<EmissionUnit>;
4592
- };
4593
5331
  export declare type RouteOperationalFuelEmissions = {
4594
- /** Total fuel for the route. */
5332
+ /** Total fuel emissions for the route. */
4595
5333
  total: Scalars["Float"];
4596
- /** Direct (tank to wheels) emissions of the fuel. */
4597
- direct_emissions: Scalars["Float"];
4598
- /** Indirect (well to tank) emissions of the fuel. */
4599
- indirect_emissions: Scalars["Float"];
4600
- /** Fuel consumption for the route in litres. */
4601
- fuel_consumption: Scalars["Float"];
5334
+ /** Direct (tank to wheels) fuel emissions for the route. */
5335
+ direct: Scalars["Float"];
5336
+ /** Indirect (well to tank) fuel emissions for the route. */
5337
+ indirect: Scalars["Float"];
5338
+ /** Total fuel consumption for the route. */
5339
+ consumption: Scalars["Float"];
4602
5340
  /** Estimated internal combustion vehicle weight. */
4603
- weight: Scalars["Float"];
5341
+ vehicle_weight: Scalars["Float"];
4604
5342
  /** Estimated internal combustion vehicle engine torque. */
4605
5343
  engine_torque: Scalars["Float"];
4606
5344
  /** Average powertrain efficiency. */
@@ -4615,16 +5353,16 @@ export declare type RouteOperationalFuelEmissions = {
4615
5353
  export declare type RouteOperationalFuelEmissionstotalArgs = {
4616
5354
  unit?: Maybe<EmissionUnit>;
4617
5355
  };
4618
- export declare type RouteOperationalFuelEmissionsdirect_emissionsArgs = {
5356
+ export declare type RouteOperationalFuelEmissionsdirectArgs = {
4619
5357
  unit?: Maybe<EmissionUnit>;
4620
5358
  };
4621
- export declare type RouteOperationalFuelEmissionsindirect_emissionsArgs = {
5359
+ export declare type RouteOperationalFuelEmissionsindirectArgs = {
4622
5360
  unit?: Maybe<EmissionUnit>;
4623
5361
  };
4624
- export declare type RouteOperationalFuelEmissionsfuel_consumptionArgs = {
5362
+ export declare type RouteOperationalFuelEmissionsconsumptionArgs = {
4625
5363
  unit?: Maybe<FuelUnit>;
4626
5364
  };
4627
- export declare type RouteOperationalFuelEmissionsweightArgs = {
5365
+ export declare type RouteOperationalFuelEmissionsvehicle_weightArgs = {
4628
5366
  unit?: Maybe<WeightUnit>;
4629
5367
  };
4630
5368
  export declare type RouteOperationalFuelEmissionsengine_torqueArgs = {
@@ -4641,11 +5379,11 @@ export declare enum RouteOperationalFuelType {
4641
5379
  DIESEL = "diesel"
4642
5380
  }
4643
5381
  export declare type RouteOperationalInfrastructureEmissions = {
4644
- /** Total infrastructure. */
5382
+ /** Total road infrastructure emissions. */
4645
5383
  total: Scalars["Float"];
4646
- /** Embedded (construction, decommissioning, etc) emissions cost. */
5384
+ /** Embedded (construction, decommissioning, etc) road infrastructure emissions. */
4647
5385
  embedded: Scalars["Float"];
4648
- /** Induced maintenance emissions. */
5386
+ /** Induced road infrastructure maintenance emissions. */
4649
5387
  maintenance: Scalars["Float"];
4650
5388
  };
4651
5389
  export declare type RouteOperationalInfrastructureEmissionstotalArgs = {
@@ -4658,10 +5396,10 @@ export declare type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
4658
5396
  unit?: Maybe<EmissionUnit>;
4659
5397
  };
4660
5398
  export declare type RouteOperationalMaintenanceEmissions = {
4661
- /** Total maintenance. */
5399
+ /** Total maintenance emissions. */
4662
5400
  total: Scalars["Float"];
4663
- /** Total fluid related maintenance emissions. */
4664
- fluids: RouteOperationalFluidEmissions;
5401
+ /** Fluid related maintenance emissions. */
5402
+ fluids: FluidEmissions;
4665
5403
  /** Battery related maintenance emissions. */
4666
5404
  battery: Scalars["Float"];
4667
5405
  /** Tire related maintenance emissions. */
@@ -4686,6 +5424,67 @@ export declare type RouteOperationalMaintenanceEmissionscomponentsArgs = {
4686
5424
  export declare type RouteOperationalMaintenanceEmissionsrepairArgs = {
4687
5425
  unit?: Maybe<EmissionUnit>;
4688
5426
  };
5427
+ export declare type RouteOperatorPreferences = {
5428
+ /** Flag indicating if an operator should be preferred or required. */
5429
+ type?: Maybe<RouteOperatorsType>;
5430
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5431
+ ranking?: Maybe<RouteOperatorPreferencesRanking>;
5432
+ /** Route operators that should be excluded. */
5433
+ exclude?: Maybe<Array<RouteOperatorsValue>>;
5434
+ };
5435
+ /** Prioritized operators for a route calculation. */
5436
+ export declare type RouteOperatorPreferencesInput = {
5437
+ /** Flag indicating if the operators ranking should be preferred or required. */
5438
+ type: RouteOperatorsType;
5439
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5440
+ ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5441
+ /** Route operators that should be excluded. */
5442
+ exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5443
+ };
5444
+ export declare type RouteOperatorPreferencesRanking = {
5445
+ /** Level one (most significant) for operator ranking. */
5446
+ level_one?: Maybe<Array<RouteOperatorsValue>>;
5447
+ /** Level two for operator ranking. */
5448
+ level_two?: Maybe<Array<RouteOperatorsValue>>;
5449
+ /** Level three for operator ranking. */
5450
+ level_three?: Maybe<Array<RouteOperatorsValue>>;
5451
+ /** Level four for operator ranking. */
5452
+ level_four?: Maybe<Array<RouteOperatorsValue>>;
5453
+ /** Level five for operator ranking. */
5454
+ level_five?: Maybe<Array<RouteOperatorsValue>>;
5455
+ /** Level six for operator ranking. */
5456
+ level_six?: Maybe<Array<RouteOperatorsValue>>;
5457
+ /** Level seven for operator ranking. */
5458
+ level_seven?: Maybe<Array<RouteOperatorsValue>>;
5459
+ /** Level eight for operator ranking. */
5460
+ level_eight?: Maybe<Array<RouteOperatorsValue>>;
5461
+ /** Level nine for operator ranking. */
5462
+ level_nine?: Maybe<Array<RouteOperatorsValue>>;
5463
+ /** Level ten for operator ranking. */
5464
+ level_ten?: Maybe<Array<RouteOperatorsValue>>;
5465
+ };
5466
+ export declare type RouteOperatorPreferencesRankingInput = {
5467
+ /** Level one (most significant) for operator ranking. */
5468
+ level_one?: Maybe<Array<RouteOperatorsValueInput>>;
5469
+ /** Level two for operator ranking. */
5470
+ level_two?: Maybe<Array<RouteOperatorsValueInput>>;
5471
+ /** Level three for operator ranking. */
5472
+ level_three?: Maybe<Array<RouteOperatorsValueInput>>;
5473
+ /** Level four for operator ranking. */
5474
+ level_four?: Maybe<Array<RouteOperatorsValueInput>>;
5475
+ /** Level five for operator ranking. */
5476
+ level_five?: Maybe<Array<RouteOperatorsValueInput>>;
5477
+ /** Level six for operator ranking. */
5478
+ level_six?: Maybe<Array<RouteOperatorsValueInput>>;
5479
+ /** Level seven for operator ranking. */
5480
+ level_seven?: Maybe<Array<RouteOperatorsValueInput>>;
5481
+ /** Level eight for operator ranking. */
5482
+ level_eight?: Maybe<Array<RouteOperatorsValueInput>>;
5483
+ /** Level nine for operator ranking. */
5484
+ level_nine?: Maybe<Array<RouteOperatorsValueInput>>;
5485
+ /** Level ten (least significant) for operator ranking. */
5486
+ level_ten?: Maybe<Array<RouteOperatorsValueInput>>;
5487
+ };
4689
5488
  /** Prioritized operators for a route calculation. */
4690
5489
  export declare type RouteOperators = {
4691
5490
  /** Flag indicating if the operators ranking should be preferred or required. */
@@ -4752,13 +5551,55 @@ export declare type RouteOperatorsRankingInput = {
4752
5551
  };
4753
5552
  /** Type of operator prioritization for a route. */
4754
5553
  export declare enum RouteOperatorsType {
4755
- /** Default option. Operators ranking will not be taken into account if no type is given. */
5554
+ /** Operators ranking will not be taken into account if no type is given. */
4756
5555
  NONE = "none",
4757
5556
  /** Operators given in the operators ranking will be preferred when calculating routes. */
4758
5557
  PREFERRED = "preferred",
4759
5558
  /** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored. */
4760
5559
  REQUIRED = "required"
4761
5560
  }
5561
+ export declare type RouteOperatorsValue = {
5562
+ /** ID of an operator. */
5563
+ id: Scalars["ID"];
5564
+ /** List of country codes. */
5565
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
5566
+ };
5567
+ export declare type RouteOperatorsValueInput = {
5568
+ /** ID of an operator. */
5569
+ id: Scalars["ID"];
5570
+ /** List of countries in which the operator should be excluded. When not specified the operator will be excluded in every country. */
5571
+ countries: Array<CountryCodeAlpha2>;
5572
+ };
5573
+ export declare type RouteOriginFeaturePoint = {
5574
+ /** Feature type. */
5575
+ type: FeatureType;
5576
+ /** Geometry of the feature. */
5577
+ geometry: Point;
5578
+ /** Optional object where additional properties can be specified. */
5579
+ properties?: Maybe<RouteOriginProperties>;
5580
+ };
5581
+ export declare type RouteOriginFeaturePointInput = {
5582
+ /** Feature type. */
5583
+ type: FeatureType;
5584
+ /** Geometry of the feature. */
5585
+ geometry: PointInput;
5586
+ /** Optional object where additional properties can be specified. */
5587
+ properties?: Maybe<RouteOriginPropertiesInput>;
5588
+ };
5589
+ export declare type RouteOriginProperties = {
5590
+ /** Data about the origin location. */
5591
+ location?: Maybe<RoutePropertiesLocation>;
5592
+ /** Vehicle data at the origin location. */
5593
+ vehicle?: Maybe<RoutePropertiesVehicle>;
5594
+ };
5595
+ export declare type RouteOriginPropertiesInput = {
5596
+ /** Data about the origin location. */
5597
+ location?: Maybe<RoutePropertiesLocationInput>;
5598
+ /** Vehicle data at the origin location. */
5599
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
5600
+ /** Station data at the origin location. */
5601
+ station?: Maybe<RoutePropertiesStationInput>;
5602
+ };
4762
5603
  export declare type RoutePath = {
4763
5604
  /** GeoJSON location of a route path segment. */
4764
5605
  location?: Maybe<Point>;
@@ -4779,6 +5620,68 @@ export declare type RoutePath = {
4779
5620
  /** State of charge, in kWh, of a route path segment. */
4780
5621
  stateOfCharge?: Maybe<Scalars["Float"]>;
4781
5622
  };
5623
+ export declare type RoutePropertiesLocation = {
5624
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
5625
+ name?: Maybe<Scalars["String"]>;
5626
+ /** Duration to stay at this point. */
5627
+ stop_duration?: Maybe<Scalars["Int"]>;
5628
+ /** Temperature. */
5629
+ temperature?: Maybe<Scalars["Float"]>;
5630
+ /** Air pressure. */
5631
+ air_pressure?: Maybe<Scalars["Float"]>;
5632
+ /** Solar irradiance. */
5633
+ solar_irradiance?: Maybe<Scalars["Float"]>;
5634
+ /** Country. */
5635
+ country?: Maybe<Array<CountryCodeAlpha2>>;
5636
+ };
5637
+ export declare type RoutePropertiesLocationInput = {
5638
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
5639
+ name?: Maybe<Scalars["String"]>;
5640
+ /** Duration to stay at this point. */
5641
+ stop_duration?: Maybe<Scalars["Int"]>;
5642
+ };
5643
+ export declare type RoutePropertiesStation = {
5644
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5645
+ station_id?: Maybe<Scalars["ID"]>;
5646
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5647
+ external_station_id?: Maybe<Scalars["ID"]>;
5648
+ };
5649
+ export declare type RoutePropertiesStationInput = {
5650
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5651
+ station_id?: Maybe<Scalars["ID"]>;
5652
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5653
+ external_station_id?: Maybe<Scalars["ID"]>;
5654
+ };
5655
+ export declare type RoutePropertiesVehicle = {
5656
+ /** Number of occupants present in the vehicle. */
5657
+ occupants?: Maybe<Scalars["Int"]>;
5658
+ /** Combined weight of the occupants. */
5659
+ total_occupant_weight?: Maybe<TotalOccupantWeight>;
5660
+ /** Weight of the cargo. */
5661
+ total_cargo_weight?: Maybe<TotalCargoWeight>;
5662
+ };
5663
+ export declare type RoutePropertiesVehicleInput = {
5664
+ /** Number of occupants present in the vehicle. */
5665
+ occupants?: Maybe<Scalars["Int"]>;
5666
+ /** Combined weight of the occupants. */
5667
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
5668
+ /** Weight of the cargo. */
5669
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
5670
+ };
5671
+ export declare type RouteResponse = {
5672
+ /** ID of a route calculation. */
5673
+ id: Scalars["ID"];
5674
+ /** Status of a route. */
5675
+ status: RouteStatus;
5676
+ /** Recommended route. */
5677
+ recommended?: Maybe<RouteDetails>;
5678
+ /** Meta data for a route. */
5679
+ meta: RouteMetadata;
5680
+ /** Route request. */
5681
+ request_input: CreateRoute;
5682
+ /** Region of a route calculation. */
5683
+ region: Scalars["String"];
5684
+ };
4782
5685
  /** Scheduled charge stop along a route. */
4783
5686
  export declare type RouteScheduledChargeStop = {
4784
5687
  /** List of amenity types. */
@@ -4823,7 +5726,7 @@ export declare enum RouteStatus {
4823
5726
  PROCESSING = "processing",
4824
5727
  /** We finished computing the route, with a result. Final status. */
4825
5728
  DONE = "done",
4826
- /** We finished the computing the route, without any result. Final status. */
5729
+ /** We finished computing the route, without any result. Final status. */
4827
5730
  NOT_FOUND = "not_found",
4828
5731
  /** An error occurred while computing the route. Final status. */
4829
5732
  ERROR = "error"
@@ -4854,64 +5757,264 @@ export declare enum RouteTagType {
4854
5757
  WALKING = "walking",
4855
5758
  CROSSBORDER = "crossborder"
4856
5759
  }
5760
+ export declare type RouteVehicle = {
5761
+ /** ID of the vehicle. */
5762
+ id: Scalars["ID"];
5763
+ /** EV battery specific configuration. */
5764
+ battery?: Maybe<RouteVehicleBattery>;
5765
+ /** Charging configuration. */
5766
+ charging?: Maybe<RouteVehicleCharging>;
5767
+ /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
5768
+ tire_pressure?: Maybe<TirePressure>;
5769
+ /** Value of the vehicle's odometer. */
5770
+ odometer?: Maybe<Scalars["Float"]>;
5771
+ /** Value of the auxiliary power consumption of the vehicle. */
5772
+ auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
5773
+ /** Flag which indicates if climate control is on. */
5774
+ climate?: Maybe<Scalars["Boolean"]>;
5775
+ /** Vehicle Heat Pump configuration. */
5776
+ heat_pump: HeatPumpMode;
5777
+ /** Vehicle cabin configuration. */
5778
+ cabin: RouteVehicleCabin;
5779
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
5780
+ motor_rpm?: Maybe<Scalars["Int"]>;
5781
+ /** Value of the outside temperature. */
5782
+ outside_temperature?: Maybe<Temperature>;
5783
+ /** Vehicle is in park, neutral or turned off. */
5784
+ is_parked?: Maybe<Scalars["Boolean"]>;
5785
+ /** Value of the vehicle's speed. */
5786
+ vehicle_speed?: Maybe<VehicleSpeed>;
5787
+ /** Current heading in degrees. */
5788
+ heading?: Maybe<Scalars["Float"]>;
5789
+ };
5790
+ export declare type RouteVehicleBattery = {
5791
+ /** Battery capacity. */
5792
+ capacity: StateOfCharge;
5793
+ /** State of charge. */
5794
+ state_of_charge: StateOfCharge;
5795
+ /** Minimum final battery state of charge. */
5796
+ final_state_of_charge: StateOfCharge;
5797
+ /** Temperature of the battery. */
5798
+ temperature?: Maybe<Temperature>;
5799
+ /** Battery current in ampere. */
5800
+ current?: Maybe<Scalars["Float"]>;
5801
+ /** Battery voltage in volts. */
5802
+ voltage?: Maybe<Scalars["Float"]>;
5803
+ /** Value of the positive or negative power. When negative, the vehicle is charging. */
5804
+ power?: Maybe<Scalars["Float"]>;
5805
+ /** Indicates if the vehicle is charging. */
5806
+ is_charging?: Maybe<Scalars["Boolean"]>;
5807
+ };
5808
+ /** EV battery specific configuration for a create route mutation. */
5809
+ export declare type RouteVehicleBatteryInput = {
5810
+ /** Battery capacity. */
5811
+ capacity?: Maybe<StateOfChargeInput>;
5812
+ /** Battery state of charge. */
5813
+ state_of_charge?: Maybe<StateOfChargeInput>;
5814
+ /** Minimum battery state of charge. */
5815
+ final_state_of_charge?: Maybe<StateOfChargeInput>;
5816
+ /** Battery temperature. */
5817
+ temperature?: Maybe<BatteryTemperatureInput>;
5818
+ /** Battery current in ampere. */
5819
+ current?: Maybe<Scalars["Float"]>;
5820
+ /** Battery voltage in volts. */
5821
+ voltage?: Maybe<Scalars["Float"]>;
5822
+ /** Vehicle power. */
5823
+ power?: Maybe<Scalars["Float"]>;
5824
+ /** Vehicle is currently charging. */
5825
+ is_charging?: Maybe<Scalars["Boolean"]>;
5826
+ };
5827
+ export declare type RouteVehicleCabin = {
5828
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
5829
+ is_preconditioned: Scalars["Boolean"];
5830
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
5831
+ desired_temperature: Temperature;
5832
+ };
5833
+ export declare type RouteVehicleCabinInput = {
5834
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
5835
+ is_preconditioned?: Scalars["Boolean"];
5836
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
5837
+ desired_temperature: TemperatureInput;
5838
+ };
5839
+ export declare type RouteVehicleCharging = {
5840
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
5841
+ mode: ChargeMode;
5842
+ /** Minimum desired power of chargers. */
5843
+ minimum_power: Scalars["Int"];
5844
+ /** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
5845
+ risk_margin: Scalars["Int"];
5846
+ /** Supported connectors. */
5847
+ connectors?: Maybe<Array<RouteVehicleChargingConnector>>;
5848
+ /** Supported adapters. */
5849
+ adapters?: Maybe<Array<RouteVehicleChargingConnector>>;
5850
+ };
5851
+ export declare type RouteVehicleChargingConnector = {
5852
+ /** Type of the plug. */
5853
+ standard: ConnectorType;
5854
+ /** Maximum charging speed for the plug. */
5855
+ max_charge_speed: ChargeSpeed;
5856
+ };
5857
+ export declare type RouteVehicleChargingConnectorInput = {
5858
+ /** Plug type. */
5859
+ standard: ConnectorType;
5860
+ /** Maximum charging speed for this plug. */
5861
+ max_charge_speed: ChargeSpeedInput;
5862
+ };
5863
+ export declare type RouteVehicleChargingInput = {
5864
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
5865
+ mode?: Maybe<ChargeMode>;
5866
+ /** Minimum desired power of chargers. */
5867
+ minimum_power?: Maybe<Scalars["Float"]>;
5868
+ /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
5869
+ risk_margin?: Maybe<Scalars["Int"]>;
5870
+ /** Supported connectors. */
5871
+ connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
5872
+ /** Supported adapters. */
5873
+ adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
5874
+ };
4857
5875
  export declare type RouteVehicleEmissions = {
4858
5876
  /** Total co2e emissions. */
4859
5877
  total: Scalars["Float"];
4860
- /** Embedded emissions. */
5878
+ /** 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. */
5879
+ iso_14083_2023: Scalars["Float"];
5880
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4861
5881
  embedded: RouteEmbeddedEmissions;
4862
5882
  /** Operational emissions. */
4863
5883
  operational: RouteVehicleOperationalEmissions;
4864
5884
  /** End of life emissions. */
4865
5885
  end_of_life: RouteEndOfLifeEmissions;
4866
- /** Emissions info for the legs in the order as within the route. */
5886
+ /** Emissions info for the legs in the same order as in the route. */
4867
5887
  legs: Array<RouteVehicleLegEmissions>;
4868
5888
  };
4869
5889
  export declare type RouteVehicleEmissionstotalArgs = {
4870
5890
  unit?: Maybe<EmissionUnit>;
4871
5891
  };
5892
+ export declare type RouteVehicleEmissionsiso_14083_2023Args = {
5893
+ unit?: Maybe<EmissionUnit>;
5894
+ };
5895
+ /** Vehicle specific input for a create route mutation. */
5896
+ export declare type RouteVehicleInput = {
5897
+ /** ID of the vehicle. */
5898
+ id: Scalars["ID"];
5899
+ /** EV battery specific configuration. */
5900
+ battery?: Maybe<RouteVehicleBatteryInput>;
5901
+ /** Charging configuration. */
5902
+ charging?: Maybe<RouteVehicleChargingInput>;
5903
+ /** Average tire pressures of all wheels. */
5904
+ tire_pressure?: Maybe<TirePressureInput>;
5905
+ /** Odometer (mileage) reading. */
5906
+ odometer?: Maybe<OdometerInput>;
5907
+ /** Average auxiliary power consumption. */
5908
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
5909
+ /** Flag which indicates if climate control is on. */
5910
+ climate?: Maybe<Scalars["Boolean"]>;
5911
+ /** Vehicle Heat Pump configuration. */
5912
+ heat_pump?: Maybe<HeatPumpMode>;
5913
+ /** Vehicle cabin configuration for creating the route. */
5914
+ cabin?: Maybe<RouteVehicleCabinInput>;
5915
+ /** Outside temperature. */
5916
+ outside_temperature?: Maybe<OutsideTemperatureInput>;
5917
+ /** Vehicle is in park, neutral or turned off. */
5918
+ is_parked?: Maybe<Scalars["Boolean"]>;
5919
+ /** Vehicle speed. */
5920
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
5921
+ /** Current heading in degrees. */
5922
+ heading?: Maybe<Scalars["Float"]>;
5923
+ };
4872
5924
  export declare type RouteVehicleLegEmissions = {
4873
5925
  /** Total co2e emissions for the leg. */
4874
5926
  total: Scalars["Float"];
4875
- /** Embedded emissions for the leg. */
5927
+ /** 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. */
5928
+ iso_14083_2023: Scalars["Float"];
5929
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4876
5930
  embedded: RouteEmbeddedEmissions;
4877
5931
  /** Operational emissions for the leg. */
4878
- operational: RouteVehicleOperationalEmissions;
5932
+ operational: RouteVehicleLegOperationalEmissions;
4879
5933
  /** End of life emissions for the leg. */
4880
5934
  end_of_life: RouteEndOfLifeEmissions;
4881
5935
  };
4882
5936
  export declare type RouteVehicleLegEmissionstotalArgs = {
4883
5937
  unit?: Maybe<EmissionUnit>;
4884
5938
  };
5939
+ export declare type RouteVehicleLegEmissionsiso_14083_2023Args = {
5940
+ unit?: Maybe<EmissionUnit>;
5941
+ };
5942
+ export declare type RouteVehicleLegOperationalEmissions = {
5943
+ /** Total operational emissions for the leg. */
5944
+ total: Scalars["Float"];
5945
+ /** Electricity emissions data for the leg. */
5946
+ electricity: RouteLegOperationalElectricityEmissions;
5947
+ /** Total road infrastructure emissions for the leg. */
5948
+ infrastructure: RouteOperationalInfrastructureEmissions;
5949
+ /** Total maintenance emissions for the leg. */
5950
+ maintenance: RouteOperationalMaintenanceEmissions;
5951
+ };
5952
+ export declare type RouteVehicleLegOperationalEmissionstotalArgs = {
5953
+ unit?: Maybe<EmissionUnit>;
5954
+ };
4885
5955
  export declare type RouteVehicleOperationalEmissions = {
4886
5956
  /** Total operational emissions. */
4887
5957
  total: Scalars["Float"];
4888
- /** Electricity emissions data. */
5958
+ /** Electricity emissions. */
4889
5959
  electricity: RouteOperationalElectricityEmissions;
4890
- /** Total road infrastructure emissions. */
5960
+ /** Road infrastructure emissions. */
4891
5961
  infrastructure: RouteOperationalInfrastructureEmissions;
4892
- /** Total maintenance emissions. */
5962
+ /** Maintenance emissions. */
4893
5963
  maintenance: RouteOperationalMaintenanceEmissions;
4894
5964
  };
4895
5965
  export declare type RouteVehicleOperationalEmissionstotalArgs = {
4896
5966
  unit?: Maybe<EmissionUnit>;
4897
5967
  };
5968
+ export declare type RouteViaFeaturePoint = {
5969
+ /** Feature type. */
5970
+ type: FeatureType;
5971
+ /** Geometry of the feature. */
5972
+ geometry: Point;
5973
+ /** Optional object where additional properties can be specified. */
5974
+ properties?: Maybe<RouteViaProperties>;
5975
+ };
5976
+ export declare type RouteViaFeaturePointInput = {
5977
+ /** Feature type. */
5978
+ type: FeatureType;
5979
+ /** Geometry of the feature. */
5980
+ geometry: PointInput;
5981
+ /** Optional object where additional properties can be specified. */
5982
+ properties?: Maybe<RouteViaPropertiesInput>;
5983
+ };
5984
+ export declare type RouteViaProperties = {
5985
+ /** Location data of the via point. */
5986
+ location: RoutePropertiesLocation;
5987
+ /** Vehicle data of the via point. */
5988
+ vehicle: RoutePropertiesVehicle;
5989
+ /** Station data of the via point. */
5990
+ station: RoutePropertiesStation;
5991
+ };
5992
+ export declare type RouteViaPropertiesInput = {
5993
+ /** Location data of the via point. */
5994
+ location: RoutePropertiesLocationInput;
5995
+ /** Vehicle data of the via point. */
5996
+ vehicle: RoutePropertiesVehicleInput;
5997
+ /** Station data of the via point. */
5998
+ station: RoutePropertiesStationInput;
5999
+ };
4898
6000
  /** Scheduled charge stop along a route. */
4899
6001
  export declare type ScheduledChargeStopInput = {
4900
6002
  /** List of amenity types. */
4901
6003
  types: Array<AmenityType>;
4902
6004
  /** Duration at the amenity, in seconds. The value should be between 900 and 86400. */
4903
6005
  duration: Scalars["Int"];
4904
- /** Maximum allowed offset from the stop_after value in seconds. Default is 1800. */
6006
+ /** Maximum allowed offset from the stop_after value in seconds. */
4905
6007
  offset?: Maybe<Scalars["Int"]>;
4906
6008
  /** Desired drive time for a scheduled stop after leaving the origin point, in seconds. */
4907
6009
  stop_after: Scalars["Int"];
4908
- /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. Default is 1000. */
6010
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
4909
6011
  max_distance_from_station?: Maybe<Scalars["Int"]>;
4910
6012
  };
4911
6013
  export declare enum SortDirection {
4912
6014
  ASCENDING = "ascending",
4913
6015
  DESCENDING = "descending"
4914
6016
  }
6017
+ /** Speed units. */
4915
6018
  export declare enum SpeedUnit {
4916
6019
  /** Return the speed in kilometers per hour. */
4917
6020
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -4925,14 +6028,23 @@ export declare type StandardStats = {
4925
6028
  /** The total number of stations with the specified plug */
4926
6029
  total?: Maybe<Scalars["Int"]>;
4927
6030
  };
6031
+ export declare type StateOfCharge = {
6032
+ /** Value of the state of charge of the vehicle. */
6033
+ value: Scalars["Float"];
6034
+ /** Type of the state of charge of the vehicle. */
6035
+ type: StateOfChargeUnit;
6036
+ /** Source of inputted data. */
6037
+ source: TelemetryInputSource;
6038
+ };
4928
6039
  export declare type StateOfChargeInput = {
4929
6040
  /** Value of the state of charge of the vehicle. */
4930
6041
  value: Scalars["Float"];
4931
6042
  /** Type of the state of charge of the vehicle. */
4932
6043
  type: StateOfChargeUnit;
4933
6044
  /** Source of inputted data, defaults to 'manual'. */
4934
- source?: Maybe<TelemetryInputSource>;
6045
+ source?: TelemetryInputSource;
4935
6046
  };
6047
+ /** State of charge unit. */
4936
6048
  export declare enum StateOfChargeUnit {
4937
6049
  /** Return the state of charge in kilometers. */
4938
6050
  KILOMETER = "kilometer",
@@ -5098,7 +6210,7 @@ export declare type StationAroundFilter = {
5098
6210
  location?: Maybe<PointInput>;
5099
6211
  /** Distance, in meters, to search around. */
5100
6212
  distance?: Maybe<Scalars["Int"]>;
5101
- /** Powers in kWh. */
6213
+ /** Powers in kW. */
5102
6214
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5103
6215
  /** Amenities available near a station. */
5104
6216
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5117,7 +6229,7 @@ export declare type StationAroundQuery = {
5117
6229
  location?: Maybe<PointInput>;
5118
6230
  /** Distance, in meters, to search around. */
5119
6231
  distance?: Maybe<Scalars["Int"]>;
5120
- /** Power in kWh. */
6232
+ /** Power in kW. */
5121
6233
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5122
6234
  /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park. */
5123
6235
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
@@ -5209,7 +6321,7 @@ export declare type StationHeavyVehiclesRestrictionsmassArgs = {
5209
6321
  };
5210
6322
  /** Filter which can be applied to retrieve the station list action. */
5211
6323
  export declare type StationListFilter = {
5212
- /** Powers in kWh. */
6324
+ /** Powers in kW. */
5213
6325
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5214
6326
  /** Amenities available near a station. */
5215
6327
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5271,11 +6383,11 @@ export declare type StationRoaming = {
5271
6383
  };
5272
6384
  /** The station speed type. */
5273
6385
  export declare enum StationSpeedType {
5274
- /** Slow charging (below 43 kWh). */
6386
+ /** Slow charging (below 43 kW). */
5275
6387
  SLOW = "slow",
5276
- /** Fast charging stations (above 43 kWh and below 150 kWh). */
6388
+ /** Fast charging stations (above 43 kW and below 150 kW). */
5277
6389
  FAST = "fast",
5278
- /** Ultra fast charging stations (above 150 kWh). */
6390
+ /** Ultra fast charging stations (above 150 kW). */
5279
6391
  TURBO = "turbo"
5280
6392
  }
5281
6393
  /** The station stats model */
@@ -5338,6 +6450,8 @@ export declare type Subscription = {
5338
6450
  navigationUpdatedById?: Maybe<Navigation>;
5339
6451
  /** Subscription for a specific route was updated in the system event */
5340
6452
  routeUpdatedById?: Maybe<Route>;
6453
+ /** [BETA] Subscription for a specific route was updated in the system event */
6454
+ route: RouteResponse;
5341
6455
  };
5342
6456
  export declare type SubscriptionconnectedVehicleArgs = {
5343
6457
  id: Scalars["ID"];
@@ -5351,6 +6465,9 @@ export declare type SubscriptionnavigationUpdatedByIdArgs = {
5351
6465
  export declare type SubscriptionrouteUpdatedByIdArgs = {
5352
6466
  id: Scalars["ID"];
5353
6467
  };
6468
+ export declare type SubscriptionrouteArgs = {
6469
+ id: Scalars["ID"];
6470
+ };
5354
6471
  export declare type Telemetry = {
5355
6472
  /** Value of the auxiliary power consumption of the vehicle. */
5356
6473
  auxiliary_consumption?: Maybe<Scalars["Float"]>;
@@ -5482,6 +6599,7 @@ export declare type TelemetryInput = {
5482
6599
  /** Custom input fields can be added based on telemetry architecture. */
5483
6600
  custom?: Maybe<Scalars["JSON"]>;
5484
6601
  };
6602
+ /** Telemetry input sources. */
5485
6603
  export declare enum TelemetryInputSource {
5486
6604
  /** Manually inputted value. */
5487
6605
  MANUAL = "manual",
@@ -5493,26 +6611,39 @@ export declare type Temperature = {
5493
6611
  value: Scalars["Float"];
5494
6612
  /** Type of temperature. */
5495
6613
  type: TemperatureUnit;
6614
+ /** Source of inputted data. */
6615
+ source: TelemetryInputSource;
5496
6616
  };
5497
6617
  export declare type TemperatureInput = {
5498
6618
  /** Value of the temperature. */
5499
6619
  value: Scalars["Float"];
5500
6620
  /** Type of temperature. */
5501
6621
  type: TemperatureUnit;
6622
+ /** Source of inputted data. */
6623
+ source?: TelemetryInputSource;
5502
6624
  };
6625
+ /** Temperature unit. */
5503
6626
  export declare enum TemperatureUnit {
5504
6627
  /** Return the temperature in Celsius. */
5505
6628
  CELSIUS = "Celsius",
5506
6629
  /** Return the temperature in Fahrenheit. */
5507
6630
  FAHRENHEIT = "Fahrenheit"
5508
6631
  }
6632
+ export declare type TirePressure = {
6633
+ /** Values for the tire pressure, starting from the front side right to left and to the rear (FR, FL, RL, RR). */
6634
+ value: Array<Scalars["Float"]>;
6635
+ /** Type of the value of pressure. */
6636
+ type: PressureUnit;
6637
+ /** Source of inputted data. */
6638
+ source: TelemetryInputSource;
6639
+ };
5509
6640
  export declare type TirePressureInput = {
5510
6641
  /** Values for the tire pressure, starting from the front side right to left and to the rear. */
5511
6642
  value: Array<Scalars["Float"]>;
5512
6643
  /** Type of the value of pressure. */
5513
6644
  type: PressureUnit;
5514
6645
  /** Source of inputted data, defaults to 'manual'. */
5515
- source?: Maybe<TelemetryInputSource>;
6646
+ source?: TelemetryInputSource;
5516
6647
  };
5517
6648
  export declare enum TorqueUnit {
5518
6649
  /** Return the torque in newton meters. */
@@ -5520,13 +6651,29 @@ export declare enum TorqueUnit {
5520
6651
  /** Return the torque in foot pounds. */
5521
6652
  FOOT_POUND = "foot_pound"
5522
6653
  }
6654
+ export declare type TotalCargoWeight = {
6655
+ /** Value of the current weight of the cargo. */
6656
+ value: Scalars["Float"];
6657
+ /** Type of the current weight of the cargo. */
6658
+ type: WeightUnit;
6659
+ /** Source of inputted data. */
6660
+ source: TelemetryInputSource;
6661
+ };
5523
6662
  export declare type TotalCargoWeightInput = {
5524
6663
  /** Value of the current weight of the cargo. */
5525
6664
  value: Scalars["Float"];
5526
6665
  /** Type of the current weight of the cargo. */
5527
6666
  type: WeightUnit;
5528
6667
  /** Source of inputted data, defaults to 'manual'. */
5529
- source?: Maybe<TelemetryInputSource>;
6668
+ source?: TelemetryInputSource;
6669
+ };
6670
+ export declare type TotalOccupantWeight = {
6671
+ /** Value of the current weight of the occupants. */
6672
+ value: Scalars["Float"];
6673
+ /** Type of the current weight of the occupants. */
6674
+ type: WeightUnit;
6675
+ /** Source of inputted data. */
6676
+ source: TelemetryInputSource;
5530
6677
  };
5531
6678
  export declare type TotalOccupantWeightInput = {
5532
6679
  /** Value of the current weight of the occupants. */
@@ -5534,7 +6681,7 @@ export declare type TotalOccupantWeightInput = {
5534
6681
  /** Type of the current weight of the occupants. */
5535
6682
  type: WeightUnit;
5536
6683
  /** Source of inputted data, defaults to 'manual'. */
5537
- source?: Maybe<TelemetryInputSource>;
6684
+ source?: TelemetryInputSource;
5538
6685
  };
5539
6686
  export declare enum TurningCircleUnit {
5540
6687
  /** Return the turning circle in meters. */
@@ -6648,7 +7795,7 @@ export declare type VehiclePremiumRoutingfuel_consumptionArgs = {
6648
7795
  unit?: Maybe<FuelConsumptionUnit>;
6649
7796
  };
6650
7797
  export declare type VehiclePremiumRoutingConsumption = {
6651
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
7798
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
6652
7799
  auxiliary?: Maybe<Scalars["Float"]>;
6653
7800
  /**
6654
7801
  * Consumption, in kWh, of the auxiliaries.
@@ -6786,13 +7933,21 @@ export declare type VehicleRouting = {
6786
7933
  /** Vehicles that support fast charging have a minimum charging speed of 43 kWh. */
6787
7934
  fast_charging_support: Scalars["Boolean"];
6788
7935
  };
7936
+ export declare type VehicleSpeed = {
7937
+ /** Value of the vehicle speed. */
7938
+ value: Scalars["Float"];
7939
+ /** Type of the vehicle speed. */
7940
+ type: SpeedUnit;
7941
+ /** Source of inputted data. */
7942
+ source: TelemetryInputSource;
7943
+ };
6789
7944
  export declare type VehicleSpeedInput = {
6790
7945
  /** Value of the vehicle speed. */
6791
7946
  value: Scalars["Float"];
6792
7947
  /** Type of the vehicle speed. */
6793
7948
  type: SpeedUnit;
6794
7949
  /** Source of inputted data, defaults to 'manual'. */
6795
- source?: Maybe<TelemetryInputSource>;
7950
+ source?: TelemetryInputSource;
6796
7951
  };
6797
7952
  /** Status of a vehicle. */
6798
7953
  export declare enum VehicleStatus {
@@ -6877,6 +8032,7 @@ export declare enum VolumeUnit {
6877
8032
  /** Return the volume in cubic feet. */
6878
8033
  CUBIC_FOOT = "cubic_foot"
6879
8034
  }
8035
+ /** Weight unit. */
6880
8036
  export declare enum WeightUnit {
6881
8037
  /** Return the weight in kilograms. */
6882
8038
  KILOGRAM = "kilogram",