@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.
package/src/graphql.ts CHANGED
@@ -181,15 +181,25 @@ export type AuthorizeConnectedVehicleOptions = {
181
181
  code?: Maybe<Scalars["PlainString"]>;
182
182
  };
183
183
 
184
+ export type AuxiliaryConsumption = {
185
+ /** Value of the auxiliary power consumption of the vehicle. */
186
+ value: Scalars["Float"];
187
+ /** Type of auxiliary power consumption of the vehicle. */
188
+ type: AuxiliaryConsumptionUnit;
189
+ /** Source of inputted data. */
190
+ source: TelemetryInputSource;
191
+ };
192
+
184
193
  export type AuxiliaryConsumptionInput = {
185
194
  /** Value of the auxiliary power consumption of the vehicle. */
186
195
  value: Scalars["Float"];
187
196
  /** Type of auxiliary power consumption of the vehicle. */
188
197
  type: AuxiliaryConsumptionUnit;
189
198
  /** Source of inputted data, defaults to 'manual'. */
190
- source?: Maybe<TelemetryInputSource>;
199
+ source?: TelemetryInputSource;
191
200
  };
192
201
 
202
+ /** Auxiliary consumption units. */
193
203
  export enum AuxiliaryConsumptionUnit {
194
204
  /** Return the auxiliary consumption in kilowatt hours. */
195
205
  KILOWATT_HOUR = "kilowatt_hour"
@@ -1494,15 +1504,25 @@ export enum ChargeMode {
1494
1504
  ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1495
1505
  }
1496
1506
 
1507
+ export type ChargeSpeed = {
1508
+ /** Value of the charge speed of the battery. */
1509
+ value: Scalars["Float"];
1510
+ /** Type of the charge speed of the battery. */
1511
+ type: ChargeSpeedUnit;
1512
+ /** Source of inputted data */
1513
+ source: TelemetryInputSource;
1514
+ };
1515
+
1497
1516
  export type ChargeSpeedInput = {
1498
1517
  /** Value of the charge speed of the battery. */
1499
1518
  value: Scalars["Float"];
1500
1519
  /** Type of the charge speed of the battery. */
1501
1520
  type: ChargeSpeedUnit;
1502
1521
  /** Source of inputted data, defaults to 'manual'. */
1503
- source?: Maybe<TelemetryInputSource>;
1522
+ source?: TelemetryInputSource;
1504
1523
  };
1505
1524
 
1525
+ /** Charge speed unit. */
1506
1526
  export enum ChargeSpeedUnit {
1507
1527
  /** Return the charge speed in kilowatt hours. */
1508
1528
  KILOWATT_HOUR = "kilowatt_hour",
@@ -1525,7 +1545,7 @@ export type ChargeTotalInput = {
1525
1545
  export type Charger = {
1526
1546
  /** Type of a charger. */
1527
1547
  standard?: Maybe<ConnectorType>;
1528
- /** Power of a charger. */
1548
+ /** Power of a charger, in kW. */
1529
1549
  power?: Maybe<Scalars["Float"]>;
1530
1550
  /** Price of a charger. */
1531
1551
  price?: Maybe<Scalars["String"]>;
@@ -1537,6 +1557,7 @@ export type Charger = {
1537
1557
  total?: Maybe<Scalars["Int"]>;
1538
1558
  };
1539
1559
 
1560
+ /** Status of a charger. */
1540
1561
  export enum ChargerStatus {
1541
1562
  /** The charger is free. */
1542
1563
  FREE = "free",
@@ -1770,8 +1791,13 @@ export type Connector = {
1770
1791
  properties?: Maybe<Scalars["JSON"]>;
1771
1792
  /** List of valid charging tariffs. */
1772
1793
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1773
- /** Charging prices. */
1794
+ /**
1795
+ * Charging prices.
1796
+ * @deprecated In favor of prices.
1797
+ */
1774
1798
  pricing?: Maybe<Pricing>;
1799
+ /** Dynamic charging prices. */
1800
+ prices?: Maybe<Array<ConnectorPrice>>;
1775
1801
  /** 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. */
1776
1802
  custom_properties?: Maybe<ConnectorCustomProperties>;
1777
1803
  };
@@ -1780,13 +1806,196 @@ export type Connector = {
1780
1806
  export type ConnectorCustomProperties = {
1781
1807
  /**
1782
1808
  * Charging prices.
1783
- * @deprecated In favor of connector.pricing
1809
+ * @deprecated In favor of connector.prices.
1784
1810
  */
1785
1811
  pricing?: Maybe<Pricing>;
1786
1812
  /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
1787
1813
  oicp?: Maybe<OICPConnectorCustomProperties>;
1788
1814
  };
1789
1815
 
1816
+ /** Connector charging price. */
1817
+ export type ConnectorPrice = {
1818
+ /** ID for the price. */
1819
+ external_id: Scalars["String"];
1820
+ /** Owner of the payment product. */
1821
+ partner?: Maybe<Scalars["String"]>;
1822
+ /** ID for the owner of the payment product. */
1823
+ partner_id: Scalars["String"];
1824
+ /** Payment product. */
1825
+ product: ConnectorPriceProduct;
1826
+ /** Price product elements. */
1827
+ elements: Array<ConnectorPriceElement>;
1828
+ /** 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). */
1829
+ last_updated?: Maybe<Scalars["DateTime"]>;
1830
+ };
1831
+
1832
+ export type ConnectorPriceElement = {
1833
+ /** Connector price element components. */
1834
+ components: Array<ConnectorPriceElementComponent>;
1835
+ /** Connector price element restrictions. */
1836
+ restrictions?: Maybe<ConnectorPriceElementRestrictions>;
1837
+ };
1838
+
1839
+ export type ConnectorPriceElementComponent = {
1840
+ /** Type of pricing that is applicable. */
1841
+ type: ConnectorPriceElementComponentType;
1842
+ /** Applicable price excluding VAT. */
1843
+ price_excl_vat: Scalars["Float"];
1844
+ /** Applicable VAT. */
1845
+ vat: Scalars["Float"];
1846
+ /**
1847
+ * Indicates the minimum amount that is billed. A
1848
+ * 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.
1849
+ *
1850
+ * 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.
1851
+ */
1852
+ step_size: Scalars["Int"];
1853
+ };
1854
+
1855
+ /** Type of pricing that is applicable. */
1856
+ export enum ConnectorPriceElementComponentType {
1857
+ /** Price per kWh. */
1858
+ ENERGY = "energy",
1859
+ /** Fixed price per charging session. */
1860
+ FLAT = "flat",
1861
+ /** Parking price per hour. This fee is applicable even if the parked car is not charging. */
1862
+ PARKING_TIME = "parking_time",
1863
+ /** Fixed price per hour. */
1864
+ TIME = "time"
1865
+ }
1866
+
1867
+ export type ConnectorPriceElementRestrictions = {
1868
+ /** Starting time of the day for the prices. */
1869
+ start_time?: Maybe<Scalars["String"]>;
1870
+ /** Ending time of the day for the prices. */
1871
+ end_time?: Maybe<Scalars["String"]>;
1872
+ /** Starting date for the prices. */
1873
+ start_date?: Maybe<Scalars["String"]>;
1874
+ /** Ending date for the prices. */
1875
+ end_date?: Maybe<Scalars["String"]>;
1876
+ /** Minimum energy used, in kWh. */
1877
+ minimum_kwh?: Maybe<Scalars["Float"]>;
1878
+ /** Maximum energy used, in kWh. */
1879
+ maximum_kwh?: Maybe<Scalars["Float"]>;
1880
+ /** Minimum charging speed, in kW. */
1881
+ minimum_power?: Maybe<Scalars["Float"]>;
1882
+ /** Maximum charging speed, in kW. */
1883
+ maximum_power?: Maybe<Scalars["Float"]>;
1884
+ /** 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. */
1885
+ minimum_current?: Maybe<Scalars["Float"]>;
1886
+ /** 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. */
1887
+ maximum_current?: Maybe<Scalars["Float"]>;
1888
+ /** Minimum price based on the amount of kWh that is being delivered. */
1889
+ minimum_price?: Maybe<Scalars["Float"]>;
1890
+ /** Maximum price based on the amount of kWh that is being delivered. */
1891
+ maximum_price?: Maybe<Scalars["Float"]>;
1892
+ /** Battery percentage at which the overstay prices are active. */
1893
+ overstay_battery_percentage?: Maybe<
1894
+ ConnectorPriceRestrictionsOverstayBatteryPercentage
1895
+ >;
1896
+ /** Time after which the overstay prices are active. */
1897
+ overstay_time?: Maybe<ConnectorPriceRestrictionsOverstayTime>;
1898
+ /** Minimum duration, in seconds. */
1899
+ minimum_duration?: Maybe<Scalars["Int"]>;
1900
+ /** Maximum duration, in seconds. */
1901
+ maximum_duration?: Maybe<Scalars["Int"]>;
1902
+ /** Day(s) of the week that the prices are valid. */
1903
+ day_of_week?: Maybe<Array<DayOfWeek>>;
1904
+ /** Contract signed between the eMSP and the customer. */
1905
+ emsp_contract_date?: Maybe<ConnectorPriceRestrictionsEmspContractDate>;
1906
+ /**
1907
+ * When this field is present, the ConnectorPriceElement describes reservation costs.
1908
+ * A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
1909
+ * or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
1910
+ * where time is for the duration of the reservation.
1911
+ *
1912
+ * When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
1913
+ * where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
1914
+ * then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
1915
+ */
1916
+ reservation?: Maybe<ConnectorPriceRestrictionsReservationType>;
1917
+ };
1918
+
1919
+ /** Payment product. */
1920
+ export type ConnectorPriceProduct = {
1921
+ /** Name of the payment product. */
1922
+ name: Scalars["String"];
1923
+ /** Type of the payment product. */
1924
+ type: ConnectorPriceProductType;
1925
+ /** A brief description of the product. */
1926
+ description: Scalars["String"];
1927
+ /** Indicates the type of subscription. */
1928
+ subscription_type: ConnectorPriceProductSubscriptionType;
1929
+ /** Subscription price for a month or year, excluding VAT, if applicable. */
1930
+ subscription_fee_excl_vat: Scalars["Float"];
1931
+ /** Three-digit currency code of the country where the charging station is located. */
1932
+ currency: CurrencyUnit;
1933
+ };
1934
+
1935
+ /** Type of the payment product. */
1936
+ export enum ConnectorPriceProductSubscriptionType {
1937
+ /** The subscription fee is applicable every month. */
1938
+ MONTHLY = "monthly",
1939
+ /** The subscription fee is applicable every year. */
1940
+ YEARLY = "yearly",
1941
+ /** An initial fee is applicable to purchase a RFID card or chip, but there isn't a recurring subscription fee. */
1942
+ ONE_OFF = "one_off",
1943
+ /** The product doesn’t have a subscription option. */
1944
+ NOT_APPLICABLE = "not_applicable"
1945
+ }
1946
+
1947
+ /** Type of the payment product. */
1948
+ export enum ConnectorPriceProductType {
1949
+ AD_HOC = "ad_hoc",
1950
+ MSP = "msp",
1951
+ CPO_SUBSCRIPTION = "cpo_subscription"
1952
+ }
1953
+
1954
+ export type ConnectorPriceRestrictionsEmspContractDate = {
1955
+ /** Name of the contract signed between the eMSP and a customer. */
1956
+ name?: Maybe<Scalars["String"]>;
1957
+ /** Prices are active from this date, which is based on the contract signed between the eMSP and a customer. */
1958
+ from?: Maybe<Scalars["String"]>;
1959
+ /** Prices are active until this date, which is based on the contract signed between the eMSP and a customer. */
1960
+ to?: Maybe<Scalars["String"]>;
1961
+ };
1962
+
1963
+ export type ConnectorPriceRestrictionsOverstayBatteryPercentage = {
1964
+ /** Battery percentage at which the overstay prices are active. */
1965
+ minimum?: Maybe<Scalars["Int"]>;
1966
+ /** Battery percentage at which the overstay prices are inactive. */
1967
+ maximum?: Maybe<Scalars["Int"]>;
1968
+ /** Unit for the time after which the prices are active. */
1969
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1970
+ };
1971
+
1972
+ export type ConnectorPriceRestrictionsOverstayTime = {
1973
+ /** Time at which the overstay prices are active. */
1974
+ minimum?: Maybe<Scalars["Int"]>;
1975
+ /** Time at which the overstay prices are inactive. */
1976
+ maximum?: Maybe<Scalars["Int"]>;
1977
+ /** Unit for the time after which the prices are active. */
1978
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1979
+ };
1980
+
1981
+ /** The unit of time after which the overstay restrictions are applicable. */
1982
+ export enum ConnectorPriceRestrictionsOverstayTimeUnit {
1983
+ /** The overstay restrictions are applicable after a certain number of seconds. */
1984
+ SECONDS = "seconds",
1985
+ /** The overstay restrictions are applicable after a certain number of minutes. */
1986
+ MINUTES = "minutes",
1987
+ /** The overstay restrictions are applicable after a certain number of hours. */
1988
+ HOURS = "hours"
1989
+ }
1990
+
1991
+ /** Describes the cost associated with reserving a charging station. */
1992
+ export enum ConnectorPriceRestrictionsReservationType {
1993
+ /** Describes costs for a reservation. */
1994
+ RESERVATION = "reservation",
1995
+ /** Describes costs for a reservation that expires (i.e. driver does not start a charging session before expiry date of the reservation). */
1996
+ RESERVATION_EXPIRES = "reservation_expires"
1997
+ }
1998
+
1790
1999
  /** The socket or plug standard of the charging point. */
1791
2000
  export enum ConnectorType {
1792
2001
  /** The connector type is CHAdeMO, DC. */
@@ -2175,6 +2384,45 @@ export type CreateConnectedVehicleOptions = {
2175
2384
  scope?: Maybe<Array<ConnectScope>>;
2176
2385
  };
2177
2386
 
2387
+ export type CreateRoute = {
2388
+ /** Vehicle used on a route. */
2389
+ vehicle: RouteVehicle;
2390
+ /** Origin of a route. */
2391
+ origin: RouteOriginFeaturePoint;
2392
+ /** Destination of a route. */
2393
+ destination: RouteDestinationFeaturePoint;
2394
+ /** Via points of a route. */
2395
+ via?: Maybe<Array<RouteViaFeaturePoint>>;
2396
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2397
+ operators?: Maybe<RouteOperatorPreferences>;
2398
+ /** Season of a route. */
2399
+ season: RouteSeason;
2400
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2401
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2402
+ /** Departure time of a route. */
2403
+ departure_time?: Maybe<Scalars["DateTime"]>;
2404
+ };
2405
+
2406
+ /** Input for the create route mutation. */
2407
+ export type CreateRouteInput = {
2408
+ /** Vehicle specific input. */
2409
+ vehicle: RouteVehicleInput;
2410
+ /** Origin of a route. */
2411
+ origin: RouteOriginFeaturePointInput;
2412
+ /** Destination of a route. */
2413
+ destination: RouteDestinationFeaturePointInput;
2414
+ /** Optional via points of a route. */
2415
+ via?: Maybe<Array<RouteViaFeaturePointInput>>;
2416
+ /** Prioritized operators for a route calculation. */
2417
+ operators?: Maybe<RouteOperatorPreferencesInput>;
2418
+ /** Optional flag to specify the season. */
2419
+ season?: Maybe<RouteSeason>;
2420
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2421
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2422
+ /** Route departure time. */
2423
+ departure_time?: Maybe<Scalars["DateTime"]>;
2424
+ };
2425
+
2178
2426
  /** Currency according to the ISO 4217 standard. */
2179
2427
  export enum CurrencyUnit {
2180
2428
  /** Return the currency in EUR. */
@@ -2182,7 +2430,149 @@ export enum CurrencyUnit {
2182
2430
  /** Return the currency in USD. */
2183
2431
  USD = "USD",
2184
2432
  /** Return the currency in GBP. */
2185
- GBP = "GBP"
2433
+ GBP = "GBP",
2434
+ AED = "AED",
2435
+ AFN = "AFN",
2436
+ ALL = "ALL",
2437
+ AMD = "AMD",
2438
+ ANG = "ANG",
2439
+ AOA = "AOA",
2440
+ ARS = "ARS",
2441
+ AUD = "AUD",
2442
+ AWG = "AWG",
2443
+ AZN = "AZN",
2444
+ BAM = "BAM",
2445
+ BBD = "BBD",
2446
+ BDT = "BDT",
2447
+ BGN = "BGN",
2448
+ BIF = "BIF",
2449
+ BMD = "BMD",
2450
+ BND = "BND",
2451
+ BOB = "BOB",
2452
+ BRL = "BRL",
2453
+ BSD = "BSD",
2454
+ BWP = "BWP",
2455
+ BYN = "BYN",
2456
+ BZD = "BZD",
2457
+ CAD = "CAD",
2458
+ CDF = "CDF",
2459
+ CHF = "CHF",
2460
+ CLP = "CLP",
2461
+ CNY = "CNY",
2462
+ COP = "COP",
2463
+ CRC = "CRC",
2464
+ CVE = "CVE",
2465
+ CZK = "CZK",
2466
+ DJF = "DJF",
2467
+ DKK = "DKK",
2468
+ DOP = "DOP",
2469
+ DZD = "DZD",
2470
+ EGP = "EGP",
2471
+ ETB = "ETB",
2472
+ FJD = "FJD",
2473
+ FKP = "FKP",
2474
+ GEL = "GEL",
2475
+ GIP = "GIP",
2476
+ GMD = "GMD",
2477
+ GNF = "GNF",
2478
+ GTQ = "GTQ",
2479
+ GYD = "GYD",
2480
+ HKD = "HKD",
2481
+ HNL = "HNL",
2482
+ HTG = "HTG",
2483
+ HUF = "HUF",
2484
+ IDR = "IDR",
2485
+ ILS = "ILS",
2486
+ INR = "INR",
2487
+ ISK = "ISK",
2488
+ JMD = "JMD",
2489
+ JPY = "JPY",
2490
+ KES = "KES",
2491
+ KGS = "KGS",
2492
+ KHR = "KHR",
2493
+ KMF = "KMF",
2494
+ KRW = "KRW",
2495
+ KYD = "KYD",
2496
+ KZT = "KZT",
2497
+ LAK = "LAK",
2498
+ LBP = "LBP",
2499
+ LKR = "LKR",
2500
+ LRD = "LRD",
2501
+ LSL = "LSL",
2502
+ MAD = "MAD",
2503
+ MDL = "MDL",
2504
+ MGA = "MGA",
2505
+ MKD = "MKD",
2506
+ MMK = "MMK",
2507
+ MNT = "MNT",
2508
+ MOP = "MOP",
2509
+ MUR = "MUR",
2510
+ MVR = "MVR",
2511
+ MWK = "MWK",
2512
+ MXN = "MXN",
2513
+ MYR = "MYR",
2514
+ MZN = "MZN",
2515
+ NAD = "NAD",
2516
+ NGN = "NGN",
2517
+ NIO = "NIO",
2518
+ NOK = "NOK",
2519
+ NPR = "NPR",
2520
+ NZD = "NZD",
2521
+ PAB = "PAB",
2522
+ PEN = "PEN",
2523
+ PGK = "PGK",
2524
+ PHP = "PHP",
2525
+ PKR = "PKR",
2526
+ PLN = "PLN",
2527
+ PYG = "PYG",
2528
+ QAR = "QAR",
2529
+ RON = "RON",
2530
+ RSD = "RSD",
2531
+ RUB = "RUB",
2532
+ RWF = "RWF",
2533
+ SAR = "SAR",
2534
+ SBD = "SBD",
2535
+ SCR = "SCR",
2536
+ SEK = "SEK",
2537
+ SGD = "SGD",
2538
+ SHP = "SHP",
2539
+ SLE = "SLE",
2540
+ SOS = "SOS",
2541
+ SRD = "SRD",
2542
+ STD = "STD",
2543
+ SZL = "SZL",
2544
+ THB = "THB",
2545
+ TJS = "TJS",
2546
+ TOP = "TOP",
2547
+ TRY = "TRY",
2548
+ TTD = "TTD",
2549
+ TWD = "TWD",
2550
+ TZS = "TZS",
2551
+ UAH = "UAH",
2552
+ UGX = "UGX",
2553
+ UYU = "UYU",
2554
+ UZS = "UZS",
2555
+ VND = "VND",
2556
+ VUV = "VUV",
2557
+ WST = "WST",
2558
+ XAF = "XAF",
2559
+ XCD = "XCD",
2560
+ XOF = "XOF",
2561
+ XPF = "XPF",
2562
+ YER = "YER",
2563
+ ZAR = "ZAR",
2564
+ ZMW = "ZMW"
2565
+ }
2566
+
2567
+ /** Represents a day of the week. */
2568
+ export enum DayOfWeek {
2569
+ MONDAY = "monday",
2570
+ TUESDAY = "tuesday",
2571
+ WEDNESDAY = "wednesday",
2572
+ THURSDAY = "thursday",
2573
+ FRIDAY = "friday",
2574
+ SATURDAY = "saturday",
2575
+ SUNDAY = "sunday"
2186
2576
  }
2187
2577
 
2188
2578
  export enum DimensionUnit {
@@ -2196,14 +2586,15 @@ export enum DimensionUnit {
2196
2586
  MILE = "mile"
2197
2587
  }
2198
2588
 
2589
+ /** Distance unit */
2199
2590
  export enum DistanceUnit {
2200
- /** Return the distance in meters */
2591
+ /** Return the distance in meters. */
2201
2592
  METER = "meter",
2202
- /** Return the distance in feet */
2593
+ /** Return the distance in feet. */
2203
2594
  FOOT = "foot",
2204
- /** Return the distance in kilometers */
2595
+ /** Return the distance in kilometers. */
2205
2596
  KILOMETER = "kilometer",
2206
- /** Return the distance in miles */
2597
+ /** Return the distance in miles. */
2207
2598
  MILE = "mile"
2208
2599
  }
2209
2600
 
@@ -2246,6 +2637,17 @@ export type EVSE = {
2246
2637
  custom_properties?: Maybe<EvseCustomProperties>;
2247
2638
  };
2248
2639
 
2640
+ export type ElectricityGenerationMethod = {
2641
+ /** Fraction of total electricity production. */
2642
+ fraction: Scalars["Float"];
2643
+ /** Emissions per kWh of the generation method. */
2644
+ intensity: Scalars["Float"];
2645
+ };
2646
+
2647
+ export type ElectricityGenerationMethodintensityArgs = {
2648
+ unit?: Maybe<EmissionUnit>;
2649
+ };
2650
+
2249
2651
  export type ElevationInput = {
2250
2652
  /** Value of the elevation. */
2251
2653
  value: Scalars["Float"];
@@ -2276,6 +2678,22 @@ export enum EmissionUnit {
2276
2678
  OUNCE = "ounce"
2277
2679
  }
2278
2680
 
2681
+ export type EmissionsFactor = {
2682
+ /** The name of the area for which the emissions factor was calculated. */
2683
+ name: Scalars["String"];
2684
+ /** The type of area for which the emissions factor was calculated. */
2685
+ type: EmissionsFactorType;
2686
+ /** The base regional emissions factor in CO2e/kWh. */
2687
+ value: Scalars["Float"];
2688
+ };
2689
+
2690
+ /** Emissions factor type. */
2691
+ export enum EmissionsFactorType {
2692
+ COUNTRY = "country",
2693
+ SUBREGION = "subregion",
2694
+ REGION = "region"
2695
+ }
2696
+
2279
2697
  /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
2280
2698
  export type EvseCustomProperties = {
2281
2699
  /** OICP standard custom properties. */
@@ -2361,6 +2779,60 @@ export enum FeatureType {
2361
2779
  FEATURE = "Feature"
2362
2780
  }
2363
2781
 
2782
+ export type FluidEndOfLifeEmissions = {
2783
+ /** Total fluid end of life emissions. */
2784
+ total: Scalars["Float"];
2785
+ /** Wiper fluid end of life emissions. */
2786
+ wiper: Scalars["Float"];
2787
+ /** Brake fluid end of life emissions. */
2788
+ brake: Scalars["Float"];
2789
+ /** Powertrain coolant fluid end of life emissions. */
2790
+ powertrain_coolant: Scalars["Float"];
2791
+ /** Transmission fluid end of life emissions. */
2792
+ transmission: Scalars["Float"];
2793
+ /** Motor oil end of life emissions. */
2794
+ motor_oil?: Maybe<Scalars["Float"]>;
2795
+ };
2796
+
2797
+ export type FluidEndOfLifeEmissionstotalArgs = {
2798
+ unit?: Maybe<EmissionUnit>;
2799
+ };
2800
+
2801
+ export type FluidEndOfLifeEmissionswiperArgs = {
2802
+ unit?: Maybe<EmissionUnit>;
2803
+ };
2804
+
2805
+ export type FluidEndOfLifeEmissionsbrakeArgs = {
2806
+ unit?: Maybe<EmissionUnit>;
2807
+ };
2808
+
2809
+ export type FluidEndOfLifeEmissionspowertrain_coolantArgs = {
2810
+ unit?: Maybe<EmissionUnit>;
2811
+ };
2812
+
2813
+ export type FluidEndOfLifeEmissionstransmissionArgs = {
2814
+ unit?: Maybe<EmissionUnit>;
2815
+ };
2816
+
2817
+ export type FluidEndOfLifeEmissionsmotor_oilArgs = {
2818
+ unit?: Maybe<EmissionUnit>;
2819
+ };
2820
+
2821
+ export type FluidMaintenanceEmissions = {
2822
+ /** Total fluid maintenance emissions. */
2823
+ total: RouteOperationalMaintenanceEmissionsField;
2824
+ /** Wiper fluid maintenance emissions. */
2825
+ wiper: RouteOperationalMaintenanceEmissionsField;
2826
+ /** Brake fluid maintenance emissions. */
2827
+ brake: RouteOperationalMaintenanceEmissionsField;
2828
+ /** Powertrain coolant fluid maintenance emissions. */
2829
+ powertrain_coolant: RouteOperationalMaintenanceEmissionsField;
2830
+ /** Transmission fluid maintenance emissions. */
2831
+ transmission: RouteOperationalMaintenanceEmissionsField;
2832
+ /** Motor oil maintenance emissions. */
2833
+ motor_oil?: Maybe<RouteOperationalMaintenanceEmissionsField>;
2834
+ };
2835
+
2364
2836
  export enum FuelConsumptionUnit {
2365
2837
  /** Return the fuel consumption in liters per 100 kilometers. */
2366
2838
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -2381,6 +2853,7 @@ export type GeometryPoint = {
2381
2853
  coordinates: Array<Scalars["Float"]>;
2382
2854
  };
2383
2855
 
2856
+ /** Mode of heat pump. */
2384
2857
  export enum HeatPumpMode {
2385
2858
  /** Default to the vehicle configuration. */
2386
2859
  DEFAULT = "default",
@@ -2488,9 +2961,9 @@ export type IsolineInput = {
2488
2961
  quality?: Maybe<IsolineQuality>;
2489
2962
  /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2490
2963
  ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2491
- /** Battery state of charge. When omitted the default value is 100 percent. */
2964
+ /** Battery state of charge. Default is usable battery kwh of the inputted vehicle. */
2492
2965
  state_of_charge?: Maybe<StateOfChargeInput>;
2493
- /** Minimum final battery state of charge. When omitted the default value is 0 percent. */
2966
+ /** Minimum final battery state of charge. Default is 0 */
2494
2967
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2495
2968
  };
2496
2969
 
@@ -2658,6 +3131,8 @@ export type Mutation = {
2658
3131
  * This is a premium feature, contact Chargetrip for more information.
2659
3132
  */
2660
3133
  deleteUserReview: Review;
3134
+ /** [BETA] Create a new route from the route input and its ID. */
3135
+ createRoute: Scalars["ID"];
2661
3136
  /** Create a new route from the route input and its ID */
2662
3137
  newRoute?: Maybe<Scalars["ID"]>;
2663
3138
  };
@@ -2706,6 +3181,10 @@ export type MutationdeleteUserReviewArgs = {
2706
3181
  id: Scalars["ID"];
2707
3182
  };
2708
3183
 
3184
+ export type MutationcreateRouteArgs = {
3185
+ input: CreateRouteInput;
3186
+ };
3187
+
2709
3188
  export type MutationnewRouteArgs = {
2710
3189
  input?: Maybe<RequestInput>;
2711
3190
  };
@@ -2752,7 +3231,7 @@ export type NavigationInstructionsInput = {
2752
3231
  instructions_format: InstructionsFormat;
2753
3232
  /** Preferred navigation instructions language. Default: en */
2754
3233
  language?: Maybe<MappingLanguage>;
2755
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5 */
3234
+ /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2756
3235
  precision?: Maybe<Scalars["Int"]>;
2757
3236
  };
2758
3237
 
@@ -3051,9 +3530,9 @@ export type OCPIEnvironmentalImpact = {
3051
3530
 
3052
3531
  /** Categories of environmental impact values. */
3053
3532
  export enum OCPIEnvironmentalImpactCategory {
3054
- /** Produced nuclear waste in grams per kilowatthour. */
3533
+ /** Produced nuclear waste in g/kWh. */
3055
3534
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
3056
- /** Exhausted carbon dioxide in grams per kilowatthour. */
3535
+ /** Exhausted carbon dioxide in g/kWh. */
3057
3536
  CARBON_DIOXIDE = "CARBON_DIOXIDE"
3058
3537
  }
3059
3538
 
@@ -3447,13 +3926,22 @@ export enum OICPValueAddedServices {
3447
3926
  NONE = "none"
3448
3927
  }
3449
3928
 
3929
+ export type Odometer = {
3930
+ /** Value of the vehicle's odometer. */
3931
+ value: Scalars["Float"];
3932
+ /** Type of the value of the vehicle's odometer. */
3933
+ type: DistanceUnit;
3934
+ /** Source of inputted data. */
3935
+ source: TelemetryInputSource;
3936
+ };
3937
+
3450
3938
  export type OdometerInput = {
3451
3939
  /** Value of the vehicle's odometer. */
3452
3940
  value: Scalars["Float"];
3453
3941
  /** Type of the value of the vehicle's odometer. */
3454
3942
  type: DistanceUnit;
3455
3943
  /** Source of inputted data, defaults to 'manual'. */
3456
- source?: Maybe<TelemetryInputSource>;
3944
+ source?: TelemetryInputSource;
3457
3945
  };
3458
3946
 
3459
3947
  /** Operator data which extends OCPI BusinessDetails. */
@@ -3505,6 +3993,13 @@ export type OperatorListQuery = {
3505
3993
  country?: Maybe<Scalars["String"]>;
3506
3994
  };
3507
3995
 
3996
+ /** Operator ranking level. */
3997
+ export enum OperatorRankingLevel {
3998
+ LOW = "low",
3999
+ MEDIUM = "medium",
4000
+ HIGH = "high"
4001
+ }
4002
+
3508
4003
  export type OutsideTempInput = {
3509
4004
  /** Value of the outside temperature. */
3510
4005
  value: Scalars["Float"];
@@ -3565,6 +4060,12 @@ export type PolygonProperties = {
3565
4060
  index?: Maybe<Scalars["Int"]>;
3566
4061
  };
3567
4062
 
4063
+ /** Number of decimals for a polyline. */
4064
+ export enum PolylineInputDecimals {
4065
+ FIVE = "five",
4066
+ SIX = "six"
4067
+ }
4068
+
3568
4069
  export type PowerInput = {
3569
4070
  /** Value of the positive or negative power. When negative the vehicle is charging. */
3570
4071
  value: Scalars["Float"];
@@ -3606,6 +4107,7 @@ export enum PowerUnit {
3606
4107
  HORSEPOWER = "horsepower"
3607
4108
  }
3608
4109
 
4110
+ /** Pressure units. */
3609
4111
  export enum PressureUnit {
3610
4112
  /** Return the pressure in bar. */
3611
4113
  BAR = "bar",
@@ -3681,11 +4183,11 @@ export type Query = {
3681
4183
  isoline?: Maybe<Isoline>;
3682
4184
  /** [BETA] Get a navigation session by ID */
3683
4185
  navigation?: Maybe<Navigation>;
3684
- /** Get a full list of operators */
4186
+ /** Get a full list of operators. */
3685
4187
  operatorList?: Maybe<Array<Maybe<Operator>>>;
3686
- /** Get information about an operator by its ID */
4188
+ /** Get information about an operator by its ID. */
3687
4189
  operator?: Maybe<Operator>;
3688
- /** Get all reviews of a station by the station ID */
4190
+ /** Get all reviews of a station by the station ID. */
3689
4191
  reviewList?: Maybe<Array<Review>>;
3690
4192
  /**
3691
4193
  * Get all reviews of stations that were added by an authenticated user.
@@ -3695,7 +4197,11 @@ export type Query = {
3695
4197
  userReviewList?: Maybe<Array<Review>>;
3696
4198
  /** Get a route by ID */
3697
4199
  route?: Maybe<Route>;
3698
- /** [BETA] Emissions profile for route. */
4200
+ /** [BETA] Get a route by ID. */
4201
+ getRoute: RouteResponse;
4202
+ /** [BETA] Get emissions for a route. */
4203
+ getRouteEmissions: RouteDetailsEmissions;
4204
+ /** Emissions profile for route. */
3699
4205
  routeEmissions: RouteEmissions;
3700
4206
  /** Retrieve information about a route path segment */
3701
4207
  routePath?: Maybe<RoutePath>;
@@ -3707,12 +4213,10 @@ export type Query = {
3707
4213
  stationList?: Maybe<Array<Maybe<Station>>>;
3708
4214
  /** Search for stations around a GeoJSON point with a specific distance in meters. */
3709
4215
  stationAround?: Maybe<Array<Maybe<Station>>>;
3710
- /** Get information about a tariff by the tariff ID */
4216
+ /** Get information about a tariff by the tariff ID. */
3711
4217
  tariff?: Maybe<OCPITariff>;
3712
- /** Get the full list of tariffs */
4218
+ /** Get the full list of tariffs. */
3713
4219
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3714
- /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3715
- navigationMapping?: Maybe<Scalars["JSON"]>;
3716
4220
  /** Get information about a vehicle by its ID. */
3717
4221
  vehicle?: Maybe<Vehicle>;
3718
4222
  /** 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. */
@@ -3791,6 +4295,15 @@ export type QueryrouteArgs = {
3791
4295
  id: Scalars["ID"];
3792
4296
  };
3793
4297
 
4298
+ export type QuerygetRouteArgs = {
4299
+ id: Scalars["ID"];
4300
+ };
4301
+
4302
+ export type QuerygetRouteEmissionsArgs = {
4303
+ route_id: Scalars["ID"];
4304
+ route_details_id: Scalars["ID"];
4305
+ };
4306
+
3794
4307
  export type QueryrouteEmissionsArgs = {
3795
4308
  route_id: Scalars["ID"];
3796
4309
  route_alternative_id?: Maybe<Scalars["ID"]>;
@@ -3832,13 +4345,6 @@ export type QuerytariffListArgs = {
3832
4345
  page?: Maybe<Scalars["Int"]>;
3833
4346
  };
3834
4347
 
3835
- export type QuerynavigationMappingArgs = {
3836
- id: Scalars["ID"];
3837
- provider: MappingProvider;
3838
- precision?: Maybe<Scalars["Int"]>;
3839
- language?: Maybe<MappingLanguage>;
3840
- };
3841
-
3842
4348
  export type QueryvehicleArgs = {
3843
4349
  id: Scalars["ID"];
3844
4350
  country?: Maybe<CountryCodeAlpha2>;
@@ -3874,7 +4380,7 @@ export type RequestEv = {
3874
4380
  adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
3875
4381
  /** Minimum desired power of chargers. */
3876
4382
  minPower?: Maybe<Scalars["Int"]>;
3877
- /** Climate is on. The default is true. */
4383
+ /** Climate is on. */
3878
4384
  climate?: Maybe<Scalars["Boolean"]>;
3879
4385
  /** Vehicle Heat Pump configuration. */
3880
4386
  heatPump?: Maybe<HeatPumpMode>;
@@ -3953,7 +4459,7 @@ export type RequestEvCabinInput = {
3953
4459
  };
3954
4460
 
3955
4461
  export type RequestEvConsumption = {
3956
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
4462
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
3957
4463
  auxiliary?: Maybe<Scalars["Float"]>;
3958
4464
  /**
3959
4465
  * Consumption, in kWh, of the auxiliaries.
@@ -3973,7 +4479,7 @@ export type RequestEvConsumption = {
3973
4479
  };
3974
4480
 
3975
4481
  export type RequestEvConsumptionInput = {
3976
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
4482
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
3977
4483
  auxiliary?: Maybe<Scalars["Float"]>;
3978
4484
  /** Deprecated in favor of auxiliary. */
3979
4485
  aux?: Maybe<CarConsumptionInput>;
@@ -3994,7 +4500,7 @@ export type RequestEvInput = {
3994
4500
  adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3995
4501
  /** Minimum desired power of chargers. */
3996
4502
  minPower?: Maybe<Scalars["Int"]>;
3997
- /** Flag which indicates if the climate is on. The default is true. */
4503
+ /** Flag which indicates if the climate is on. */
3998
4504
  climate?: Maybe<Scalars["Boolean"]>;
3999
4505
  /** Vehicle Heat Pump configuration. */
4000
4506
  heatPump?: Maybe<HeatPumpMode>;
@@ -4062,7 +4568,7 @@ export type RequestRoute = {
4062
4568
  operators?: Maybe<RouteOperators>;
4063
4569
  /** Season. */
4064
4570
  season?: Maybe<RouteSeason>;
4065
- /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4571
+ /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4066
4572
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4067
4573
  /** Origin of a route. */
4068
4574
  origin?: Maybe<FeaturePoint>;
@@ -4093,7 +4599,7 @@ export type RequestRouteInput = {
4093
4599
  operators?: Maybe<RouteOperatorsInput>;
4094
4600
  /** Optional flag to specify the season. */
4095
4601
  season?: Maybe<RouteSeason>;
4096
- /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4602
+ /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4097
4603
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4098
4604
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
4099
4605
  chargeMode?: Maybe<ChargeMode>;
@@ -4129,7 +4635,7 @@ export type Review = {
4129
4635
  /** Locale of a message. */
4130
4636
  locale?: Maybe<Scalars["String"]>;
4131
4637
  /** Vehicle that was provided/selected by a user. */
4132
- ev?: Maybe<Car>;
4638
+ ev?: Maybe<Vehicle>;
4133
4639
  /** Plug type that was provided/selected by a user. */
4134
4640
  plugType?: Maybe<ConnectorType>;
4135
4641
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
@@ -4349,188 +4855,607 @@ export type RouteApp = {
4349
4855
  id?: Maybe<Scalars["ID"]>;
4350
4856
  };
4351
4857
 
4352
- export type RouteEmbeddedEmissions = {
4353
- /** Total embedded emissions. */
4354
- total: Scalars["Float"];
4355
- /** Total manufacturing emissions. */
4356
- manufacturing: RouteEmbeddedManufacturingEmissions;
4357
- /** Total distribution related emissions. */
4358
- distribution: Scalars["Float"];
4359
- /** Distribution sea segment emissions. */
4360
- maritime: RouteEmbeddedMaritimeEmissions;
4361
- /** Distribution land segment emissions. */
4362
- land: RouteEmbeddedLandEmissions;
4363
- };
4364
-
4365
- export type RouteEmbeddedEmissionstotalArgs = {
4366
- unit?: Maybe<EmissionUnit>;
4367
- };
4368
-
4369
- export type RouteEmbeddedEmissionsdistributionArgs = {
4370
- unit?: Maybe<EmissionUnit>;
4371
- };
4372
-
4373
- export type RouteEmbeddedLandEmissions = {
4374
- /** Total embedded land emissions. */
4375
- total: Scalars["Float"];
4376
- /** Distribution land segment emissions from fuel consumption. */
4377
- fuel: Scalars["Float"];
4378
- /** Distribution land segment lifecycle emissions. */
4379
- lifecycle: Scalars["Float"];
4380
- };
4381
-
4382
- export type RouteEmbeddedLandEmissionstotalArgs = {
4383
- unit?: Maybe<EmissionUnit>;
4858
+ export type RouteDestinationFeaturePoint = {
4859
+ /** ID of the feature. */
4860
+ id?: Maybe<Scalars["ID"]>;
4861
+ /** Feature type. */
4862
+ type: FeatureType;
4863
+ /** Geometry of the feature. */
4864
+ geometry: Point;
4865
+ /** Optional object where additional properties can be specified. */
4866
+ properties?: Maybe<RouteDestinationProperties>;
4384
4867
  };
4385
4868
 
4386
- export type RouteEmbeddedLandEmissionsfuelArgs = {
4387
- unit?: Maybe<EmissionUnit>;
4869
+ export type RouteDestinationFeaturePointInput = {
4870
+ /** ID of the feature. */
4871
+ id?: Maybe<Scalars["ID"]>;
4872
+ /** Feature type. */
4873
+ type: FeatureType;
4874
+ /** Geometry of the feature. */
4875
+ geometry: PointInput;
4876
+ /** Optional object where additional properties can be specified. */
4877
+ properties?: Maybe<RouteDestinationPropertiesInput>;
4388
4878
  };
4389
4879
 
4390
- export type RouteEmbeddedLandEmissionslifecycleArgs = {
4391
- unit?: Maybe<EmissionUnit>;
4880
+ export type RouteDestinationProperties = {
4881
+ /** Data about the destination location. */
4882
+ location?: Maybe<RoutePropertiesLocation>;
4883
+ /** Data about the destination station. */
4884
+ station?: Maybe<RoutePropertiesStation>;
4392
4885
  };
4393
4886
 
4394
- export type RouteEmbeddedManufacturingEmissions = {
4395
- /** Total embedded manufacturing emissions. */
4396
- total: Scalars["Float"];
4397
- /** Body manufacturing emissions. */
4398
- body: Scalars["Float"];
4399
- /** Lithium ion battery manufacturing emissions. */
4400
- battery?: Maybe<Scalars["Float"]>;
4887
+ export type RouteDestinationPropertiesInput = {
4888
+ /** Data about the destination location. */
4889
+ location?: Maybe<RoutePropertiesLocationInput>;
4890
+ /** Data about the destination station. */
4891
+ station?: Maybe<RoutePropertiesStationInput>;
4401
4892
  };
4402
4893
 
4403
- export type RouteEmbeddedManufacturingEmissionstotalArgs = {
4404
- unit?: Maybe<EmissionUnit>;
4894
+ export type RouteDetails = {
4895
+ /** ID of a route computation. */
4896
+ id: Scalars["ID"];
4897
+ /** Total distance of a route. */
4898
+ distance: Scalars["Float"];
4899
+ /** Aggregation of all durations of a route. */
4900
+ durations: RouteDetailsDurations;
4901
+ /** Total energy used for a route in kilowatt hours. */
4902
+ consumption: Scalars["Float"];
4903
+ /** Range available at the beginning of a trip. */
4904
+ range_at_origin: Scalars["Float"];
4905
+ /** Range available at the end of a trip. */
4906
+ range_at_destination: Scalars["Float"];
4907
+ /** Text information about a route direction. */
4908
+ via?: Maybe<Scalars["String"]>;
4909
+ /** Polyline containing encoded coordinates. */
4910
+ polyline?: Maybe<Scalars["String"]>;
4911
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
4912
+ path_plot: Array<RouteDetailsPathSegment>;
4913
+ /** Details about elevation on a route. */
4914
+ elevation: RouteDetailsElevation;
4915
+ /** Money saving information. */
4916
+ savings?: Maybe<RouteDetailsSavings>;
4917
+ /** Legs of a route. */
4918
+ legs: Array<RouteDetailsLeg>;
4919
+ alternative_stations: Array<RouteDetailsAlternativeStation>;
4920
+ /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4921
+ tags: Array<RouteDetailsTag>;
4922
+ /** Number of charges along a route. */
4923
+ charges: Scalars["Int"];
4405
4924
  };
4406
4925
 
4407
- export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
4408
- unit?: Maybe<EmissionUnit>;
4926
+ export type RouteDetailsdistanceArgs = {
4927
+ unit?: Maybe<DistanceUnit>;
4409
4928
  };
4410
4929
 
4411
- export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4412
- unit?: Maybe<EmissionUnit>;
4930
+ export type RouteDetailsrange_at_originArgs = {
4931
+ unit?: Maybe<StateOfChargeUnit>;
4413
4932
  };
4414
4933
 
4415
- export type RouteEmbeddedMaritimeEmissions = {
4416
- /** Total embedded maritime emissions. */
4417
- total: Scalars["Float"];
4418
- /** Fuel related sea segment emissions. */
4419
- fuel: Scalars["Float"];
4420
- /** Port facility related sea segment emissions. */
4421
- port: Scalars["Float"];
4422
- /** Idling related sea segment emissions. */
4423
- idle: Scalars["Float"];
4424
- /** Distributed lifecycle related sea segment emissions. */
4425
- lifecycle: Scalars["Float"];
4934
+ export type RouteDetailsrange_at_destinationArgs = {
4935
+ unit?: Maybe<StateOfChargeUnit>;
4426
4936
  };
4427
4937
 
4428
- export type RouteEmbeddedMaritimeEmissionstotalArgs = {
4429
- unit?: Maybe<EmissionUnit>;
4938
+ export type RouteDetailspolylineArgs = {
4939
+ decimals: PolylineInputDecimals;
4430
4940
  };
4431
4941
 
4432
- export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
4433
- unit?: Maybe<EmissionUnit>;
4942
+ export type RouteDetailsAlternativeStation = {
4943
+ /** ID of a station. */
4944
+ id: Scalars["ID"];
4945
+ /** GeoJSON location of a station. */
4946
+ location: Point;
4947
+ /** Speed of a station. A station along a route can be either fast or turbo. */
4948
+ speed: StationSpeedType;
4949
+ /** Status of a station. */
4950
+ status: ChargerStatus;
4951
+ /** Ranking of an operator. */
4952
+ operator_ranking?: Maybe<OperatorRankingLevel>;
4953
+ };
4954
+
4955
+ /** Aggregation of all durations of a route. */
4956
+ export type RouteDetailsDurations = {
4957
+ /** Total duration, in seconds. */
4958
+ total: Scalars["Int"];
4959
+ /** Total duration charging, in seconds. */
4960
+ charging: Scalars["Int"];
4961
+ /** Total duration driving, in seconds. */
4962
+ driving: Scalars["Int"];
4963
+ /** Total duration stopped for a short stay, for example at a via point, in seconds. */
4964
+ stopover: Scalars["Int"];
4965
+ /** Total duration of ferry rides, in seconds. */
4966
+ ferry?: Maybe<Scalars["Int"]>;
4967
+ };
4968
+
4969
+ export type RouteDetailsElevation = {
4970
+ /** Total value driving uphill on a route. */
4971
+ up: Scalars["Float"];
4972
+ /** Total value driving downhill on a route. */
4973
+ down: Scalars["Float"];
4974
+ /** Maximum elevation on a route. */
4975
+ maximum: Scalars["Float"];
4976
+ /** Minimum elevation on a route. */
4977
+ minimum: Scalars["Float"];
4978
+ };
4979
+
4980
+ export type RouteDetailsElevationupArgs = {
4981
+ unit?: Maybe<DistanceUnit>;
4434
4982
  };
4435
4983
 
4436
- export type RouteEmbeddedMaritimeEmissionsportArgs = {
4437
- unit?: Maybe<EmissionUnit>;
4984
+ export type RouteDetailsElevationdownArgs = {
4985
+ unit?: Maybe<DistanceUnit>;
4438
4986
  };
4439
4987
 
4440
- export type RouteEmbeddedMaritimeEmissionsidleArgs = {
4441
- unit?: Maybe<EmissionUnit>;
4988
+ export type RouteDetailsElevationmaximumArgs = {
4989
+ unit?: Maybe<DistanceUnit>;
4442
4990
  };
4443
4991
 
4444
- export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
4445
- unit?: Maybe<EmissionUnit>;
4992
+ export type RouteDetailsElevationminimumArgs = {
4993
+ unit?: Maybe<DistanceUnit>;
4446
4994
  };
4447
4995
 
4448
- export type RouteEmissions = {
4996
+ export type RouteDetailsEmissions = {
4449
4997
  /** ID of the route for which we retrieve the emissions profile. */
4450
4998
  route_id: Scalars["ID"];
4451
- /** ID of the route alternative for which we retrieve the emissions profile. */
4452
4999
  route_alternative_id: Scalars["ID"];
4453
5000
  /** Emissions profile for the vehicle used in route. */
4454
5001
  route_vehicle: RouteVehicleEmissions;
4455
- /** Emissions profile for an equivalent internal combustion engine vehicle. */
4456
5002
  internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
5003
+ /** Estimated GHG emissions saved by a user driving this route with the electric vehicle in grams of CO2e. */
5004
+ co2e_saved: Scalars["Float"];
4457
5005
  };
4458
5006
 
4459
- export type RouteEmissionsinternal_combustion_vehicleArgs = {
5007
+ export type RouteDetailsEmissionsinternal_combustion_vehicleArgs = {
4460
5008
  fuel_type?: Maybe<RouteOperationalFuelType>;
4461
5009
  };
4462
5010
 
4463
- export type RouteEndOfLifeEmissions = {
4464
- /** Total end of life emissions. */
4465
- total: Scalars["Float"];
4466
- /** Total fluid related end of life emissions. */
4467
- fluids: RouteEndOfLifeFluidsEmissions;
4468
- /** Battery related end of life emissions. */
4469
- battery: Scalars["Float"];
4470
- /** Tire related end of life emissions. */
4471
- tires: Scalars["Float"];
4472
- /** Body end of life emissions. */
4473
- body: Scalars["Float"];
4474
- /** Transport end of life emissions. */
4475
- transport: Scalars["Float"];
5011
+ export type RouteDetailsEmissionsco2e_savedArgs = {
5012
+ unit?: Maybe<EmissionUnit>;
4476
5013
  };
4477
5014
 
4478
- export type RouteEndOfLifeEmissionstotalArgs = {
4479
- unit?: Maybe<EmissionUnit>;
5015
+ /** Leg of a route detail. */
5016
+ export type RouteDetailsLeg = {
5017
+ /** Distance from the start to the end of a leg. */
5018
+ distance: Scalars["Float"];
5019
+ /** Aggregation of all durations of a route leg. */
5020
+ durations: RouteDetailsDurations;
5021
+ /** Total energy used in a leg in kilowatt hours. */
5022
+ consumption: Scalars["Float"];
5023
+ /** Origin point location. */
5024
+ origin: RouteDetailsLegFeaturePoint;
5025
+ /** Destination point location. */
5026
+ destination: RouteDetailsLegFeaturePoint;
5027
+ /** Range at the origin of the leg. */
5028
+ range_at_origin: Scalars["Float"];
5029
+ /** Range at the destination of the leg. */
5030
+ range_at_destination: Scalars["Float"];
5031
+ /** Range after charging on the leg. */
5032
+ range_after_charge?: Maybe<Scalars["Float"]>;
5033
+ /** Type of a leg. */
5034
+ type: RouteDetailsLegType;
5035
+ /** 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. */
5036
+ name?: Maybe<Scalars["String"]>;
5037
+ /** Information about the station at the origin of this leg. */
5038
+ station?: Maybe<RouteDetailsLegStation>;
5039
+ /** Polyline containing encoded coordinates. */
5040
+ polyline: Scalars["String"];
5041
+ /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
5042
+ tags: Array<RouteDetailsTag>;
5043
+ /** Maneuvers of a leg - used to generate turn-by-turn instructions. */
5044
+ maneuvers: Array<RouteDetailsManeuver>;
5045
+ /** Road sections of a leg - divided by means of transportation. */
5046
+ sections: Array<RouteDetailsLegSection>;
4480
5047
  };
4481
5048
 
4482
- export type RouteEndOfLifeEmissionsbatteryArgs = {
4483
- unit?: Maybe<EmissionUnit>;
5049
+ /** Leg of a route detail. */
5050
+ export type RouteDetailsLegdistanceArgs = {
5051
+ unit?: Maybe<DistanceUnit>;
4484
5052
  };
4485
5053
 
4486
- export type RouteEndOfLifeEmissionstiresArgs = {
4487
- unit?: Maybe<EmissionUnit>;
5054
+ /** Leg of a route detail. */
5055
+ export type RouteDetailsLegrange_at_originArgs = {
5056
+ unit?: Maybe<StateOfChargeUnit>;
4488
5057
  };
4489
5058
 
4490
- export type RouteEndOfLifeEmissionsbodyArgs = {
4491
- unit?: Maybe<EmissionUnit>;
5059
+ /** Leg of a route detail. */
5060
+ export type RouteDetailsLegrange_at_destinationArgs = {
5061
+ unit?: Maybe<StateOfChargeUnit>;
4492
5062
  };
4493
5063
 
4494
- export type RouteEndOfLifeEmissionstransportArgs = {
4495
- unit?: Maybe<EmissionUnit>;
5064
+ /** Leg of a route detail. */
5065
+ export type RouteDetailsLegrange_after_chargeArgs = {
5066
+ unit?: Maybe<StateOfChargeUnit>;
4496
5067
  };
4497
5068
 
4498
- export type RouteEndOfLifeFluidsEmissions = {
4499
- /** Total end of life fluids emissions. */
4500
- total: Scalars["Float"];
4501
- /** Total wiper fluid end of life emissions. */
4502
- wiper: Scalars["Float"];
4503
- /** Total brake fluid end of life emissions. */
4504
- brake: Scalars["Float"];
4505
- /** Total powertrain coolant fluid end of life emissions. */
4506
- coolant: Scalars["Float"];
4507
- /** Total transmission fluid end of life emissions. */
4508
- transmission: Scalars["Float"];
4509
- /** Total motor oil end of life emissions. */
4510
- motor_oil?: Maybe<Scalars["Float"]>;
5069
+ /** Leg of a route detail. */
5070
+ export type RouteDetailsLegpolylineArgs = {
5071
+ decimals: PolylineInputDecimals;
5072
+ };
5073
+
5074
+ export type RouteDetailsLegFeaturePoint = {
5075
+ /** ID of the feature. */
5076
+ id?: Maybe<Scalars["ID"]>;
5077
+ /** Feature type. */
5078
+ type: FeatureType;
5079
+ /** Geometry of the feature. */
5080
+ geometry: Point;
5081
+ /** Properties of the feature. */
5082
+ properties?: Maybe<RouteDetailsLegFeatureProperties>;
5083
+ };
5084
+
5085
+ export type RouteDetailsLegFeatureProperties = {
5086
+ /** Name of the location. */
5087
+ name?: Maybe<Scalars["String"]>;
5088
+ /** ID of the station. */
5089
+ station_id?: Maybe<Scalars["ID"]>;
5090
+ /** External ID of the station. */
5091
+ external_station_id?: Maybe<Scalars["ID"]>;
5092
+ /** Temperature at the location. */
5093
+ temperature?: Maybe<Scalars["Int"]>;
5094
+ /** Air pressure at the location. */
5095
+ air_pressure?: Maybe<Scalars["Float"]>;
5096
+ /** Solar irradiance at the location. */
5097
+ solar_irradiance?: Maybe<Scalars["Float"]>;
5098
+ /** Duration, in seconds, of time spent at this location. */
5099
+ duration?: Maybe<Scalars["Int"]>;
5100
+ /** Number of occupants present in the vehicle. */
5101
+ occupants?: Maybe<Scalars["Int"]>;
5102
+ /** Value of the current weight of the occupants. */
5103
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
5104
+ /** Value of the current weight of the cargo. */
5105
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
5106
+ };
5107
+
5108
+ export type RouteDetailsLegFeaturePropertiestemperatureArgs = {
5109
+ unit?: Maybe<TemperatureUnit>;
5110
+ };
5111
+
5112
+ export type RouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
5113
+ unit?: Maybe<WeightUnit>;
5114
+ };
5115
+
5116
+ export type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
5117
+ unit?: Maybe<WeightUnit>;
5118
+ };
5119
+
5120
+ export type RouteDetailsLegManeuverPoints = {
5121
+ /** Number of polyline points which are included in this instruction. */
5122
+ size: Scalars["Int"];
5123
+ /** 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. */
5124
+ interval: Array<Scalars["Int"]>;
5125
+ };
5126
+
5127
+ /** Type of a maneuver indicating the main action. */
5128
+ export enum RouteDetailsLegManeuverType {
5129
+ UNKNOWN = "UNKNOWN",
5130
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
5131
+ U_TURN_LEFT = "U_TURN_LEFT",
5132
+ KEEP_LEFT = "KEEP_LEFT",
5133
+ LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
5134
+ TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
5135
+ TURN_LEFT = "TURN_LEFT",
5136
+ TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
5137
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
5138
+ TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
5139
+ TURN_RIGHT = "TURN_RIGHT",
5140
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
5141
+ FINISH = "FINISH",
5142
+ REACHED_VIA = "REACHED_VIA",
5143
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
5144
+ USE_ROUNDABOUT = "USE_ROUNDABOUT",
5145
+ KEEP_RIGHT = "KEEP_RIGHT",
5146
+ U_TURN_RIGHT = "U_TURN_RIGHT",
5147
+ PT_START_TRIP = "PT_START_TRIP",
5148
+ PT_TRANSFER = "PT_TRANSFER",
5149
+ PT_END_TRIP = "PT_END_TRIP",
5150
+ IGNORE = "IGNORE"
5151
+ }
5152
+
5153
+ export type RouteDetailsLegSection = {
5154
+ /** Section type. */
5155
+ type: RouteDetailsLegSectionType;
5156
+ /** Origin point. */
5157
+ origin: RouteDetailsLegSectionFeaturePoint;
5158
+ /** Destination point. */
5159
+ destination: RouteDetailsLegSectionFeaturePoint;
5160
+ /** Aggregation of tags over the current section. */
5161
+ tags: Array<RouteDetailsTag>;
5162
+ /** Polyline containing encoded coordinates. */
5163
+ polyline?: Maybe<Scalars["String"]>;
5164
+ /** Distance from the start to the end of a section. */
5165
+ distance: Scalars["Float"];
5166
+ /** Total drive time from the start to the end of a section, in seconds. */
5167
+ duration: Scalars["Float"];
5168
+ /** Total energy used in a section in kilowatt-hours. */
5169
+ consumption: Scalars["Float"];
5170
+ };
5171
+
5172
+ export type RouteDetailsLegSectionpolylineArgs = {
5173
+ decimals: PolylineInputDecimals;
5174
+ };
5175
+
5176
+ export type RouteDetailsLegSectiondistanceArgs = {
5177
+ unit?: Maybe<DistanceUnit>;
5178
+ };
5179
+
5180
+ export type RouteDetailsLegSectionFeaturePoint = {
5181
+ /** ID of the feature. */
5182
+ id?: Maybe<Scalars["ID"]>;
5183
+ /** Feature type. */
5184
+ type: FeatureType;
5185
+ /** Geometry of the feature. */
5186
+ geometry: Point;
5187
+ /** Properties of the feature. */
5188
+ properties: RouteDetailsLegSectionFeaturePointProperties;
5189
+ };
5190
+
5191
+ export type RouteDetailsLegSectionFeaturePointProperties = {
5192
+ /** Number of occupants present in the vehicle. */
5193
+ occupants: Scalars["Int"];
5194
+ /** Value of the current weight of the occupants. */
5195
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
5196
+ /** Value of the current weight of the cargo. */
5197
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4511
5198
  };
4512
5199
 
4513
- export type RouteEndOfLifeFluidsEmissionstotalArgs = {
5200
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
5201
+ unit?: Maybe<WeightUnit>;
5202
+ };
5203
+
5204
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
5205
+ unit?: Maybe<WeightUnit>;
5206
+ };
5207
+
5208
+ /** Type of a route details leg section. */
5209
+ export enum RouteDetailsLegSectionType {
5210
+ DRIVING = "driving",
5211
+ FERRY = "ferry",
5212
+ WALKING = "walking"
5213
+ }
5214
+
5215
+ export type RouteDetailsLegStation = {
5216
+ /** ID of a station. */
5217
+ station_id: Scalars["ID"];
5218
+ /** ID of the EVSE that was selected in a route. */
5219
+ evse_id?: Maybe<Scalars["ID"]>;
5220
+ /** ID of the connector that was selected in a route. */
5221
+ connector_id: Scalars["ID"];
5222
+ };
5223
+
5224
+ /** Type of a leg. */
5225
+ export enum RouteDetailsLegType {
5226
+ STATION = "station",
5227
+ STATION_VIA = "station_via",
5228
+ STATION_FINAL = "station_final",
5229
+ STATION_AMENITY = "station_amenity",
5230
+ VIA = "via",
5231
+ FINAL = "final"
5232
+ }
5233
+
5234
+ export type RouteDetailsManeuver = {
5235
+ /** Type of instruction. */
5236
+ type: RouteDetailsLegManeuverType;
5237
+ /** Location of the maneuver. */
5238
+ location?: Maybe<RouteDetailsLegFeaturePoint>;
5239
+ /** Name of the street on which an instruction is. */
5240
+ name?: Maybe<Scalars["String"]>;
5241
+ /** Distance, in meters, of a route instruction. */
5242
+ distance: Scalars["Float"];
5243
+ /** Duration, in seconds, of a route instruction. */
5244
+ duration: Scalars["Int"];
5245
+ /** Information about the points on a polyline. */
5246
+ points: RouteDetailsLegManeuverPoints;
5247
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise this value is null. */
5248
+ exit_number?: Maybe<Scalars["Int"]>;
5249
+ /** 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`. */
5250
+ turn_angle?: Maybe<Scalars["Float"]>;
5251
+ /** Aggregation of tags over the current maneuver. */
5252
+ tags?: Maybe<Array<RouteDetailsTag>>;
5253
+ };
5254
+
5255
+ export type RouteDetailsManeuverdistanceArgs = {
5256
+ unit?: Maybe<DistanceUnit>;
5257
+ };
5258
+
5259
+ export type RouteDetailsPathSegment = {
5260
+ /** Elevation value of a route path segment. */
5261
+ elevation: Scalars["Float"];
5262
+ /** Average speed of a route path segment. */
5263
+ average_speed: Scalars["Float"];
5264
+ /** Consumption, in kilowatt hours, of a route path segment. */
5265
+ consumption: Scalars["Float"];
5266
+ /** Distance of a route path segment. */
5267
+ distance: Scalars["Float"];
5268
+ /** Duration, in seconds, of a route path segment. */
5269
+ duration: Scalars["Float"];
5270
+ /** State of charge, in kilowatt hours, of a route path segment. */
5271
+ state_of_charge?: Maybe<Scalars["Float"]>;
5272
+ /** Maximum vehicle speed of a route path segment. */
5273
+ max_speed: Scalars["Float"];
5274
+ };
5275
+
5276
+ export type RouteDetailsPathSegmentelevationArgs = {
5277
+ unit?: Maybe<DistanceUnit>;
5278
+ };
5279
+
5280
+ export type RouteDetailsPathSegmentaverage_speedArgs = {
5281
+ unit?: Maybe<SpeedUnit>;
5282
+ };
5283
+
5284
+ export type RouteDetailsPathSegmentdistanceArgs = {
5285
+ unit?: Maybe<DistanceUnit>;
5286
+ };
5287
+
5288
+ export type RouteDetailsPathSegmentstate_of_chargeArgs = {
5289
+ unit?: Maybe<StateOfChargeUnit>;
5290
+ };
5291
+
5292
+ export type RouteDetailsPathSegmentmax_speedArgs = {
5293
+ unit?: Maybe<SpeedUnit>;
5294
+ };
5295
+
5296
+ /** Money saving information. */
5297
+ export type RouteDetailsSavings = {
5298
+ /** Money saved by a user driving this route with an electric vehicle. */
5299
+ money?: Maybe<Scalars["Float"]>;
5300
+ /** Average gas price with which the calculation was made. */
5301
+ average_gas_price?: Maybe<Scalars["Float"]>;
5302
+ /** Average energy price with which the calculation was made. */
5303
+ average_energy_price?: Maybe<Scalars["Float"]>;
5304
+ };
5305
+
5306
+ /** Tags of a route. */
5307
+ export enum RouteDetailsTag {
5308
+ ROAD = "road",
5309
+ HIGHWAY = "highway",
5310
+ TOLL = "toll",
5311
+ FERRY = "ferry",
5312
+ WALKING = "walking",
5313
+ CROSSBORDER = "crossborder"
5314
+ }
5315
+
5316
+ export type RouteEmbeddedEmissions = {
5317
+ /** Total embedded emissions. */
5318
+ total: Scalars["Float"];
5319
+ /** Manufacturing emissions. */
5320
+ manufacturing: RouteEmbeddedManufacturingEmissions;
5321
+ /** Total distribution emissions. */
5322
+ distribution: Scalars["Float"];
5323
+ /** Distribution sea segment emissions. */
5324
+ maritime: RouteEmbeddedMaritimeEmissions;
5325
+ /** Distribution land segment emissions. */
5326
+ land: RouteEmbeddedLandEmissions;
5327
+ };
5328
+
5329
+ export type RouteEmbeddedEmissionstotalArgs = {
4514
5330
  unit?: Maybe<EmissionUnit>;
4515
5331
  };
4516
5332
 
4517
- export type RouteEndOfLifeFluidsEmissionswiperArgs = {
5333
+ export type RouteEmbeddedEmissionsdistributionArgs = {
4518
5334
  unit?: Maybe<EmissionUnit>;
4519
5335
  };
4520
5336
 
4521
- export type RouteEndOfLifeFluidsEmissionsbrakeArgs = {
5337
+ export type RouteEmbeddedLandEmissions = {
5338
+ /** Total embedded land segment emissions. */
5339
+ total: Scalars["Float"];
5340
+ /** Distribution land segment emissions from fuel consumption. */
5341
+ fuel: Scalars["Float"];
5342
+ /** Distribution land segment lifecycle emissions. */
5343
+ lifecycle: Scalars["Float"];
5344
+ };
5345
+
5346
+ export type RouteEmbeddedLandEmissionstotalArgs = {
4522
5347
  unit?: Maybe<EmissionUnit>;
4523
5348
  };
4524
5349
 
4525
- export type RouteEndOfLifeFluidsEmissionscoolantArgs = {
5350
+ export type RouteEmbeddedLandEmissionsfuelArgs = {
4526
5351
  unit?: Maybe<EmissionUnit>;
4527
5352
  };
4528
5353
 
4529
- export type RouteEndOfLifeFluidsEmissionstransmissionArgs = {
5354
+ export type RouteEmbeddedLandEmissionslifecycleArgs = {
4530
5355
  unit?: Maybe<EmissionUnit>;
4531
5356
  };
4532
5357
 
4533
- export type RouteEndOfLifeFluidsEmissionsmotor_oilArgs = {
5358
+ export type RouteEmbeddedManufacturingEmissions = {
5359
+ /** Total embedded manufacturing emissions. */
5360
+ total: Scalars["Float"];
5361
+ /** Vehicle body manufacturing emissions. */
5362
+ body: Scalars["Float"];
5363
+ /** Lithium ion battery manufacturing emissions. */
5364
+ battery?: Maybe<Scalars["Float"]>;
5365
+ };
5366
+
5367
+ export type RouteEmbeddedManufacturingEmissionstotalArgs = {
5368
+ unit?: Maybe<EmissionUnit>;
5369
+ };
5370
+
5371
+ export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
5372
+ unit?: Maybe<EmissionUnit>;
5373
+ };
5374
+
5375
+ export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
5376
+ unit?: Maybe<EmissionUnit>;
5377
+ };
5378
+
5379
+ export type RouteEmbeddedMaritimeEmissions = {
5380
+ /** Total embedded maritime emissions. */
5381
+ total: Scalars["Float"];
5382
+ /** Fuel related maritime segment emissions. */
5383
+ fuel: Scalars["Float"];
5384
+ /** Port facility related maritime segment emissions. */
5385
+ port: Scalars["Float"];
5386
+ /** Idling related maritime segment emissions. */
5387
+ idle: Scalars["Float"];
5388
+ /** Distributed lifecycle related maritime segment emissions. */
5389
+ lifecycle: Scalars["Float"];
5390
+ };
5391
+
5392
+ export type RouteEmbeddedMaritimeEmissionstotalArgs = {
5393
+ unit?: Maybe<EmissionUnit>;
5394
+ };
5395
+
5396
+ export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
5397
+ unit?: Maybe<EmissionUnit>;
5398
+ };
5399
+
5400
+ export type RouteEmbeddedMaritimeEmissionsportArgs = {
5401
+ unit?: Maybe<EmissionUnit>;
5402
+ };
5403
+
5404
+ export type RouteEmbeddedMaritimeEmissionsidleArgs = {
5405
+ unit?: Maybe<EmissionUnit>;
5406
+ };
5407
+
5408
+ export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
5409
+ unit?: Maybe<EmissionUnit>;
5410
+ };
5411
+
5412
+ export type RouteEmissions = {
5413
+ /** ID of the route for which we retrieve the emissions profile. */
5414
+ route_id: Scalars["ID"];
5415
+ /** ID of the route alternative for which we retrieve the emissions profile. */
5416
+ route_alternative_id: Scalars["ID"];
5417
+ /** Emissions profile for the vehicle used in route. */
5418
+ route_vehicle: RouteVehicleEmissions;
5419
+ /** Emissions profile for an equivalent internal combustion engine vehicle. */
5420
+ internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
5421
+ };
5422
+
5423
+ export type RouteEmissionsinternal_combustion_vehicleArgs = {
5424
+ fuel_type?: Maybe<RouteOperationalFuelType>;
5425
+ };
5426
+
5427
+ export type RouteEndOfLifeEmissions = {
5428
+ /** Total end of life emissions. */
5429
+ total: Scalars["Float"];
5430
+ /** Fluid related end of life emissions. */
5431
+ fluids: FluidEndOfLifeEmissions;
5432
+ /** Battery related end of life emissions. */
5433
+ battery: Scalars["Float"];
5434
+ /** Tire related end of life emissions. */
5435
+ tires: Scalars["Float"];
5436
+ /** Body end of life emissions. */
5437
+ body: Scalars["Float"];
5438
+ /** Transport end of life emissions. */
5439
+ transport: Scalars["Float"];
5440
+ };
5441
+
5442
+ export type RouteEndOfLifeEmissionstotalArgs = {
5443
+ unit?: Maybe<EmissionUnit>;
5444
+ };
5445
+
5446
+ export type RouteEndOfLifeEmissionsbatteryArgs = {
5447
+ unit?: Maybe<EmissionUnit>;
5448
+ };
5449
+
5450
+ export type RouteEndOfLifeEmissionstiresArgs = {
5451
+ unit?: Maybe<EmissionUnit>;
5452
+ };
5453
+
5454
+ export type RouteEndOfLifeEmissionsbodyArgs = {
5455
+ unit?: Maybe<EmissionUnit>;
5456
+ };
5457
+
5458
+ export type RouteEndOfLifeEmissionstransportArgs = {
4534
5459
  unit?: Maybe<EmissionUnit>;
4535
5460
  };
4536
5461
 
@@ -4587,13 +5512,15 @@ export enum RouteInstructionSign {
4587
5512
  export type RouteInternalCombustionVehicleEmissions = {
4588
5513
  /** Total co2e emissions. */
4589
5514
  total: Scalars["Float"];
4590
- /** Embedded emissions. */
5515
+ /** 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. */
5516
+ iso_14083_2023: Scalars["Float"];
5517
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4591
5518
  embedded: RouteEmbeddedEmissions;
4592
5519
  /** Operational emissions. */
4593
5520
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4594
5521
  /** End of life emissions. */
4595
5522
  end_of_life: RouteEndOfLifeEmissions;
4596
- /** Emissions info for the legs in the order as within the route. */
5523
+ /** Emissions info for the legs in the same order as in the route. */
4597
5524
  legs: Array<RouteInternalCombustionVehicleLegEmissions>;
4598
5525
  };
4599
5526
 
@@ -4601,14 +5528,20 @@ export type RouteInternalCombustionVehicleEmissionstotalArgs = {
4601
5528
  unit?: Maybe<EmissionUnit>;
4602
5529
  };
4603
5530
 
5531
+ export type RouteInternalCombustionVehicleEmissionsiso_14083_2023Args = {
5532
+ unit?: Maybe<EmissionUnit>;
5533
+ };
5534
+
4604
5535
  export type RouteInternalCombustionVehicleLegEmissions = {
4605
- /** Total co2e emissions for the leg. */
5536
+ /** Total co2e emissions. */
4606
5537
  total: Scalars["Float"];
4607
- /** Embedded emissions for the leg. */
5538
+ /** 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. */
5539
+ iso_14083_2023: Scalars["Float"];
5540
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4608
5541
  embedded: RouteEmbeddedEmissions;
4609
- /** Operational emissions for the leg. */
5542
+ /** Operational emissions. */
4610
5543
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4611
- /** End of life emissions for the leg. */
5544
+ /** End of life emissions. */
4612
5545
  end_of_life: RouteEndOfLifeEmissions;
4613
5546
  };
4614
5547
 
@@ -4616,14 +5549,18 @@ export type RouteInternalCombustionVehicleLegEmissionstotalArgs = {
4616
5549
  unit?: Maybe<EmissionUnit>;
4617
5550
  };
4618
5551
 
5552
+ export type RouteInternalCombustionVehicleLegEmissionsiso_14083_2023Args = {
5553
+ unit?: Maybe<EmissionUnit>;
5554
+ };
5555
+
4619
5556
  export type RouteInternalCombustionVehicleOperationalEmissions = {
4620
5557
  /** Total operational emissions. */
4621
5558
  total: Scalars["Float"];
4622
- /** Fuel emissions data. */
5559
+ /** Fuel emissions. */
4623
5560
  fuel: RouteOperationalFuelEmissions;
4624
- /** Total road infrastructure emissions. */
5561
+ /** Road infrastructure emissions. */
4625
5562
  infrastructure: RouteOperationalInfrastructureEmissions;
4626
- /** Total maintenance emissions. */
5563
+ /** Maintenance emissions. */
4627
5564
  maintenance: RouteOperationalMaintenanceEmissions;
4628
5565
  };
4629
5566
 
@@ -4705,6 +5642,75 @@ export type RouteLegMeta = {
4705
5642
  warnings: Array<RouteMetaWarning>;
4706
5643
  };
4707
5644
 
5645
+ export type RouteLegOperationalElectricityEmissions = {
5646
+ /** Total electricity emissions. */
5647
+ total: Scalars["Float"];
5648
+ /** Base emissions without efficiency losses. */
5649
+ base_value: Scalars["Float"];
5650
+ /** Emissions for electricity lost in the battery. */
5651
+ battery_losses: Scalars["Float"];
5652
+ /** Emissions for electricity lost in transmission. */
5653
+ transmission_losses: Scalars["Float"];
5654
+ /** Emissions for electricity lost during charging. */
5655
+ chargepoint_losses: Scalars["Float"];
5656
+ /** Electricity efficiency information. */
5657
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
5658
+ /** Electricity intensity information. */
5659
+ intensity: RouteLegOperationalElectricityEmissionsIntensity;
5660
+ };
5661
+
5662
+ export type RouteLegOperationalElectricityEmissionstotalArgs = {
5663
+ unit?: Maybe<EmissionUnit>;
5664
+ };
5665
+
5666
+ export type RouteLegOperationalElectricityEmissionsbase_valueArgs = {
5667
+ unit?: Maybe<EmissionUnit>;
5668
+ };
5669
+
5670
+ export type RouteLegOperationalElectricityEmissionsbattery_lossesArgs = {
5671
+ unit?: Maybe<EmissionUnit>;
5672
+ };
5673
+
5674
+ export type RouteLegOperationalElectricityEmissionstransmission_lossesArgs = {
5675
+ unit?: Maybe<EmissionUnit>;
5676
+ };
5677
+
5678
+ export type RouteLegOperationalElectricityEmissionschargepoint_lossesArgs = {
5679
+ unit?: Maybe<EmissionUnit>;
5680
+ };
5681
+
5682
+ /** Electricity emission intensity for a leg */
5683
+ export type RouteLegOperationalElectricityEmissionsIntensity = {
5684
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5685
+ total: Scalars["Float"];
5686
+ /** Base regional electricity emissions intensity for the leg. */
5687
+ base_regional_value: EmissionsFactor;
5688
+ /** Base regional electricity intensity used for the ISO 14083:2023 emissions estimation. */
5689
+ base_iso_14083_2023_regional_value: EmissionsFactor;
5690
+ /** Electricity mix for the leg. */
5691
+ energy_sources: RouteOperationalElectricityEnergySources;
5692
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5693
+ infrastructure: Scalars["Float"];
5694
+ /** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
5695
+ average_demand: Scalars["Float"];
5696
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
5697
+ base_load_fraction: Scalars["Float"];
5698
+ /** Season for which the leg was calculated. */
5699
+ season: RouteOperationalElectricitySeason;
5700
+ /** Climate for which the leg was calculated. */
5701
+ climate: RouteOperationalElectricityClimate;
5702
+ };
5703
+
5704
+ /** Electricity emission intensity for a leg */
5705
+ export type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
5706
+ unit?: Maybe<EmissionUnit>;
5707
+ };
5708
+
5709
+ /** Electricity emission intensity for a leg */
5710
+ export type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5711
+ unit?: Maybe<EmissionUnit>;
5712
+ };
5713
+
4708
5714
  export type RouteMeta = {
4709
5715
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4710
5716
  warnings: Array<RouteMetaWarning>;
@@ -4719,6 +5725,17 @@ export type RouteMetaWarning = {
4719
5725
  data?: Maybe<Scalars["JSON"]>;
4720
5726
  };
4721
5727
 
5728
+ export type RouteMetadata = {
5729
+ /** Refers to the x-app-id specified in the headers. */
5730
+ app_id: Scalars["ID"];
5731
+ /** Date when a route was created by a createRoute mutation. */
5732
+ created_at: Scalars["DateTime"];
5733
+ /** Last updated date of a route. */
5734
+ updated_at: Scalars["DateTime"];
5735
+ /** Length of time required to successfully calculate a route, in milliseconds. */
5736
+ computation_time?: Maybe<Scalars["Int"]>;
5737
+ };
5738
+
4722
5739
  /** Köppen climate classification. */
4723
5740
  export enum RouteOperationalElectricityClimate {
4724
5741
  /** Tropical rain forest climate. */
@@ -4789,7 +5806,7 @@ export type RouteOperationalElectricityEmissions = {
4789
5806
  /** Total electricity emissions. */
4790
5807
  total: Scalars["Float"];
4791
5808
  /** Base emissions without efficiency losses. */
4792
- base_emissions: Scalars["Float"];
5809
+ base_value: Scalars["Float"];
4793
5810
  /** Emissions for electricity lost in the battery. */
4794
5811
  battery_losses: Scalars["Float"];
4795
5812
  /** Emissions for electricity lost in transmission. */
@@ -4797,16 +5814,16 @@ export type RouteOperationalElectricityEmissions = {
4797
5814
  /** Emissions for electricity lost during charging. */
4798
5815
  chargepoint_losses: Scalars["Float"];
4799
5816
  /** Electricity efficiency information. */
4800
- electricity_efficiency: RouteOperationalElectricityEmissionsEfficiency;
5817
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
4801
5818
  /** Electricity intensity information. */
4802
- electricity_intensity: RouteOperationalElectricityEmissionsIntensity;
5819
+ intensity: RouteOperationalElectricityEmissionsIntensity;
4803
5820
  };
4804
5821
 
4805
5822
  export type RouteOperationalElectricityEmissionstotalArgs = {
4806
5823
  unit?: Maybe<EmissionUnit>;
4807
5824
  };
4808
5825
 
4809
- export type RouteOperationalElectricityEmissionsbase_emissionsArgs = {
5826
+ export type RouteOperationalElectricityEmissionsbase_valueArgs = {
4810
5827
  unit?: Maybe<EmissionUnit>;
4811
5828
  };
4812
5829
 
@@ -4824,27 +5841,27 @@ export type RouteOperationalElectricityEmissionschargepoint_lossesArgs = {
4824
5841
 
4825
5842
  export type RouteOperationalElectricityEmissionsEfficiency = {
4826
5843
  /** Average total electricity efficiency. */
4827
- total_efficiency: Scalars["Float"];
5844
+ total: Scalars["Float"];
4828
5845
  /** Average efficiency of the battery. */
4829
- battery_efficiency: Scalars["Float"];
4830
- /** Average efficiency of electricity transmission. */
4831
- transmission_efficiency: Scalars["Float"];
4832
- /** Average base regional grid efficiency. */
4833
- base_transmission_efficiency: Scalars["Float"];
5846
+ battery: Scalars["Float"];
5847
+ /** Average estimated transmission efficiency using the base transmission efficiency adjusting for temperature. */
5848
+ transmission: Scalars["Float"];
5849
+ /** Average base regional grid transmission efficiency. */
5850
+ base_transmission: Scalars["Float"];
4834
5851
  /** Average transmission efficiency change due to temperature. */
4835
- transmission_efficiency_temperature_modifier: Scalars["Float"];
5852
+ transmission_temperature_modifier: Scalars["Float"];
4836
5853
  /** Average efficiency of the chargepoint. */
4837
- chargepoint_efficiency: Scalars["Float"];
4838
- /** Average evse efficiency. */
4839
- evse_efficiency: Scalars["Float"];
4840
- /** Average breaker efficiency. */
4841
- breaker_efficiency: Scalars["Float"];
4842
- /** Average power electronics unit efficiency. */
4843
- power_electronics_unit_efficiency: Scalars["Float"];
4844
- /** Average transformer efficiency. */
4845
- transformer_efficiency: Scalars["Float"];
5854
+ chargepoint: Scalars["Float"];
5855
+ /** Average evse (electric vehicle supply equipment) efficiency of the chargepoint. */
5856
+ evse: Scalars["Float"];
5857
+ /** Average circuit breaker efficiency of the chargepoint. */
5858
+ breaker: Scalars["Float"];
5859
+ /** Average power electronics unit efficiency of the chargepoint. */
5860
+ power_electronics_unit: Scalars["Float"];
5861
+ /** Average transformer efficiency of the chargepoint. */
5862
+ transformer: Scalars["Float"];
4846
5863
  /** Change in chargepoint efficiency due to temperature. */
4847
- chargepoint_efficiency_temperature_modifier: Scalars["Float"];
5864
+ chargepoint_temperature_modifier: Scalars["Float"];
4848
5865
  /** Average charging current in amperes. */
4849
5866
  average_charging_current: Scalars["Float"];
4850
5867
  /** Average charging voltage in volts. */
@@ -4863,58 +5880,67 @@ export type RouteOperationalElectricityEmissionsEfficiencyaverage_regional_tempe
4863
5880
  unit?: Maybe<TemperatureUnit>;
4864
5881
  };
4865
5882
 
4866
- export type RouteOperationalElectricityEmissionsGenerationMethods = {
4867
- /** Fraction of coal production. */
4868
- coal: Scalars["Float"];
4869
- /** Fraction of gas production. */
4870
- gas: Scalars["Float"];
4871
- /** Fraction of hydroelectric production. */
4872
- hydro: Scalars["Float"];
4873
- /** Fraction of solar production. */
4874
- solar: Scalars["Float"];
4875
- /** Fraction of wind production. */
4876
- wind: Scalars["Float"];
4877
- /** Fraction of oil production. */
4878
- oil: Scalars["Float"];
4879
- /** Fraction of nuclear production. */
4880
- nuclear: Scalars["Float"];
4881
- /** Fraction of biofuel production. */
4882
- biofuel: Scalars["Float"];
4883
- /** Fraction of other production. */
4884
- other: Scalars["Float"];
4885
- };
4886
-
5883
+ /** Electricity emission intensity for the route */
4887
5884
  export type RouteOperationalElectricityEmissionsIntensity = {
4888
- /** Average route electricity emissions intensity in unit CO2e/kWh. */
4889
- total_electricity_intensity: Scalars["Float"];
4890
- /** Base regional electricity emissions intensity in unit CO2e/kWh. */
4891
- base_electricity_intensity: Scalars["Float"];
4892
- /** Generation methods of electricity production. */
4893
- generation_methods: RouteOperationalElectricityEmissionsGenerationMethods;
4894
- /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc in unit CO2e/kWh. */
4895
- electricity_infrastructure_intensity: Scalars["Float"];
4896
- /** Season for which the route was calculated. */
4897
- season: RouteOperationalElectricitySeason;
4898
- /** The climate for which the route was calculated. */
4899
- climate: RouteOperationalElectricityClimate;
4900
- /** Average electricity demand at the time of route charges as a fraction of average demand. */
4901
- average_electricity_demand: Scalars["Float"];
4902
- /** Fraction of regional power generation that is not affected by demand (always on). */
5885
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5886
+ total: Scalars["Float"];
5887
+ /** Average base regional electricity emissions intensity in unit CO2e/kWh. */
5888
+ average_base_regional_value: Scalars["Float"];
5889
+ /** Total electricity intensity used for iso 14083:2023 scope emissions estimate in unit CO2e/kWh. */
5890
+ iso_14083_2023: Scalars["Float"];
5891
+ /** Average electricity mix for the route. */
5892
+ energy_sources: RouteOperationalElectricityEnergySources;
5893
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5894
+ infrastructure: Scalars["Float"];
5895
+ /** Average electricity demand at the time of route charges as a fraction of the annual average demand. */
5896
+ average_demand: Scalars["Float"];
5897
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
4903
5898
  base_load_fraction: Scalars["Float"];
4904
5899
  };
4905
5900
 
4906
- export type RouteOperationalElectricityEmissionsIntensitytotal_electricity_intensityArgs = {
5901
+ /** Electricity emission intensity for the route */
5902
+ export type RouteOperationalElectricityEmissionsIntensitytotalArgs = {
4907
5903
  unit?: Maybe<EmissionUnit>;
4908
5904
  };
4909
5905
 
4910
- export type RouteOperationalElectricityEmissionsIntensitybase_electricity_intensityArgs = {
5906
+ /** Electricity emission intensity for the route */
5907
+ export type RouteOperationalElectricityEmissionsIntensityaverage_base_regional_valueArgs = {
4911
5908
  unit?: Maybe<EmissionUnit>;
4912
5909
  };
4913
5910
 
4914
- export type RouteOperationalElectricityEmissionsIntensityelectricity_infrastructure_intensityArgs = {
5911
+ /** Electricity emission intensity for the route */
5912
+ export type RouteOperationalElectricityEmissionsIntensityiso_14083_2023Args = {
4915
5913
  unit?: Maybe<EmissionUnit>;
4916
5914
  };
4917
5915
 
5916
+ /** Electricity emission intensity for the route */
5917
+ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5918
+ unit?: Maybe<EmissionUnit>;
5919
+ };
5920
+
5921
+ export type RouteOperationalElectricityEnergySources = {
5922
+ /** Electricity produced by coal power plants. */
5923
+ coal: ElectricityGenerationMethod;
5924
+ /** Electricity produced by natural gas power plants. */
5925
+ gas: ElectricityGenerationMethod;
5926
+ /** Electricity produced by hydroelectric power. */
5927
+ hydro: ElectricityGenerationMethod;
5928
+ /** Electricity produced by solar power. */
5929
+ solar: ElectricityGenerationMethod;
5930
+ /** Electricity produced by wind power. */
5931
+ wind: ElectricityGenerationMethod;
5932
+ /** Electricity produced by oil power plants. */
5933
+ oil: ElectricityGenerationMethod;
5934
+ /** Electricity produced by nuclear power plants. */
5935
+ nuclear: ElectricityGenerationMethod;
5936
+ /** Electricity produced by biofuel/biomass. */
5937
+ biofuel: ElectricityGenerationMethod;
5938
+ /** Electricity produced by geothermal power plants. */
5939
+ geothermal: ElectricityGenerationMethod;
5940
+ /** Electricity produced by other means. */
5941
+ other: ElectricityGenerationMethod;
5942
+ };
5943
+
4918
5944
  /** Yearly seasons. */
4919
5945
  export enum RouteOperationalElectricitySeason {
4920
5946
  /** Winter season. */
@@ -4927,56 +5953,17 @@ export enum RouteOperationalElectricitySeason {
4927
5953
  FALL = "fall"
4928
5954
  }
4929
5955
 
4930
- export type RouteOperationalFluidEmissions = {
4931
- /** Total fluid. */
4932
- total: Scalars["Float"];
4933
- /** Total wiper fluid maintenance emissions. */
4934
- wiper: Scalars["Float"];
4935
- /** Total brake fluid maintenance emissions. */
4936
- brake: Scalars["Float"];
4937
- /** Total powertrain coolant fluid maintenance emissions. */
4938
- coolant: Scalars["Float"];
4939
- /** Total transmission fluid maintenance emissions. */
4940
- transmission: Scalars["Float"];
4941
- /** Total motor oil maintenance emissions. */
4942
- motor_oil?: Maybe<Scalars["Float"]>;
4943
- };
4944
-
4945
- export type RouteOperationalFluidEmissionstotalArgs = {
4946
- unit?: Maybe<EmissionUnit>;
4947
- };
4948
-
4949
- export type RouteOperationalFluidEmissionswiperArgs = {
4950
- unit?: Maybe<EmissionUnit>;
4951
- };
4952
-
4953
- export type RouteOperationalFluidEmissionsbrakeArgs = {
4954
- unit?: Maybe<EmissionUnit>;
4955
- };
4956
-
4957
- export type RouteOperationalFluidEmissionscoolantArgs = {
4958
- unit?: Maybe<EmissionUnit>;
4959
- };
4960
-
4961
- export type RouteOperationalFluidEmissionstransmissionArgs = {
4962
- unit?: Maybe<EmissionUnit>;
4963
- };
4964
-
4965
- export type RouteOperationalFluidEmissionsmotor_oilArgs = {
4966
- unit?: Maybe<EmissionUnit>;
4967
- };
4968
-
4969
5956
  export type RouteOperationalFuelEmissions = {
4970
- /** Total fuel for the route. */
5957
+ /** Total fuel emissions for the route. */
4971
5958
  total: Scalars["Float"];
4972
- /** Direct (tank to wheels) emissions of the fuel. */
4973
- direct_emissions: Scalars["Float"];
4974
- /** Indirect (well to tank) emissions of the fuel. */
4975
- indirect_emissions: Scalars["Float"];
4976
- /** Fuel consumption for the route in litres. */
4977
- fuel_consumption: Scalars["Float"];
5959
+ /** Direct (tank to wheels) fuel emissions for the route. */
5960
+ direct: Scalars["Float"];
5961
+ /** Indirect (well to tank) fuel emissions for the route. */
5962
+ indirect: Scalars["Float"];
5963
+ /** Total fuel consumption for the route. */
5964
+ consumption: Scalars["Float"];
4978
5965
  /** Estimated internal combustion vehicle weight. */
4979
- weight: Scalars["Float"];
5966
+ vehicle_weight: Scalars["Float"];
4980
5967
  /** Estimated internal combustion vehicle engine torque. */
4981
5968
  engine_torque: Scalars["Float"];
4982
5969
  /** Average powertrain efficiency. */
@@ -4993,19 +5980,19 @@ export type RouteOperationalFuelEmissionstotalArgs = {
4993
5980
  unit?: Maybe<EmissionUnit>;
4994
5981
  };
4995
5982
 
4996
- export type RouteOperationalFuelEmissionsdirect_emissionsArgs = {
5983
+ export type RouteOperationalFuelEmissionsdirectArgs = {
4997
5984
  unit?: Maybe<EmissionUnit>;
4998
5985
  };
4999
5986
 
5000
- export type RouteOperationalFuelEmissionsindirect_emissionsArgs = {
5987
+ export type RouteOperationalFuelEmissionsindirectArgs = {
5001
5988
  unit?: Maybe<EmissionUnit>;
5002
5989
  };
5003
5990
 
5004
- export type RouteOperationalFuelEmissionsfuel_consumptionArgs = {
5991
+ export type RouteOperationalFuelEmissionsconsumptionArgs = {
5005
5992
  unit?: Maybe<FuelUnit>;
5006
5993
  };
5007
5994
 
5008
- export type RouteOperationalFuelEmissionsweightArgs = {
5995
+ export type RouteOperationalFuelEmissionsvehicle_weightArgs = {
5009
5996
  unit?: Maybe<WeightUnit>;
5010
5997
  };
5011
5998
 
@@ -5026,11 +6013,11 @@ export enum RouteOperationalFuelType {
5026
6013
  }
5027
6014
 
5028
6015
  export type RouteOperationalInfrastructureEmissions = {
5029
- /** Total infrastructure. */
6016
+ /** Total road infrastructure emissions. */
5030
6017
  total: Scalars["Float"];
5031
- /** Embedded (construction, decommissioning, etc) emissions cost. */
6018
+ /** Embedded (construction, decommissioning, etc) road infrastructure emissions. */
5032
6019
  embedded: Scalars["Float"];
5033
- /** Induced maintenance emissions. */
6020
+ /** Induced road infrastructure maintenance emissions. */
5034
6021
  maintenance: Scalars["Float"];
5035
6022
  };
5036
6023
 
@@ -5047,38 +6034,86 @@ export type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
5047
6034
  };
5048
6035
 
5049
6036
  export type RouteOperationalMaintenanceEmissions = {
5050
- /** Total maintenance. */
5051
- total: Scalars["Float"];
5052
- /** Total fluid related maintenance emissions. */
5053
- fluids: RouteOperationalFluidEmissions;
6037
+ /** Total maintenance emissions. */
6038
+ total: RouteOperationalMaintenanceEmissionsField;
6039
+ /** Fluid related maintenance emissions. */
6040
+ fluids: FluidMaintenanceEmissions;
5054
6041
  /** Battery related maintenance emissions. */
5055
- battery: Scalars["Float"];
6042
+ battery: RouteOperationalMaintenanceEmissionsField;
5056
6043
  /** Tire related maintenance emissions. */
5057
- tires: Scalars["Float"];
6044
+ tires: RouteOperationalMaintenanceEmissionsField;
5058
6045
  /** Miscellaneous component maintenance emissions. */
5059
- components: Scalars["Float"];
6046
+ components: RouteOperationalMaintenanceEmissionsField;
5060
6047
  /** Accident repair related maintenance emissions. */
5061
- repair: Scalars["Float"];
6048
+ repair: RouteOperationalMaintenanceEmissionsField;
5062
6049
  };
5063
6050
 
5064
- export type RouteOperationalMaintenanceEmissionstotalArgs = {
5065
- unit?: Maybe<EmissionUnit>;
6051
+ export type RouteOperationalMaintenanceEmissionsField = {
6052
+ /** Total emissions. */
6053
+ total: Scalars["Float"];
6054
+ /** Emissions from replacement production and transport. */
6055
+ production: Scalars["Float"];
6056
+ /** Emissions from disposal. */
6057
+ disposal: Scalars["Float"];
5066
6058
  };
5067
6059
 
5068
- export type RouteOperationalMaintenanceEmissionsbatteryArgs = {
6060
+ export type RouteOperationalMaintenanceEmissionsFieldtotalArgs = {
5069
6061
  unit?: Maybe<EmissionUnit>;
5070
6062
  };
5071
6063
 
5072
- export type RouteOperationalMaintenanceEmissionstiresArgs = {
6064
+ export type RouteOperationalMaintenanceEmissionsFieldproductionArgs = {
5073
6065
  unit?: Maybe<EmissionUnit>;
5074
6066
  };
5075
6067
 
5076
- export type RouteOperationalMaintenanceEmissionscomponentsArgs = {
6068
+ export type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
5077
6069
  unit?: Maybe<EmissionUnit>;
5078
6070
  };
5079
6071
 
5080
- export type RouteOperationalMaintenanceEmissionsrepairArgs = {
5081
- unit?: Maybe<EmissionUnit>;
6072
+ export type RouteOperatorPreferences = {
6073
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
6074
+ ranking?: Maybe<RouteOperatorPreferencesRanking>;
6075
+ /** Route operators that should be excluded. */
6076
+ exclude?: Maybe<Array<RouteOperatorsValue>>;
6077
+ };
6078
+
6079
+ /** Prioritized operators for a route calculation. */
6080
+ export type RouteOperatorPreferencesInput = {
6081
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
6082
+ ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
6083
+ /** Route operators that should be excluded. */
6084
+ exclude?: Maybe<Array<RouteOperatorsValueInput>>;
6085
+ };
6086
+
6087
+ export type RouteOperatorPreferencesRanking = {
6088
+ /** Flag indicating if an operator should be preferred or required. */
6089
+ type: RouteOperatorsType;
6090
+ /** Ranking levels for operator ranking. */
6091
+ levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
6092
+ };
6093
+
6094
+ export type RouteOperatorPreferencesRankingInput = {
6095
+ /** Flag indicating if the operators ranking should be preferred or required. */
6096
+ type: RouteOperatorsType;
6097
+ /** Ranking levels for operator ranking. */
6098
+ levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
6099
+ };
6100
+
6101
+ export type RouteOperatorPreferencesRankingLevels = {
6102
+ /** Least significant level for operators ranking. */
6103
+ low?: Maybe<Array<RouteOperatorsValue>>;
6104
+ /** Medium level for operators ranking. */
6105
+ medium?: Maybe<Array<RouteOperatorsValue>>;
6106
+ /** Most significant level for operator ranking. */
6107
+ high?: Maybe<Array<RouteOperatorsValue>>;
6108
+ };
6109
+
6110
+ export type RouteOperatorPreferencesRankingLevelsInput = {
6111
+ /** Least significant level for operator ranking. */
6112
+ low?: Maybe<Array<RouteOperatorsValueInput>>;
6113
+ /** Medium level for operator ranking. */
6114
+ medium?: Maybe<Array<RouteOperatorsValueInput>>;
6115
+ /** Most significant level three for operator ranking. */
6116
+ high?: Maybe<Array<RouteOperatorsValueInput>>;
5082
6117
  };
5083
6118
 
5084
6119
  /** Prioritized operators for a route calculation. */
@@ -5151,7 +6186,7 @@ export type RouteOperatorsRankingInput = {
5151
6186
 
5152
6187
  /** Type of operator prioritization for a route. */
5153
6188
  export enum RouteOperatorsType {
5154
- /** Default option. Operators ranking will not be taken into account if no type is given. */
6189
+ /** Operators ranking will not be taken into account if no type is given. */
5155
6190
  NONE = "none",
5156
6191
  /** Operators given in the operators ranking will be preferred when calculating routes. */
5157
6192
  PREFERRED = "preferred",
@@ -5159,6 +6194,56 @@ export enum RouteOperatorsType {
5159
6194
  REQUIRED = "required"
5160
6195
  }
5161
6196
 
6197
+ export type RouteOperatorsValue = {
6198
+ /** ID of an operator. */
6199
+ id: Scalars["ID"];
6200
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
6201
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
6202
+ };
6203
+
6204
+ export type RouteOperatorsValueInput = {
6205
+ /** ID of an operator. */
6206
+ id: Scalars["ID"];
6207
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
6208
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
6209
+ };
6210
+
6211
+ export type RouteOriginFeaturePoint = {
6212
+ /** ID of the feature. */
6213
+ id?: Maybe<Scalars["ID"]>;
6214
+ /** Feature type. */
6215
+ type: FeatureType;
6216
+ /** Geometry of the feature. */
6217
+ geometry: Point;
6218
+ /** Optional object where additional properties can be specified. */
6219
+ properties?: Maybe<RouteOriginProperties>;
6220
+ };
6221
+
6222
+ export type RouteOriginFeaturePointInput = {
6223
+ /** ID of the feature. */
6224
+ id?: Maybe<Scalars["ID"]>;
6225
+ /** Feature type. */
6226
+ type: FeatureType;
6227
+ /** Geometry of the feature. */
6228
+ geometry: PointInput;
6229
+ /** Optional object where additional properties can be specified. */
6230
+ properties?: Maybe<RouteOriginPropertiesInput>;
6231
+ };
6232
+
6233
+ export type RouteOriginProperties = {
6234
+ /** Data about the origin location. */
6235
+ location?: Maybe<RoutePropertiesLocation>;
6236
+ /** Vehicle data at the origin location. */
6237
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6238
+ };
6239
+
6240
+ export type RouteOriginPropertiesInput = {
6241
+ /** Data about the origin location. */
6242
+ location?: Maybe<RoutePropertiesLocationInput>;
6243
+ /** Vehicle data at the origin location. */
6244
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6245
+ };
6246
+
5162
6247
  export type RoutePath = {
5163
6248
  /** GeoJSON location of a route path segment. */
5164
6249
  location?: Maybe<Point>;
@@ -5180,6 +6265,67 @@ export type RoutePath = {
5180
6265
  stateOfCharge?: Maybe<Scalars["Float"]>;
5181
6266
  };
5182
6267
 
6268
+ export type RoutePropertiesLocation = {
6269
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6270
+ name?: Maybe<Scalars["String"]>;
6271
+ /** Duration to stay at this point. */
6272
+ stop_duration?: Maybe<Scalars["Int"]>;
6273
+ };
6274
+
6275
+ export type RoutePropertiesLocationInput = {
6276
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6277
+ name?: Maybe<Scalars["String"]>;
6278
+ /** Duration to stay at this point. */
6279
+ stop_duration?: Maybe<Scalars["Int"]>;
6280
+ };
6281
+
6282
+ export type RoutePropertiesStation = {
6283
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6284
+ station_id?: Maybe<Scalars["ID"]>;
6285
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6286
+ external_station_id?: Maybe<Scalars["ID"]>;
6287
+ };
6288
+
6289
+ export type RoutePropertiesStationInput = {
6290
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6291
+ station_id?: Maybe<Scalars["ID"]>;
6292
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6293
+ external_station_id?: Maybe<Scalars["ID"]>;
6294
+ };
6295
+
6296
+ export type RoutePropertiesVehicle = {
6297
+ /** Number of occupants present in the vehicle. */
6298
+ occupants?: Maybe<Scalars["Int"]>;
6299
+ /** Combined weight of the occupants. */
6300
+ total_occupant_weight?: Maybe<TotalOccupantWeight>;
6301
+ /** Weight of the cargo. */
6302
+ total_cargo_weight?: Maybe<TotalCargoWeight>;
6303
+ };
6304
+
6305
+ export type RoutePropertiesVehicleInput = {
6306
+ /** Number of occupants present in the vehicle. */
6307
+ occupants?: Maybe<Scalars["Int"]>;
6308
+ /** Combined weight of the occupants. */
6309
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
6310
+ /** Weight of the cargo. */
6311
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
6312
+ };
6313
+
6314
+ export type RouteResponse = {
6315
+ /** ID of a route calculation. */
6316
+ id: Scalars["ID"];
6317
+ /** Status of a route. */
6318
+ status: RouteStatus;
6319
+ /** Recommended route. */
6320
+ recommended?: Maybe<RouteDetails>;
6321
+ /** Meta data for a route. */
6322
+ meta: RouteMetadata;
6323
+ /** Route request. */
6324
+ request_input: CreateRoute;
6325
+ /** Region of a route calculation. */
6326
+ region: Scalars["String"];
6327
+ };
6328
+
5183
6329
  /** Scheduled charge stop along a route. */
5184
6330
  export type RouteScheduledChargeStop = {
5185
6331
  /** List of amenity types. */
@@ -5227,7 +6373,7 @@ export enum RouteStatus {
5227
6373
  PROCESSING = "processing",
5228
6374
  /** We finished computing the route, with a result. Final status. */
5229
6375
  DONE = "done",
5230
- /** We finished the computing the route, without any result. Final status. */
6376
+ /** We finished computing the route, without any result. Final status. */
5231
6377
  NOT_FOUND = "not_found",
5232
6378
  /** An error occurred while computing the route. Final status. */
5233
6379
  ERROR = "error"
@@ -5262,16 +6408,142 @@ export enum RouteTagType {
5262
6408
  CROSSBORDER = "crossborder"
5263
6409
  }
5264
6410
 
6411
+ export type RouteVehicle = {
6412
+ /** ID of the vehicle. */
6413
+ id: Scalars["ID"];
6414
+ /** EV battery specific configuration. */
6415
+ battery?: Maybe<RouteVehicleBattery>;
6416
+ /** Charging configuration. */
6417
+ charging?: Maybe<RouteVehicleCharging>;
6418
+ /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
6419
+ tire_pressure?: Maybe<TirePressure>;
6420
+ /** Value of the vehicle's odometer. */
6421
+ odometer?: Maybe<Odometer>;
6422
+ /** Value of the auxiliary power consumption of the vehicle. */
6423
+ auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
6424
+ /** Flag which indicates if climate control is on. */
6425
+ climate?: Maybe<Scalars["Boolean"]>;
6426
+ /** Vehicle Heat Pump configuration. */
6427
+ heat_pump: HeatPumpMode;
6428
+ /** Vehicle cabin configuration. */
6429
+ cabin: RouteVehicleCabin;
6430
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6431
+ motor_rpm?: Maybe<Scalars["Int"]>;
6432
+ /** Value of the outside temperature. */
6433
+ outside_temperature?: Maybe<Temperature>;
6434
+ /** Vehicle is in park, neutral or turned off. */
6435
+ is_parked?: Maybe<Scalars["Boolean"]>;
6436
+ /** Value of the vehicle's speed. */
6437
+ vehicle_speed?: Maybe<VehicleSpeed>;
6438
+ /** Current heading in degrees. */
6439
+ heading?: Maybe<Scalars["Float"]>;
6440
+ };
6441
+
6442
+ export type RouteVehicleBattery = {
6443
+ /** Battery capacity. */
6444
+ capacity: StateOfCharge;
6445
+ /** State of charge. */
6446
+ state_of_charge: StateOfCharge;
6447
+ /** Minimum final battery state of charge. */
6448
+ final_state_of_charge: StateOfCharge;
6449
+ /** Temperature of the battery. */
6450
+ temperature?: Maybe<Temperature>;
6451
+ /** Battery current in ampere. */
6452
+ current?: Maybe<Scalars["Float"]>;
6453
+ /** Battery voltage in volts. */
6454
+ voltage?: Maybe<Scalars["Float"]>;
6455
+ /** Value of the positive or negative power. When negative, the vehicle is charging. */
6456
+ power?: Maybe<Scalars["Float"]>;
6457
+ /** Indicates if the vehicle is charging. */
6458
+ is_charging?: Maybe<Scalars["Boolean"]>;
6459
+ };
6460
+
6461
+ /** EV battery specific configuration for a create route mutation. */
6462
+ export type RouteVehicleBatteryInput = {
6463
+ /** Battery capacity. */
6464
+ capacity?: Maybe<StateOfChargeInput>;
6465
+ /** Battery state of charge. */
6466
+ state_of_charge?: Maybe<StateOfChargeInput>;
6467
+ /** Minimum battery state of charge. */
6468
+ final_state_of_charge?: Maybe<StateOfChargeInput>;
6469
+ /** Battery temperature. */
6470
+ temperature?: Maybe<TemperatureInput>;
6471
+ /** Battery current in ampere. */
6472
+ current?: Maybe<Scalars["Float"]>;
6473
+ /** Battery voltage in volts. */
6474
+ voltage?: Maybe<Scalars["Float"]>;
6475
+ /** Vehicle power. */
6476
+ power?: Maybe<Scalars["Float"]>;
6477
+ /** Vehicle is currently charging. */
6478
+ is_charging?: Maybe<Scalars["Boolean"]>;
6479
+ };
6480
+
6481
+ export type RouteVehicleCabin = {
6482
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6483
+ is_preconditioned: Scalars["Boolean"];
6484
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6485
+ desired_temperature: Temperature;
6486
+ };
6487
+
6488
+ export type RouteVehicleCabinInput = {
6489
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6490
+ is_preconditioned?: Scalars["Boolean"];
6491
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6492
+ desired_temperature: TemperatureInput;
6493
+ };
6494
+
6495
+ export type RouteVehicleCharging = {
6496
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6497
+ mode: ChargeMode;
6498
+ /** Minimum desired power of chargers. */
6499
+ minimum_power: Scalars["Int"];
6500
+ /** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
6501
+ risk_margin: Scalars["Int"];
6502
+ /** Supported connectors. */
6503
+ connectors?: Maybe<Array<RouteVehicleChargingConnector>>;
6504
+ /** Supported adapters. */
6505
+ adapters?: Maybe<Array<RouteVehicleChargingConnector>>;
6506
+ };
6507
+
6508
+ export type RouteVehicleChargingConnector = {
6509
+ /** Type of the plug. */
6510
+ standard: ConnectorType;
6511
+ /** Maximum charging speed for the plug. */
6512
+ max_charge_speed: ChargeSpeed;
6513
+ };
6514
+
6515
+ export type RouteVehicleChargingConnectorInput = {
6516
+ /** Plug type. */
6517
+ standard: ConnectorType;
6518
+ /** Maximum charging speed for this plug. */
6519
+ max_charge_speed: ChargeSpeedInput;
6520
+ };
6521
+
6522
+ export type RouteVehicleChargingInput = {
6523
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6524
+ mode?: Maybe<ChargeMode>;
6525
+ /** Minimum desired power of chargers. */
6526
+ minimum_power?: Maybe<Scalars["Float"]>;
6527
+ /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
6528
+ risk_margin?: Maybe<Scalars["Int"]>;
6529
+ /** Supported connectors. */
6530
+ connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6531
+ /** Supported adapters. */
6532
+ adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6533
+ };
6534
+
5265
6535
  export type RouteVehicleEmissions = {
5266
6536
  /** Total co2e emissions. */
5267
6537
  total: Scalars["Float"];
5268
- /** Embedded emissions. */
6538
+ /** 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. */
6539
+ iso_14083_2023: Scalars["Float"];
6540
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5269
6541
  embedded: RouteEmbeddedEmissions;
5270
6542
  /** Operational emissions. */
5271
6543
  operational: RouteVehicleOperationalEmissions;
5272
6544
  /** End of life emissions. */
5273
6545
  end_of_life: RouteEndOfLifeEmissions;
5274
- /** Emissions info for the legs in the order as within the route. */
6546
+ /** Emissions info for the legs in the same order as in the route. */
5275
6547
  legs: Array<RouteVehicleLegEmissions>;
5276
6548
  };
5277
6549
 
@@ -5279,13 +6551,51 @@ export type RouteVehicleEmissionstotalArgs = {
5279
6551
  unit?: Maybe<EmissionUnit>;
5280
6552
  };
5281
6553
 
6554
+ export type RouteVehicleEmissionsiso_14083_2023Args = {
6555
+ unit?: Maybe<EmissionUnit>;
6556
+ };
6557
+
6558
+ /** Vehicle specific input for a create route mutation. */
6559
+ export type RouteVehicleInput = {
6560
+ /** ID of the vehicle. */
6561
+ id: Scalars["ID"];
6562
+ /** EV battery specific configuration. */
6563
+ battery?: Maybe<RouteVehicleBatteryInput>;
6564
+ /** Charging configuration. */
6565
+ charging?: Maybe<RouteVehicleChargingInput>;
6566
+ /** Average tire pressures of all wheels. */
6567
+ tire_pressure?: Maybe<TirePressureInput>;
6568
+ /** Odometer (mileage) reading. */
6569
+ odometer?: Maybe<OdometerInput>;
6570
+ /** Average auxiliary power consumption. */
6571
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
6572
+ /** Flag which indicates if climate control is on. */
6573
+ climate?: Maybe<Scalars["Boolean"]>;
6574
+ /** Vehicle Heat Pump configuration. */
6575
+ heat_pump?: Maybe<HeatPumpMode>;
6576
+ /** Vehicle cabin configuration for creating the route. */
6577
+ cabin?: Maybe<RouteVehicleCabinInput>;
6578
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6579
+ motor_rpm?: Maybe<Scalars["Int"]>;
6580
+ /** Outside temperature. */
6581
+ outside_temperature?: Maybe<TemperatureInput>;
6582
+ /** Vehicle is in park, neutral or turned off. */
6583
+ is_parked?: Maybe<Scalars["Boolean"]>;
6584
+ /** Vehicle speed. */
6585
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
6586
+ /** Current heading in degrees. */
6587
+ heading?: Maybe<Scalars["Float"]>;
6588
+ };
6589
+
5282
6590
  export type RouteVehicleLegEmissions = {
5283
6591
  /** Total co2e emissions for the leg. */
5284
6592
  total: Scalars["Float"];
5285
- /** Embedded emissions for the leg. */
6593
+ /** 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. */
6594
+ iso_14083_2023: Scalars["Float"];
6595
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5286
6596
  embedded: RouteEmbeddedEmissions;
5287
6597
  /** Operational emissions for the leg. */
5288
- operational: RouteVehicleOperationalEmissions;
6598
+ operational: RouteVehicleLegOperationalEmissions;
5289
6599
  /** End of life emissions for the leg. */
5290
6600
  end_of_life: RouteEndOfLifeEmissions;
5291
6601
  };
@@ -5294,14 +6604,33 @@ export type RouteVehicleLegEmissionstotalArgs = {
5294
6604
  unit?: Maybe<EmissionUnit>;
5295
6605
  };
5296
6606
 
6607
+ export type RouteVehicleLegEmissionsiso_14083_2023Args = {
6608
+ unit?: Maybe<EmissionUnit>;
6609
+ };
6610
+
6611
+ export type RouteVehicleLegOperationalEmissions = {
6612
+ /** Total operational emissions for the leg. */
6613
+ total: Scalars["Float"];
6614
+ /** Electricity emissions data for the leg. */
6615
+ electricity: RouteLegOperationalElectricityEmissions;
6616
+ /** Total road infrastructure emissions for the leg. */
6617
+ infrastructure: RouteOperationalInfrastructureEmissions;
6618
+ /** Total maintenance emissions for the leg. */
6619
+ maintenance: RouteOperationalMaintenanceEmissions;
6620
+ };
6621
+
6622
+ export type RouteVehicleLegOperationalEmissionstotalArgs = {
6623
+ unit?: Maybe<EmissionUnit>;
6624
+ };
6625
+
5297
6626
  export type RouteVehicleOperationalEmissions = {
5298
6627
  /** Total operational emissions. */
5299
6628
  total: Scalars["Float"];
5300
- /** Electricity emissions data. */
6629
+ /** Electricity emissions. */
5301
6630
  electricity: RouteOperationalElectricityEmissions;
5302
- /** Total road infrastructure emissions. */
6631
+ /** Road infrastructure emissions. */
5303
6632
  infrastructure: RouteOperationalInfrastructureEmissions;
5304
- /** Total maintenance emissions. */
6633
+ /** Maintenance emissions. */
5305
6634
  maintenance: RouteOperationalMaintenanceEmissions;
5306
6635
  };
5307
6636
 
@@ -5309,17 +6638,57 @@ export type RouteVehicleOperationalEmissionstotalArgs = {
5309
6638
  unit?: Maybe<EmissionUnit>;
5310
6639
  };
5311
6640
 
6641
+ export type RouteViaFeaturePoint = {
6642
+ /** ID of the feature. */
6643
+ id?: Maybe<Scalars["ID"]>;
6644
+ /** Feature type. */
6645
+ type: FeatureType;
6646
+ /** Geometry of the feature. */
6647
+ geometry: Point;
6648
+ /** Optional object where additional properties can be specified. */
6649
+ properties?: Maybe<RouteViaProperties>;
6650
+ };
6651
+
6652
+ export type RouteViaFeaturePointInput = {
6653
+ /** ID of the feature. */
6654
+ id?: Maybe<Scalars["ID"]>;
6655
+ /** Feature type. */
6656
+ type: FeatureType;
6657
+ /** Geometry of the feature. */
6658
+ geometry: PointInput;
6659
+ /** Optional object where additional properties can be specified. */
6660
+ properties?: Maybe<RouteViaPropertiesInput>;
6661
+ };
6662
+
6663
+ export type RouteViaProperties = {
6664
+ /** Location data of the via point. */
6665
+ location?: Maybe<RoutePropertiesLocation>;
6666
+ /** Vehicle data of the via point. */
6667
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6668
+ /** Station data of the via point. */
6669
+ station?: Maybe<RoutePropertiesStation>;
6670
+ };
6671
+
6672
+ export type RouteViaPropertiesInput = {
6673
+ /** Location data of the via point. */
6674
+ location?: Maybe<RoutePropertiesLocationInput>;
6675
+ /** Vehicle data of the via point. */
6676
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6677
+ /** Station data of the via point. */
6678
+ station?: Maybe<RoutePropertiesStationInput>;
6679
+ };
6680
+
5312
6681
  /** Scheduled charge stop along a route. */
5313
6682
  export type ScheduledChargeStopInput = {
5314
6683
  /** List of amenity types. */
5315
6684
  types: Array<AmenityType>;
5316
6685
  /** Duration at the amenity, in seconds. The value should be between 900 and 86400. */
5317
6686
  duration: Scalars["Int"];
5318
- /** Maximum allowed offset from the stop_after value in seconds. Default is 1800. */
6687
+ /** Maximum allowed offset from the stop_after value in seconds. */
5319
6688
  offset?: Maybe<Scalars["Int"]>;
5320
6689
  /** Desired drive time for a scheduled stop after leaving the origin point, in seconds. */
5321
6690
  stop_after: Scalars["Int"];
5322
- /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. Default is 1000. */
6691
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
5323
6692
  max_distance_from_station?: Maybe<Scalars["Int"]>;
5324
6693
  };
5325
6694
 
@@ -5328,6 +6697,7 @@ export enum SortDirection {
5328
6697
  DESCENDING = "descending"
5329
6698
  }
5330
6699
 
6700
+ /** Speed units. */
5331
6701
  export enum SpeedUnit {
5332
6702
  /** Return the speed in kilometers per hour. */
5333
6703
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -5343,15 +6713,25 @@ export type StandardStats = {
5343
6713
  total?: Maybe<Scalars["Int"]>;
5344
6714
  };
5345
6715
 
6716
+ export type StateOfCharge = {
6717
+ /** Value of the state of charge of the vehicle. */
6718
+ value: Scalars["Float"];
6719
+ /** Type of the state of charge of the vehicle. */
6720
+ type: StateOfChargeUnit;
6721
+ /** Source of inputted data. */
6722
+ source: TelemetryInputSource;
6723
+ };
6724
+
5346
6725
  export type StateOfChargeInput = {
5347
6726
  /** Value of the state of charge of the vehicle. */
5348
6727
  value: Scalars["Float"];
5349
6728
  /** Type of the state of charge of the vehicle. */
5350
6729
  type: StateOfChargeUnit;
5351
6730
  /** Source of inputted data, defaults to 'manual'. */
5352
- source?: Maybe<TelemetryInputSource>;
6731
+ source?: TelemetryInputSource;
5353
6732
  };
5354
6733
 
6734
+ /** State of charge unit. */
5355
6735
  export enum StateOfChargeUnit {
5356
6736
  /** Return the state of charge in kilometers. */
5357
6737
  KILOMETER = "kilometer",
@@ -5441,7 +6821,10 @@ export type Station = {
5441
6821
  location_category?: Maybe<Scalars["String"]>;
5442
6822
  /** Coordinates for the location's entrances in decimal degrees. If available, there can be more than one entrances to the location. */
5443
6823
  entrance_for_navigation?: Maybe<Array<OCPIAdditionalGeoLocation>>;
5444
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
6824
+ /**
6825
+ * Optional object where you can store custom data you need in your application. This extends the current functionalities we offer.
6826
+ * @deprecated No longer used.
6827
+ */
5445
6828
  properties?: Maybe<Scalars["JSON"]>;
5446
6829
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
5447
6830
  realtime?: Maybe<Scalars["Boolean"]>;
@@ -5522,7 +6905,7 @@ export type StationAroundFilter = {
5522
6905
  location?: Maybe<PointInput>;
5523
6906
  /** Distance, in meters, to search around. */
5524
6907
  distance?: Maybe<Scalars["Int"]>;
5525
- /** Powers in kWh. */
6908
+ /** Powers in kW. */
5526
6909
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5527
6910
  /** Amenities available near a station. */
5528
6911
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5542,7 +6925,7 @@ export type StationAroundQuery = {
5542
6925
  location?: Maybe<PointInput>;
5543
6926
  /** Distance, in meters, to search around. */
5544
6927
  distance?: Maybe<Scalars["Int"]>;
5545
- /** Power in kWh. */
6928
+ /** Power in kW. */
5546
6929
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5547
6930
  /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park. */
5548
6931
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
@@ -5642,7 +7025,7 @@ export type StationHeavyVehiclesRestrictionsmassArgs = {
5642
7025
 
5643
7026
  /** Filter which can be applied to retrieve the station list action. */
5644
7027
  export type StationListFilter = {
5645
- /** Powers in kWh. */
7028
+ /** Powers in kW. */
5646
7029
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5647
7030
  /** Amenities available near a station. */
5648
7031
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5709,11 +7092,11 @@ export type StationRoaming = {
5709
7092
 
5710
7093
  /** The station speed type. */
5711
7094
  export enum StationSpeedType {
5712
- /** Slow charging (below 43 kWh). */
7095
+ /** Slow charging (below 43 kW). */
5713
7096
  SLOW = "slow",
5714
- /** Fast charging stations (above 43 kWh and below 150 kWh). */
7097
+ /** Fast charging stations (above 43 kW and below 150 kW). */
5715
7098
  FAST = "fast",
5716
- /** Ultra fast charging stations (above 150 kWh). */
7099
+ /** Ultra fast charging stations (above 150 kW). */
5717
7100
  TURBO = "turbo"
5718
7101
  }
5719
7102
 
@@ -5784,6 +7167,8 @@ export type Subscription = {
5784
7167
  navigationUpdatedById?: Maybe<Navigation>;
5785
7168
  /** Subscription for a specific route was updated in the system event */
5786
7169
  routeUpdatedById?: Maybe<Route>;
7170
+ /** [BETA] Subscription for a specific route was updated in the system event */
7171
+ route: RouteResponse;
5787
7172
  };
5788
7173
 
5789
7174
  export type SubscriptionconnectedVehicleArgs = {
@@ -5802,6 +7187,10 @@ export type SubscriptionrouteUpdatedByIdArgs = {
5802
7187
  id: Scalars["ID"];
5803
7188
  };
5804
7189
 
7190
+ export type SubscriptionrouteArgs = {
7191
+ id: Scalars["ID"];
7192
+ };
7193
+
5805
7194
  export type Telemetry = {
5806
7195
  /** Value of the auxiliary power consumption of the vehicle. */
5807
7196
  auxiliary_consumption?: Maybe<Scalars["Float"]>;
@@ -5948,6 +7337,7 @@ export type TelemetryInput = {
5948
7337
  custom?: Maybe<Scalars["JSON"]>;
5949
7338
  };
5950
7339
 
7340
+ /** Telemetry input sources. */
5951
7341
  export enum TelemetryInputSource {
5952
7342
  /** Manually inputted value. */
5953
7343
  MANUAL = "manual",
@@ -5969,6 +7359,7 @@ export type TemperatureInput = {
5969
7359
  type: TemperatureUnit;
5970
7360
  };
5971
7361
 
7362
+ /** Temperature unit. */
5972
7363
  export enum TemperatureUnit {
5973
7364
  /** Return the temperature in Celsius. */
5974
7365
  CELSIUS = "Celsius",
@@ -5976,13 +7367,22 @@ export enum TemperatureUnit {
5976
7367
  FAHRENHEIT = "Fahrenheit"
5977
7368
  }
5978
7369
 
7370
+ export type TirePressure = {
7371
+ /** Values for the tire pressure, starting from the front side right to left and to the rear (FR, FL, RL, RR). */
7372
+ value: Array<Scalars["Float"]>;
7373
+ /** Type of the value of pressure. */
7374
+ type: PressureUnit;
7375
+ /** Source of inputted data. */
7376
+ source: TelemetryInputSource;
7377
+ };
7378
+
5979
7379
  export type TirePressureInput = {
5980
7380
  /** Values for the tire pressure, starting from the front side right to left and to the rear. */
5981
7381
  value: Array<Scalars["Float"]>;
5982
7382
  /** Type of the value of pressure. */
5983
7383
  type: PressureUnit;
5984
7384
  /** Source of inputted data, defaults to 'manual'. */
5985
- source?: Maybe<TelemetryInputSource>;
7385
+ source?: TelemetryInputSource;
5986
7386
  };
5987
7387
 
5988
7388
  export enum TorqueUnit {
@@ -5992,13 +7392,31 @@ export enum TorqueUnit {
5992
7392
  FOOT_POUND = "foot_pound"
5993
7393
  }
5994
7394
 
7395
+ export type TotalCargoWeight = {
7396
+ /** Value of the current weight of the cargo. */
7397
+ value: Scalars["Float"];
7398
+ /** Type of the current weight of the cargo. */
7399
+ type: WeightUnit;
7400
+ /** Source of inputted data. */
7401
+ source: TelemetryInputSource;
7402
+ };
7403
+
5995
7404
  export type TotalCargoWeightInput = {
5996
7405
  /** Value of the current weight of the cargo. */
5997
7406
  value: Scalars["Float"];
5998
7407
  /** Type of the current weight of the cargo. */
5999
7408
  type: WeightUnit;
6000
7409
  /** Source of inputted data, defaults to 'manual'. */
6001
- source?: Maybe<TelemetryInputSource>;
7410
+ source?: TelemetryInputSource;
7411
+ };
7412
+
7413
+ export type TotalOccupantWeight = {
7414
+ /** Value of the current weight of the occupants. */
7415
+ value: Scalars["Float"];
7416
+ /** Type of the current weight of the occupants. */
7417
+ type: WeightUnit;
7418
+ /** Source of inputted data. */
7419
+ source: TelemetryInputSource;
6002
7420
  };
6003
7421
 
6004
7422
  export type TotalOccupantWeightInput = {
@@ -6007,7 +7425,7 @@ export type TotalOccupantWeightInput = {
6007
7425
  /** Type of the current weight of the occupants. */
6008
7426
  type: WeightUnit;
6009
7427
  /** Source of inputted data, defaults to 'manual'. */
6010
- source?: Maybe<TelemetryInputSource>;
7428
+ source?: TelemetryInputSource;
6011
7429
  };
6012
7430
 
6013
7431
  export enum TurningCircleUnit {
@@ -7261,7 +8679,7 @@ export type VehiclePremiumRoutingfuel_consumptionArgs = {
7261
8679
  };
7262
8680
 
7263
8681
  export type VehiclePremiumRoutingConsumption = {
7264
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
8682
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
7265
8683
  auxiliary?: Maybe<Scalars["Float"]>;
7266
8684
  /**
7267
8685
  * Consumption, in kWh, of the auxiliaries.
@@ -7417,27 +8835,24 @@ export type VehicleRouting = {
7417
8835
  fast_charging_support: Scalars["Boolean"];
7418
8836
  };
7419
8837
 
8838
+ export type VehicleSpeed = {
8839
+ /** Value of the vehicle speed. */
8840
+ value: Scalars["Float"];
8841
+ /** Type of the vehicle speed. */
8842
+ type: SpeedUnit;
8843
+ /** Source of inputted data. */
8844
+ source: TelemetryInputSource;
8845
+ };
8846
+
7420
8847
  export type VehicleSpeedInput = {
7421
8848
  /** Value of the vehicle speed. */
7422
8849
  value: Scalars["Float"];
7423
8850
  /** Type of the vehicle speed. */
7424
8851
  type: SpeedUnit;
7425
8852
  /** Source of inputted data, defaults to 'manual'. */
7426
- source?: Maybe<TelemetryInputSource>;
8853
+ source?: TelemetryInputSource;
7427
8854
  };
7428
8855
 
7429
- /** Status of a vehicle. */
7430
- export enum VehicleStatus {
7431
- /** Is being reviewed by a human operator. */
7432
- DRAFT = "draft",
7433
- /** Is public and can be used by a customer. */
7434
- PUBLIC = "public",
7435
- /** Is private and can be used by a human operator. */
7436
- PRIVATE = "private",
7437
- /** Is archived and can not be used. */
7438
- ARCHIVED = "archived"
7439
- }
7440
-
7441
8856
  export type VehicleToEverything = {
7442
8857
  /** Information about Vehicle-to-Load. */
7443
8858
  vehicle_to_load?: Maybe<VehicleToEverythingLoad>;
@@ -7517,6 +8932,7 @@ export enum VolumeUnit {
7517
8932
  CUBIC_FOOT = "cubic_foot"
7518
8933
  }
7519
8934
 
8935
+ /** Weight unit. */
7520
8936
  export enum WeightUnit {
7521
8937
  /** Return the weight in kilograms. */
7522
8938
  KILOGRAM = "kilogram",