@chargetrip/types 1.43.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
@@ -219,7 +219,7 @@ export type BatteryTemperatureInput = {
219
219
  /** Type of temperature of the battery. */
220
220
  type: TemperatureUnit;
221
221
  /** Source of inputted data, defaults to 'manual'. */
222
- source?: TelemetryInputSource;
222
+ source?: Maybe<TelemetryInputSource>;
223
223
  };
224
224
 
225
225
  /** Deprecated: In favour of Vehicle. */
@@ -1791,8 +1791,13 @@ export type Connector = {
1791
1791
  properties?: Maybe<Scalars["JSON"]>;
1792
1792
  /** List of valid charging tariffs. */
1793
1793
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1794
- /** Charging prices. */
1794
+ /**
1795
+ * Charging prices.
1796
+ * @deprecated In favor of prices.
1797
+ */
1795
1798
  pricing?: Maybe<Pricing>;
1799
+ /** Dynamic charging prices. */
1800
+ prices?: Maybe<Array<ConnectorPrice>>;
1796
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. */
1797
1802
  custom_properties?: Maybe<ConnectorCustomProperties>;
1798
1803
  };
@@ -1801,13 +1806,196 @@ export type Connector = {
1801
1806
  export type ConnectorCustomProperties = {
1802
1807
  /**
1803
1808
  * Charging prices.
1804
- * @deprecated In favor of connector.pricing
1809
+ * @deprecated In favor of connector.prices.
1805
1810
  */
1806
1811
  pricing?: Maybe<Pricing>;
1807
1812
  /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
1808
1813
  oicp?: Maybe<OICPConnectorCustomProperties>;
1809
1814
  };
1810
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
+
1811
1999
  /** The socket or plug standard of the charging point. */
1812
2000
  export enum ConnectorType {
1813
2001
  /** The connector type is CHAdeMO, DC. */
@@ -2231,8 +2419,6 @@ export type CreateRouteInput = {
2231
2419
  season?: Maybe<RouteSeason>;
2232
2420
  /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2233
2421
  alternative_station_radius?: Maybe<Scalars["Int"]>;
2234
- /** Current elevation. */
2235
- elevation?: Maybe<ElevationInput>;
2236
2422
  /** Route departure time. */
2237
2423
  departure_time?: Maybe<Scalars["DateTime"]>;
2238
2424
  };
@@ -2378,6 +2564,17 @@ export enum CurrencyUnit {
2378
2564
  ZMW = "ZMW"
2379
2565
  }
2380
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"
2576
+ }
2577
+
2381
2578
  export enum DimensionUnit {
2382
2579
  /** Return the dimension in meters. */
2383
2580
  METER = "meter",
@@ -2457,7 +2654,7 @@ export type ElevationInput = {
2457
2654
  /** Type of the value of elevation. */
2458
2655
  type: DistanceUnit;
2459
2656
  /** Source of inputted data, defaults to 'manual'. */
2460
- source?: TelemetryInputSource;
2657
+ source?: Maybe<TelemetryInputSource>;
2461
2658
  };
2462
2659
 
2463
2660
  export enum ElevationUnit {
@@ -2582,45 +2779,60 @@ export enum FeatureType {
2582
2779
  FEATURE = "Feature"
2583
2780
  }
2584
2781
 
2585
- export type FluidEmissions = {
2586
- /** Total fluid emissions. */
2782
+ export type FluidEndOfLifeEmissions = {
2783
+ /** Total fluid end of life emissions. */
2587
2784
  total: Scalars["Float"];
2588
- /** Wiper fluid maintenance emissions. */
2785
+ /** Wiper fluid end of life emissions. */
2589
2786
  wiper: Scalars["Float"];
2590
- /** Brake fluid maintenance emissions. */
2787
+ /** Brake fluid end of life emissions. */
2591
2788
  brake: Scalars["Float"];
2592
- /** Powertrain coolant fluid maintenance emissions. */
2789
+ /** Powertrain coolant fluid end of life emissions. */
2593
2790
  powertrain_coolant: Scalars["Float"];
2594
- /** Transmission fluid maintenance emissions. */
2791
+ /** Transmission fluid end of life emissions. */
2595
2792
  transmission: Scalars["Float"];
2596
- /** Motor oil maintenance emissions. */
2793
+ /** Motor oil end of life emissions. */
2597
2794
  motor_oil?: Maybe<Scalars["Float"]>;
2598
2795
  };
2599
2796
 
2600
- export type FluidEmissionstotalArgs = {
2797
+ export type FluidEndOfLifeEmissionstotalArgs = {
2601
2798
  unit?: Maybe<EmissionUnit>;
2602
2799
  };
2603
2800
 
2604
- export type FluidEmissionswiperArgs = {
2801
+ export type FluidEndOfLifeEmissionswiperArgs = {
2605
2802
  unit?: Maybe<EmissionUnit>;
2606
2803
  };
2607
2804
 
2608
- export type FluidEmissionsbrakeArgs = {
2805
+ export type FluidEndOfLifeEmissionsbrakeArgs = {
2609
2806
  unit?: Maybe<EmissionUnit>;
2610
2807
  };
2611
2808
 
2612
- export type FluidEmissionspowertrain_coolantArgs = {
2809
+ export type FluidEndOfLifeEmissionspowertrain_coolantArgs = {
2613
2810
  unit?: Maybe<EmissionUnit>;
2614
2811
  };
2615
2812
 
2616
- export type FluidEmissionstransmissionArgs = {
2813
+ export type FluidEndOfLifeEmissionstransmissionArgs = {
2617
2814
  unit?: Maybe<EmissionUnit>;
2618
2815
  };
2619
2816
 
2620
- export type FluidEmissionsmotor_oilArgs = {
2817
+ export type FluidEndOfLifeEmissionsmotor_oilArgs = {
2621
2818
  unit?: Maybe<EmissionUnit>;
2622
2819
  };
2623
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
+
2624
2836
  export enum FuelConsumptionUnit {
2625
2837
  /** Return the fuel consumption in liters per 100 kilometers. */
2626
2838
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -3714,6 +3926,15 @@ export enum OICPValueAddedServices {
3714
3926
  NONE = "none"
3715
3927
  }
3716
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
+
3717
3938
  export type OdometerInput = {
3718
3939
  /** Value of the vehicle's odometer. */
3719
3940
  value: Scalars["Float"];
@@ -3772,6 +3993,13 @@ export type OperatorListQuery = {
3772
3993
  country?: Maybe<Scalars["String"]>;
3773
3994
  };
3774
3995
 
3996
+ /** Operator ranking level. */
3997
+ export enum OperatorRankingLevel {
3998
+ LOW = "low",
3999
+ MEDIUM = "medium",
4000
+ HIGH = "high"
4001
+ }
4002
+
3775
4003
  export type OutsideTempInput = {
3776
4004
  /** Value of the outside temperature. */
3777
4005
  value: Scalars["Float"];
@@ -3781,15 +4009,6 @@ export type OutsideTempInput = {
3781
4009
  source?: Maybe<TelemetryInputSource>;
3782
4010
  };
3783
4011
 
3784
- export type OutsideTemperatureInput = {
3785
- /** Value of the outside temperature. */
3786
- value: Scalars["Float"];
3787
- /** Type of the value of the outside temperature. */
3788
- type: TemperatureUnit;
3789
- /** Source of inputted data. */
3790
- source?: TelemetryInputSource;
3791
- };
3792
-
3793
4012
  export enum ParkingCost {
3794
4013
  /** Parking is free. */
3795
4014
  FREE = "free",
@@ -3982,7 +4201,7 @@ export type Query = {
3982
4201
  getRoute: RouteResponse;
3983
4202
  /** [BETA] Get emissions for a route. */
3984
4203
  getRouteEmissions: RouteDetailsEmissions;
3985
- /** [BETA] Emissions profile for route. */
4204
+ /** Emissions profile for route. */
3986
4205
  routeEmissions: RouteEmissions;
3987
4206
  /** Retrieve information about a route path segment */
3988
4207
  routePath?: Maybe<RoutePath>;
@@ -3998,8 +4217,6 @@ export type Query = {
3998
4217
  tariff?: Maybe<OCPITariff>;
3999
4218
  /** Get the full list of tariffs. */
4000
4219
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
4001
- /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
4002
- navigationMapping?: Maybe<Scalars["JSON"]>;
4003
4220
  /** Get information about a vehicle by its ID. */
4004
4221
  vehicle?: Maybe<Vehicle>;
4005
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. */
@@ -4128,13 +4345,6 @@ export type QuerytariffListArgs = {
4128
4345
  page?: Maybe<Scalars["Int"]>;
4129
4346
  };
4130
4347
 
4131
- export type QuerynavigationMappingArgs = {
4132
- id: Scalars["ID"];
4133
- provider: MappingProvider;
4134
- precision?: Maybe<Scalars["Int"]>;
4135
- language?: Maybe<MappingLanguage>;
4136
- };
4137
-
4138
4348
  export type QueryvehicleArgs = {
4139
4349
  id: Scalars["ID"];
4140
4350
  country?: Maybe<CountryCodeAlpha2>;
@@ -4646,6 +4856,8 @@ export type RouteApp = {
4646
4856
  };
4647
4857
 
4648
4858
  export type RouteDestinationFeaturePoint = {
4859
+ /** ID of the feature. */
4860
+ id?: Maybe<Scalars["ID"]>;
4649
4861
  /** Feature type. */
4650
4862
  type: FeatureType;
4651
4863
  /** Geometry of the feature. */
@@ -4655,6 +4867,8 @@ export type RouteDestinationFeaturePoint = {
4655
4867
  };
4656
4868
 
4657
4869
  export type RouteDestinationFeaturePointInput = {
4870
+ /** ID of the feature. */
4871
+ id?: Maybe<Scalars["ID"]>;
4658
4872
  /** Feature type. */
4659
4873
  type: FeatureType;
4660
4874
  /** Geometry of the feature. */
@@ -4680,10 +4894,6 @@ export type RouteDestinationPropertiesInput = {
4680
4894
  export type RouteDetails = {
4681
4895
  /** ID of a route computation. */
4682
4896
  id: Scalars["ID"];
4683
- /** Type of a computed route. */
4684
- type: RouteDetailsType;
4685
- /** Aggregation of the connectors. */
4686
- connectors: RouteDetailsConnectors;
4687
4897
  /** Total distance of a route. */
4688
4898
  distance: Scalars["Float"];
4689
4899
  /** Aggregation of all durations of a route. */
@@ -4739,29 +4949,7 @@ export type RouteDetailsAlternativeStation = {
4739
4949
  /** Status of a station. */
4740
4950
  status: ChargerStatus;
4741
4951
  /** Ranking of an operator. */
4742
- operator_ranking?: Maybe<Scalars["Int"]>;
4743
- };
4744
-
4745
- /** Aggregation of the connectors on a route. */
4746
- export type RouteDetailsConnectors = {
4747
- /** Aggregation of every connector on a route. */
4748
- all: RouteDetailsConnectorsValues;
4749
- /** Aggregation of every usable connector on a route. */
4750
- usable: RouteDetailsConnectorsValues;
4751
- };
4752
-
4753
- /** Aggregation of the connectors on a route by status. */
4754
- export type RouteDetailsConnectorsValues = {
4755
- /** Total numbers of connectors. */
4756
- total: Scalars["Int"];
4757
- /** Number of connectors with status available. */
4758
- available: Scalars["Int"];
4759
- /** Number of connectors with status occupied. */
4760
- occupied: Scalars["Int"];
4761
- /** Number of connectors with status unknown. */
4762
- unknown: Scalars["Int"];
4763
- /** Number of connectors with status out of order. */
4764
- out_of_order: Scalars["Int"];
4952
+ operator_ranking?: Maybe<OperatorRankingLevel>;
4765
4953
  };
4766
4954
 
4767
4955
  /** Aggregation of all durations of a route. */
@@ -4848,8 +5036,6 @@ export type RouteDetailsLeg = {
4848
5036
  name?: Maybe<Scalars["String"]>;
4849
5037
  /** Information about the station at the origin of this leg. */
4850
5038
  station?: Maybe<RouteDetailsLegStation>;
4851
- /** Aggregation of the connectors on the leg. */
4852
- connectors: RouteDetailsConnectors;
4853
5039
  /** Polyline containing encoded coordinates. */
4854
5040
  polyline: Scalars["String"];
4855
5041
  /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
@@ -4886,6 +5072,8 @@ export type RouteDetailsLegpolylineArgs = {
4886
5072
  };
4887
5073
 
4888
5074
  export type RouteDetailsLegFeaturePoint = {
5075
+ /** ID of the feature. */
5076
+ id?: Maybe<Scalars["ID"]>;
4889
5077
  /** Feature type. */
4890
5078
  type: FeatureType;
4891
5079
  /** Geometry of the feature. */
@@ -4902,7 +5090,7 @@ export type RouteDetailsLegFeatureProperties = {
4902
5090
  /** External ID of the station. */
4903
5091
  external_station_id?: Maybe<Scalars["ID"]>;
4904
5092
  /** Temperature at the location. */
4905
- temperature?: Maybe<Scalars["Float"]>;
5093
+ temperature?: Maybe<Scalars["Int"]>;
4906
5094
  /** Air pressure at the location. */
4907
5095
  air_pressure?: Maybe<Scalars["Float"]>;
4908
5096
  /** Solar irradiance at the location. */
@@ -4990,6 +5178,8 @@ export type RouteDetailsLegSectiondistanceArgs = {
4990
5178
  };
4991
5179
 
4992
5180
  export type RouteDetailsLegSectionFeaturePoint = {
5181
+ /** ID of the feature. */
5182
+ id?: Maybe<Scalars["ID"]>;
4993
5183
  /** Feature type. */
4994
5184
  type: FeatureType;
4995
5185
  /** Geometry of the feature. */
@@ -5025,18 +5215,10 @@ export enum RouteDetailsLegSectionType {
5025
5215
  export type RouteDetailsLegStation = {
5026
5216
  /** ID of a station. */
5027
5217
  station_id: Scalars["ID"];
5028
- /** Name of a station. */
5029
- station_name?: Maybe<Scalars["String"]>;
5030
- /** ID of an operator. */
5031
- operator_id: Scalars["ID"];
5032
- /** Name of an operator. */
5033
- operator_name?: Maybe<Scalars["String"]>;
5034
5218
  /** ID of the EVSE that was selected in a route. */
5035
- evse_uid?: Maybe<Scalars["ID"]>;
5219
+ evse_id?: Maybe<Scalars["ID"]>;
5036
5220
  /** ID of the connector that was selected in a route. */
5037
- connector_id?: Maybe<Scalars["ID"]>;
5038
- /** List of amenities present at the station. */
5039
- amenities?: Maybe<Array<AmenityType>>;
5221
+ connector_id: Scalars["ID"];
5040
5222
  };
5041
5223
 
5042
5224
  /** Type of a leg. */
@@ -5131,13 +5313,6 @@ export enum RouteDetailsTag {
5131
5313
  CROSSBORDER = "crossborder"
5132
5314
  }
5133
5315
 
5134
- /** Types of a route. */
5135
- export enum RouteDetailsType {
5136
- FASTEST = "fastest",
5137
- BEST_MATCHING = "best_matching",
5138
- ALTERNATIVE = "alternative"
5139
- }
5140
-
5141
5316
  export type RouteEmbeddedEmissions = {
5142
5317
  /** Total embedded emissions. */
5143
5318
  total: Scalars["Float"];
@@ -5253,7 +5428,7 @@ export type RouteEndOfLifeEmissions = {
5253
5428
  /** Total end of life emissions. */
5254
5429
  total: Scalars["Float"];
5255
5430
  /** Fluid related end of life emissions. */
5256
- fluids: FluidEmissions;
5431
+ fluids: FluidEndOfLifeEmissions;
5257
5432
  /** Battery related end of life emissions. */
5258
5433
  battery: Scalars["Float"];
5259
5434
  /** Tire related end of life emissions. */
@@ -5860,42 +6035,41 @@ export type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
5860
6035
 
5861
6036
  export type RouteOperationalMaintenanceEmissions = {
5862
6037
  /** Total maintenance emissions. */
5863
- total: Scalars["Float"];
6038
+ total: RouteOperationalMaintenanceEmissionsField;
5864
6039
  /** Fluid related maintenance emissions. */
5865
- fluids: FluidEmissions;
6040
+ fluids: FluidMaintenanceEmissions;
5866
6041
  /** Battery related maintenance emissions. */
5867
- battery: Scalars["Float"];
6042
+ battery: RouteOperationalMaintenanceEmissionsField;
5868
6043
  /** Tire related maintenance emissions. */
5869
- tires: Scalars["Float"];
6044
+ tires: RouteOperationalMaintenanceEmissionsField;
5870
6045
  /** Miscellaneous component maintenance emissions. */
5871
- components: Scalars["Float"];
6046
+ components: RouteOperationalMaintenanceEmissionsField;
5872
6047
  /** Accident repair related maintenance emissions. */
5873
- repair: Scalars["Float"];
5874
- };
5875
-
5876
- export type RouteOperationalMaintenanceEmissionstotalArgs = {
5877
- unit?: Maybe<EmissionUnit>;
6048
+ repair: RouteOperationalMaintenanceEmissionsField;
5878
6049
  };
5879
6050
 
5880
- export type RouteOperationalMaintenanceEmissionsbatteryArgs = {
5881
- 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"];
5882
6058
  };
5883
6059
 
5884
- export type RouteOperationalMaintenanceEmissionstiresArgs = {
6060
+ export type RouteOperationalMaintenanceEmissionsFieldtotalArgs = {
5885
6061
  unit?: Maybe<EmissionUnit>;
5886
6062
  };
5887
6063
 
5888
- export type RouteOperationalMaintenanceEmissionscomponentsArgs = {
6064
+ export type RouteOperationalMaintenanceEmissionsFieldproductionArgs = {
5889
6065
  unit?: Maybe<EmissionUnit>;
5890
6066
  };
5891
6067
 
5892
- export type RouteOperationalMaintenanceEmissionsrepairArgs = {
6068
+ export type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
5893
6069
  unit?: Maybe<EmissionUnit>;
5894
6070
  };
5895
6071
 
5896
6072
  export type RouteOperatorPreferences = {
5897
- /** Flag indicating if an operator should be preferred or required. */
5898
- type?: Maybe<RouteOperatorsType>;
5899
6073
  /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5900
6074
  ranking?: Maybe<RouteOperatorPreferencesRanking>;
5901
6075
  /** Route operators that should be excluded. */
@@ -5904,8 +6078,6 @@ export type RouteOperatorPreferences = {
5904
6078
 
5905
6079
  /** Prioritized operators for a route calculation. */
5906
6080
  export type RouteOperatorPreferencesInput = {
5907
- /** Flag indicating if the operators ranking should be preferred or required. */
5908
- type: RouteOperatorsType;
5909
6081
  /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5910
6082
  ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5911
6083
  /** Route operators that should be excluded. */
@@ -5913,49 +6085,35 @@ export type RouteOperatorPreferencesInput = {
5913
6085
  };
5914
6086
 
5915
6087
  export type RouteOperatorPreferencesRanking = {
5916
- /** Level one (most significant) for operator ranking. */
5917
- level_one?: Maybe<Array<RouteOperatorsValue>>;
5918
- /** Level two for operator ranking. */
5919
- level_two?: Maybe<Array<RouteOperatorsValue>>;
5920
- /** Level three for operator ranking. */
5921
- level_three?: Maybe<Array<RouteOperatorsValue>>;
5922
- /** Level four for operator ranking. */
5923
- level_four?: Maybe<Array<RouteOperatorsValue>>;
5924
- /** Level five for operator ranking. */
5925
- level_five?: Maybe<Array<RouteOperatorsValue>>;
5926
- /** Level six for operator ranking. */
5927
- level_six?: Maybe<Array<RouteOperatorsValue>>;
5928
- /** Level seven for operator ranking. */
5929
- level_seven?: Maybe<Array<RouteOperatorsValue>>;
5930
- /** Level eight for operator ranking. */
5931
- level_eight?: Maybe<Array<RouteOperatorsValue>>;
5932
- /** Level nine for operator ranking. */
5933
- level_nine?: Maybe<Array<RouteOperatorsValue>>;
5934
- /** Level ten for operator ranking. */
5935
- level_ten?: Maybe<Array<RouteOperatorsValue>>;
6088
+ /** Flag indicating if an operator should be preferred or required. */
6089
+ type: RouteOperatorsType;
6090
+ /** Ranking levels for operator ranking. */
6091
+ levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
5936
6092
  };
5937
6093
 
5938
6094
  export type RouteOperatorPreferencesRankingInput = {
5939
- /** Level one (most significant) for operator ranking. */
5940
- level_one?: Maybe<Array<RouteOperatorsValueInput>>;
5941
- /** Level two for operator ranking. */
5942
- level_two?: Maybe<Array<RouteOperatorsValueInput>>;
5943
- /** Level three for operator ranking. */
5944
- level_three?: Maybe<Array<RouteOperatorsValueInput>>;
5945
- /** Level four for operator ranking. */
5946
- level_four?: Maybe<Array<RouteOperatorsValueInput>>;
5947
- /** Level five for operator ranking. */
5948
- level_five?: Maybe<Array<RouteOperatorsValueInput>>;
5949
- /** Level six for operator ranking. */
5950
- level_six?: Maybe<Array<RouteOperatorsValueInput>>;
5951
- /** Level seven for operator ranking. */
5952
- level_seven?: Maybe<Array<RouteOperatorsValueInput>>;
5953
- /** Level eight for operator ranking. */
5954
- level_eight?: Maybe<Array<RouteOperatorsValueInput>>;
5955
- /** Level nine for operator ranking. */
5956
- level_nine?: Maybe<Array<RouteOperatorsValueInput>>;
5957
- /** Level ten (least significant) for operator ranking. */
5958
- level_ten?: Maybe<Array<RouteOperatorsValueInput>>;
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>>;
5959
6117
  };
5960
6118
 
5961
6119
  /** Prioritized operators for a route calculation. */
@@ -6039,18 +6197,20 @@ export enum RouteOperatorsType {
6039
6197
  export type RouteOperatorsValue = {
6040
6198
  /** ID of an operator. */
6041
6199
  id: Scalars["ID"];
6042
- /** List of country codes. */
6200
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
6043
6201
  countries?: Maybe<Array<CountryCodeAlpha2>>;
6044
6202
  };
6045
6203
 
6046
6204
  export type RouteOperatorsValueInput = {
6047
6205
  /** ID of an operator. */
6048
6206
  id: Scalars["ID"];
6049
- /** List of countries in which the operator should be excluded. When not specified the operator will be excluded in every country. */
6050
- countries: Array<CountryCodeAlpha2>;
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>>;
6051
6209
  };
6052
6210
 
6053
6211
  export type RouteOriginFeaturePoint = {
6212
+ /** ID of the feature. */
6213
+ id?: Maybe<Scalars["ID"]>;
6054
6214
  /** Feature type. */
6055
6215
  type: FeatureType;
6056
6216
  /** Geometry of the feature. */
@@ -6060,6 +6220,8 @@ export type RouteOriginFeaturePoint = {
6060
6220
  };
6061
6221
 
6062
6222
  export type RouteOriginFeaturePointInput = {
6223
+ /** ID of the feature. */
6224
+ id?: Maybe<Scalars["ID"]>;
6063
6225
  /** Feature type. */
6064
6226
  type: FeatureType;
6065
6227
  /** Geometry of the feature. */
@@ -6080,8 +6242,6 @@ export type RouteOriginPropertiesInput = {
6080
6242
  location?: Maybe<RoutePropertiesLocationInput>;
6081
6243
  /** Vehicle data at the origin location. */
6082
6244
  vehicle?: Maybe<RoutePropertiesVehicleInput>;
6083
- /** Station data at the origin location. */
6084
- station?: Maybe<RoutePropertiesStationInput>;
6085
6245
  };
6086
6246
 
6087
6247
  export type RoutePath = {
@@ -6110,14 +6270,6 @@ export type RoutePropertiesLocation = {
6110
6270
  name?: Maybe<Scalars["String"]>;
6111
6271
  /** Duration to stay at this point. */
6112
6272
  stop_duration?: Maybe<Scalars["Int"]>;
6113
- /** Temperature. */
6114
- temperature?: Maybe<Scalars["Float"]>;
6115
- /** Air pressure. */
6116
- air_pressure?: Maybe<Scalars["Float"]>;
6117
- /** Solar irradiance. */
6118
- solar_irradiance?: Maybe<Scalars["Float"]>;
6119
- /** Country. */
6120
- country?: Maybe<Array<CountryCodeAlpha2>>;
6121
6273
  };
6122
6274
 
6123
6275
  export type RoutePropertiesLocationInput = {
@@ -6266,7 +6418,7 @@ export type RouteVehicle = {
6266
6418
  /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
6267
6419
  tire_pressure?: Maybe<TirePressure>;
6268
6420
  /** Value of the vehicle's odometer. */
6269
- odometer?: Maybe<Scalars["Float"]>;
6421
+ odometer?: Maybe<Odometer>;
6270
6422
  /** Value of the auxiliary power consumption of the vehicle. */
6271
6423
  auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
6272
6424
  /** Flag which indicates if climate control is on. */
@@ -6315,7 +6467,7 @@ export type RouteVehicleBatteryInput = {
6315
6467
  /** Minimum battery state of charge. */
6316
6468
  final_state_of_charge?: Maybe<StateOfChargeInput>;
6317
6469
  /** Battery temperature. */
6318
- temperature?: Maybe<BatteryTemperatureInput>;
6470
+ temperature?: Maybe<TemperatureInput>;
6319
6471
  /** Battery current in ampere. */
6320
6472
  current?: Maybe<Scalars["Float"]>;
6321
6473
  /** Battery voltage in volts. */
@@ -6423,8 +6575,10 @@ export type RouteVehicleInput = {
6423
6575
  heat_pump?: Maybe<HeatPumpMode>;
6424
6576
  /** Vehicle cabin configuration for creating the route. */
6425
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"]>;
6426
6580
  /** Outside temperature. */
6427
- outside_temperature?: Maybe<OutsideTemperatureInput>;
6581
+ outside_temperature?: Maybe<TemperatureInput>;
6428
6582
  /** Vehicle is in park, neutral or turned off. */
6429
6583
  is_parked?: Maybe<Scalars["Boolean"]>;
6430
6584
  /** Vehicle speed. */
@@ -6485,6 +6639,8 @@ export type RouteVehicleOperationalEmissionstotalArgs = {
6485
6639
  };
6486
6640
 
6487
6641
  export type RouteViaFeaturePoint = {
6642
+ /** ID of the feature. */
6643
+ id?: Maybe<Scalars["ID"]>;
6488
6644
  /** Feature type. */
6489
6645
  type: FeatureType;
6490
6646
  /** Geometry of the feature. */
@@ -6494,6 +6650,8 @@ export type RouteViaFeaturePoint = {
6494
6650
  };
6495
6651
 
6496
6652
  export type RouteViaFeaturePointInput = {
6653
+ /** ID of the feature. */
6654
+ id?: Maybe<Scalars["ID"]>;
6497
6655
  /** Feature type. */
6498
6656
  type: FeatureType;
6499
6657
  /** Geometry of the feature. */
@@ -6504,20 +6662,20 @@ export type RouteViaFeaturePointInput = {
6504
6662
 
6505
6663
  export type RouteViaProperties = {
6506
6664
  /** Location data of the via point. */
6507
- location: RoutePropertiesLocation;
6665
+ location?: Maybe<RoutePropertiesLocation>;
6508
6666
  /** Vehicle data of the via point. */
6509
- vehicle: RoutePropertiesVehicle;
6667
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6510
6668
  /** Station data of the via point. */
6511
- station: RoutePropertiesStation;
6669
+ station?: Maybe<RoutePropertiesStation>;
6512
6670
  };
6513
6671
 
6514
6672
  export type RouteViaPropertiesInput = {
6515
6673
  /** Location data of the via point. */
6516
- location: RoutePropertiesLocationInput;
6674
+ location?: Maybe<RoutePropertiesLocationInput>;
6517
6675
  /** Vehicle data of the via point. */
6518
- vehicle: RoutePropertiesVehicleInput;
6676
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6519
6677
  /** Station data of the via point. */
6520
- station: RoutePropertiesStationInput;
6678
+ station?: Maybe<RoutePropertiesStationInput>;
6521
6679
  };
6522
6680
 
6523
6681
  /** Scheduled charge stop along a route. */
@@ -6663,7 +6821,10 @@ export type Station = {
6663
6821
  location_category?: Maybe<Scalars["String"]>;
6664
6822
  /** Coordinates for the location's entrances in decimal degrees. If available, there can be more than one entrances to the location. */
6665
6823
  entrance_for_navigation?: Maybe<Array<OCPIAdditionalGeoLocation>>;
6666
- /** 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
+ */
6667
6828
  properties?: Maybe<Scalars["JSON"]>;
6668
6829
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
6669
6830
  realtime?: Maybe<Scalars["Boolean"]>;
@@ -7189,8 +7350,6 @@ export type Temperature = {
7189
7350
  value: Scalars["Float"];
7190
7351
  /** Type of temperature. */
7191
7352
  type: TemperatureUnit;
7192
- /** Source of inputted data. */
7193
- source: TelemetryInputSource;
7194
7353
  };
7195
7354
 
7196
7355
  export type TemperatureInput = {
@@ -7198,8 +7357,6 @@ export type TemperatureInput = {
7198
7357
  value: Scalars["Float"];
7199
7358
  /** Type of temperature. */
7200
7359
  type: TemperatureUnit;
7201
- /** Source of inputted data. */
7202
- source?: TelemetryInputSource;
7203
7360
  };
7204
7361
 
7205
7362
  /** Temperature unit. */
@@ -8696,18 +8853,6 @@ export type VehicleSpeedInput = {
8696
8853
  source?: TelemetryInputSource;
8697
8854
  };
8698
8855
 
8699
- /** Status of a vehicle. */
8700
- export enum VehicleStatus {
8701
- /** Is being reviewed by a human operator. */
8702
- DRAFT = "draft",
8703
- /** Is public and can be used by a customer. */
8704
- PUBLIC = "public",
8705
- /** Is private and can be used by a human operator. */
8706
- PRIVATE = "private",
8707
- /** Is archived and can not be used. */
8708
- ARCHIVED = "archived"
8709
- }
8710
-
8711
8856
  export type VehicleToEverything = {
8712
8857
  /** Information about Vehicle-to-Load. */
8713
8858
  vehicle_to_load?: Maybe<VehicleToEverythingLoad>;