@chargetrip/types 1.42.0 → 1.44.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"
@@ -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",
@@ -1664,8 +1683,13 @@ export declare type Connector = {
1664
1683
  properties?: Maybe<Scalars["JSON"]>;
1665
1684
  /** List of valid charging tariffs. */
1666
1685
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1667
- /** Charging prices. */
1686
+ /**
1687
+ * Charging prices.
1688
+ * @deprecated In favor of prices.
1689
+ */
1668
1690
  pricing?: Maybe<Pricing>;
1691
+ /** Dynamic charging prices. */
1692
+ prices?: Maybe<Array<ConnectorPrice>>;
1669
1693
  /** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database. */
1670
1694
  custom_properties?: Maybe<ConnectorCustomProperties>;
1671
1695
  };
@@ -1673,12 +1697,180 @@ export declare type Connector = {
1673
1697
  export declare type ConnectorCustomProperties = {
1674
1698
  /**
1675
1699
  * Charging prices.
1676
- * @deprecated In favor of connector.pricing
1700
+ * @deprecated In favor of connector.prices.
1677
1701
  */
1678
1702
  pricing?: Maybe<Pricing>;
1679
1703
  /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
1680
1704
  oicp?: Maybe<OICPConnectorCustomProperties>;
1681
1705
  };
1706
+ /** Connector charging price. */
1707
+ export declare type ConnectorPrice = {
1708
+ /** ID for the price. */
1709
+ external_id: Scalars["String"];
1710
+ /** Owner of the payment product. */
1711
+ partner?: Maybe<Scalars["String"]>;
1712
+ /** ID for the owner of the payment product. */
1713
+ partner_id: Scalars["String"];
1714
+ /** Payment product. */
1715
+ product: ConnectorPriceProduct;
1716
+ /** Price product elements. */
1717
+ elements: Array<ConnectorPriceElement>;
1718
+ /** Indicates when the pricing data was last updated. The date is in ISO 8601 standard and the time zone is UTC. The update could be a price update or any other update (for example, pricing type update). */
1719
+ last_updated?: Maybe<Scalars["DateTime"]>;
1720
+ };
1721
+ export declare type ConnectorPriceElement = {
1722
+ /** Connector price element components. */
1723
+ components: Array<ConnectorPriceElementComponent>;
1724
+ /** Connector price element restrictions. */
1725
+ restrictions?: Maybe<ConnectorPriceElementRestrictions>;
1726
+ };
1727
+ export declare type ConnectorPriceElementComponent = {
1728
+ /** Type of pricing that is applicable. */
1729
+ type: ConnectorPriceElementComponentType;
1730
+ /** Applicable price excluding VAT. */
1731
+ price_excl_vat: Scalars["Float"];
1732
+ /** Applicable VAT. */
1733
+ vat: Scalars["Float"];
1734
+ /**
1735
+ * Indicates the minimum amount that is billed. A
1736
+ * unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
1737
+ *
1738
+ * Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.
1739
+ */
1740
+ step_size: Scalars["Int"];
1741
+ };
1742
+ /** Type of pricing that is applicable. */
1743
+ export declare enum ConnectorPriceElementComponentType {
1744
+ /** Price per kWh. */
1745
+ ENERGY = "energy",
1746
+ /** Fixed price per charging session. */
1747
+ FLAT = "flat",
1748
+ /** Parking price per hour. This fee is applicable even if the parked car is not charging. */
1749
+ PARKING_TIME = "parking_time",
1750
+ /** Fixed price per hour. */
1751
+ TIME = "time"
1752
+ }
1753
+ export declare type ConnectorPriceElementRestrictions = {
1754
+ /** Starting time of the day for the prices. */
1755
+ start_time?: Maybe<Scalars["String"]>;
1756
+ /** Ending time of the day for the prices. */
1757
+ end_time?: Maybe<Scalars["String"]>;
1758
+ /** Starting date for the prices. */
1759
+ start_date?: Maybe<Scalars["String"]>;
1760
+ /** Ending date for the prices. */
1761
+ end_date?: Maybe<Scalars["String"]>;
1762
+ /** Minimum energy used, in kWh. */
1763
+ minimum_kwh?: Maybe<Scalars["Float"]>;
1764
+ /** Maximum energy used, in kWh. */
1765
+ maximum_kwh?: Maybe<Scalars["Float"]>;
1766
+ /** Minimum charging speed, in kW. */
1767
+ minimum_power?: Maybe<Scalars["Float"]>;
1768
+ /** Maximum charging speed, in kW. */
1769
+ maximum_power?: Maybe<Scalars["Float"]>;
1770
+ /** Sum of the minimum current (in Amperes) over all the phases. When the EV is charging with more than or equal to this value the prices are active. If the charging current is lower, this price is inactive. */
1771
+ minimum_current?: Maybe<Scalars["Float"]>;
1772
+ /** Sum of the maximum current (in Amperes) over all the phases. When the EV is charging with less than this value the prices are active. If the charging current is higher, this price is inactive. */
1773
+ maximum_current?: Maybe<Scalars["Float"]>;
1774
+ /** Minimum price based on the amount of kWh that is being delivered. */
1775
+ minimum_price?: Maybe<Scalars["Float"]>;
1776
+ /** Maximum price based on the amount of kWh that is being delivered. */
1777
+ maximum_price?: Maybe<Scalars["Float"]>;
1778
+ /** Battery percentage at which the overstay prices are active. */
1779
+ overstay_battery_percentage?: Maybe<ConnectorPriceRestrictionsOverstayBatteryPercentage>;
1780
+ /** Time after which the overstay prices are active. */
1781
+ overstay_time?: Maybe<ConnectorPriceRestrictionsOverstayTime>;
1782
+ /** Minimum duration, in seconds. */
1783
+ minimum_duration?: Maybe<Scalars["Int"]>;
1784
+ /** Maximum duration, in seconds. */
1785
+ maximum_duration?: Maybe<Scalars["Int"]>;
1786
+ /** Day(s) of the week that the prices are valid. */
1787
+ day_of_week?: Maybe<Array<DayOfWeek>>;
1788
+ /** Contract signed between the eMSP and the customer. */
1789
+ emsp_contract_date?: Maybe<ConnectorPriceRestrictionsEmspContractDate>;
1790
+ /**
1791
+ * When this field is present, the ConnectorPriceElement describes reservation costs.
1792
+ * A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
1793
+ * or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
1794
+ * where time is for the duration of the reservation.
1795
+ *
1796
+ * When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
1797
+ * where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
1798
+ * then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
1799
+ */
1800
+ reservation?: Maybe<ConnectorPriceRestrictionsReservationType>;
1801
+ };
1802
+ /** Payment product. */
1803
+ export declare type ConnectorPriceProduct = {
1804
+ /** Name of the payment product. */
1805
+ name: Scalars["String"];
1806
+ /** Type of the payment product. */
1807
+ type: ConnectorPriceProductType;
1808
+ /** A brief description of the product. */
1809
+ description: Scalars["String"];
1810
+ /** Indicates the type of subscription. */
1811
+ subscription_type: ConnectorPriceProductSubscriptionType;
1812
+ /** Subscription price for a month or year, excluding VAT, if applicable. */
1813
+ subscription_fee_excl_vat: Scalars["Float"];
1814
+ /** Three-digit currency code of the country where the charging station is located. */
1815
+ currency: CurrencyUnit;
1816
+ };
1817
+ /** Type of the payment product. */
1818
+ export declare enum ConnectorPriceProductSubscriptionType {
1819
+ /** The subscription fee is applicable every month. */
1820
+ MONTHLY = "monthly",
1821
+ /** The subscription fee is applicable every year. */
1822
+ YEARLY = "yearly",
1823
+ /** An initial fee is applicable to purchase a RFID card or chip, but there isn't a recurring subscription fee. */
1824
+ ONE_OFF = "one_off",
1825
+ /** The product doesn’t have a subscription option. */
1826
+ NOT_APPLICABLE = "not_applicable"
1827
+ }
1828
+ /** Type of the payment product. */
1829
+ export declare enum ConnectorPriceProductType {
1830
+ AD_HOC = "ad_hoc",
1831
+ MSP = "msp",
1832
+ CPO_SUBSCRIPTION = "cpo_subscription"
1833
+ }
1834
+ export declare type ConnectorPriceRestrictionsEmspContractDate = {
1835
+ /** Name of the contract signed between the eMSP and a customer. */
1836
+ name?: Maybe<Scalars["String"]>;
1837
+ /** Prices are active from this date, which is based on the contract signed between the eMSP and a customer. */
1838
+ from?: Maybe<Scalars["String"]>;
1839
+ /** Prices are active until this date, which is based on the contract signed between the eMSP and a customer. */
1840
+ to?: Maybe<Scalars["String"]>;
1841
+ };
1842
+ export declare type ConnectorPriceRestrictionsOverstayBatteryPercentage = {
1843
+ /** Battery percentage at which the overstay prices are active. */
1844
+ minimum?: Maybe<Scalars["Int"]>;
1845
+ /** Battery percentage at which the overstay prices are inactive. */
1846
+ maximum?: Maybe<Scalars["Int"]>;
1847
+ /** Unit for the time after which the prices are active. */
1848
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1849
+ };
1850
+ export declare type ConnectorPriceRestrictionsOverstayTime = {
1851
+ /** Time at which the overstay prices are active. */
1852
+ minimum?: Maybe<Scalars["Int"]>;
1853
+ /** Time at which the overstay prices are inactive. */
1854
+ maximum?: Maybe<Scalars["Int"]>;
1855
+ /** Unit for the time after which the prices are active. */
1856
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1857
+ };
1858
+ /** The unit of time after which the overstay restrictions are applicable. */
1859
+ export declare enum ConnectorPriceRestrictionsOverstayTimeUnit {
1860
+ /** The overstay restrictions are applicable after a certain number of seconds. */
1861
+ SECONDS = "seconds",
1862
+ /** The overstay restrictions are applicable after a certain number of minutes. */
1863
+ MINUTES = "minutes",
1864
+ /** The overstay restrictions are applicable after a certain number of hours. */
1865
+ HOURS = "hours"
1866
+ }
1867
+ /** Describes the cost associated with reserving a charging station. */
1868
+ export declare enum ConnectorPriceRestrictionsReservationType {
1869
+ /** Describes costs for a reservation. */
1870
+ RESERVATION = "reservation",
1871
+ /** Describes costs for a reservation that expires (i.e. driver does not start a charging session before expiry date of the reservation). */
1872
+ RESERVATION_EXPIRES = "reservation_expires"
1873
+ }
1682
1874
  /** The socket or plug standard of the charging point. */
1683
1875
  export declare enum ConnectorType {
1684
1876
  /** The connector type is CHAdeMO, DC. */
@@ -2061,6 +2253,43 @@ export declare type CreateConnectedVehicleOptions = {
2061
2253
  /** Scope */
2062
2254
  scope?: Maybe<Array<ConnectScope>>;
2063
2255
  };
2256
+ export declare type CreateRoute = {
2257
+ /** Vehicle used on a route. */
2258
+ vehicle: RouteVehicle;
2259
+ /** Origin of a route. */
2260
+ origin: RouteOriginFeaturePoint;
2261
+ /** Destination of a route. */
2262
+ destination: RouteDestinationFeaturePoint;
2263
+ /** Via points of a route. */
2264
+ via?: Maybe<Array<RouteViaFeaturePoint>>;
2265
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2266
+ operators?: Maybe<RouteOperatorPreferences>;
2267
+ /** Season of a route. */
2268
+ season: RouteSeason;
2269
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2270
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2271
+ /** Departure time of a route. */
2272
+ departure_time?: Maybe<Scalars["DateTime"]>;
2273
+ };
2274
+ /** Input for the create route mutation. */
2275
+ export declare type CreateRouteInput = {
2276
+ /** Vehicle specific input. */
2277
+ vehicle: RouteVehicleInput;
2278
+ /** Origin of a route. */
2279
+ origin: RouteOriginFeaturePointInput;
2280
+ /** Destination of a route. */
2281
+ destination: RouteDestinationFeaturePointInput;
2282
+ /** Optional via points of a route. */
2283
+ via?: Maybe<Array<RouteViaFeaturePointInput>>;
2284
+ /** Prioritized operators for a route calculation. */
2285
+ operators?: Maybe<RouteOperatorPreferencesInput>;
2286
+ /** Optional flag to specify the season. */
2287
+ season?: Maybe<RouteSeason>;
2288
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2289
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2290
+ /** Route departure time. */
2291
+ departure_time?: Maybe<Scalars["DateTime"]>;
2292
+ };
2064
2293
  /** Currency according to the ISO 4217 standard. */
2065
2294
  export declare enum CurrencyUnit {
2066
2295
  /** Return the currency in EUR. */
@@ -2068,7 +2297,148 @@ export declare enum CurrencyUnit {
2068
2297
  /** Return the currency in USD. */
2069
2298
  USD = "USD",
2070
2299
  /** Return the currency in GBP. */
2071
- GBP = "GBP"
2300
+ GBP = "GBP",
2301
+ AED = "AED",
2302
+ AFN = "AFN",
2303
+ ALL = "ALL",
2304
+ AMD = "AMD",
2305
+ ANG = "ANG",
2306
+ AOA = "AOA",
2307
+ ARS = "ARS",
2308
+ AUD = "AUD",
2309
+ AWG = "AWG",
2310
+ AZN = "AZN",
2311
+ BAM = "BAM",
2312
+ BBD = "BBD",
2313
+ BDT = "BDT",
2314
+ BGN = "BGN",
2315
+ BIF = "BIF",
2316
+ BMD = "BMD",
2317
+ BND = "BND",
2318
+ BOB = "BOB",
2319
+ BRL = "BRL",
2320
+ BSD = "BSD",
2321
+ BWP = "BWP",
2322
+ BYN = "BYN",
2323
+ BZD = "BZD",
2324
+ CAD = "CAD",
2325
+ CDF = "CDF",
2326
+ CHF = "CHF",
2327
+ CLP = "CLP",
2328
+ CNY = "CNY",
2329
+ COP = "COP",
2330
+ CRC = "CRC",
2331
+ CVE = "CVE",
2332
+ CZK = "CZK",
2333
+ DJF = "DJF",
2334
+ DKK = "DKK",
2335
+ DOP = "DOP",
2336
+ DZD = "DZD",
2337
+ EGP = "EGP",
2338
+ ETB = "ETB",
2339
+ FJD = "FJD",
2340
+ FKP = "FKP",
2341
+ GEL = "GEL",
2342
+ GIP = "GIP",
2343
+ GMD = "GMD",
2344
+ GNF = "GNF",
2345
+ GTQ = "GTQ",
2346
+ GYD = "GYD",
2347
+ HKD = "HKD",
2348
+ HNL = "HNL",
2349
+ HTG = "HTG",
2350
+ HUF = "HUF",
2351
+ IDR = "IDR",
2352
+ ILS = "ILS",
2353
+ INR = "INR",
2354
+ ISK = "ISK",
2355
+ JMD = "JMD",
2356
+ JPY = "JPY",
2357
+ KES = "KES",
2358
+ KGS = "KGS",
2359
+ KHR = "KHR",
2360
+ KMF = "KMF",
2361
+ KRW = "KRW",
2362
+ KYD = "KYD",
2363
+ KZT = "KZT",
2364
+ LAK = "LAK",
2365
+ LBP = "LBP",
2366
+ LKR = "LKR",
2367
+ LRD = "LRD",
2368
+ LSL = "LSL",
2369
+ MAD = "MAD",
2370
+ MDL = "MDL",
2371
+ MGA = "MGA",
2372
+ MKD = "MKD",
2373
+ MMK = "MMK",
2374
+ MNT = "MNT",
2375
+ MOP = "MOP",
2376
+ MUR = "MUR",
2377
+ MVR = "MVR",
2378
+ MWK = "MWK",
2379
+ MXN = "MXN",
2380
+ MYR = "MYR",
2381
+ MZN = "MZN",
2382
+ NAD = "NAD",
2383
+ NGN = "NGN",
2384
+ NIO = "NIO",
2385
+ NOK = "NOK",
2386
+ NPR = "NPR",
2387
+ NZD = "NZD",
2388
+ PAB = "PAB",
2389
+ PEN = "PEN",
2390
+ PGK = "PGK",
2391
+ PHP = "PHP",
2392
+ PKR = "PKR",
2393
+ PLN = "PLN",
2394
+ PYG = "PYG",
2395
+ QAR = "QAR",
2396
+ RON = "RON",
2397
+ RSD = "RSD",
2398
+ RUB = "RUB",
2399
+ RWF = "RWF",
2400
+ SAR = "SAR",
2401
+ SBD = "SBD",
2402
+ SCR = "SCR",
2403
+ SEK = "SEK",
2404
+ SGD = "SGD",
2405
+ SHP = "SHP",
2406
+ SLE = "SLE",
2407
+ SOS = "SOS",
2408
+ SRD = "SRD",
2409
+ STD = "STD",
2410
+ SZL = "SZL",
2411
+ THB = "THB",
2412
+ TJS = "TJS",
2413
+ TOP = "TOP",
2414
+ TRY = "TRY",
2415
+ TTD = "TTD",
2416
+ TWD = "TWD",
2417
+ TZS = "TZS",
2418
+ UAH = "UAH",
2419
+ UGX = "UGX",
2420
+ UYU = "UYU",
2421
+ UZS = "UZS",
2422
+ VND = "VND",
2423
+ VUV = "VUV",
2424
+ WST = "WST",
2425
+ XAF = "XAF",
2426
+ XCD = "XCD",
2427
+ XOF = "XOF",
2428
+ XPF = "XPF",
2429
+ YER = "YER",
2430
+ ZAR = "ZAR",
2431
+ ZMW = "ZMW"
2432
+ }
2433
+ /** Represents a day of the week. */
2434
+ export declare enum DayOfWeek {
2435
+ MONDAY = "monday",
2436
+ TUESDAY = "tuesday",
2437
+ WEDNESDAY = "wednesday",
2438
+ THURSDAY = "thursday",
2439
+ FRIDAY = "friday",
2440
+ SATURDAY = "saturday",
2441
+ SUNDAY = "sunday"
2072
2442
  }
2073
2443
  export declare enum DimensionUnit {
2074
2444
  /** Return the dimension in meters. */
@@ -2080,14 +2450,15 @@ export declare enum DimensionUnit {
2080
2450
  /** Return the dimension in miles. */
2081
2451
  MILE = "mile"
2082
2452
  }
2453
+ /** Distance unit */
2083
2454
  export declare enum DistanceUnit {
2084
- /** Return the distance in meters */
2455
+ /** Return the distance in meters. */
2085
2456
  METER = "meter",
2086
- /** Return the distance in feet */
2457
+ /** Return the distance in feet. */
2087
2458
  FOOT = "foot",
2088
- /** Return the distance in kilometers */
2459
+ /** Return the distance in kilometers. */
2089
2460
  KILOMETER = "kilometer",
2090
- /** Return the distance in miles */
2461
+ /** Return the distance in miles. */
2091
2462
  MILE = "mile"
2092
2463
  }
2093
2464
  /** EVSE data which extends OCPI EVSE. */
@@ -2128,6 +2499,15 @@ export declare type EVSE = {
2128
2499
  /** Custom properties of an EVSE. */
2129
2500
  custom_properties?: Maybe<EvseCustomProperties>;
2130
2501
  };
2502
+ export declare type ElectricityGenerationMethod = {
2503
+ /** Fraction of total electricity production. */
2504
+ fraction: Scalars["Float"];
2505
+ /** Emissions per kWh of the generation method. */
2506
+ intensity: Scalars["Float"];
2507
+ };
2508
+ export declare type ElectricityGenerationMethodintensityArgs = {
2509
+ unit?: Maybe<EmissionUnit>;
2510
+ };
2131
2511
  export declare type ElevationInput = {
2132
2512
  /** Value of the elevation. */
2133
2513
  value: Scalars["Float"];
@@ -2154,6 +2534,20 @@ export declare enum EmissionUnit {
2154
2534
  /** Return the emissions in ounces. */
2155
2535
  OUNCE = "ounce"
2156
2536
  }
2537
+ export declare type EmissionsFactor = {
2538
+ /** The name of the area for which the emissions factor was calculated. */
2539
+ name: Scalars["String"];
2540
+ /** The type of area for which the emissions factor was calculated. */
2541
+ type: EmissionsFactorType;
2542
+ /** The base regional emissions factor in CO2e/kWh. */
2543
+ value: Scalars["Float"];
2544
+ };
2545
+ /** Emissions factor type. */
2546
+ export declare enum EmissionsFactorType {
2547
+ COUNTRY = "country",
2548
+ SUBREGION = "subregion",
2549
+ REGION = "region"
2550
+ }
2157
2551
  /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
2158
2552
  export declare type EvseCustomProperties = {
2159
2553
  /** OICP standard custom properties. */
@@ -2229,6 +2623,52 @@ export declare type FeaturePointPolygonPropertiesInput = {
2229
2623
  export declare enum FeatureType {
2230
2624
  FEATURE = "Feature"
2231
2625
  }
2626
+ export declare type FluidEndOfLifeEmissions = {
2627
+ /** Total fluid end of life emissions. */
2628
+ total: Scalars["Float"];
2629
+ /** Wiper fluid end of life emissions. */
2630
+ wiper: Scalars["Float"];
2631
+ /** Brake fluid end of life emissions. */
2632
+ brake: Scalars["Float"];
2633
+ /** Powertrain coolant fluid end of life emissions. */
2634
+ powertrain_coolant: Scalars["Float"];
2635
+ /** Transmission fluid end of life emissions. */
2636
+ transmission: Scalars["Float"];
2637
+ /** Motor oil end of life emissions. */
2638
+ motor_oil?: Maybe<Scalars["Float"]>;
2639
+ };
2640
+ export declare type FluidEndOfLifeEmissionstotalArgs = {
2641
+ unit?: Maybe<EmissionUnit>;
2642
+ };
2643
+ export declare type FluidEndOfLifeEmissionswiperArgs = {
2644
+ unit?: Maybe<EmissionUnit>;
2645
+ };
2646
+ export declare type FluidEndOfLifeEmissionsbrakeArgs = {
2647
+ unit?: Maybe<EmissionUnit>;
2648
+ };
2649
+ export declare type FluidEndOfLifeEmissionspowertrain_coolantArgs = {
2650
+ unit?: Maybe<EmissionUnit>;
2651
+ };
2652
+ export declare type FluidEndOfLifeEmissionstransmissionArgs = {
2653
+ unit?: Maybe<EmissionUnit>;
2654
+ };
2655
+ export declare type FluidEndOfLifeEmissionsmotor_oilArgs = {
2656
+ unit?: Maybe<EmissionUnit>;
2657
+ };
2658
+ export declare type FluidMaintenanceEmissions = {
2659
+ /** Total fluid maintenance emissions. */
2660
+ total: RouteOperationalMaintenanceEmissionsField;
2661
+ /** Wiper fluid maintenance emissions. */
2662
+ wiper: RouteOperationalMaintenanceEmissionsField;
2663
+ /** Brake fluid maintenance emissions. */
2664
+ brake: RouteOperationalMaintenanceEmissionsField;
2665
+ /** Powertrain coolant fluid maintenance emissions. */
2666
+ powertrain_coolant: RouteOperationalMaintenanceEmissionsField;
2667
+ /** Transmission fluid maintenance emissions. */
2668
+ transmission: RouteOperationalMaintenanceEmissionsField;
2669
+ /** Motor oil maintenance emissions. */
2670
+ motor_oil?: Maybe<RouteOperationalMaintenanceEmissionsField>;
2671
+ };
2232
2672
  export declare enum FuelConsumptionUnit {
2233
2673
  /** Return the fuel consumption in liters per 100 kilometers. */
2234
2674
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -2246,6 +2686,7 @@ export declare type GeometryPoint = {
2246
2686
  type: PointType;
2247
2687
  coordinates: Array<Scalars["Float"]>;
2248
2688
  };
2689
+ /** Mode of heat pump. */
2249
2690
  export declare enum HeatPumpMode {
2250
2691
  /** Default to the vehicle configuration. */
2251
2692
  DEFAULT = "default",
@@ -2344,9 +2785,9 @@ export declare type IsolineInput = {
2344
2785
  quality?: Maybe<IsolineQuality>;
2345
2786
  /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2346
2787
  ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2347
- /** Battery state of charge. When omitted the default value is 100 percent. */
2788
+ /** Battery state of charge. Default is usable battery kwh of the inputted vehicle. */
2348
2789
  state_of_charge?: Maybe<StateOfChargeInput>;
2349
- /** Minimum final battery state of charge. When omitted the default value is 0 percent. */
2790
+ /** Minimum final battery state of charge. Default is 0 */
2350
2791
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2351
2792
  };
2352
2793
  /** Granularity of the isoline. */
@@ -2496,6 +2937,8 @@ export declare type Mutation = {
2496
2937
  * This is a premium feature, contact Chargetrip for more information.
2497
2938
  */
2498
2939
  deleteUserReview: Review;
2940
+ /** [BETA] Create a new route from the route input and its ID. */
2941
+ createRoute: Scalars["ID"];
2499
2942
  /** Create a new route from the route input and its ID */
2500
2943
  newRoute?: Maybe<Scalars["ID"]>;
2501
2944
  };
@@ -2532,6 +2975,9 @@ export declare type MutationaddReviewArgs = {
2532
2975
  export declare type MutationdeleteUserReviewArgs = {
2533
2976
  id: Scalars["ID"];
2534
2977
  };
2978
+ export declare type MutationcreateRouteArgs = {
2979
+ input: CreateRouteInput;
2980
+ };
2535
2981
  export declare type MutationnewRouteArgs = {
2536
2982
  input?: Maybe<RequestInput>;
2537
2983
  };
@@ -2574,7 +3020,7 @@ export declare type NavigationInstructionsInput = {
2574
3020
  instructions_format: InstructionsFormat;
2575
3021
  /** Preferred navigation instructions language. Default: en */
2576
3022
  language?: Maybe<MappingLanguage>;
2577
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5 */
3023
+ /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2578
3024
  precision?: Maybe<Scalars["Int"]>;
2579
3025
  };
2580
3026
  /** Navigation meta information. */
@@ -2853,9 +3299,9 @@ export declare type OCPIEnvironmentalImpact = {
2853
3299
  };
2854
3300
  /** Categories of environmental impact values. */
2855
3301
  export declare enum OCPIEnvironmentalImpactCategory {
2856
- /** Produced nuclear waste in grams per kilowatthour. */
3302
+ /** Produced nuclear waste in g/kWh. */
2857
3303
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
2858
- /** Exhausted carbon dioxide in grams per kilowatthour. */
3304
+ /** Exhausted carbon dioxide in g/kWh. */
2859
3305
  CARBON_DIOXIDE = "CARBON_DIOXIDE"
2860
3306
  }
2861
3307
  /** Specifies one exceptional period for opening or access hours. */
@@ -3220,13 +3666,21 @@ export declare enum OICPValueAddedServices {
3220
3666
  ROOF_PROVIDED = "roof_provided",
3221
3667
  NONE = "none"
3222
3668
  }
3669
+ export declare type Odometer = {
3670
+ /** Value of the vehicle's odometer. */
3671
+ value: Scalars["Float"];
3672
+ /** Type of the value of the vehicle's odometer. */
3673
+ type: DistanceUnit;
3674
+ /** Source of inputted data. */
3675
+ source: TelemetryInputSource;
3676
+ };
3223
3677
  export declare type OdometerInput = {
3224
3678
  /** Value of the vehicle's odometer. */
3225
3679
  value: Scalars["Float"];
3226
3680
  /** Type of the value of the vehicle's odometer. */
3227
3681
  type: DistanceUnit;
3228
3682
  /** Source of inputted data, defaults to 'manual'. */
3229
- source?: Maybe<TelemetryInputSource>;
3683
+ source?: TelemetryInputSource;
3230
3684
  };
3231
3685
  /** Operator data which extends OCPI BusinessDetails. */
3232
3686
  export declare type Operator = {
@@ -3274,6 +3728,12 @@ export declare type OperatorListQuery = {
3274
3728
  /** Exact country code. */
3275
3729
  country?: Maybe<Scalars["String"]>;
3276
3730
  };
3731
+ /** Operator ranking level. */
3732
+ export declare enum OperatorRankingLevel {
3733
+ LOW = "low",
3734
+ MEDIUM = "medium",
3735
+ HIGH = "high"
3736
+ }
3277
3737
  export declare type OutsideTempInput = {
3278
3738
  /** Value of the outside temperature. */
3279
3739
  value: Scalars["Float"];
@@ -3327,6 +3787,11 @@ export declare type PolygonProperties = {
3327
3787
  /** Index of the feature inside the list. */
3328
3788
  index?: Maybe<Scalars["Int"]>;
3329
3789
  };
3790
+ /** Number of decimals for a polyline. */
3791
+ export declare enum PolylineInputDecimals {
3792
+ FIVE = "five",
3793
+ SIX = "six"
3794
+ }
3330
3795
  export declare type PowerInput = {
3331
3796
  /** Value of the positive or negative power. When negative the vehicle is charging. */
3332
3797
  value: Scalars["Float"];
@@ -3363,6 +3828,7 @@ export declare enum PowerUnit {
3363
3828
  /** Return the power in horsepower. */
3364
3829
  HORSEPOWER = "horsepower"
3365
3830
  }
3831
+ /** Pressure units. */
3366
3832
  export declare enum PressureUnit {
3367
3833
  /** Return the pressure in bar. */
3368
3834
  BAR = "bar",
@@ -3432,11 +3898,11 @@ export declare type Query = {
3432
3898
  isoline?: Maybe<Isoline>;
3433
3899
  /** [BETA] Get a navigation session by ID */
3434
3900
  navigation?: Maybe<Navigation>;
3435
- /** Get a full list of operators */
3901
+ /** Get a full list of operators. */
3436
3902
  operatorList?: Maybe<Array<Maybe<Operator>>>;
3437
- /** Get information about an operator by its ID */
3903
+ /** Get information about an operator by its ID. */
3438
3904
  operator?: Maybe<Operator>;
3439
- /** Get all reviews of a station by the station ID */
3905
+ /** Get all reviews of a station by the station ID. */
3440
3906
  reviewList?: Maybe<Array<Review>>;
3441
3907
  /**
3442
3908
  * Get all reviews of stations that were added by an authenticated user.
@@ -3446,7 +3912,11 @@ export declare type Query = {
3446
3912
  userReviewList?: Maybe<Array<Review>>;
3447
3913
  /** Get a route by ID */
3448
3914
  route?: Maybe<Route>;
3449
- /** [BETA] Emissions profile for route. */
3915
+ /** [BETA] Get a route by ID. */
3916
+ getRoute: RouteResponse;
3917
+ /** [BETA] Get emissions for a route. */
3918
+ getRouteEmissions: RouteDetailsEmissions;
3919
+ /** Emissions profile for route. */
3450
3920
  routeEmissions: RouteEmissions;
3451
3921
  /** Retrieve information about a route path segment */
3452
3922
  routePath?: Maybe<RoutePath>;
@@ -3458,12 +3928,10 @@ export declare type Query = {
3458
3928
  stationList?: Maybe<Array<Maybe<Station>>>;
3459
3929
  /** Search for stations around a GeoJSON point with a specific distance in meters. */
3460
3930
  stationAround?: Maybe<Array<Maybe<Station>>>;
3461
- /** Get information about a tariff by the tariff ID */
3931
+ /** Get information about a tariff by the tariff ID. */
3462
3932
  tariff?: Maybe<OCPITariff>;
3463
- /** Get the full list of tariffs */
3933
+ /** Get the full list of tariffs. */
3464
3934
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3465
- /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3466
- navigationMapping?: Maybe<Scalars["JSON"]>;
3467
3935
  /** Get information about a vehicle by its ID. */
3468
3936
  vehicle?: Maybe<Vehicle>;
3469
3937
  /** Vehicle premium data provides even more information about your vehicle: tire pressure, prices, drivetrain data, and more. Please contact us for access to premium data. */
@@ -3527,6 +3995,13 @@ export declare type QueryuserReviewListArgs = {
3527
3995
  export declare type QueryrouteArgs = {
3528
3996
  id: Scalars["ID"];
3529
3997
  };
3998
+ export declare type QuerygetRouteArgs = {
3999
+ id: Scalars["ID"];
4000
+ };
4001
+ export declare type QuerygetRouteEmissionsArgs = {
4002
+ route_id: Scalars["ID"];
4003
+ route_details_id: Scalars["ID"];
4004
+ };
3530
4005
  export declare type QueryrouteEmissionsArgs = {
3531
4006
  route_id: Scalars["ID"];
3532
4007
  route_alternative_id?: Maybe<Scalars["ID"]>;
@@ -3561,12 +4036,6 @@ export declare type QuerytariffListArgs = {
3561
4036
  size?: Maybe<Scalars["Int"]>;
3562
4037
  page?: Maybe<Scalars["Int"]>;
3563
4038
  };
3564
- export declare type QuerynavigationMappingArgs = {
3565
- id: Scalars["ID"];
3566
- provider: MappingProvider;
3567
- precision?: Maybe<Scalars["Int"]>;
3568
- language?: Maybe<MappingLanguage>;
3569
- };
3570
4039
  export declare type QueryvehicleArgs = {
3571
4040
  id: Scalars["ID"];
3572
4041
  country?: Maybe<CountryCodeAlpha2>;
@@ -3598,7 +4067,7 @@ export declare type RequestEv = {
3598
4067
  adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
3599
4068
  /** Minimum desired power of chargers. */
3600
4069
  minPower?: Maybe<Scalars["Int"]>;
3601
- /** Climate is on. The default is true. */
4070
+ /** Climate is on. */
3602
4071
  climate?: Maybe<Scalars["Boolean"]>;
3603
4072
  /** Vehicle Heat Pump configuration. */
3604
4073
  heatPump?: Maybe<HeatPumpMode>;
@@ -3669,7 +4138,7 @@ export declare type RequestEvCabinInput = {
3669
4138
  desiredTemperature?: Maybe<TemperatureInput>;
3670
4139
  };
3671
4140
  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 */
4141
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
3673
4142
  auxiliary?: Maybe<Scalars["Float"]>;
3674
4143
  /**
3675
4144
  * Consumption, in kWh, of the auxiliaries.
@@ -3688,7 +4157,7 @@ export declare type RequestEvConsumption = {
3688
4157
  idle?: Maybe<CarConsumption>;
3689
4158
  };
3690
4159
  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. */
4160
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
3692
4161
  auxiliary?: Maybe<Scalars["Float"]>;
3693
4162
  /** Deprecated in favor of auxiliary. */
3694
4163
  aux?: Maybe<CarConsumptionInput>;
@@ -3708,7 +4177,7 @@ export declare type RequestEvInput = {
3708
4177
  adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3709
4178
  /** Minimum desired power of chargers. */
3710
4179
  minPower?: Maybe<Scalars["Int"]>;
3711
- /** Flag which indicates if the climate is on. The default is true. */
4180
+ /** Flag which indicates if the climate is on. */
3712
4181
  climate?: Maybe<Scalars["Boolean"]>;
3713
4182
  /** Vehicle Heat Pump configuration. */
3714
4183
  heatPump?: Maybe<HeatPumpMode>;
@@ -3772,7 +4241,7 @@ export declare type RequestRoute = {
3772
4241
  operators?: Maybe<RouteOperators>;
3773
4242
  /** Season. */
3774
4243
  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%. */
4244
+ /** 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
4245
  safeRiskMargin?: Maybe<Scalars["Int"]>;
3777
4246
  /** Origin of a route. */
3778
4247
  origin?: Maybe<FeaturePoint>;
@@ -3802,7 +4271,7 @@ export declare type RequestRouteInput = {
3802
4271
  operators?: Maybe<RouteOperatorsInput>;
3803
4272
  /** Optional flag to specify the season. */
3804
4273
  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%. */
4274
+ /** 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
4275
  safeRiskMargin?: Maybe<Scalars["Int"]>;
3807
4276
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
3808
4277
  chargeMode?: Maybe<ChargeMode>;
@@ -3836,7 +4305,7 @@ export declare type Review = {
3836
4305
  /** Locale of a message. */
3837
4306
  locale?: Maybe<Scalars["String"]>;
3838
4307
  /** Vehicle that was provided/selected by a user. */
3839
- ev?: Maybe<Car>;
4308
+ ev?: Maybe<Vehicle>;
3840
4309
  /** Plug type that was provided/selected by a user. */
3841
4310
  plugType?: Maybe<ConnectorType>;
3842
4311
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
@@ -4042,168 +4511,542 @@ export declare type RouteApp = {
4042
4511
  /** ID of the app who requested a route. */
4043
4512
  id?: Maybe<Scalars["ID"]>;
4044
4513
  };
4045
- export declare type RouteEmbeddedEmissions = {
4046
- /** Total embedded emissions. */
4047
- total: Scalars["Float"];
4048
- /** Total manufacturing emissions. */
4049
- manufacturing: RouteEmbeddedManufacturingEmissions;
4050
- /** Total distribution related emissions. */
4051
- distribution: Scalars["Float"];
4052
- /** Distribution sea segment emissions. */
4053
- maritime: RouteEmbeddedMaritimeEmissions;
4054
- /** Distribution land segment emissions. */
4055
- land: RouteEmbeddedLandEmissions;
4056
- };
4057
- export declare type RouteEmbeddedEmissionstotalArgs = {
4058
- unit?: Maybe<EmissionUnit>;
4059
- };
4060
- export declare type RouteEmbeddedEmissionsdistributionArgs = {
4061
- unit?: Maybe<EmissionUnit>;
4062
- };
4063
- export declare type RouteEmbeddedLandEmissions = {
4064
- /** Total embedded land emissions. */
4065
- total: Scalars["Float"];
4066
- /** Distribution land segment emissions from fuel consumption. */
4067
- fuel: Scalars["Float"];
4068
- /** Distribution land segment lifecycle emissions. */
4069
- lifecycle: Scalars["Float"];
4070
- };
4071
- export declare type RouteEmbeddedLandEmissionstotalArgs = {
4072
- unit?: Maybe<EmissionUnit>;
4073
- };
4074
- export declare type RouteEmbeddedLandEmissionsfuelArgs = {
4075
- unit?: Maybe<EmissionUnit>;
4076
- };
4077
- export declare type RouteEmbeddedLandEmissionslifecycleArgs = {
4078
- unit?: Maybe<EmissionUnit>;
4079
- };
4080
- export declare type RouteEmbeddedManufacturingEmissions = {
4081
- /** Total embedded manufacturing emissions. */
4082
- total: Scalars["Float"];
4083
- /** Body manufacturing emissions. */
4084
- body: Scalars["Float"];
4085
- /** Lithium ion battery manufacturing emissions. */
4086
- battery?: Maybe<Scalars["Float"]>;
4514
+ export declare type RouteDestinationFeaturePoint = {
4515
+ /** ID of the feature. */
4516
+ id?: Maybe<Scalars["ID"]>;
4517
+ /** Feature type. */
4518
+ type: FeatureType;
4519
+ /** Geometry of the feature. */
4520
+ geometry: Point;
4521
+ /** Optional object where additional properties can be specified. */
4522
+ properties?: Maybe<RouteDestinationProperties>;
4087
4523
  };
4088
- export declare type RouteEmbeddedManufacturingEmissionstotalArgs = {
4089
- unit?: Maybe<EmissionUnit>;
4524
+ export declare type RouteDestinationFeaturePointInput = {
4525
+ /** ID of the feature. */
4526
+ id?: Maybe<Scalars["ID"]>;
4527
+ /** Feature type. */
4528
+ type: FeatureType;
4529
+ /** Geometry of the feature. */
4530
+ geometry: PointInput;
4531
+ /** Optional object where additional properties can be specified. */
4532
+ properties?: Maybe<RouteDestinationPropertiesInput>;
4533
+ };
4534
+ export declare type RouteDestinationProperties = {
4535
+ /** Data about the destination location. */
4536
+ location?: Maybe<RoutePropertiesLocation>;
4537
+ /** Data about the destination station. */
4538
+ station?: Maybe<RoutePropertiesStation>;
4539
+ };
4540
+ export declare type RouteDestinationPropertiesInput = {
4541
+ /** Data about the destination location. */
4542
+ location?: Maybe<RoutePropertiesLocationInput>;
4543
+ /** Data about the destination station. */
4544
+ station?: Maybe<RoutePropertiesStationInput>;
4545
+ };
4546
+ export declare type RouteDetails = {
4547
+ /** ID of a route computation. */
4548
+ id: Scalars["ID"];
4549
+ /** Total distance of a route. */
4550
+ distance: Scalars["Float"];
4551
+ /** Aggregation of all durations of a route. */
4552
+ durations: RouteDetailsDurations;
4553
+ /** Total energy used for a route in kilowatt hours. */
4554
+ consumption: Scalars["Float"];
4555
+ /** Range available at the beginning of a trip. */
4556
+ range_at_origin: Scalars["Float"];
4557
+ /** Range available at the end of a trip. */
4558
+ range_at_destination: Scalars["Float"];
4559
+ /** Text information about a route direction. */
4560
+ via?: Maybe<Scalars["String"]>;
4561
+ /** Polyline containing encoded coordinates. */
4562
+ polyline?: Maybe<Scalars["String"]>;
4563
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
4564
+ path_plot: Array<RouteDetailsPathSegment>;
4565
+ /** Details about elevation on a route. */
4566
+ elevation: RouteDetailsElevation;
4567
+ /** Money saving information. */
4568
+ savings?: Maybe<RouteDetailsSavings>;
4569
+ /** Legs of a route. */
4570
+ legs: Array<RouteDetailsLeg>;
4571
+ alternative_stations: Array<RouteDetailsAlternativeStation>;
4572
+ /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4573
+ tags: Array<RouteDetailsTag>;
4574
+ /** Number of charges along a route. */
4575
+ charges: Scalars["Int"];
4090
4576
  };
4091
- export declare type RouteEmbeddedManufacturingEmissionsbodyArgs = {
4092
- unit?: Maybe<EmissionUnit>;
4577
+ export declare type RouteDetailsdistanceArgs = {
4578
+ unit?: Maybe<DistanceUnit>;
4093
4579
  };
4094
- export declare type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4095
- unit?: Maybe<EmissionUnit>;
4580
+ export declare type RouteDetailsrange_at_originArgs = {
4581
+ unit?: Maybe<StateOfChargeUnit>;
4096
4582
  };
4097
- export declare type RouteEmbeddedMaritimeEmissions = {
4098
- /** Total embedded maritime emissions. */
4099
- total: Scalars["Float"];
4100
- /** Fuel related sea segment emissions. */
4101
- fuel: Scalars["Float"];
4102
- /** Port facility related sea segment emissions. */
4103
- port: Scalars["Float"];
4104
- /** Idling related sea segment emissions. */
4105
- idle: Scalars["Float"];
4106
- /** Distributed lifecycle related sea segment emissions. */
4107
- lifecycle: Scalars["Float"];
4583
+ export declare type RouteDetailsrange_at_destinationArgs = {
4584
+ unit?: Maybe<StateOfChargeUnit>;
4108
4585
  };
4109
- export declare type RouteEmbeddedMaritimeEmissionstotalArgs = {
4110
- unit?: Maybe<EmissionUnit>;
4586
+ export declare type RouteDetailspolylineArgs = {
4587
+ decimals: PolylineInputDecimals;
4111
4588
  };
4112
- export declare type RouteEmbeddedMaritimeEmissionsfuelArgs = {
4113
- unit?: Maybe<EmissionUnit>;
4589
+ export declare type RouteDetailsAlternativeStation = {
4590
+ /** ID of a station. */
4591
+ id: Scalars["ID"];
4592
+ /** GeoJSON location of a station. */
4593
+ location: Point;
4594
+ /** Speed of a station. A station along a route can be either fast or turbo. */
4595
+ speed: StationSpeedType;
4596
+ /** Status of a station. */
4597
+ status: ChargerStatus;
4598
+ /** Ranking of an operator. */
4599
+ operator_ranking?: Maybe<OperatorRankingLevel>;
4600
+ };
4601
+ /** Aggregation of all durations of a route. */
4602
+ export declare type RouteDetailsDurations = {
4603
+ /** Total duration, in seconds. */
4604
+ total: Scalars["Int"];
4605
+ /** Total duration charging, in seconds. */
4606
+ charging: Scalars["Int"];
4607
+ /** Total duration driving, in seconds. */
4608
+ driving: Scalars["Int"];
4609
+ /** Total duration stopped for a short stay, for example at a via point, in seconds. */
4610
+ stopover: Scalars["Int"];
4611
+ /** Total duration of ferry rides, in seconds. */
4612
+ ferry?: Maybe<Scalars["Int"]>;
4613
+ };
4614
+ export declare type RouteDetailsElevation = {
4615
+ /** Total value driving uphill on a route. */
4616
+ up: Scalars["Float"];
4617
+ /** Total value driving downhill on a route. */
4618
+ down: Scalars["Float"];
4619
+ /** Maximum elevation on a route. */
4620
+ maximum: Scalars["Float"];
4621
+ /** Minimum elevation on a route. */
4622
+ minimum: Scalars["Float"];
4623
+ };
4624
+ export declare type RouteDetailsElevationupArgs = {
4625
+ unit?: Maybe<DistanceUnit>;
4114
4626
  };
4115
- export declare type RouteEmbeddedMaritimeEmissionsportArgs = {
4116
- unit?: Maybe<EmissionUnit>;
4627
+ export declare type RouteDetailsElevationdownArgs = {
4628
+ unit?: Maybe<DistanceUnit>;
4117
4629
  };
4118
- export declare type RouteEmbeddedMaritimeEmissionsidleArgs = {
4119
- unit?: Maybe<EmissionUnit>;
4630
+ export declare type RouteDetailsElevationmaximumArgs = {
4631
+ unit?: Maybe<DistanceUnit>;
4120
4632
  };
4121
- export declare type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
4122
- unit?: Maybe<EmissionUnit>;
4633
+ export declare type RouteDetailsElevationminimumArgs = {
4634
+ unit?: Maybe<DistanceUnit>;
4123
4635
  };
4124
- export declare type RouteEmissions = {
4636
+ export declare type RouteDetailsEmissions = {
4125
4637
  /** ID of the route for which we retrieve the emissions profile. */
4126
4638
  route_id: Scalars["ID"];
4127
- /** ID of the route alternative for which we retrieve the emissions profile. */
4128
4639
  route_alternative_id: Scalars["ID"];
4129
4640
  /** Emissions profile for the vehicle used in route. */
4130
4641
  route_vehicle: RouteVehicleEmissions;
4131
- /** Emissions profile for an equivalent internal combustion engine vehicle. */
4132
4642
  internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
4643
+ /** Estimated GHG emissions saved by a user driving this route with the electric vehicle in grams of CO2e. */
4644
+ co2e_saved: Scalars["Float"];
4133
4645
  };
4134
- export declare type RouteEmissionsinternal_combustion_vehicleArgs = {
4646
+ export declare type RouteDetailsEmissionsinternal_combustion_vehicleArgs = {
4135
4647
  fuel_type?: Maybe<RouteOperationalFuelType>;
4136
4648
  };
4137
- export declare type RouteEndOfLifeEmissions = {
4138
- /** Total end of life emissions. */
4139
- total: Scalars["Float"];
4140
- /** Total fluid related end of life emissions. */
4141
- fluids: RouteEndOfLifeFluidsEmissions;
4142
- /** Battery related end of life emissions. */
4143
- battery: Scalars["Float"];
4144
- /** Tire related end of life emissions. */
4145
- tires: Scalars["Float"];
4146
- /** Body end of life emissions. */
4147
- body: Scalars["Float"];
4148
- /** Transport end of life emissions. */
4149
- transport: Scalars["Float"];
4150
- };
4151
- export declare type RouteEndOfLifeEmissionstotalArgs = {
4649
+ export declare type RouteDetailsEmissionsco2e_savedArgs = {
4152
4650
  unit?: Maybe<EmissionUnit>;
4153
4651
  };
4154
- export declare type RouteEndOfLifeEmissionsbatteryArgs = {
4155
- unit?: Maybe<EmissionUnit>;
4652
+ /** Leg of a route detail. */
4653
+ export declare type RouteDetailsLeg = {
4654
+ /** Distance from the start to the end of a leg. */
4655
+ distance: Scalars["Float"];
4656
+ /** Aggregation of all durations of a route leg. */
4657
+ durations: RouteDetailsDurations;
4658
+ /** Total energy used in a leg in kilowatt hours. */
4659
+ consumption: Scalars["Float"];
4660
+ /** Origin point location. */
4661
+ origin: RouteDetailsLegFeaturePoint;
4662
+ /** Destination point location. */
4663
+ destination: RouteDetailsLegFeaturePoint;
4664
+ /** Range at the origin of the leg. */
4665
+ range_at_origin: Scalars["Float"];
4666
+ /** Range at the destination of the leg. */
4667
+ range_at_destination: Scalars["Float"];
4668
+ /** Range after charging on the leg. */
4669
+ range_after_charge?: Maybe<Scalars["Float"]>;
4670
+ /** Type of a leg. */
4671
+ type: RouteDetailsLegType;
4672
+ /** 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. */
4673
+ name?: Maybe<Scalars["String"]>;
4674
+ /** Information about the station at the origin of this leg. */
4675
+ station?: Maybe<RouteDetailsLegStation>;
4676
+ /** Polyline containing encoded coordinates. */
4677
+ polyline: Scalars["String"];
4678
+ /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
4679
+ tags: Array<RouteDetailsTag>;
4680
+ /** Maneuvers of a leg - used to generate turn-by-turn instructions. */
4681
+ maneuvers: Array<RouteDetailsManeuver>;
4682
+ /** Road sections of a leg - divided by means of transportation. */
4683
+ sections: Array<RouteDetailsLegSection>;
4684
+ };
4685
+ /** Leg of a route detail. */
4686
+ export declare type RouteDetailsLegdistanceArgs = {
4687
+ unit?: Maybe<DistanceUnit>;
4156
4688
  };
4157
- export declare type RouteEndOfLifeEmissionstiresArgs = {
4158
- unit?: Maybe<EmissionUnit>;
4689
+ /** Leg of a route detail. */
4690
+ export declare type RouteDetailsLegrange_at_originArgs = {
4691
+ unit?: Maybe<StateOfChargeUnit>;
4159
4692
  };
4160
- export declare type RouteEndOfLifeEmissionsbodyArgs = {
4161
- unit?: Maybe<EmissionUnit>;
4693
+ /** Leg of a route detail. */
4694
+ export declare type RouteDetailsLegrange_at_destinationArgs = {
4695
+ unit?: Maybe<StateOfChargeUnit>;
4162
4696
  };
4163
- export declare type RouteEndOfLifeEmissionstransportArgs = {
4164
- unit?: Maybe<EmissionUnit>;
4697
+ /** Leg of a route detail. */
4698
+ export declare type RouteDetailsLegrange_after_chargeArgs = {
4699
+ unit?: Maybe<StateOfChargeUnit>;
4165
4700
  };
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"]>;
4701
+ /** Leg of a route detail. */
4702
+ export declare type RouteDetailsLegpolylineArgs = {
4703
+ decimals: PolylineInputDecimals;
4179
4704
  };
4180
- export declare type RouteEndOfLifeFluidsEmissionstotalArgs = {
4181
- unit?: Maybe<EmissionUnit>;
4705
+ export declare type RouteDetailsLegFeaturePoint = {
4706
+ /** ID of the feature. */
4707
+ id?: Maybe<Scalars["ID"]>;
4708
+ /** Feature type. */
4709
+ type: FeatureType;
4710
+ /** Geometry of the feature. */
4711
+ geometry: Point;
4712
+ /** Properties of the feature. */
4713
+ properties?: Maybe<RouteDetailsLegFeatureProperties>;
4182
4714
  };
4183
- export declare type RouteEndOfLifeFluidsEmissionswiperArgs = {
4184
- unit?: Maybe<EmissionUnit>;
4715
+ export declare type RouteDetailsLegFeatureProperties = {
4716
+ /** Name of the location. */
4717
+ name?: Maybe<Scalars["String"]>;
4718
+ /** ID of the station. */
4719
+ station_id?: Maybe<Scalars["ID"]>;
4720
+ /** External ID of the station. */
4721
+ external_station_id?: Maybe<Scalars["ID"]>;
4722
+ /** Temperature at the location. */
4723
+ temperature?: Maybe<Scalars["Int"]>;
4724
+ /** Air pressure at the location. */
4725
+ air_pressure?: Maybe<Scalars["Float"]>;
4726
+ /** Solar irradiance at the location. */
4727
+ solar_irradiance?: Maybe<Scalars["Float"]>;
4728
+ /** Duration, in seconds, of time spent at this location. */
4729
+ duration?: Maybe<Scalars["Int"]>;
4730
+ /** Number of occupants present in the vehicle. */
4731
+ occupants?: Maybe<Scalars["Int"]>;
4732
+ /** Value of the current weight of the occupants. */
4733
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4734
+ /** Value of the current weight of the cargo. */
4735
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4185
4736
  };
4186
- export declare type RouteEndOfLifeFluidsEmissionsbrakeArgs = {
4187
- unit?: Maybe<EmissionUnit>;
4737
+ export declare type RouteDetailsLegFeaturePropertiestemperatureArgs = {
4738
+ unit?: Maybe<TemperatureUnit>;
4188
4739
  };
4189
- export declare type RouteEndOfLifeFluidsEmissionscoolantArgs = {
4190
- unit?: Maybe<EmissionUnit>;
4740
+ export declare type RouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
4741
+ unit?: Maybe<WeightUnit>;
4191
4742
  };
4192
- export declare type RouteEndOfLifeFluidsEmissionstransmissionArgs = {
4193
- unit?: Maybe<EmissionUnit>;
4743
+ export declare type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
4744
+ unit?: Maybe<WeightUnit>;
4194
4745
  };
4195
- export declare type RouteEndOfLifeFluidsEmissionsmotor_oilArgs = {
4196
- unit?: Maybe<EmissionUnit>;
4746
+ export declare type RouteDetailsLegManeuverPoints = {
4747
+ /** Number of polyline points which are included in this instruction. */
4748
+ size: Scalars["Int"];
4749
+ /** 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. */
4750
+ interval: Array<Scalars["Int"]>;
4197
4751
  };
4198
- export declare type RouteInstruction = {
4199
- /** Information about the points on the polyline. */
4200
- points?: Maybe<RouteInstructionPoints>;
4201
- /** Sign of the instruction. See `RouteInstructionSign`. */
4202
- sign?: Maybe<RouteInstructionSign>;
4203
- /** Name of the street on which the instruction is. */
4204
- name?: Maybe<Scalars["String"]>;
4205
- /** Distance, in meters, of the current route instruction. */
4206
- distance?: Maybe<Scalars["Int"]>;
4752
+ /** Type of a maneuver indicating the main action. */
4753
+ export declare enum RouteDetailsLegManeuverType {
4754
+ UNKNOWN = "UNKNOWN",
4755
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
4756
+ U_TURN_LEFT = "U_TURN_LEFT",
4757
+ KEEP_LEFT = "KEEP_LEFT",
4758
+ LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
4759
+ TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
4760
+ TURN_LEFT = "TURN_LEFT",
4761
+ TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
4762
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
4763
+ TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
4764
+ TURN_RIGHT = "TURN_RIGHT",
4765
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
4766
+ FINISH = "FINISH",
4767
+ REACHED_VIA = "REACHED_VIA",
4768
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
4769
+ USE_ROUNDABOUT = "USE_ROUNDABOUT",
4770
+ KEEP_RIGHT = "KEEP_RIGHT",
4771
+ U_TURN_RIGHT = "U_TURN_RIGHT",
4772
+ PT_START_TRIP = "PT_START_TRIP",
4773
+ PT_TRANSFER = "PT_TRANSFER",
4774
+ PT_END_TRIP = "PT_END_TRIP",
4775
+ IGNORE = "IGNORE"
4776
+ }
4777
+ export declare type RouteDetailsLegSection = {
4778
+ /** Section type. */
4779
+ type: RouteDetailsLegSectionType;
4780
+ /** Origin point. */
4781
+ origin: RouteDetailsLegSectionFeaturePoint;
4782
+ /** Destination point. */
4783
+ destination: RouteDetailsLegSectionFeaturePoint;
4784
+ /** Aggregation of tags over the current section. */
4785
+ tags: Array<RouteDetailsTag>;
4786
+ /** Polyline containing encoded coordinates. */
4787
+ polyline?: Maybe<Scalars["String"]>;
4788
+ /** Distance from the start to the end of a section. */
4789
+ distance: Scalars["Float"];
4790
+ /** Total drive time from the start to the end of a section, in seconds. */
4791
+ duration: Scalars["Float"];
4792
+ /** Total energy used in a section in kilowatt-hours. */
4793
+ consumption: Scalars["Float"];
4794
+ };
4795
+ export declare type RouteDetailsLegSectionpolylineArgs = {
4796
+ decimals: PolylineInputDecimals;
4797
+ };
4798
+ export declare type RouteDetailsLegSectiondistanceArgs = {
4799
+ unit?: Maybe<DistanceUnit>;
4800
+ };
4801
+ export declare type RouteDetailsLegSectionFeaturePoint = {
4802
+ /** ID of the feature. */
4803
+ id?: Maybe<Scalars["ID"]>;
4804
+ /** Feature type. */
4805
+ type: FeatureType;
4806
+ /** Geometry of the feature. */
4807
+ geometry: Point;
4808
+ /** Properties of the feature. */
4809
+ properties: RouteDetailsLegSectionFeaturePointProperties;
4810
+ };
4811
+ export declare type RouteDetailsLegSectionFeaturePointProperties = {
4812
+ /** Number of occupants present in the vehicle. */
4813
+ occupants: Scalars["Int"];
4814
+ /** Value of the current weight of the occupants. */
4815
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4816
+ /** Value of the current weight of the cargo. */
4817
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4818
+ };
4819
+ export declare type RouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
4820
+ unit?: Maybe<WeightUnit>;
4821
+ };
4822
+ export declare type RouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
4823
+ unit?: Maybe<WeightUnit>;
4824
+ };
4825
+ /** Type of a route details leg section. */
4826
+ export declare enum RouteDetailsLegSectionType {
4827
+ DRIVING = "driving",
4828
+ FERRY = "ferry",
4829
+ WALKING = "walking"
4830
+ }
4831
+ export declare type RouteDetailsLegStation = {
4832
+ /** ID of a station. */
4833
+ station_id: Scalars["ID"];
4834
+ /** ID of the EVSE that was selected in a route. */
4835
+ evse_id?: Maybe<Scalars["ID"]>;
4836
+ /** ID of the connector that was selected in a route. */
4837
+ connector_id: Scalars["ID"];
4838
+ };
4839
+ /** Type of a leg. */
4840
+ export declare enum RouteDetailsLegType {
4841
+ STATION = "station",
4842
+ STATION_VIA = "station_via",
4843
+ STATION_FINAL = "station_final",
4844
+ STATION_AMENITY = "station_amenity",
4845
+ VIA = "via",
4846
+ FINAL = "final"
4847
+ }
4848
+ export declare type RouteDetailsManeuver = {
4849
+ /** Type of instruction. */
4850
+ type: RouteDetailsLegManeuverType;
4851
+ /** Location of the maneuver. */
4852
+ location?: Maybe<RouteDetailsLegFeaturePoint>;
4853
+ /** Name of the street on which an instruction is. */
4854
+ name?: Maybe<Scalars["String"]>;
4855
+ /** Distance, in meters, of a route instruction. */
4856
+ distance: Scalars["Float"];
4857
+ /** Duration, in seconds, of a route instruction. */
4858
+ duration: Scalars["Int"];
4859
+ /** Information about the points on a polyline. */
4860
+ points: RouteDetailsLegManeuverPoints;
4861
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise this value is null. */
4862
+ exit_number?: Maybe<Scalars["Int"]>;
4863
+ /** 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`. */
4864
+ turn_angle?: Maybe<Scalars["Float"]>;
4865
+ /** Aggregation of tags over the current maneuver. */
4866
+ tags?: Maybe<Array<RouteDetailsTag>>;
4867
+ };
4868
+ export declare type RouteDetailsManeuverdistanceArgs = {
4869
+ unit?: Maybe<DistanceUnit>;
4870
+ };
4871
+ export declare type RouteDetailsPathSegment = {
4872
+ /** Elevation value of a route path segment. */
4873
+ elevation: Scalars["Float"];
4874
+ /** Average speed of a route path segment. */
4875
+ average_speed: Scalars["Float"];
4876
+ /** Consumption, in kilowatt hours, of a route path segment. */
4877
+ consumption: Scalars["Float"];
4878
+ /** Distance of a route path segment. */
4879
+ distance: Scalars["Float"];
4880
+ /** Duration, in seconds, of a route path segment. */
4881
+ duration: Scalars["Float"];
4882
+ /** State of charge, in kilowatt hours, of a route path segment. */
4883
+ state_of_charge?: Maybe<Scalars["Float"]>;
4884
+ /** Maximum vehicle speed of a route path segment. */
4885
+ max_speed: Scalars["Float"];
4886
+ };
4887
+ export declare type RouteDetailsPathSegmentelevationArgs = {
4888
+ unit?: Maybe<DistanceUnit>;
4889
+ };
4890
+ export declare type RouteDetailsPathSegmentaverage_speedArgs = {
4891
+ unit?: Maybe<SpeedUnit>;
4892
+ };
4893
+ export declare type RouteDetailsPathSegmentdistanceArgs = {
4894
+ unit?: Maybe<DistanceUnit>;
4895
+ };
4896
+ export declare type RouteDetailsPathSegmentstate_of_chargeArgs = {
4897
+ unit?: Maybe<StateOfChargeUnit>;
4898
+ };
4899
+ export declare type RouteDetailsPathSegmentmax_speedArgs = {
4900
+ unit?: Maybe<SpeedUnit>;
4901
+ };
4902
+ /** Money saving information. */
4903
+ export declare type RouteDetailsSavings = {
4904
+ /** Money saved by a user driving this route with an electric vehicle. */
4905
+ money?: Maybe<Scalars["Float"]>;
4906
+ /** Average gas price with which the calculation was made. */
4907
+ average_gas_price?: Maybe<Scalars["Float"]>;
4908
+ /** Average energy price with which the calculation was made. */
4909
+ average_energy_price?: Maybe<Scalars["Float"]>;
4910
+ };
4911
+ /** Tags of a route. */
4912
+ export declare enum RouteDetailsTag {
4913
+ ROAD = "road",
4914
+ HIGHWAY = "highway",
4915
+ TOLL = "toll",
4916
+ FERRY = "ferry",
4917
+ WALKING = "walking",
4918
+ CROSSBORDER = "crossborder"
4919
+ }
4920
+ export declare type RouteEmbeddedEmissions = {
4921
+ /** Total embedded emissions. */
4922
+ total: Scalars["Float"];
4923
+ /** Manufacturing emissions. */
4924
+ manufacturing: RouteEmbeddedManufacturingEmissions;
4925
+ /** Total distribution emissions. */
4926
+ distribution: Scalars["Float"];
4927
+ /** Distribution sea segment emissions. */
4928
+ maritime: RouteEmbeddedMaritimeEmissions;
4929
+ /** Distribution land segment emissions. */
4930
+ land: RouteEmbeddedLandEmissions;
4931
+ };
4932
+ export declare type RouteEmbeddedEmissionstotalArgs = {
4933
+ unit?: Maybe<EmissionUnit>;
4934
+ };
4935
+ export declare type RouteEmbeddedEmissionsdistributionArgs = {
4936
+ unit?: Maybe<EmissionUnit>;
4937
+ };
4938
+ export declare type RouteEmbeddedLandEmissions = {
4939
+ /** Total embedded land segment emissions. */
4940
+ total: Scalars["Float"];
4941
+ /** Distribution land segment emissions from fuel consumption. */
4942
+ fuel: Scalars["Float"];
4943
+ /** Distribution land segment lifecycle emissions. */
4944
+ lifecycle: Scalars["Float"];
4945
+ };
4946
+ export declare type RouteEmbeddedLandEmissionstotalArgs = {
4947
+ unit?: Maybe<EmissionUnit>;
4948
+ };
4949
+ export declare type RouteEmbeddedLandEmissionsfuelArgs = {
4950
+ unit?: Maybe<EmissionUnit>;
4951
+ };
4952
+ export declare type RouteEmbeddedLandEmissionslifecycleArgs = {
4953
+ unit?: Maybe<EmissionUnit>;
4954
+ };
4955
+ export declare type RouteEmbeddedManufacturingEmissions = {
4956
+ /** Total embedded manufacturing emissions. */
4957
+ total: Scalars["Float"];
4958
+ /** Vehicle body manufacturing emissions. */
4959
+ body: Scalars["Float"];
4960
+ /** Lithium ion battery manufacturing emissions. */
4961
+ battery?: Maybe<Scalars["Float"]>;
4962
+ };
4963
+ export declare type RouteEmbeddedManufacturingEmissionstotalArgs = {
4964
+ unit?: Maybe<EmissionUnit>;
4965
+ };
4966
+ export declare type RouteEmbeddedManufacturingEmissionsbodyArgs = {
4967
+ unit?: Maybe<EmissionUnit>;
4968
+ };
4969
+ export declare type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4970
+ unit?: Maybe<EmissionUnit>;
4971
+ };
4972
+ export declare type RouteEmbeddedMaritimeEmissions = {
4973
+ /** Total embedded maritime emissions. */
4974
+ total: Scalars["Float"];
4975
+ /** Fuel related maritime segment emissions. */
4976
+ fuel: Scalars["Float"];
4977
+ /** Port facility related maritime segment emissions. */
4978
+ port: Scalars["Float"];
4979
+ /** Idling related maritime segment emissions. */
4980
+ idle: Scalars["Float"];
4981
+ /** Distributed lifecycle related maritime segment emissions. */
4982
+ lifecycle: Scalars["Float"];
4983
+ };
4984
+ export declare type RouteEmbeddedMaritimeEmissionstotalArgs = {
4985
+ unit?: Maybe<EmissionUnit>;
4986
+ };
4987
+ export declare type RouteEmbeddedMaritimeEmissionsfuelArgs = {
4988
+ unit?: Maybe<EmissionUnit>;
4989
+ };
4990
+ export declare type RouteEmbeddedMaritimeEmissionsportArgs = {
4991
+ unit?: Maybe<EmissionUnit>;
4992
+ };
4993
+ export declare type RouteEmbeddedMaritimeEmissionsidleArgs = {
4994
+ unit?: Maybe<EmissionUnit>;
4995
+ };
4996
+ export declare type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
4997
+ unit?: Maybe<EmissionUnit>;
4998
+ };
4999
+ export declare type RouteEmissions = {
5000
+ /** ID of the route for which we retrieve the emissions profile. */
5001
+ route_id: Scalars["ID"];
5002
+ /** ID of the route alternative for which we retrieve the emissions profile. */
5003
+ route_alternative_id: Scalars["ID"];
5004
+ /** Emissions profile for the vehicle used in route. */
5005
+ route_vehicle: RouteVehicleEmissions;
5006
+ /** Emissions profile for an equivalent internal combustion engine vehicle. */
5007
+ internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
5008
+ };
5009
+ export declare type RouteEmissionsinternal_combustion_vehicleArgs = {
5010
+ fuel_type?: Maybe<RouteOperationalFuelType>;
5011
+ };
5012
+ export declare type RouteEndOfLifeEmissions = {
5013
+ /** Total end of life emissions. */
5014
+ total: Scalars["Float"];
5015
+ /** Fluid related end of life emissions. */
5016
+ fluids: FluidEndOfLifeEmissions;
5017
+ /** Battery related end of life emissions. */
5018
+ battery: Scalars["Float"];
5019
+ /** Tire related end of life emissions. */
5020
+ tires: Scalars["Float"];
5021
+ /** Body end of life emissions. */
5022
+ body: Scalars["Float"];
5023
+ /** Transport end of life emissions. */
5024
+ transport: Scalars["Float"];
5025
+ };
5026
+ export declare type RouteEndOfLifeEmissionstotalArgs = {
5027
+ unit?: Maybe<EmissionUnit>;
5028
+ };
5029
+ export declare type RouteEndOfLifeEmissionsbatteryArgs = {
5030
+ unit?: Maybe<EmissionUnit>;
5031
+ };
5032
+ export declare type RouteEndOfLifeEmissionstiresArgs = {
5033
+ unit?: Maybe<EmissionUnit>;
5034
+ };
5035
+ export declare type RouteEndOfLifeEmissionsbodyArgs = {
5036
+ unit?: Maybe<EmissionUnit>;
5037
+ };
5038
+ export declare type RouteEndOfLifeEmissionstransportArgs = {
5039
+ unit?: Maybe<EmissionUnit>;
5040
+ };
5041
+ export declare type RouteInstruction = {
5042
+ /** Information about the points on the polyline. */
5043
+ points?: Maybe<RouteInstructionPoints>;
5044
+ /** Sign of the instruction. See `RouteInstructionSign`. */
5045
+ sign?: Maybe<RouteInstructionSign>;
5046
+ /** Name of the street on which the instruction is. */
5047
+ name?: Maybe<Scalars["String"]>;
5048
+ /** Distance, in meters, of the current route instruction. */
5049
+ distance?: Maybe<Scalars["Int"]>;
4207
5050
  /** Duration, in seconds, of the current route instruction. */
4208
5051
  time?: Maybe<Scalars["Int"]>;
4209
5052
  /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise is null. */
@@ -4245,39 +5088,49 @@ export declare enum RouteInstructionSign {
4245
5088
  export declare type RouteInternalCombustionVehicleEmissions = {
4246
5089
  /** Total co2e emissions. */
4247
5090
  total: Scalars["Float"];
4248
- /** Embedded emissions. */
5091
+ /** 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. */
5092
+ iso_14083_2023: Scalars["Float"];
5093
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4249
5094
  embedded: RouteEmbeddedEmissions;
4250
5095
  /** Operational emissions. */
4251
5096
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4252
5097
  /** End of life emissions. */
4253
5098
  end_of_life: RouteEndOfLifeEmissions;
4254
- /** Emissions info for the legs in the order as within the route. */
5099
+ /** Emissions info for the legs in the same order as in the route. */
4255
5100
  legs: Array<RouteInternalCombustionVehicleLegEmissions>;
4256
5101
  };
4257
5102
  export declare type RouteInternalCombustionVehicleEmissionstotalArgs = {
4258
5103
  unit?: Maybe<EmissionUnit>;
4259
5104
  };
5105
+ export declare type RouteInternalCombustionVehicleEmissionsiso_14083_2023Args = {
5106
+ unit?: Maybe<EmissionUnit>;
5107
+ };
4260
5108
  export declare type RouteInternalCombustionVehicleLegEmissions = {
4261
- /** Total co2e emissions for the leg. */
5109
+ /** Total co2e emissions. */
4262
5110
  total: Scalars["Float"];
4263
- /** Embedded emissions for the leg. */
5111
+ /** 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. */
5112
+ iso_14083_2023: Scalars["Float"];
5113
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4264
5114
  embedded: RouteEmbeddedEmissions;
4265
- /** Operational emissions for the leg. */
5115
+ /** Operational emissions. */
4266
5116
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4267
- /** End of life emissions for the leg. */
5117
+ /** End of life emissions. */
4268
5118
  end_of_life: RouteEndOfLifeEmissions;
4269
5119
  };
4270
5120
  export declare type RouteInternalCombustionVehicleLegEmissionstotalArgs = {
4271
5121
  unit?: Maybe<EmissionUnit>;
4272
5122
  };
5123
+ export declare type RouteInternalCombustionVehicleLegEmissionsiso_14083_2023Args = {
5124
+ unit?: Maybe<EmissionUnit>;
5125
+ };
4273
5126
  export declare type RouteInternalCombustionVehicleOperationalEmissions = {
4274
5127
  /** Total operational emissions. */
4275
5128
  total: Scalars["Float"];
4276
- /** Fuel emissions data. */
5129
+ /** Fuel emissions. */
4277
5130
  fuel: RouteOperationalFuelEmissions;
4278
- /** Total road infrastructure emissions. */
5131
+ /** Road infrastructure emissions. */
4279
5132
  infrastructure: RouteOperationalInfrastructureEmissions;
4280
- /** Total maintenance emissions. */
5133
+ /** Maintenance emissions. */
4281
5134
  maintenance: RouteOperationalMaintenanceEmissions;
4282
5135
  };
4283
5136
  export declare type RouteInternalCombustionVehicleOperationalEmissionstotalArgs = {
@@ -4354,6 +5207,66 @@ export declare type RouteLegMeta = {
4354
5207
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4355
5208
  warnings: Array<RouteMetaWarning>;
4356
5209
  };
5210
+ export declare type RouteLegOperationalElectricityEmissions = {
5211
+ /** Total electricity emissions. */
5212
+ total: Scalars["Float"];
5213
+ /** Base emissions without efficiency losses. */
5214
+ base_value: Scalars["Float"];
5215
+ /** Emissions for electricity lost in the battery. */
5216
+ battery_losses: Scalars["Float"];
5217
+ /** Emissions for electricity lost in transmission. */
5218
+ transmission_losses: Scalars["Float"];
5219
+ /** Emissions for electricity lost during charging. */
5220
+ chargepoint_losses: Scalars["Float"];
5221
+ /** Electricity efficiency information. */
5222
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
5223
+ /** Electricity intensity information. */
5224
+ intensity: RouteLegOperationalElectricityEmissionsIntensity;
5225
+ };
5226
+ export declare type RouteLegOperationalElectricityEmissionstotalArgs = {
5227
+ unit?: Maybe<EmissionUnit>;
5228
+ };
5229
+ export declare type RouteLegOperationalElectricityEmissionsbase_valueArgs = {
5230
+ unit?: Maybe<EmissionUnit>;
5231
+ };
5232
+ export declare type RouteLegOperationalElectricityEmissionsbattery_lossesArgs = {
5233
+ unit?: Maybe<EmissionUnit>;
5234
+ };
5235
+ export declare type RouteLegOperationalElectricityEmissionstransmission_lossesArgs = {
5236
+ unit?: Maybe<EmissionUnit>;
5237
+ };
5238
+ export declare type RouteLegOperationalElectricityEmissionschargepoint_lossesArgs = {
5239
+ unit?: Maybe<EmissionUnit>;
5240
+ };
5241
+ /** Electricity emission intensity for a leg */
5242
+ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
5243
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5244
+ total: Scalars["Float"];
5245
+ /** Base regional electricity emissions intensity for the leg. */
5246
+ base_regional_value: EmissionsFactor;
5247
+ /** Base regional electricity intensity used for the ISO 14083:2023 emissions estimation. */
5248
+ base_iso_14083_2023_regional_value: EmissionsFactor;
5249
+ /** Electricity mix for the leg. */
5250
+ energy_sources: RouteOperationalElectricityEnergySources;
5251
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5252
+ infrastructure: Scalars["Float"];
5253
+ /** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
5254
+ average_demand: Scalars["Float"];
5255
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
5256
+ base_load_fraction: Scalars["Float"];
5257
+ /** Season for which the leg was calculated. */
5258
+ season: RouteOperationalElectricitySeason;
5259
+ /** Climate for which the leg was calculated. */
5260
+ climate: RouteOperationalElectricityClimate;
5261
+ };
5262
+ /** Electricity emission intensity for a leg */
5263
+ export declare type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
5264
+ unit?: Maybe<EmissionUnit>;
5265
+ };
5266
+ /** Electricity emission intensity for a leg */
5267
+ export declare type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5268
+ unit?: Maybe<EmissionUnit>;
5269
+ };
4357
5270
  export declare type RouteMeta = {
4358
5271
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4359
5272
  warnings: Array<RouteMetaWarning>;
@@ -4366,6 +5279,16 @@ export declare type RouteMetaWarning = {
4366
5279
  /** Optional JSON object containing data explaining the warning, for development purposes. */
4367
5280
  data?: Maybe<Scalars["JSON"]>;
4368
5281
  };
5282
+ export declare type RouteMetadata = {
5283
+ /** Refers to the x-app-id specified in the headers. */
5284
+ app_id: Scalars["ID"];
5285
+ /** Date when a route was created by a createRoute mutation. */
5286
+ created_at: Scalars["DateTime"];
5287
+ /** Last updated date of a route. */
5288
+ updated_at: Scalars["DateTime"];
5289
+ /** Length of time required to successfully calculate a route, in milliseconds. */
5290
+ computation_time?: Maybe<Scalars["Int"]>;
5291
+ };
4369
5292
  /** Köppen climate classification. */
4370
5293
  export declare enum RouteOperationalElectricityClimate {
4371
5294
  /** Tropical rain forest climate. */
@@ -4435,7 +5358,7 @@ export declare type RouteOperationalElectricityEmissions = {
4435
5358
  /** Total electricity emissions. */
4436
5359
  total: Scalars["Float"];
4437
5360
  /** Base emissions without efficiency losses. */
4438
- base_emissions: Scalars["Float"];
5361
+ base_value: Scalars["Float"];
4439
5362
  /** Emissions for electricity lost in the battery. */
4440
5363
  battery_losses: Scalars["Float"];
4441
5364
  /** Emissions for electricity lost in transmission. */
@@ -4443,14 +5366,14 @@ export declare type RouteOperationalElectricityEmissions = {
4443
5366
  /** Emissions for electricity lost during charging. */
4444
5367
  chargepoint_losses: Scalars["Float"];
4445
5368
  /** Electricity efficiency information. */
4446
- electricity_efficiency: RouteOperationalElectricityEmissionsEfficiency;
5369
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
4447
5370
  /** Electricity intensity information. */
4448
- electricity_intensity: RouteOperationalElectricityEmissionsIntensity;
5371
+ intensity: RouteOperationalElectricityEmissionsIntensity;
4449
5372
  };
4450
5373
  export declare type RouteOperationalElectricityEmissionstotalArgs = {
4451
5374
  unit?: Maybe<EmissionUnit>;
4452
5375
  };
4453
- export declare type RouteOperationalElectricityEmissionsbase_emissionsArgs = {
5376
+ export declare type RouteOperationalElectricityEmissionsbase_valueArgs = {
4454
5377
  unit?: Maybe<EmissionUnit>;
4455
5378
  };
4456
5379
  export declare type RouteOperationalElectricityEmissionsbattery_lossesArgs = {
@@ -4464,27 +5387,27 @@ export declare type RouteOperationalElectricityEmissionschargepoint_lossesArgs =
4464
5387
  };
4465
5388
  export declare type RouteOperationalElectricityEmissionsEfficiency = {
4466
5389
  /** Average total electricity efficiency. */
4467
- total_efficiency: Scalars["Float"];
5390
+ total: Scalars["Float"];
4468
5391
  /** 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"];
5392
+ battery: Scalars["Float"];
5393
+ /** Average estimated transmission efficiency using the base transmission efficiency adjusting for temperature. */
5394
+ transmission: Scalars["Float"];
5395
+ /** Average base regional grid transmission efficiency. */
5396
+ base_transmission: Scalars["Float"];
4474
5397
  /** Average transmission efficiency change due to temperature. */
4475
- transmission_efficiency_temperature_modifier: Scalars["Float"];
5398
+ transmission_temperature_modifier: Scalars["Float"];
4476
5399
  /** 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"];
5400
+ chargepoint: Scalars["Float"];
5401
+ /** Average evse (electric vehicle supply equipment) efficiency of the chargepoint. */
5402
+ evse: Scalars["Float"];
5403
+ /** Average circuit breaker efficiency of the chargepoint. */
5404
+ breaker: Scalars["Float"];
5405
+ /** Average power electronics unit efficiency of the chargepoint. */
5406
+ power_electronics_unit: Scalars["Float"];
5407
+ /** Average transformer efficiency of the chargepoint. */
5408
+ transformer: Scalars["Float"];
4486
5409
  /** Change in chargepoint efficiency due to temperature. */
4487
- chargepoint_efficiency_temperature_modifier: Scalars["Float"];
5410
+ chargepoint_temperature_modifier: Scalars["Float"];
4488
5411
  /** Average charging current in amperes. */
4489
5412
  average_charging_current: Scalars["Float"];
4490
5413
  /** Average charging voltage in volts. */
@@ -4500,53 +5423,61 @@ export declare type RouteOperationalElectricityEmissionsEfficiencyaverage_temper
4500
5423
  export declare type RouteOperationalElectricityEmissionsEfficiencyaverage_regional_temperatureArgs = {
4501
5424
  unit?: Maybe<TemperatureUnit>;
4502
5425
  };
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
- };
5426
+ /** Electricity emission intensity for the route */
4523
5427
  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). */
5428
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5429
+ total: Scalars["Float"];
5430
+ /** Average base regional electricity emissions intensity in unit CO2e/kWh. */
5431
+ average_base_regional_value: Scalars["Float"];
5432
+ /** Total electricity intensity used for iso 14083:2023 scope emissions estimate in unit CO2e/kWh. */
5433
+ iso_14083_2023: Scalars["Float"];
5434
+ /** Average electricity mix for the route. */
5435
+ energy_sources: RouteOperationalElectricityEnergySources;
5436
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5437
+ infrastructure: Scalars["Float"];
5438
+ /** Average electricity demand at the time of route charges as a fraction of the annual average demand. */
5439
+ average_demand: Scalars["Float"];
5440
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
4539
5441
  base_load_fraction: Scalars["Float"];
4540
5442
  };
4541
- export declare type RouteOperationalElectricityEmissionsIntensitytotal_electricity_intensityArgs = {
5443
+ /** Electricity emission intensity for the route */
5444
+ export declare type RouteOperationalElectricityEmissionsIntensitytotalArgs = {
5445
+ unit?: Maybe<EmissionUnit>;
5446
+ };
5447
+ /** Electricity emission intensity for the route */
5448
+ export declare type RouteOperationalElectricityEmissionsIntensityaverage_base_regional_valueArgs = {
4542
5449
  unit?: Maybe<EmissionUnit>;
4543
5450
  };
4544
- export declare type RouteOperationalElectricityEmissionsIntensitybase_electricity_intensityArgs = {
5451
+ /** Electricity emission intensity for the route */
5452
+ export declare type RouteOperationalElectricityEmissionsIntensityiso_14083_2023Args = {
4545
5453
  unit?: Maybe<EmissionUnit>;
4546
5454
  };
4547
- export declare type RouteOperationalElectricityEmissionsIntensityelectricity_infrastructure_intensityArgs = {
5455
+ /** Electricity emission intensity for the route */
5456
+ export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
4548
5457
  unit?: Maybe<EmissionUnit>;
4549
5458
  };
5459
+ export declare type RouteOperationalElectricityEnergySources = {
5460
+ /** Electricity produced by coal power plants. */
5461
+ coal: ElectricityGenerationMethod;
5462
+ /** Electricity produced by natural gas power plants. */
5463
+ gas: ElectricityGenerationMethod;
5464
+ /** Electricity produced by hydroelectric power. */
5465
+ hydro: ElectricityGenerationMethod;
5466
+ /** Electricity produced by solar power. */
5467
+ solar: ElectricityGenerationMethod;
5468
+ /** Electricity produced by wind power. */
5469
+ wind: ElectricityGenerationMethod;
5470
+ /** Electricity produced by oil power plants. */
5471
+ oil: ElectricityGenerationMethod;
5472
+ /** Electricity produced by nuclear power plants. */
5473
+ nuclear: ElectricityGenerationMethod;
5474
+ /** Electricity produced by biofuel/biomass. */
5475
+ biofuel: ElectricityGenerationMethod;
5476
+ /** Electricity produced by geothermal power plants. */
5477
+ geothermal: ElectricityGenerationMethod;
5478
+ /** Electricity produced by other means. */
5479
+ other: ElectricityGenerationMethod;
5480
+ };
4550
5481
  /** Yearly seasons. */
4551
5482
  export declare enum RouteOperationalElectricitySeason {
4552
5483
  /** Winter season. */
@@ -4558,49 +5489,17 @@ export declare enum RouteOperationalElectricitySeason {
4558
5489
  /** Fall season. */
4559
5490
  FALL = "fall"
4560
5491
  }
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
5492
  export declare type RouteOperationalFuelEmissions = {
4594
- /** Total fuel for the route. */
5493
+ /** Total fuel emissions for the route. */
4595
5494
  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"];
5495
+ /** Direct (tank to wheels) fuel emissions for the route. */
5496
+ direct: Scalars["Float"];
5497
+ /** Indirect (well to tank) fuel emissions for the route. */
5498
+ indirect: Scalars["Float"];
5499
+ /** Total fuel consumption for the route. */
5500
+ consumption: Scalars["Float"];
4602
5501
  /** Estimated internal combustion vehicle weight. */
4603
- weight: Scalars["Float"];
5502
+ vehicle_weight: Scalars["Float"];
4604
5503
  /** Estimated internal combustion vehicle engine torque. */
4605
5504
  engine_torque: Scalars["Float"];
4606
5505
  /** Average powertrain efficiency. */
@@ -4615,16 +5514,16 @@ export declare type RouteOperationalFuelEmissions = {
4615
5514
  export declare type RouteOperationalFuelEmissionstotalArgs = {
4616
5515
  unit?: Maybe<EmissionUnit>;
4617
5516
  };
4618
- export declare type RouteOperationalFuelEmissionsdirect_emissionsArgs = {
5517
+ export declare type RouteOperationalFuelEmissionsdirectArgs = {
4619
5518
  unit?: Maybe<EmissionUnit>;
4620
5519
  };
4621
- export declare type RouteOperationalFuelEmissionsindirect_emissionsArgs = {
5520
+ export declare type RouteOperationalFuelEmissionsindirectArgs = {
4622
5521
  unit?: Maybe<EmissionUnit>;
4623
5522
  };
4624
- export declare type RouteOperationalFuelEmissionsfuel_consumptionArgs = {
5523
+ export declare type RouteOperationalFuelEmissionsconsumptionArgs = {
4625
5524
  unit?: Maybe<FuelUnit>;
4626
5525
  };
4627
- export declare type RouteOperationalFuelEmissionsweightArgs = {
5526
+ export declare type RouteOperationalFuelEmissionsvehicle_weightArgs = {
4628
5527
  unit?: Maybe<WeightUnit>;
4629
5528
  };
4630
5529
  export declare type RouteOperationalFuelEmissionsengine_torqueArgs = {
@@ -4641,11 +5540,11 @@ export declare enum RouteOperationalFuelType {
4641
5540
  DIESEL = "diesel"
4642
5541
  }
4643
5542
  export declare type RouteOperationalInfrastructureEmissions = {
4644
- /** Total infrastructure. */
5543
+ /** Total road infrastructure emissions. */
4645
5544
  total: Scalars["Float"];
4646
- /** Embedded (construction, decommissioning, etc) emissions cost. */
5545
+ /** Embedded (construction, decommissioning, etc) road infrastructure emissions. */
4647
5546
  embedded: Scalars["Float"];
4648
- /** Induced maintenance emissions. */
5547
+ /** Induced road infrastructure maintenance emissions. */
4649
5548
  maintenance: Scalars["Float"];
4650
5549
  };
4651
5550
  export declare type RouteOperationalInfrastructureEmissionstotalArgs = {
@@ -4658,33 +5557,76 @@ export declare type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
4658
5557
  unit?: Maybe<EmissionUnit>;
4659
5558
  };
4660
5559
  export declare type RouteOperationalMaintenanceEmissions = {
4661
- /** Total maintenance. */
4662
- total: Scalars["Float"];
4663
- /** Total fluid related maintenance emissions. */
4664
- fluids: RouteOperationalFluidEmissions;
5560
+ /** Total maintenance emissions. */
5561
+ total: RouteOperationalMaintenanceEmissionsField;
5562
+ /** Fluid related maintenance emissions. */
5563
+ fluids: FluidMaintenanceEmissions;
4665
5564
  /** Battery related maintenance emissions. */
4666
- battery: Scalars["Float"];
5565
+ battery: RouteOperationalMaintenanceEmissionsField;
4667
5566
  /** Tire related maintenance emissions. */
4668
- tires: Scalars["Float"];
5567
+ tires: RouteOperationalMaintenanceEmissionsField;
4669
5568
  /** Miscellaneous component maintenance emissions. */
4670
- components: Scalars["Float"];
5569
+ components: RouteOperationalMaintenanceEmissionsField;
4671
5570
  /** Accident repair related maintenance emissions. */
4672
- repair: Scalars["Float"];
5571
+ repair: RouteOperationalMaintenanceEmissionsField;
4673
5572
  };
4674
- export declare type RouteOperationalMaintenanceEmissionstotalArgs = {
4675
- unit?: Maybe<EmissionUnit>;
5573
+ export declare type RouteOperationalMaintenanceEmissionsField = {
5574
+ /** Total emissions. */
5575
+ total: Scalars["Float"];
5576
+ /** Emissions from replacement production and transport. */
5577
+ production: Scalars["Float"];
5578
+ /** Emissions from disposal. */
5579
+ disposal: Scalars["Float"];
4676
5580
  };
4677
- export declare type RouteOperationalMaintenanceEmissionsbatteryArgs = {
5581
+ export declare type RouteOperationalMaintenanceEmissionsFieldtotalArgs = {
4678
5582
  unit?: Maybe<EmissionUnit>;
4679
5583
  };
4680
- export declare type RouteOperationalMaintenanceEmissionstiresArgs = {
5584
+ export declare type RouteOperationalMaintenanceEmissionsFieldproductionArgs = {
4681
5585
  unit?: Maybe<EmissionUnit>;
4682
5586
  };
4683
- export declare type RouteOperationalMaintenanceEmissionscomponentsArgs = {
5587
+ export declare type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
4684
5588
  unit?: Maybe<EmissionUnit>;
4685
5589
  };
4686
- export declare type RouteOperationalMaintenanceEmissionsrepairArgs = {
4687
- unit?: Maybe<EmissionUnit>;
5590
+ export declare type RouteOperatorPreferences = {
5591
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5592
+ ranking?: Maybe<RouteOperatorPreferencesRanking>;
5593
+ /** Route operators that should be excluded. */
5594
+ exclude?: Maybe<Array<RouteOperatorsValue>>;
5595
+ };
5596
+ /** Prioritized operators for a route calculation. */
5597
+ export declare type RouteOperatorPreferencesInput = {
5598
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5599
+ ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5600
+ /** Route operators that should be excluded. */
5601
+ exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5602
+ };
5603
+ export declare type RouteOperatorPreferencesRanking = {
5604
+ /** Flag indicating if an operator should be preferred or required. */
5605
+ type: RouteOperatorsType;
5606
+ /** Ranking levels for operator ranking. */
5607
+ levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
5608
+ };
5609
+ export declare type RouteOperatorPreferencesRankingInput = {
5610
+ /** Flag indicating if the operators ranking should be preferred or required. */
5611
+ type: RouteOperatorsType;
5612
+ /** Ranking levels for operator ranking. */
5613
+ levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
5614
+ };
5615
+ export declare type RouteOperatorPreferencesRankingLevels = {
5616
+ /** Least significant level for operators ranking. */
5617
+ low?: Maybe<Array<RouteOperatorsValue>>;
5618
+ /** Medium level for operators ranking. */
5619
+ medium?: Maybe<Array<RouteOperatorsValue>>;
5620
+ /** Most significant level for operator ranking. */
5621
+ high?: Maybe<Array<RouteOperatorsValue>>;
5622
+ };
5623
+ export declare type RouteOperatorPreferencesRankingLevelsInput = {
5624
+ /** Least significant level for operator ranking. */
5625
+ low?: Maybe<Array<RouteOperatorsValueInput>>;
5626
+ /** Medium level for operator ranking. */
5627
+ medium?: Maybe<Array<RouteOperatorsValueInput>>;
5628
+ /** Most significant level three for operator ranking. */
5629
+ high?: Maybe<Array<RouteOperatorsValueInput>>;
4688
5630
  };
4689
5631
  /** Prioritized operators for a route calculation. */
4690
5632
  export declare type RouteOperators = {
@@ -4752,13 +5694,57 @@ export declare type RouteOperatorsRankingInput = {
4752
5694
  };
4753
5695
  /** Type of operator prioritization for a route. */
4754
5696
  export declare enum RouteOperatorsType {
4755
- /** Default option. Operators ranking will not be taken into account if no type is given. */
5697
+ /** Operators ranking will not be taken into account if no type is given. */
4756
5698
  NONE = "none",
4757
5699
  /** Operators given in the operators ranking will be preferred when calculating routes. */
4758
5700
  PREFERRED = "preferred",
4759
5701
  /** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored. */
4760
5702
  REQUIRED = "required"
4761
5703
  }
5704
+ export declare type RouteOperatorsValue = {
5705
+ /** ID of an operator. */
5706
+ id: Scalars["ID"];
5707
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5708
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
5709
+ };
5710
+ export declare type RouteOperatorsValueInput = {
5711
+ /** ID of an operator. */
5712
+ id: Scalars["ID"];
5713
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5714
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
5715
+ };
5716
+ export declare type RouteOriginFeaturePoint = {
5717
+ /** ID of the feature. */
5718
+ id?: Maybe<Scalars["ID"]>;
5719
+ /** Feature type. */
5720
+ type: FeatureType;
5721
+ /** Geometry of the feature. */
5722
+ geometry: Point;
5723
+ /** Optional object where additional properties can be specified. */
5724
+ properties?: Maybe<RouteOriginProperties>;
5725
+ };
5726
+ export declare type RouteOriginFeaturePointInput = {
5727
+ /** ID of the feature. */
5728
+ id?: Maybe<Scalars["ID"]>;
5729
+ /** Feature type. */
5730
+ type: FeatureType;
5731
+ /** Geometry of the feature. */
5732
+ geometry: PointInput;
5733
+ /** Optional object where additional properties can be specified. */
5734
+ properties?: Maybe<RouteOriginPropertiesInput>;
5735
+ };
5736
+ export declare type RouteOriginProperties = {
5737
+ /** Data about the origin location. */
5738
+ location?: Maybe<RoutePropertiesLocation>;
5739
+ /** Vehicle data at the origin location. */
5740
+ vehicle?: Maybe<RoutePropertiesVehicle>;
5741
+ };
5742
+ export declare type RouteOriginPropertiesInput = {
5743
+ /** Data about the origin location. */
5744
+ location?: Maybe<RoutePropertiesLocationInput>;
5745
+ /** Vehicle data at the origin location. */
5746
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
5747
+ };
4762
5748
  export declare type RoutePath = {
4763
5749
  /** GeoJSON location of a route path segment. */
4764
5750
  location?: Maybe<Point>;
@@ -4779,6 +5765,60 @@ export declare type RoutePath = {
4779
5765
  /** State of charge, in kWh, of a route path segment. */
4780
5766
  stateOfCharge?: Maybe<Scalars["Float"]>;
4781
5767
  };
5768
+ export declare type RoutePropertiesLocation = {
5769
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
5770
+ name?: Maybe<Scalars["String"]>;
5771
+ /** Duration to stay at this point. */
5772
+ stop_duration?: Maybe<Scalars["Int"]>;
5773
+ };
5774
+ export declare type RoutePropertiesLocationInput = {
5775
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
5776
+ name?: Maybe<Scalars["String"]>;
5777
+ /** Duration to stay at this point. */
5778
+ stop_duration?: Maybe<Scalars["Int"]>;
5779
+ };
5780
+ export declare type RoutePropertiesStation = {
5781
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5782
+ station_id?: Maybe<Scalars["ID"]>;
5783
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5784
+ external_station_id?: Maybe<Scalars["ID"]>;
5785
+ };
5786
+ export declare type RoutePropertiesStationInput = {
5787
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5788
+ station_id?: Maybe<Scalars["ID"]>;
5789
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5790
+ external_station_id?: Maybe<Scalars["ID"]>;
5791
+ };
5792
+ export declare type RoutePropertiesVehicle = {
5793
+ /** Number of occupants present in the vehicle. */
5794
+ occupants?: Maybe<Scalars["Int"]>;
5795
+ /** Combined weight of the occupants. */
5796
+ total_occupant_weight?: Maybe<TotalOccupantWeight>;
5797
+ /** Weight of the cargo. */
5798
+ total_cargo_weight?: Maybe<TotalCargoWeight>;
5799
+ };
5800
+ export declare type RoutePropertiesVehicleInput = {
5801
+ /** Number of occupants present in the vehicle. */
5802
+ occupants?: Maybe<Scalars["Int"]>;
5803
+ /** Combined weight of the occupants. */
5804
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
5805
+ /** Weight of the cargo. */
5806
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
5807
+ };
5808
+ export declare type RouteResponse = {
5809
+ /** ID of a route calculation. */
5810
+ id: Scalars["ID"];
5811
+ /** Status of a route. */
5812
+ status: RouteStatus;
5813
+ /** Recommended route. */
5814
+ recommended?: Maybe<RouteDetails>;
5815
+ /** Meta data for a route. */
5816
+ meta: RouteMetadata;
5817
+ /** Route request. */
5818
+ request_input: CreateRoute;
5819
+ /** Region of a route calculation. */
5820
+ region: Scalars["String"];
5821
+ };
4782
5822
  /** Scheduled charge stop along a route. */
4783
5823
  export declare type RouteScheduledChargeStop = {
4784
5824
  /** List of amenity types. */
@@ -4823,7 +5863,7 @@ export declare enum RouteStatus {
4823
5863
  PROCESSING = "processing",
4824
5864
  /** We finished computing the route, with a result. Final status. */
4825
5865
  DONE = "done",
4826
- /** We finished the computing the route, without any result. Final status. */
5866
+ /** We finished computing the route, without any result. Final status. */
4827
5867
  NOT_FOUND = "not_found",
4828
5868
  /** An error occurred while computing the route. Final status. */
4829
5869
  ERROR = "error"
@@ -4854,64 +5894,270 @@ export declare enum RouteTagType {
4854
5894
  WALKING = "walking",
4855
5895
  CROSSBORDER = "crossborder"
4856
5896
  }
5897
+ export declare type RouteVehicle = {
5898
+ /** ID of the vehicle. */
5899
+ id: Scalars["ID"];
5900
+ /** EV battery specific configuration. */
5901
+ battery?: Maybe<RouteVehicleBattery>;
5902
+ /** Charging configuration. */
5903
+ charging?: Maybe<RouteVehicleCharging>;
5904
+ /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
5905
+ tire_pressure?: Maybe<TirePressure>;
5906
+ /** Value of the vehicle's odometer. */
5907
+ odometer?: Maybe<Odometer>;
5908
+ /** Value of the auxiliary power consumption of the vehicle. */
5909
+ auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
5910
+ /** Flag which indicates if climate control is on. */
5911
+ climate?: Maybe<Scalars["Boolean"]>;
5912
+ /** Vehicle Heat Pump configuration. */
5913
+ heat_pump: HeatPumpMode;
5914
+ /** Vehicle cabin configuration. */
5915
+ cabin: RouteVehicleCabin;
5916
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
5917
+ motor_rpm?: Maybe<Scalars["Int"]>;
5918
+ /** Value of the outside temperature. */
5919
+ outside_temperature?: Maybe<Temperature>;
5920
+ /** Vehicle is in park, neutral or turned off. */
5921
+ is_parked?: Maybe<Scalars["Boolean"]>;
5922
+ /** Value of the vehicle's speed. */
5923
+ vehicle_speed?: Maybe<VehicleSpeed>;
5924
+ /** Current heading in degrees. */
5925
+ heading?: Maybe<Scalars["Float"]>;
5926
+ };
5927
+ export declare type RouteVehicleBattery = {
5928
+ /** Battery capacity. */
5929
+ capacity: StateOfCharge;
5930
+ /** State of charge. */
5931
+ state_of_charge: StateOfCharge;
5932
+ /** Minimum final battery state of charge. */
5933
+ final_state_of_charge: StateOfCharge;
5934
+ /** Temperature of the battery. */
5935
+ temperature?: Maybe<Temperature>;
5936
+ /** Battery current in ampere. */
5937
+ current?: Maybe<Scalars["Float"]>;
5938
+ /** Battery voltage in volts. */
5939
+ voltage?: Maybe<Scalars["Float"]>;
5940
+ /** Value of the positive or negative power. When negative, the vehicle is charging. */
5941
+ power?: Maybe<Scalars["Float"]>;
5942
+ /** Indicates if the vehicle is charging. */
5943
+ is_charging?: Maybe<Scalars["Boolean"]>;
5944
+ };
5945
+ /** EV battery specific configuration for a create route mutation. */
5946
+ export declare type RouteVehicleBatteryInput = {
5947
+ /** Battery capacity. */
5948
+ capacity?: Maybe<StateOfChargeInput>;
5949
+ /** Battery state of charge. */
5950
+ state_of_charge?: Maybe<StateOfChargeInput>;
5951
+ /** Minimum battery state of charge. */
5952
+ final_state_of_charge?: Maybe<StateOfChargeInput>;
5953
+ /** Battery temperature. */
5954
+ temperature?: Maybe<TemperatureInput>;
5955
+ /** Battery current in ampere. */
5956
+ current?: Maybe<Scalars["Float"]>;
5957
+ /** Battery voltage in volts. */
5958
+ voltage?: Maybe<Scalars["Float"]>;
5959
+ /** Vehicle power. */
5960
+ power?: Maybe<Scalars["Float"]>;
5961
+ /** Vehicle is currently charging. */
5962
+ is_charging?: Maybe<Scalars["Boolean"]>;
5963
+ };
5964
+ export declare type RouteVehicleCabin = {
5965
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
5966
+ is_preconditioned: Scalars["Boolean"];
5967
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
5968
+ desired_temperature: Temperature;
5969
+ };
5970
+ export declare type RouteVehicleCabinInput = {
5971
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
5972
+ is_preconditioned?: Scalars["Boolean"];
5973
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
5974
+ desired_temperature: TemperatureInput;
5975
+ };
5976
+ export declare type RouteVehicleCharging = {
5977
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
5978
+ mode: ChargeMode;
5979
+ /** Minimum desired power of chargers. */
5980
+ minimum_power: Scalars["Int"];
5981
+ /** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
5982
+ risk_margin: Scalars["Int"];
5983
+ /** Supported connectors. */
5984
+ connectors?: Maybe<Array<RouteVehicleChargingConnector>>;
5985
+ /** Supported adapters. */
5986
+ adapters?: Maybe<Array<RouteVehicleChargingConnector>>;
5987
+ };
5988
+ export declare type RouteVehicleChargingConnector = {
5989
+ /** Type of the plug. */
5990
+ standard: ConnectorType;
5991
+ /** Maximum charging speed for the plug. */
5992
+ max_charge_speed: ChargeSpeed;
5993
+ };
5994
+ export declare type RouteVehicleChargingConnectorInput = {
5995
+ /** Plug type. */
5996
+ standard: ConnectorType;
5997
+ /** Maximum charging speed for this plug. */
5998
+ max_charge_speed: ChargeSpeedInput;
5999
+ };
6000
+ export declare type RouteVehicleChargingInput = {
6001
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6002
+ mode?: Maybe<ChargeMode>;
6003
+ /** Minimum desired power of chargers. */
6004
+ minimum_power?: Maybe<Scalars["Float"]>;
6005
+ /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
6006
+ risk_margin?: Maybe<Scalars["Int"]>;
6007
+ /** Supported connectors. */
6008
+ connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6009
+ /** Supported adapters. */
6010
+ adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6011
+ };
4857
6012
  export declare type RouteVehicleEmissions = {
4858
6013
  /** Total co2e emissions. */
4859
6014
  total: Scalars["Float"];
4860
- /** Embedded emissions. */
6015
+ /** 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. */
6016
+ iso_14083_2023: Scalars["Float"];
6017
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4861
6018
  embedded: RouteEmbeddedEmissions;
4862
6019
  /** Operational emissions. */
4863
6020
  operational: RouteVehicleOperationalEmissions;
4864
6021
  /** End of life emissions. */
4865
6022
  end_of_life: RouteEndOfLifeEmissions;
4866
- /** Emissions info for the legs in the order as within the route. */
6023
+ /** Emissions info for the legs in the same order as in the route. */
4867
6024
  legs: Array<RouteVehicleLegEmissions>;
4868
6025
  };
4869
6026
  export declare type RouteVehicleEmissionstotalArgs = {
4870
6027
  unit?: Maybe<EmissionUnit>;
4871
6028
  };
6029
+ export declare type RouteVehicleEmissionsiso_14083_2023Args = {
6030
+ unit?: Maybe<EmissionUnit>;
6031
+ };
6032
+ /** Vehicle specific input for a create route mutation. */
6033
+ export declare type RouteVehicleInput = {
6034
+ /** ID of the vehicle. */
6035
+ id: Scalars["ID"];
6036
+ /** EV battery specific configuration. */
6037
+ battery?: Maybe<RouteVehicleBatteryInput>;
6038
+ /** Charging configuration. */
6039
+ charging?: Maybe<RouteVehicleChargingInput>;
6040
+ /** Average tire pressures of all wheels. */
6041
+ tire_pressure?: Maybe<TirePressureInput>;
6042
+ /** Odometer (mileage) reading. */
6043
+ odometer?: Maybe<OdometerInput>;
6044
+ /** Average auxiliary power consumption. */
6045
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
6046
+ /** Flag which indicates if climate control is on. */
6047
+ climate?: Maybe<Scalars["Boolean"]>;
6048
+ /** Vehicle Heat Pump configuration. */
6049
+ heat_pump?: Maybe<HeatPumpMode>;
6050
+ /** Vehicle cabin configuration for creating the route. */
6051
+ cabin?: Maybe<RouteVehicleCabinInput>;
6052
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6053
+ motor_rpm?: Maybe<Scalars["Int"]>;
6054
+ /** Outside temperature. */
6055
+ outside_temperature?: Maybe<TemperatureInput>;
6056
+ /** Vehicle is in park, neutral or turned off. */
6057
+ is_parked?: Maybe<Scalars["Boolean"]>;
6058
+ /** Vehicle speed. */
6059
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
6060
+ /** Current heading in degrees. */
6061
+ heading?: Maybe<Scalars["Float"]>;
6062
+ };
4872
6063
  export declare type RouteVehicleLegEmissions = {
4873
6064
  /** Total co2e emissions for the leg. */
4874
6065
  total: Scalars["Float"];
4875
- /** Embedded emissions for the leg. */
6066
+ /** 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. */
6067
+ iso_14083_2023: Scalars["Float"];
6068
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4876
6069
  embedded: RouteEmbeddedEmissions;
4877
6070
  /** Operational emissions for the leg. */
4878
- operational: RouteVehicleOperationalEmissions;
6071
+ operational: RouteVehicleLegOperationalEmissions;
4879
6072
  /** End of life emissions for the leg. */
4880
6073
  end_of_life: RouteEndOfLifeEmissions;
4881
6074
  };
4882
6075
  export declare type RouteVehicleLegEmissionstotalArgs = {
4883
6076
  unit?: Maybe<EmissionUnit>;
4884
6077
  };
6078
+ export declare type RouteVehicleLegEmissionsiso_14083_2023Args = {
6079
+ unit?: Maybe<EmissionUnit>;
6080
+ };
6081
+ export declare type RouteVehicleLegOperationalEmissions = {
6082
+ /** Total operational emissions for the leg. */
6083
+ total: Scalars["Float"];
6084
+ /** Electricity emissions data for the leg. */
6085
+ electricity: RouteLegOperationalElectricityEmissions;
6086
+ /** Total road infrastructure emissions for the leg. */
6087
+ infrastructure: RouteOperationalInfrastructureEmissions;
6088
+ /** Total maintenance emissions for the leg. */
6089
+ maintenance: RouteOperationalMaintenanceEmissions;
6090
+ };
6091
+ export declare type RouteVehicleLegOperationalEmissionstotalArgs = {
6092
+ unit?: Maybe<EmissionUnit>;
6093
+ };
4885
6094
  export declare type RouteVehicleOperationalEmissions = {
4886
6095
  /** Total operational emissions. */
4887
6096
  total: Scalars["Float"];
4888
- /** Electricity emissions data. */
6097
+ /** Electricity emissions. */
4889
6098
  electricity: RouteOperationalElectricityEmissions;
4890
- /** Total road infrastructure emissions. */
6099
+ /** Road infrastructure emissions. */
4891
6100
  infrastructure: RouteOperationalInfrastructureEmissions;
4892
- /** Total maintenance emissions. */
6101
+ /** Maintenance emissions. */
4893
6102
  maintenance: RouteOperationalMaintenanceEmissions;
4894
6103
  };
4895
6104
  export declare type RouteVehicleOperationalEmissionstotalArgs = {
4896
6105
  unit?: Maybe<EmissionUnit>;
4897
6106
  };
6107
+ export declare type RouteViaFeaturePoint = {
6108
+ /** ID of the feature. */
6109
+ id?: Maybe<Scalars["ID"]>;
6110
+ /** Feature type. */
6111
+ type: FeatureType;
6112
+ /** Geometry of the feature. */
6113
+ geometry: Point;
6114
+ /** Optional object where additional properties can be specified. */
6115
+ properties?: Maybe<RouteViaProperties>;
6116
+ };
6117
+ export declare type RouteViaFeaturePointInput = {
6118
+ /** ID of the feature. */
6119
+ id?: Maybe<Scalars["ID"]>;
6120
+ /** Feature type. */
6121
+ type: FeatureType;
6122
+ /** Geometry of the feature. */
6123
+ geometry: PointInput;
6124
+ /** Optional object where additional properties can be specified. */
6125
+ properties?: Maybe<RouteViaPropertiesInput>;
6126
+ };
6127
+ export declare type RouteViaProperties = {
6128
+ /** Location data of the via point. */
6129
+ location?: Maybe<RoutePropertiesLocation>;
6130
+ /** Vehicle data of the via point. */
6131
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6132
+ /** Station data of the via point. */
6133
+ station?: Maybe<RoutePropertiesStation>;
6134
+ };
6135
+ export declare type RouteViaPropertiesInput = {
6136
+ /** Location data of the via point. */
6137
+ location?: Maybe<RoutePropertiesLocationInput>;
6138
+ /** Vehicle data of the via point. */
6139
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6140
+ /** Station data of the via point. */
6141
+ station?: Maybe<RoutePropertiesStationInput>;
6142
+ };
4898
6143
  /** Scheduled charge stop along a route. */
4899
6144
  export declare type ScheduledChargeStopInput = {
4900
6145
  /** List of amenity types. */
4901
6146
  types: Array<AmenityType>;
4902
6147
  /** Duration at the amenity, in seconds. The value should be between 900 and 86400. */
4903
6148
  duration: Scalars["Int"];
4904
- /** Maximum allowed offset from the stop_after value in seconds. Default is 1800. */
6149
+ /** Maximum allowed offset from the stop_after value in seconds. */
4905
6150
  offset?: Maybe<Scalars["Int"]>;
4906
6151
  /** Desired drive time for a scheduled stop after leaving the origin point, in seconds. */
4907
6152
  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. */
6153
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
4909
6154
  max_distance_from_station?: Maybe<Scalars["Int"]>;
4910
6155
  };
4911
6156
  export declare enum SortDirection {
4912
6157
  ASCENDING = "ascending",
4913
6158
  DESCENDING = "descending"
4914
6159
  }
6160
+ /** Speed units. */
4915
6161
  export declare enum SpeedUnit {
4916
6162
  /** Return the speed in kilometers per hour. */
4917
6163
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -4925,14 +6171,23 @@ export declare type StandardStats = {
4925
6171
  /** The total number of stations with the specified plug */
4926
6172
  total?: Maybe<Scalars["Int"]>;
4927
6173
  };
6174
+ export declare type StateOfCharge = {
6175
+ /** Value of the state of charge of the vehicle. */
6176
+ value: Scalars["Float"];
6177
+ /** Type of the state of charge of the vehicle. */
6178
+ type: StateOfChargeUnit;
6179
+ /** Source of inputted data. */
6180
+ source: TelemetryInputSource;
6181
+ };
4928
6182
  export declare type StateOfChargeInput = {
4929
6183
  /** Value of the state of charge of the vehicle. */
4930
6184
  value: Scalars["Float"];
4931
6185
  /** Type of the state of charge of the vehicle. */
4932
6186
  type: StateOfChargeUnit;
4933
6187
  /** Source of inputted data, defaults to 'manual'. */
4934
- source?: Maybe<TelemetryInputSource>;
6188
+ source?: TelemetryInputSource;
4935
6189
  };
6190
+ /** State of charge unit. */
4936
6191
  export declare enum StateOfChargeUnit {
4937
6192
  /** Return the state of charge in kilometers. */
4938
6193
  KILOMETER = "kilometer",
@@ -5021,7 +6276,10 @@ export declare type Station = {
5021
6276
  location_category?: Maybe<Scalars["String"]>;
5022
6277
  /** Coordinates for the location's entrances in decimal degrees. If available, there can be more than one entrances to the location. */
5023
6278
  entrance_for_navigation?: Maybe<Array<OCPIAdditionalGeoLocation>>;
5024
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
6279
+ /**
6280
+ * Optional object where you can store custom data you need in your application. This extends the current functionalities we offer.
6281
+ * @deprecated No longer used.
6282
+ */
5025
6283
  properties?: Maybe<Scalars["JSON"]>;
5026
6284
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
5027
6285
  realtime?: Maybe<Scalars["Boolean"]>;
@@ -5098,7 +6356,7 @@ export declare type StationAroundFilter = {
5098
6356
  location?: Maybe<PointInput>;
5099
6357
  /** Distance, in meters, to search around. */
5100
6358
  distance?: Maybe<Scalars["Int"]>;
5101
- /** Powers in kWh. */
6359
+ /** Powers in kW. */
5102
6360
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5103
6361
  /** Amenities available near a station. */
5104
6362
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5117,7 +6375,7 @@ export declare type StationAroundQuery = {
5117
6375
  location?: Maybe<PointInput>;
5118
6376
  /** Distance, in meters, to search around. */
5119
6377
  distance?: Maybe<Scalars["Int"]>;
5120
- /** Power in kWh. */
6378
+ /** Power in kW. */
5121
6379
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5122
6380
  /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park. */
5123
6381
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
@@ -5209,7 +6467,7 @@ export declare type StationHeavyVehiclesRestrictionsmassArgs = {
5209
6467
  };
5210
6468
  /** Filter which can be applied to retrieve the station list action. */
5211
6469
  export declare type StationListFilter = {
5212
- /** Powers in kWh. */
6470
+ /** Powers in kW. */
5213
6471
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5214
6472
  /** Amenities available near a station. */
5215
6473
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5271,11 +6529,11 @@ export declare type StationRoaming = {
5271
6529
  };
5272
6530
  /** The station speed type. */
5273
6531
  export declare enum StationSpeedType {
5274
- /** Slow charging (below 43 kWh). */
6532
+ /** Slow charging (below 43 kW). */
5275
6533
  SLOW = "slow",
5276
- /** Fast charging stations (above 43 kWh and below 150 kWh). */
6534
+ /** Fast charging stations (above 43 kW and below 150 kW). */
5277
6535
  FAST = "fast",
5278
- /** Ultra fast charging stations (above 150 kWh). */
6536
+ /** Ultra fast charging stations (above 150 kW). */
5279
6537
  TURBO = "turbo"
5280
6538
  }
5281
6539
  /** The station stats model */
@@ -5338,6 +6596,8 @@ export declare type Subscription = {
5338
6596
  navigationUpdatedById?: Maybe<Navigation>;
5339
6597
  /** Subscription for a specific route was updated in the system event */
5340
6598
  routeUpdatedById?: Maybe<Route>;
6599
+ /** [BETA] Subscription for a specific route was updated in the system event */
6600
+ route: RouteResponse;
5341
6601
  };
5342
6602
  export declare type SubscriptionconnectedVehicleArgs = {
5343
6603
  id: Scalars["ID"];
@@ -5351,6 +6611,9 @@ export declare type SubscriptionnavigationUpdatedByIdArgs = {
5351
6611
  export declare type SubscriptionrouteUpdatedByIdArgs = {
5352
6612
  id: Scalars["ID"];
5353
6613
  };
6614
+ export declare type SubscriptionrouteArgs = {
6615
+ id: Scalars["ID"];
6616
+ };
5354
6617
  export declare type Telemetry = {
5355
6618
  /** Value of the auxiliary power consumption of the vehicle. */
5356
6619
  auxiliary_consumption?: Maybe<Scalars["Float"]>;
@@ -5482,6 +6745,7 @@ export declare type TelemetryInput = {
5482
6745
  /** Custom input fields can be added based on telemetry architecture. */
5483
6746
  custom?: Maybe<Scalars["JSON"]>;
5484
6747
  };
6748
+ /** Telemetry input sources. */
5485
6749
  export declare enum TelemetryInputSource {
5486
6750
  /** Manually inputted value. */
5487
6751
  MANUAL = "manual",
@@ -5500,19 +6764,28 @@ export declare type TemperatureInput = {
5500
6764
  /** Type of temperature. */
5501
6765
  type: TemperatureUnit;
5502
6766
  };
6767
+ /** Temperature unit. */
5503
6768
  export declare enum TemperatureUnit {
5504
6769
  /** Return the temperature in Celsius. */
5505
6770
  CELSIUS = "Celsius",
5506
6771
  /** Return the temperature in Fahrenheit. */
5507
6772
  FAHRENHEIT = "Fahrenheit"
5508
6773
  }
6774
+ export declare type TirePressure = {
6775
+ /** Values for the tire pressure, starting from the front side right to left and to the rear (FR, FL, RL, RR). */
6776
+ value: Array<Scalars["Float"]>;
6777
+ /** Type of the value of pressure. */
6778
+ type: PressureUnit;
6779
+ /** Source of inputted data. */
6780
+ source: TelemetryInputSource;
6781
+ };
5509
6782
  export declare type TirePressureInput = {
5510
6783
  /** Values for the tire pressure, starting from the front side right to left and to the rear. */
5511
6784
  value: Array<Scalars["Float"]>;
5512
6785
  /** Type of the value of pressure. */
5513
6786
  type: PressureUnit;
5514
6787
  /** Source of inputted data, defaults to 'manual'. */
5515
- source?: Maybe<TelemetryInputSource>;
6788
+ source?: TelemetryInputSource;
5516
6789
  };
5517
6790
  export declare enum TorqueUnit {
5518
6791
  /** Return the torque in newton meters. */
@@ -5520,13 +6793,29 @@ export declare enum TorqueUnit {
5520
6793
  /** Return the torque in foot pounds. */
5521
6794
  FOOT_POUND = "foot_pound"
5522
6795
  }
6796
+ export declare type TotalCargoWeight = {
6797
+ /** Value of the current weight of the cargo. */
6798
+ value: Scalars["Float"];
6799
+ /** Type of the current weight of the cargo. */
6800
+ type: WeightUnit;
6801
+ /** Source of inputted data. */
6802
+ source: TelemetryInputSource;
6803
+ };
5523
6804
  export declare type TotalCargoWeightInput = {
5524
6805
  /** Value of the current weight of the cargo. */
5525
6806
  value: Scalars["Float"];
5526
6807
  /** Type of the current weight of the cargo. */
5527
6808
  type: WeightUnit;
5528
6809
  /** Source of inputted data, defaults to 'manual'. */
5529
- source?: Maybe<TelemetryInputSource>;
6810
+ source?: TelemetryInputSource;
6811
+ };
6812
+ export declare type TotalOccupantWeight = {
6813
+ /** Value of the current weight of the occupants. */
6814
+ value: Scalars["Float"];
6815
+ /** Type of the current weight of the occupants. */
6816
+ type: WeightUnit;
6817
+ /** Source of inputted data. */
6818
+ source: TelemetryInputSource;
5530
6819
  };
5531
6820
  export declare type TotalOccupantWeightInput = {
5532
6821
  /** Value of the current weight of the occupants. */
@@ -5534,7 +6823,7 @@ export declare type TotalOccupantWeightInput = {
5534
6823
  /** Type of the current weight of the occupants. */
5535
6824
  type: WeightUnit;
5536
6825
  /** Source of inputted data, defaults to 'manual'. */
5537
- source?: Maybe<TelemetryInputSource>;
6826
+ source?: TelemetryInputSource;
5538
6827
  };
5539
6828
  export declare enum TurningCircleUnit {
5540
6829
  /** Return the turning circle in meters. */
@@ -6648,7 +7937,7 @@ export declare type VehiclePremiumRoutingfuel_consumptionArgs = {
6648
7937
  unit?: Maybe<FuelConsumptionUnit>;
6649
7938
  };
6650
7939
  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 */
7940
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
6652
7941
  auxiliary?: Maybe<Scalars["Float"]>;
6653
7942
  /**
6654
7943
  * Consumption, in kWh, of the auxiliaries.
@@ -6786,25 +8075,22 @@ export declare type VehicleRouting = {
6786
8075
  /** Vehicles that support fast charging have a minimum charging speed of 43 kWh. */
6787
8076
  fast_charging_support: Scalars["Boolean"];
6788
8077
  };
8078
+ export declare type VehicleSpeed = {
8079
+ /** Value of the vehicle speed. */
8080
+ value: Scalars["Float"];
8081
+ /** Type of the vehicle speed. */
8082
+ type: SpeedUnit;
8083
+ /** Source of inputted data. */
8084
+ source: TelemetryInputSource;
8085
+ };
6789
8086
  export declare type VehicleSpeedInput = {
6790
8087
  /** Value of the vehicle speed. */
6791
8088
  value: Scalars["Float"];
6792
8089
  /** Type of the vehicle speed. */
6793
8090
  type: SpeedUnit;
6794
8091
  /** Source of inputted data, defaults to 'manual'. */
6795
- source?: Maybe<TelemetryInputSource>;
8092
+ source?: TelemetryInputSource;
6796
8093
  };
6797
- /** Status of a vehicle. */
6798
- export declare enum VehicleStatus {
6799
- /** Is being reviewed by a human operator. */
6800
- DRAFT = "draft",
6801
- /** Is public and can be used by a customer. */
6802
- PUBLIC = "public",
6803
- /** Is private and can be used by a human operator. */
6804
- PRIVATE = "private",
6805
- /** Is archived and can not be used. */
6806
- ARCHIVED = "archived"
6807
- }
6808
8094
  export declare type VehicleToEverything = {
6809
8095
  /** Information about Vehicle-to-Load. */
6810
8096
  vehicle_to_load?: Maybe<VehicleToEverythingLoad>;
@@ -6877,6 +8163,7 @@ export declare enum VolumeUnit {
6877
8163
  /** Return the volume in cubic feet. */
6878
8164
  CUBIC_FOOT = "cubic_foot"
6879
8165
  }
8166
+ /** Weight unit. */
6880
8167
  export declare enum WeightUnit {
6881
8168
  /** Return the weight in kilograms. */
6882
8169
  KILOGRAM = "kilogram",