@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.
@@ -209,7 +209,7 @@ export declare type BatteryTemperatureInput = {
209
209
  /** Type of temperature of the battery. */
210
210
  type: TemperatureUnit;
211
211
  /** Source of inputted data, defaults to 'manual'. */
212
- source?: TelemetryInputSource;
212
+ source?: Maybe<TelemetryInputSource>;
213
213
  };
214
214
  /** Deprecated: In favour of Vehicle. */
215
215
  export declare type Car = {
@@ -1683,8 +1683,13 @@ export declare type Connector = {
1683
1683
  properties?: Maybe<Scalars["JSON"]>;
1684
1684
  /** List of valid charging tariffs. */
1685
1685
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1686
- /** Charging prices. */
1686
+ /**
1687
+ * Charging prices.
1688
+ * @deprecated In favor of prices.
1689
+ */
1687
1690
  pricing?: Maybe<Pricing>;
1691
+ /** Dynamic charging prices. */
1692
+ prices?: Maybe<Array<ConnectorPrice>>;
1688
1693
  /** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database. */
1689
1694
  custom_properties?: Maybe<ConnectorCustomProperties>;
1690
1695
  };
@@ -1692,12 +1697,180 @@ export declare type Connector = {
1692
1697
  export declare type ConnectorCustomProperties = {
1693
1698
  /**
1694
1699
  * Charging prices.
1695
- * @deprecated In favor of connector.pricing
1700
+ * @deprecated In favor of connector.prices.
1696
1701
  */
1697
1702
  pricing?: Maybe<Pricing>;
1698
1703
  /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
1699
1704
  oicp?: Maybe<OICPConnectorCustomProperties>;
1700
1705
  };
1706
+ /** Connector charging price. */
1707
+ export declare type ConnectorPrice = {
1708
+ /** ID for the price. */
1709
+ external_id: Scalars["String"];
1710
+ /** Owner of the payment product. */
1711
+ partner?: Maybe<Scalars["String"]>;
1712
+ /** ID for the owner of the payment product. */
1713
+ partner_id: Scalars["String"];
1714
+ /** Payment product. */
1715
+ product: ConnectorPriceProduct;
1716
+ /** Price product elements. */
1717
+ elements: Array<ConnectorPriceElement>;
1718
+ /** Indicates when the pricing data was last updated. The date is in ISO 8601 standard and the time zone is UTC. The update could be a price update or any other update (for example, pricing type update). */
1719
+ last_updated?: Maybe<Scalars["DateTime"]>;
1720
+ };
1721
+ export declare type ConnectorPriceElement = {
1722
+ /** Connector price element components. */
1723
+ components: Array<ConnectorPriceElementComponent>;
1724
+ /** Connector price element restrictions. */
1725
+ restrictions?: Maybe<ConnectorPriceElementRestrictions>;
1726
+ };
1727
+ export declare type ConnectorPriceElementComponent = {
1728
+ /** Type of pricing that is applicable. */
1729
+ type: ConnectorPriceElementComponentType;
1730
+ /** Applicable price excluding VAT. */
1731
+ price_excl_vat: Scalars["Float"];
1732
+ /** Applicable VAT. */
1733
+ vat: Scalars["Float"];
1734
+ /**
1735
+ * Indicates the minimum amount that is billed. A
1736
+ * unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
1737
+ *
1738
+ * Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.
1739
+ */
1740
+ step_size: Scalars["Int"];
1741
+ };
1742
+ /** Type of pricing that is applicable. */
1743
+ export declare enum ConnectorPriceElementComponentType {
1744
+ /** Price per kWh. */
1745
+ ENERGY = "energy",
1746
+ /** Fixed price per charging session. */
1747
+ FLAT = "flat",
1748
+ /** Parking price per hour. This fee is applicable even if the parked car is not charging. */
1749
+ PARKING_TIME = "parking_time",
1750
+ /** Fixed price per hour. */
1751
+ TIME = "time"
1752
+ }
1753
+ export declare type ConnectorPriceElementRestrictions = {
1754
+ /** Starting time of the day for the prices. */
1755
+ start_time?: Maybe<Scalars["String"]>;
1756
+ /** Ending time of the day for the prices. */
1757
+ end_time?: Maybe<Scalars["String"]>;
1758
+ /** Starting date for the prices. */
1759
+ start_date?: Maybe<Scalars["String"]>;
1760
+ /** Ending date for the prices. */
1761
+ end_date?: Maybe<Scalars["String"]>;
1762
+ /** Minimum energy used, in kWh. */
1763
+ minimum_kwh?: Maybe<Scalars["Float"]>;
1764
+ /** Maximum energy used, in kWh. */
1765
+ maximum_kwh?: Maybe<Scalars["Float"]>;
1766
+ /** Minimum charging speed, in kW. */
1767
+ minimum_power?: Maybe<Scalars["Float"]>;
1768
+ /** Maximum charging speed, in kW. */
1769
+ maximum_power?: Maybe<Scalars["Float"]>;
1770
+ /** Sum of the minimum current (in Amperes) over all the phases. When the EV is charging with more than or equal to this value the prices are active. If the charging current is lower, this price is inactive. */
1771
+ minimum_current?: Maybe<Scalars["Float"]>;
1772
+ /** Sum of the maximum current (in Amperes) over all the phases. When the EV is charging with less than this value the prices are active. If the charging current is higher, this price is inactive. */
1773
+ maximum_current?: Maybe<Scalars["Float"]>;
1774
+ /** Minimum price based on the amount of kWh that is being delivered. */
1775
+ minimum_price?: Maybe<Scalars["Float"]>;
1776
+ /** Maximum price based on the amount of kWh that is being delivered. */
1777
+ maximum_price?: Maybe<Scalars["Float"]>;
1778
+ /** Battery percentage at which the overstay prices are active. */
1779
+ overstay_battery_percentage?: Maybe<ConnectorPriceRestrictionsOverstayBatteryPercentage>;
1780
+ /** Time after which the overstay prices are active. */
1781
+ overstay_time?: Maybe<ConnectorPriceRestrictionsOverstayTime>;
1782
+ /** Minimum duration, in seconds. */
1783
+ minimum_duration?: Maybe<Scalars["Int"]>;
1784
+ /** Maximum duration, in seconds. */
1785
+ maximum_duration?: Maybe<Scalars["Int"]>;
1786
+ /** Day(s) of the week that the prices are valid. */
1787
+ day_of_week?: Maybe<Array<DayOfWeek>>;
1788
+ /** Contract signed between the eMSP and the customer. */
1789
+ emsp_contract_date?: Maybe<ConnectorPriceRestrictionsEmspContractDate>;
1790
+ /**
1791
+ * When this field is present, the ConnectorPriceElement describes reservation costs.
1792
+ * A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
1793
+ * or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
1794
+ * where time is for the duration of the reservation.
1795
+ *
1796
+ * When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
1797
+ * where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
1798
+ * then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
1799
+ */
1800
+ reservation?: Maybe<ConnectorPriceRestrictionsReservationType>;
1801
+ };
1802
+ /** Payment product. */
1803
+ export declare type ConnectorPriceProduct = {
1804
+ /** Name of the payment product. */
1805
+ name: Scalars["String"];
1806
+ /** Type of the payment product. */
1807
+ type: ConnectorPriceProductType;
1808
+ /** A brief description of the product. */
1809
+ description: Scalars["String"];
1810
+ /** Indicates the type of subscription. */
1811
+ subscription_type: ConnectorPriceProductSubscriptionType;
1812
+ /** Subscription price for a month or year, excluding VAT, if applicable. */
1813
+ subscription_fee_excl_vat: Scalars["Float"];
1814
+ /** Three-digit currency code of the country where the charging station is located. */
1815
+ currency: CurrencyUnit;
1816
+ };
1817
+ /** Type of the payment product. */
1818
+ export declare enum ConnectorPriceProductSubscriptionType {
1819
+ /** The subscription fee is applicable every month. */
1820
+ MONTHLY = "monthly",
1821
+ /** The subscription fee is applicable every year. */
1822
+ YEARLY = "yearly",
1823
+ /** An initial fee is applicable to purchase a RFID card or chip, but there isn't a recurring subscription fee. */
1824
+ ONE_OFF = "one_off",
1825
+ /** The product doesn’t have a subscription option. */
1826
+ NOT_APPLICABLE = "not_applicable"
1827
+ }
1828
+ /** Type of the payment product. */
1829
+ export declare enum ConnectorPriceProductType {
1830
+ AD_HOC = "ad_hoc",
1831
+ MSP = "msp",
1832
+ CPO_SUBSCRIPTION = "cpo_subscription"
1833
+ }
1834
+ export declare type ConnectorPriceRestrictionsEmspContractDate = {
1835
+ /** Name of the contract signed between the eMSP and a customer. */
1836
+ name?: Maybe<Scalars["String"]>;
1837
+ /** Prices are active from this date, which is based on the contract signed between the eMSP and a customer. */
1838
+ from?: Maybe<Scalars["String"]>;
1839
+ /** Prices are active until this date, which is based on the contract signed between the eMSP and a customer. */
1840
+ to?: Maybe<Scalars["String"]>;
1841
+ };
1842
+ export declare type ConnectorPriceRestrictionsOverstayBatteryPercentage = {
1843
+ /** Battery percentage at which the overstay prices are active. */
1844
+ minimum?: Maybe<Scalars["Int"]>;
1845
+ /** Battery percentage at which the overstay prices are inactive. */
1846
+ maximum?: Maybe<Scalars["Int"]>;
1847
+ /** Unit for the time after which the prices are active. */
1848
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1849
+ };
1850
+ export declare type ConnectorPriceRestrictionsOverstayTime = {
1851
+ /** Time at which the overstay prices are active. */
1852
+ minimum?: Maybe<Scalars["Int"]>;
1853
+ /** Time at which the overstay prices are inactive. */
1854
+ maximum?: Maybe<Scalars["Int"]>;
1855
+ /** Unit for the time after which the prices are active. */
1856
+ unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
1857
+ };
1858
+ /** The unit of time after which the overstay restrictions are applicable. */
1859
+ export declare enum ConnectorPriceRestrictionsOverstayTimeUnit {
1860
+ /** The overstay restrictions are applicable after a certain number of seconds. */
1861
+ SECONDS = "seconds",
1862
+ /** The overstay restrictions are applicable after a certain number of minutes. */
1863
+ MINUTES = "minutes",
1864
+ /** The overstay restrictions are applicable after a certain number of hours. */
1865
+ HOURS = "hours"
1866
+ }
1867
+ /** Describes the cost associated with reserving a charging station. */
1868
+ export declare enum ConnectorPriceRestrictionsReservationType {
1869
+ /** Describes costs for a reservation. */
1870
+ RESERVATION = "reservation",
1871
+ /** Describes costs for a reservation that expires (i.e. driver does not start a charging session before expiry date of the reservation). */
1872
+ RESERVATION_EXPIRES = "reservation_expires"
1873
+ }
1701
1874
  /** The socket or plug standard of the charging point. */
1702
1875
  export declare enum ConnectorType {
1703
1876
  /** The connector type is CHAdeMO, DC. */
@@ -2114,8 +2287,6 @@ export declare type CreateRouteInput = {
2114
2287
  season?: Maybe<RouteSeason>;
2115
2288
  /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2116
2289
  alternative_station_radius?: Maybe<Scalars["Int"]>;
2117
- /** Current elevation. */
2118
- elevation?: Maybe<ElevationInput>;
2119
2290
  /** Route departure time. */
2120
2291
  departure_time?: Maybe<Scalars["DateTime"]>;
2121
2292
  };
@@ -2259,6 +2430,16 @@ export declare enum CurrencyUnit {
2259
2430
  ZAR = "ZAR",
2260
2431
  ZMW = "ZMW"
2261
2432
  }
2433
+ /** Represents a day of the week. */
2434
+ export declare enum DayOfWeek {
2435
+ MONDAY = "monday",
2436
+ TUESDAY = "tuesday",
2437
+ WEDNESDAY = "wednesday",
2438
+ THURSDAY = "thursday",
2439
+ FRIDAY = "friday",
2440
+ SATURDAY = "saturday",
2441
+ SUNDAY = "sunday"
2442
+ }
2262
2443
  export declare enum DimensionUnit {
2263
2444
  /** Return the dimension in meters. */
2264
2445
  METER = "meter",
@@ -2333,7 +2514,7 @@ export declare type ElevationInput = {
2333
2514
  /** Type of the value of elevation. */
2334
2515
  type: DistanceUnit;
2335
2516
  /** Source of inputted data, defaults to 'manual'. */
2336
- source?: TelemetryInputSource;
2517
+ source?: Maybe<TelemetryInputSource>;
2337
2518
  };
2338
2519
  export declare enum ElevationUnit {
2339
2520
  /** Return the elevation in meters. */
@@ -2442,38 +2623,52 @@ export declare type FeaturePointPolygonPropertiesInput = {
2442
2623
  export declare enum FeatureType {
2443
2624
  FEATURE = "Feature"
2444
2625
  }
2445
- export declare type FluidEmissions = {
2446
- /** Total fluid emissions. */
2626
+ export declare type FluidEndOfLifeEmissions = {
2627
+ /** Total fluid end of life emissions. */
2447
2628
  total: Scalars["Float"];
2448
- /** Wiper fluid maintenance emissions. */
2629
+ /** Wiper fluid end of life emissions. */
2449
2630
  wiper: Scalars["Float"];
2450
- /** Brake fluid maintenance emissions. */
2631
+ /** Brake fluid end of life emissions. */
2451
2632
  brake: Scalars["Float"];
2452
- /** Powertrain coolant fluid maintenance emissions. */
2633
+ /** Powertrain coolant fluid end of life emissions. */
2453
2634
  powertrain_coolant: Scalars["Float"];
2454
- /** Transmission fluid maintenance emissions. */
2635
+ /** Transmission fluid end of life emissions. */
2455
2636
  transmission: Scalars["Float"];
2456
- /** Motor oil maintenance emissions. */
2637
+ /** Motor oil end of life emissions. */
2457
2638
  motor_oil?: Maybe<Scalars["Float"]>;
2458
2639
  };
2459
- export declare type FluidEmissionstotalArgs = {
2640
+ export declare type FluidEndOfLifeEmissionstotalArgs = {
2460
2641
  unit?: Maybe<EmissionUnit>;
2461
2642
  };
2462
- export declare type FluidEmissionswiperArgs = {
2643
+ export declare type FluidEndOfLifeEmissionswiperArgs = {
2463
2644
  unit?: Maybe<EmissionUnit>;
2464
2645
  };
2465
- export declare type FluidEmissionsbrakeArgs = {
2646
+ export declare type FluidEndOfLifeEmissionsbrakeArgs = {
2466
2647
  unit?: Maybe<EmissionUnit>;
2467
2648
  };
2468
- export declare type FluidEmissionspowertrain_coolantArgs = {
2649
+ export declare type FluidEndOfLifeEmissionspowertrain_coolantArgs = {
2469
2650
  unit?: Maybe<EmissionUnit>;
2470
2651
  };
2471
- export declare type FluidEmissionstransmissionArgs = {
2652
+ export declare type FluidEndOfLifeEmissionstransmissionArgs = {
2472
2653
  unit?: Maybe<EmissionUnit>;
2473
2654
  };
2474
- export declare type FluidEmissionsmotor_oilArgs = {
2655
+ export declare type FluidEndOfLifeEmissionsmotor_oilArgs = {
2475
2656
  unit?: Maybe<EmissionUnit>;
2476
2657
  };
2658
+ export declare type FluidMaintenanceEmissions = {
2659
+ /** Total fluid maintenance emissions. */
2660
+ total: RouteOperationalMaintenanceEmissionsField;
2661
+ /** Wiper fluid maintenance emissions. */
2662
+ wiper: RouteOperationalMaintenanceEmissionsField;
2663
+ /** Brake fluid maintenance emissions. */
2664
+ brake: RouteOperationalMaintenanceEmissionsField;
2665
+ /** Powertrain coolant fluid maintenance emissions. */
2666
+ powertrain_coolant: RouteOperationalMaintenanceEmissionsField;
2667
+ /** Transmission fluid maintenance emissions. */
2668
+ transmission: RouteOperationalMaintenanceEmissionsField;
2669
+ /** Motor oil maintenance emissions. */
2670
+ motor_oil?: Maybe<RouteOperationalMaintenanceEmissionsField>;
2671
+ };
2477
2672
  export declare enum FuelConsumptionUnit {
2478
2673
  /** Return the fuel consumption in liters per 100 kilometers. */
2479
2674
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -3471,6 +3666,14 @@ export declare enum OICPValueAddedServices {
3471
3666
  ROOF_PROVIDED = "roof_provided",
3472
3667
  NONE = "none"
3473
3668
  }
3669
+ export declare type Odometer = {
3670
+ /** Value of the vehicle's odometer. */
3671
+ value: Scalars["Float"];
3672
+ /** Type of the value of the vehicle's odometer. */
3673
+ type: DistanceUnit;
3674
+ /** Source of inputted data. */
3675
+ source: TelemetryInputSource;
3676
+ };
3474
3677
  export declare type OdometerInput = {
3475
3678
  /** Value of the vehicle's odometer. */
3476
3679
  value: Scalars["Float"];
@@ -3525,6 +3728,12 @@ export declare type OperatorListQuery = {
3525
3728
  /** Exact country code. */
3526
3729
  country?: Maybe<Scalars["String"]>;
3527
3730
  };
3731
+ /** Operator ranking level. */
3732
+ export declare enum OperatorRankingLevel {
3733
+ LOW = "low",
3734
+ MEDIUM = "medium",
3735
+ HIGH = "high"
3736
+ }
3528
3737
  export declare type OutsideTempInput = {
3529
3738
  /** Value of the outside temperature. */
3530
3739
  value: Scalars["Float"];
@@ -3533,14 +3742,6 @@ export declare type OutsideTempInput = {
3533
3742
  /** Source of inputted data, defaults to 'manual'. */
3534
3743
  source?: Maybe<TelemetryInputSource>;
3535
3744
  };
3536
- export declare type OutsideTemperatureInput = {
3537
- /** Value of the outside temperature. */
3538
- value: Scalars["Float"];
3539
- /** Type of the value of the outside temperature. */
3540
- type: TemperatureUnit;
3541
- /** Source of inputted data. */
3542
- source?: TelemetryInputSource;
3543
- };
3544
3745
  export declare enum ParkingCost {
3545
3746
  /** Parking is free. */
3546
3747
  FREE = "free",
@@ -3715,7 +3916,7 @@ export declare type Query = {
3715
3916
  getRoute: RouteResponse;
3716
3917
  /** [BETA] Get emissions for a route. */
3717
3918
  getRouteEmissions: RouteDetailsEmissions;
3718
- /** [BETA] Emissions profile for route. */
3919
+ /** Emissions profile for route. */
3719
3920
  routeEmissions: RouteEmissions;
3720
3921
  /** Retrieve information about a route path segment */
3721
3922
  routePath?: Maybe<RoutePath>;
@@ -3731,8 +3932,6 @@ export declare type Query = {
3731
3932
  tariff?: Maybe<OCPITariff>;
3732
3933
  /** Get the full list of tariffs. */
3733
3934
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3734
- /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3735
- navigationMapping?: Maybe<Scalars["JSON"]>;
3736
3935
  /** Get information about a vehicle by its ID. */
3737
3936
  vehicle?: Maybe<Vehicle>;
3738
3937
  /** Vehicle premium data provides even more information about your vehicle: tire pressure, prices, drivetrain data, and more. Please contact us for access to premium data. */
@@ -3837,12 +4036,6 @@ export declare type QuerytariffListArgs = {
3837
4036
  size?: Maybe<Scalars["Int"]>;
3838
4037
  page?: Maybe<Scalars["Int"]>;
3839
4038
  };
3840
- export declare type QuerynavigationMappingArgs = {
3841
- id: Scalars["ID"];
3842
- provider: MappingProvider;
3843
- precision?: Maybe<Scalars["Int"]>;
3844
- language?: Maybe<MappingLanguage>;
3845
- };
3846
4039
  export declare type QueryvehicleArgs = {
3847
4040
  id: Scalars["ID"];
3848
4041
  country?: Maybe<CountryCodeAlpha2>;
@@ -4319,6 +4512,8 @@ export declare type RouteApp = {
4319
4512
  id?: Maybe<Scalars["ID"]>;
4320
4513
  };
4321
4514
  export declare type RouteDestinationFeaturePoint = {
4515
+ /** ID of the feature. */
4516
+ id?: Maybe<Scalars["ID"]>;
4322
4517
  /** Feature type. */
4323
4518
  type: FeatureType;
4324
4519
  /** Geometry of the feature. */
@@ -4327,6 +4522,8 @@ export declare type RouteDestinationFeaturePoint = {
4327
4522
  properties?: Maybe<RouteDestinationProperties>;
4328
4523
  };
4329
4524
  export declare type RouteDestinationFeaturePointInput = {
4525
+ /** ID of the feature. */
4526
+ id?: Maybe<Scalars["ID"]>;
4330
4527
  /** Feature type. */
4331
4528
  type: FeatureType;
4332
4529
  /** Geometry of the feature. */
@@ -4349,10 +4546,6 @@ export declare type RouteDestinationPropertiesInput = {
4349
4546
  export declare type RouteDetails = {
4350
4547
  /** ID of a route computation. */
4351
4548
  id: Scalars["ID"];
4352
- /** Type of a computed route. */
4353
- type: RouteDetailsType;
4354
- /** Aggregation of the connectors. */
4355
- connectors: RouteDetailsConnectors;
4356
4549
  /** Total distance of a route. */
4357
4550
  distance: Scalars["Float"];
4358
4551
  /** Aggregation of all durations of a route. */
@@ -4403,27 +4596,7 @@ export declare type RouteDetailsAlternativeStation = {
4403
4596
  /** Status of a station. */
4404
4597
  status: ChargerStatus;
4405
4598
  /** Ranking of an operator. */
4406
- operator_ranking?: Maybe<Scalars["Int"]>;
4407
- };
4408
- /** Aggregation of the connectors on a route. */
4409
- export declare type RouteDetailsConnectors = {
4410
- /** Aggregation of every connector on a route. */
4411
- all: RouteDetailsConnectorsValues;
4412
- /** Aggregation of every usable connector on a route. */
4413
- usable: RouteDetailsConnectorsValues;
4414
- };
4415
- /** Aggregation of the connectors on a route by status. */
4416
- export declare type RouteDetailsConnectorsValues = {
4417
- /** Total numbers of connectors. */
4418
- total: Scalars["Int"];
4419
- /** Number of connectors with status available. */
4420
- available: Scalars["Int"];
4421
- /** Number of connectors with status occupied. */
4422
- occupied: Scalars["Int"];
4423
- /** Number of connectors with status unknown. */
4424
- unknown: Scalars["Int"];
4425
- /** Number of connectors with status out of order. */
4426
- out_of_order: Scalars["Int"];
4599
+ operator_ranking?: Maybe<OperatorRankingLevel>;
4427
4600
  };
4428
4601
  /** Aggregation of all durations of a route. */
4429
4602
  export declare type RouteDetailsDurations = {
@@ -4500,8 +4673,6 @@ export declare type RouteDetailsLeg = {
4500
4673
  name?: Maybe<Scalars["String"]>;
4501
4674
  /** Information about the station at the origin of this leg. */
4502
4675
  station?: Maybe<RouteDetailsLegStation>;
4503
- /** Aggregation of the connectors on the leg. */
4504
- connectors: RouteDetailsConnectors;
4505
4676
  /** Polyline containing encoded coordinates. */
4506
4677
  polyline: Scalars["String"];
4507
4678
  /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
@@ -4532,6 +4703,8 @@ export declare type RouteDetailsLegpolylineArgs = {
4532
4703
  decimals: PolylineInputDecimals;
4533
4704
  };
4534
4705
  export declare type RouteDetailsLegFeaturePoint = {
4706
+ /** ID of the feature. */
4707
+ id?: Maybe<Scalars["ID"]>;
4535
4708
  /** Feature type. */
4536
4709
  type: FeatureType;
4537
4710
  /** Geometry of the feature. */
@@ -4547,7 +4720,7 @@ export declare type RouteDetailsLegFeatureProperties = {
4547
4720
  /** External ID of the station. */
4548
4721
  external_station_id?: Maybe<Scalars["ID"]>;
4549
4722
  /** Temperature at the location. */
4550
- temperature?: Maybe<Scalars["Float"]>;
4723
+ temperature?: Maybe<Scalars["Int"]>;
4551
4724
  /** Air pressure at the location. */
4552
4725
  air_pressure?: Maybe<Scalars["Float"]>;
4553
4726
  /** Solar irradiance at the location. */
@@ -4626,6 +4799,8 @@ export declare type RouteDetailsLegSectiondistanceArgs = {
4626
4799
  unit?: Maybe<DistanceUnit>;
4627
4800
  };
4628
4801
  export declare type RouteDetailsLegSectionFeaturePoint = {
4802
+ /** ID of the feature. */
4803
+ id?: Maybe<Scalars["ID"]>;
4629
4804
  /** Feature type. */
4630
4805
  type: FeatureType;
4631
4806
  /** Geometry of the feature. */
@@ -4656,18 +4831,10 @@ export declare enum RouteDetailsLegSectionType {
4656
4831
  export declare type RouteDetailsLegStation = {
4657
4832
  /** ID of a station. */
4658
4833
  station_id: Scalars["ID"];
4659
- /** Name of a station. */
4660
- station_name?: Maybe<Scalars["String"]>;
4661
- /** ID of an operator. */
4662
- operator_id: Scalars["ID"];
4663
- /** Name of an operator. */
4664
- operator_name?: Maybe<Scalars["String"]>;
4665
4834
  /** ID of the EVSE that was selected in a route. */
4666
- evse_uid?: Maybe<Scalars["ID"]>;
4835
+ evse_id?: Maybe<Scalars["ID"]>;
4667
4836
  /** ID of the connector that was selected in a route. */
4668
- connector_id?: Maybe<Scalars["ID"]>;
4669
- /** List of amenities present at the station. */
4670
- amenities?: Maybe<Array<AmenityType>>;
4837
+ connector_id: Scalars["ID"];
4671
4838
  };
4672
4839
  /** Type of a leg. */
4673
4840
  export declare enum RouteDetailsLegType {
@@ -4750,12 +4917,6 @@ export declare enum RouteDetailsTag {
4750
4917
  WALKING = "walking",
4751
4918
  CROSSBORDER = "crossborder"
4752
4919
  }
4753
- /** Types of a route. */
4754
- export declare enum RouteDetailsType {
4755
- FASTEST = "fastest",
4756
- BEST_MATCHING = "best_matching",
4757
- ALTERNATIVE = "alternative"
4758
- }
4759
4920
  export declare type RouteEmbeddedEmissions = {
4760
4921
  /** Total embedded emissions. */
4761
4922
  total: Scalars["Float"];
@@ -4852,7 +5013,7 @@ export declare type RouteEndOfLifeEmissions = {
4852
5013
  /** Total end of life emissions. */
4853
5014
  total: Scalars["Float"];
4854
5015
  /** Fluid related end of life emissions. */
4855
- fluids: FluidEmissions;
5016
+ fluids: FluidEndOfLifeEmissions;
4856
5017
  /** Battery related end of life emissions. */
4857
5018
  battery: Scalars["Float"];
4858
5019
  /** Tire related end of life emissions. */
@@ -5397,36 +5558,36 @@ export declare type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
5397
5558
  };
5398
5559
  export declare type RouteOperationalMaintenanceEmissions = {
5399
5560
  /** Total maintenance emissions. */
5400
- total: Scalars["Float"];
5561
+ total: RouteOperationalMaintenanceEmissionsField;
5401
5562
  /** Fluid related maintenance emissions. */
5402
- fluids: FluidEmissions;
5563
+ fluids: FluidMaintenanceEmissions;
5403
5564
  /** Battery related maintenance emissions. */
5404
- battery: Scalars["Float"];
5565
+ battery: RouteOperationalMaintenanceEmissionsField;
5405
5566
  /** Tire related maintenance emissions. */
5406
- tires: Scalars["Float"];
5567
+ tires: RouteOperationalMaintenanceEmissionsField;
5407
5568
  /** Miscellaneous component maintenance emissions. */
5408
- components: Scalars["Float"];
5569
+ components: RouteOperationalMaintenanceEmissionsField;
5409
5570
  /** Accident repair related maintenance emissions. */
5410
- repair: Scalars["Float"];
5571
+ repair: RouteOperationalMaintenanceEmissionsField;
5411
5572
  };
5412
- export declare type RouteOperationalMaintenanceEmissionstotalArgs = {
5413
- unit?: Maybe<EmissionUnit>;
5414
- };
5415
- export declare type RouteOperationalMaintenanceEmissionsbatteryArgs = {
5416
- unit?: Maybe<EmissionUnit>;
5573
+ export declare type RouteOperationalMaintenanceEmissionsField = {
5574
+ /** Total emissions. */
5575
+ total: Scalars["Float"];
5576
+ /** Emissions from replacement production and transport. */
5577
+ production: Scalars["Float"];
5578
+ /** Emissions from disposal. */
5579
+ disposal: Scalars["Float"];
5417
5580
  };
5418
- export declare type RouteOperationalMaintenanceEmissionstiresArgs = {
5581
+ export declare type RouteOperationalMaintenanceEmissionsFieldtotalArgs = {
5419
5582
  unit?: Maybe<EmissionUnit>;
5420
5583
  };
5421
- export declare type RouteOperationalMaintenanceEmissionscomponentsArgs = {
5584
+ export declare type RouteOperationalMaintenanceEmissionsFieldproductionArgs = {
5422
5585
  unit?: Maybe<EmissionUnit>;
5423
5586
  };
5424
- export declare type RouteOperationalMaintenanceEmissionsrepairArgs = {
5587
+ export declare type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
5425
5588
  unit?: Maybe<EmissionUnit>;
5426
5589
  };
5427
5590
  export declare type RouteOperatorPreferences = {
5428
- /** Flag indicating if an operator should be preferred or required. */
5429
- type?: Maybe<RouteOperatorsType>;
5430
5591
  /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5431
5592
  ranking?: Maybe<RouteOperatorPreferencesRanking>;
5432
5593
  /** Route operators that should be excluded. */
@@ -5434,56 +5595,38 @@ export declare type RouteOperatorPreferences = {
5434
5595
  };
5435
5596
  /** Prioritized operators for a route calculation. */
5436
5597
  export declare type RouteOperatorPreferencesInput = {
5437
- /** Flag indicating if the operators ranking should be preferred or required. */
5438
- type: RouteOperatorsType;
5439
5598
  /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5440
5599
  ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5441
5600
  /** Route operators that should be excluded. */
5442
5601
  exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5443
5602
  };
5444
5603
  export declare type RouteOperatorPreferencesRanking = {
5445
- /** Level one (most significant) for operator ranking. */
5446
- level_one?: Maybe<Array<RouteOperatorsValue>>;
5447
- /** Level two for operator ranking. */
5448
- level_two?: Maybe<Array<RouteOperatorsValue>>;
5449
- /** Level three for operator ranking. */
5450
- level_three?: Maybe<Array<RouteOperatorsValue>>;
5451
- /** Level four for operator ranking. */
5452
- level_four?: Maybe<Array<RouteOperatorsValue>>;
5453
- /** Level five for operator ranking. */
5454
- level_five?: Maybe<Array<RouteOperatorsValue>>;
5455
- /** Level six for operator ranking. */
5456
- level_six?: Maybe<Array<RouteOperatorsValue>>;
5457
- /** Level seven for operator ranking. */
5458
- level_seven?: Maybe<Array<RouteOperatorsValue>>;
5459
- /** Level eight for operator ranking. */
5460
- level_eight?: Maybe<Array<RouteOperatorsValue>>;
5461
- /** Level nine for operator ranking. */
5462
- level_nine?: Maybe<Array<RouteOperatorsValue>>;
5463
- /** Level ten for operator ranking. */
5464
- level_ten?: Maybe<Array<RouteOperatorsValue>>;
5604
+ /** Flag indicating if an operator should be preferred or required. */
5605
+ type: RouteOperatorsType;
5606
+ /** Ranking levels for operator ranking. */
5607
+ levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
5465
5608
  };
5466
5609
  export declare type RouteOperatorPreferencesRankingInput = {
5467
- /** Level one (most significant) for operator ranking. */
5468
- level_one?: Maybe<Array<RouteOperatorsValueInput>>;
5469
- /** Level two for operator ranking. */
5470
- level_two?: Maybe<Array<RouteOperatorsValueInput>>;
5471
- /** Level three for operator ranking. */
5472
- level_three?: Maybe<Array<RouteOperatorsValueInput>>;
5473
- /** Level four for operator ranking. */
5474
- level_four?: Maybe<Array<RouteOperatorsValueInput>>;
5475
- /** Level five for operator ranking. */
5476
- level_five?: Maybe<Array<RouteOperatorsValueInput>>;
5477
- /** Level six for operator ranking. */
5478
- level_six?: Maybe<Array<RouteOperatorsValueInput>>;
5479
- /** Level seven for operator ranking. */
5480
- level_seven?: Maybe<Array<RouteOperatorsValueInput>>;
5481
- /** Level eight for operator ranking. */
5482
- level_eight?: Maybe<Array<RouteOperatorsValueInput>>;
5483
- /** Level nine for operator ranking. */
5484
- level_nine?: Maybe<Array<RouteOperatorsValueInput>>;
5485
- /** Level ten (least significant) for operator ranking. */
5486
- level_ten?: Maybe<Array<RouteOperatorsValueInput>>;
5610
+ /** Flag indicating if the operators ranking should be preferred or required. */
5611
+ type: RouteOperatorsType;
5612
+ /** Ranking levels for operator ranking. */
5613
+ levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
5614
+ };
5615
+ export declare type RouteOperatorPreferencesRankingLevels = {
5616
+ /** Least significant level for operators ranking. */
5617
+ low?: Maybe<Array<RouteOperatorsValue>>;
5618
+ /** Medium level for operators ranking. */
5619
+ medium?: Maybe<Array<RouteOperatorsValue>>;
5620
+ /** Most significant level for operator ranking. */
5621
+ high?: Maybe<Array<RouteOperatorsValue>>;
5622
+ };
5623
+ export declare type RouteOperatorPreferencesRankingLevelsInput = {
5624
+ /** Least significant level for operator ranking. */
5625
+ low?: Maybe<Array<RouteOperatorsValueInput>>;
5626
+ /** Medium level for operator ranking. */
5627
+ medium?: Maybe<Array<RouteOperatorsValueInput>>;
5628
+ /** Most significant level three for operator ranking. */
5629
+ high?: Maybe<Array<RouteOperatorsValueInput>>;
5487
5630
  };
5488
5631
  /** Prioritized operators for a route calculation. */
5489
5632
  export declare type RouteOperators = {
@@ -5561,16 +5704,18 @@ export declare enum RouteOperatorsType {
5561
5704
  export declare type RouteOperatorsValue = {
5562
5705
  /** ID of an operator. */
5563
5706
  id: Scalars["ID"];
5564
- /** List of country codes. */
5707
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5565
5708
  countries?: Maybe<Array<CountryCodeAlpha2>>;
5566
5709
  };
5567
5710
  export declare type RouteOperatorsValueInput = {
5568
5711
  /** ID of an operator. */
5569
5712
  id: Scalars["ID"];
5570
- /** List of countries in which the operator should be excluded. When not specified the operator will be excluded in every country. */
5571
- countries: Array<CountryCodeAlpha2>;
5713
+ /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5714
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
5572
5715
  };
5573
5716
  export declare type RouteOriginFeaturePoint = {
5717
+ /** ID of the feature. */
5718
+ id?: Maybe<Scalars["ID"]>;
5574
5719
  /** Feature type. */
5575
5720
  type: FeatureType;
5576
5721
  /** Geometry of the feature. */
@@ -5579,6 +5724,8 @@ export declare type RouteOriginFeaturePoint = {
5579
5724
  properties?: Maybe<RouteOriginProperties>;
5580
5725
  };
5581
5726
  export declare type RouteOriginFeaturePointInput = {
5727
+ /** ID of the feature. */
5728
+ id?: Maybe<Scalars["ID"]>;
5582
5729
  /** Feature type. */
5583
5730
  type: FeatureType;
5584
5731
  /** Geometry of the feature. */
@@ -5597,8 +5744,6 @@ export declare type RouteOriginPropertiesInput = {
5597
5744
  location?: Maybe<RoutePropertiesLocationInput>;
5598
5745
  /** Vehicle data at the origin location. */
5599
5746
  vehicle?: Maybe<RoutePropertiesVehicleInput>;
5600
- /** Station data at the origin location. */
5601
- station?: Maybe<RoutePropertiesStationInput>;
5602
5747
  };
5603
5748
  export declare type RoutePath = {
5604
5749
  /** GeoJSON location of a route path segment. */
@@ -5625,14 +5770,6 @@ export declare type RoutePropertiesLocation = {
5625
5770
  name?: Maybe<Scalars["String"]>;
5626
5771
  /** Duration to stay at this point. */
5627
5772
  stop_duration?: Maybe<Scalars["Int"]>;
5628
- /** Temperature. */
5629
- temperature?: Maybe<Scalars["Float"]>;
5630
- /** Air pressure. */
5631
- air_pressure?: Maybe<Scalars["Float"]>;
5632
- /** Solar irradiance. */
5633
- solar_irradiance?: Maybe<Scalars["Float"]>;
5634
- /** Country. */
5635
- country?: Maybe<Array<CountryCodeAlpha2>>;
5636
5773
  };
5637
5774
  export declare type RoutePropertiesLocationInput = {
5638
5775
  /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
@@ -5767,7 +5904,7 @@ export declare type RouteVehicle = {
5767
5904
  /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
5768
5905
  tire_pressure?: Maybe<TirePressure>;
5769
5906
  /** Value of the vehicle's odometer. */
5770
- odometer?: Maybe<Scalars["Float"]>;
5907
+ odometer?: Maybe<Odometer>;
5771
5908
  /** Value of the auxiliary power consumption of the vehicle. */
5772
5909
  auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
5773
5910
  /** Flag which indicates if climate control is on. */
@@ -5814,7 +5951,7 @@ export declare type RouteVehicleBatteryInput = {
5814
5951
  /** Minimum battery state of charge. */
5815
5952
  final_state_of_charge?: Maybe<StateOfChargeInput>;
5816
5953
  /** Battery temperature. */
5817
- temperature?: Maybe<BatteryTemperatureInput>;
5954
+ temperature?: Maybe<TemperatureInput>;
5818
5955
  /** Battery current in ampere. */
5819
5956
  current?: Maybe<Scalars["Float"]>;
5820
5957
  /** Battery voltage in volts. */
@@ -5912,8 +6049,10 @@ export declare type RouteVehicleInput = {
5912
6049
  heat_pump?: Maybe<HeatPumpMode>;
5913
6050
  /** Vehicle cabin configuration for creating the route. */
5914
6051
  cabin?: Maybe<RouteVehicleCabinInput>;
6052
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6053
+ motor_rpm?: Maybe<Scalars["Int"]>;
5915
6054
  /** Outside temperature. */
5916
- outside_temperature?: Maybe<OutsideTemperatureInput>;
6055
+ outside_temperature?: Maybe<TemperatureInput>;
5917
6056
  /** Vehicle is in park, neutral or turned off. */
5918
6057
  is_parked?: Maybe<Scalars["Boolean"]>;
5919
6058
  /** Vehicle speed. */
@@ -5966,6 +6105,8 @@ export declare type RouteVehicleOperationalEmissionstotalArgs = {
5966
6105
  unit?: Maybe<EmissionUnit>;
5967
6106
  };
5968
6107
  export declare type RouteViaFeaturePoint = {
6108
+ /** ID of the feature. */
6109
+ id?: Maybe<Scalars["ID"]>;
5969
6110
  /** Feature type. */
5970
6111
  type: FeatureType;
5971
6112
  /** Geometry of the feature. */
@@ -5974,6 +6115,8 @@ export declare type RouteViaFeaturePoint = {
5974
6115
  properties?: Maybe<RouteViaProperties>;
5975
6116
  };
5976
6117
  export declare type RouteViaFeaturePointInput = {
6118
+ /** ID of the feature. */
6119
+ id?: Maybe<Scalars["ID"]>;
5977
6120
  /** Feature type. */
5978
6121
  type: FeatureType;
5979
6122
  /** Geometry of the feature. */
@@ -5983,19 +6126,19 @@ export declare type RouteViaFeaturePointInput = {
5983
6126
  };
5984
6127
  export declare type RouteViaProperties = {
5985
6128
  /** Location data of the via point. */
5986
- location: RoutePropertiesLocation;
6129
+ location?: Maybe<RoutePropertiesLocation>;
5987
6130
  /** Vehicle data of the via point. */
5988
- vehicle: RoutePropertiesVehicle;
6131
+ vehicle?: Maybe<RoutePropertiesVehicle>;
5989
6132
  /** Station data of the via point. */
5990
- station: RoutePropertiesStation;
6133
+ station?: Maybe<RoutePropertiesStation>;
5991
6134
  };
5992
6135
  export declare type RouteViaPropertiesInput = {
5993
6136
  /** Location data of the via point. */
5994
- location: RoutePropertiesLocationInput;
6137
+ location?: Maybe<RoutePropertiesLocationInput>;
5995
6138
  /** Vehicle data of the via point. */
5996
- vehicle: RoutePropertiesVehicleInput;
6139
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
5997
6140
  /** Station data of the via point. */
5998
- station: RoutePropertiesStationInput;
6141
+ station?: Maybe<RoutePropertiesStationInput>;
5999
6142
  };
6000
6143
  /** Scheduled charge stop along a route. */
6001
6144
  export declare type ScheduledChargeStopInput = {
@@ -6133,7 +6276,10 @@ export declare type Station = {
6133
6276
  location_category?: Maybe<Scalars["String"]>;
6134
6277
  /** Coordinates for the location's entrances in decimal degrees. If available, there can be more than one entrances to the location. */
6135
6278
  entrance_for_navigation?: Maybe<Array<OCPIAdditionalGeoLocation>>;
6136
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
6279
+ /**
6280
+ * Optional object where you can store custom data you need in your application. This extends the current functionalities we offer.
6281
+ * @deprecated No longer used.
6282
+ */
6137
6283
  properties?: Maybe<Scalars["JSON"]>;
6138
6284
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
6139
6285
  realtime?: Maybe<Scalars["Boolean"]>;
@@ -6611,16 +6757,12 @@ export declare type Temperature = {
6611
6757
  value: Scalars["Float"];
6612
6758
  /** Type of temperature. */
6613
6759
  type: TemperatureUnit;
6614
- /** Source of inputted data. */
6615
- source: TelemetryInputSource;
6616
6760
  };
6617
6761
  export declare type TemperatureInput = {
6618
6762
  /** Value of the temperature. */
6619
6763
  value: Scalars["Float"];
6620
6764
  /** Type of temperature. */
6621
6765
  type: TemperatureUnit;
6622
- /** Source of inputted data. */
6623
- source?: TelemetryInputSource;
6624
6766
  };
6625
6767
  /** Temperature unit. */
6626
6768
  export declare enum TemperatureUnit {
@@ -7949,17 +8091,6 @@ export declare type VehicleSpeedInput = {
7949
8091
  /** Source of inputted data, defaults to 'manual'. */
7950
8092
  source?: TelemetryInputSource;
7951
8093
  };
7952
- /** Status of a vehicle. */
7953
- export declare enum VehicleStatus {
7954
- /** Is being reviewed by a human operator. */
7955
- DRAFT = "draft",
7956
- /** Is public and can be used by a customer. */
7957
- PUBLIC = "public",
7958
- /** Is private and can be used by a human operator. */
7959
- PRIVATE = "private",
7960
- /** Is archived and can not be used. */
7961
- ARCHIVED = "archived"
7962
- }
7963
8094
  export declare type VehicleToEverything = {
7964
8095
  /** Information about Vehicle-to-Load. */
7965
8096
  vehicle_to_load?: Maybe<VehicleToEverythingLoad>;