@chargetrip/types 1.20.0 → 1.25.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.
@@ -25,6 +25,8 @@ export declare type Scalars = {
25
25
  };
26
26
  /** The File Upload scalar */
27
27
  Upload: any;
28
+ /** Void custom scalar */
29
+ Void: any;
28
30
  };
29
31
  /** Information about an address */
30
32
  export declare type Address = {
@@ -146,7 +148,7 @@ export declare type Car = {
146
148
  */
147
149
  chargetripRange?: Maybe<ChargetripRange>;
148
150
  /**
149
- * Cars that support fast charging have a minimum charging speed of 43 Kwh. Cars without support for fast charging used in a newRoute mutation will return an error
151
+ * Cars that support fast charging have a minimum charging speed of 43 kWh
150
152
  * @deprecated In favor of routing.fast_charging_support
151
153
  */
152
154
  fastChargingSupport?: Maybe<Scalars["Boolean"]>;
@@ -438,7 +440,7 @@ export declare type CarList = {
438
440
  */
439
441
  chargetripRange?: Maybe<ChargetripRange>;
440
442
  /**
441
- * Cars that support fast charging have a minimum charging speed of 43 Kwh. Cars without support for fast charging used in a newRoute mutation will return an error
443
+ * Cars that support fast charging have a minimum charging speed of 43 kWh
442
444
  * @deprecated In favor of routing.fast_charging_support
443
445
  */
444
446
  fastChargingSupport?: Maybe<Scalars["Boolean"]>;
@@ -597,10 +599,7 @@ export declare type CarListRange = {
597
599
  best?: Maybe<CarEstimationData>;
598
600
  };
599
601
  export declare type CarListRouting = {
600
- /**
601
- * EVs that support fast charging have a minimum charging speed of 43 Kwh.
602
- * EVs without support for fast charging used in a newRoute mutation will return an error.
603
- */
602
+ /** Cars that support fast charging have a minimum charging speed of 43 kWh */
604
603
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
605
604
  };
606
605
  export declare type CarMedia = {
@@ -652,7 +651,7 @@ export declare type CarPerformance = {
652
651
  /** Car plug model */
653
652
  export declare type CarPlug = {
654
653
  /** Plug type, known as connector standard in OCPI */
655
- standard?: Maybe<OCPIConnectorType>;
654
+ standard?: Maybe<ConnectorType>;
656
655
  /** Usable electric power in kW */
657
656
  power?: Maybe<Scalars["Float"]>;
658
657
  /** Maximum electric power in kW */
@@ -861,7 +860,7 @@ export declare type CarPremiumChargeOptionOBC = {
861
860
  };
862
861
  export declare type CarPremiumChargePlug = {
863
862
  /** Type of charge port on vehicle */
864
- value?: Maybe<OCPIConnectorType>;
863
+ value?: Maybe<ConnectorType>;
865
864
  /** Indicates if value is an estimate */
866
865
  is_estimated?: Maybe<Scalars["Boolean"]>;
867
866
  /** Location of charge port */
@@ -1117,10 +1116,7 @@ export declare type CarPremiumRangeValue = {
1117
1116
  combined?: Maybe<Scalars["Int"]>;
1118
1117
  };
1119
1118
  export declare type CarPremiumRouting = {
1120
- /**
1121
- * EVs that support fast charging have a minimum charging speed of 43 Kwh.
1122
- * EVs without support for fast charging used in a newRoute mutation will return an error.
1123
- */
1119
+ /** Cars that support fast charging have a minimum charging speed of 43 kWh */
1124
1120
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
1125
1121
  /** Drag coefficient */
1126
1122
  drag_coefficient?: Maybe<Scalars["Float"]>;
@@ -1197,10 +1193,7 @@ export declare type CarRangeValue = {
1197
1193
  combined?: Maybe<Scalars["Int"]>;
1198
1194
  };
1199
1195
  export declare type CarRouting = {
1200
- /**
1201
- * EVs that support fast charging have a minimum charging speed of 43 Kwh.
1202
- * EVs without support for fast charging used in a newRoute mutation will return an error.
1203
- */
1196
+ /** Cars that support fast charging have a minimum charging speed of 43 kWh */
1204
1197
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
1205
1198
  };
1206
1199
  /** Status of a car */
@@ -1230,7 +1223,7 @@ export declare enum ChargeMode {
1230
1223
  /** A groupped representation of EVSEs */
1231
1224
  export declare type Charger = {
1232
1225
  /** Type of charger */
1233
- standard?: Maybe<OCPIConnectorType>;
1226
+ standard?: Maybe<ConnectorType>;
1234
1227
  /** Power of a charger */
1235
1228
  power?: Maybe<Scalars["Float"]>;
1236
1229
  /** Price of a charger */
@@ -1275,7 +1268,7 @@ export declare type Connector = {
1275
1268
  /** Identifier of a connector within an EVSE. Two connectors may have the same ID as long as they do not belong to the same EVSE object. */
1276
1269
  id?: Maybe<Scalars["String"]>;
1277
1270
  /** Standard of an installed connector. */
1278
- standard?: Maybe<OCPIConnectorType>;
1271
+ standard?: Maybe<ConnectorType>;
1279
1272
  /** Format (socket/cable) of an installed connector. */
1280
1273
  format?: Maybe<OCPIConnectorFormat>;
1281
1274
  /** Type of power of an installed connector. */
@@ -1306,7 +1299,90 @@ export declare type Connector = {
1306
1299
  properties?: Maybe<Scalars["JSON"]>;
1307
1300
  /** List of valid charging tariffs */
1308
1301
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1302
+ /** Charging prices, only available when using the EcoMovement database */
1303
+ pricing?: Maybe<Pricing>;
1309
1304
  };
1305
+ /** The socket or plug standard of the charging point. */
1306
+ export declare enum ConnectorType {
1307
+ /** The connector type is CHAdeMO, DC */
1308
+ CHADEMO = "CHADEMO",
1309
+ /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
1310
+ DOMESTIC_A = "DOMESTIC_A",
1311
+ /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
1312
+ DOMESTIC_B = "DOMESTIC_B",
1313
+ /** Standard/domestic household, type "C", CEE 7/17, 2 pins */
1314
+ DOMESTIC_C = "DOMESTIC_C",
1315
+ /** Standard/domestic household, type "D", 3 pins */
1316
+ DOMESTIC_D = "DOMESTIC_D",
1317
+ /** Standard/domestic household, type "E", CEE 7/5 3 pins */
1318
+ DOMESTIC_E = "DOMESTIC_E",
1319
+ /** Standard/domestic household, type "F", CEE 7/4, Schuko, 3 pins */
1320
+ DOMESTIC_F = "DOMESTIC_F",
1321
+ /** Standard/domestic household, type "G", BS 1363, Commonwealth, 3 pins */
1322
+ DOMESTIC_G = "DOMESTIC_G",
1323
+ /** Standard/domestic household, type "H", SI-32, 3 pins */
1324
+ DOMESTIC_H = "DOMESTIC_H",
1325
+ /** Standard/domestic household, type "I", AS 3112, 3 pins */
1326
+ DOMESTIC_I = "DOMESTIC_I",
1327
+ /** Standard/domestic household, type "J", SEV 1011, 3 pins */
1328
+ DOMESTIC_J = "DOMESTIC_J",
1329
+ /** Standard/domestic household, type "K", DS 60884-2-D1, 3 pins */
1330
+ DOMESTIC_K = "DOMESTIC_K",
1331
+ /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
1332
+ DOMESTIC_L = "DOMESTIC_L",
1333
+ /** Standard/Domestic household, type "M", BS 546, 3 pins */
1334
+ DOMESTIC_M = "DOMESTIC_M",
1335
+ /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
1336
+ DOMESTIC_N = "DOMESTIC_N",
1337
+ /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
1338
+ DOMESTIC_O = "DOMESTIC_O",
1339
+ /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1340
+ IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1341
+ /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
1342
+ IEC_60309_2_THREE_16 = "IEC_60309_2_three_16",
1343
+ /** IEC 60309-2 Industrial connector three phase 32 amperes (usually red) */
1344
+ IEC_60309_2_THREE_32 = "IEC_60309_2_three_32",
1345
+ /** IEC 60309-2 Industrial connector three phase 64 amperes (usually red) */
1346
+ IEC_60309_2_THREE_64 = "IEC_60309_2_three_64",
1347
+ /** IEC 62196 Type 1 "SAE J1772" */
1348
+ IEC_62196_T1 = "IEC_62196_T1",
1349
+ /** Combo Type 1 based, DC */
1350
+ IEC_62196_T1_COMBO = "IEC_62196_T1_COMBO",
1351
+ /** IEC 62196 Type 2 "Mennekes" */
1352
+ IEC_62196_T2 = "IEC_62196_T2",
1353
+ /** Combo Type 2 based, DC */
1354
+ IEC_62196_T2_COMBO = "IEC_62196_T2_COMBO",
1355
+ /** IEC 62196 Type 3A */
1356
+ IEC_62196_T3A = "IEC_62196_T3A",
1357
+ /** IEC 62196 Type 3C "Scame" */
1358
+ IEC_62196_T3C = "IEC_62196_T3C",
1359
+ /** On-board bottom-up-pantograph typically for bus charging */
1360
+ PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
1361
+ /** Off-board top-down-pantograph typically for bus charging */
1362
+ PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
1363
+ /** Tesla connector "Roadster"-type (round, 4 pins) */
1364
+ TESLA_R = "TESLA_R",
1365
+ /** Tesla connector "Model-S"-type (oval, 5 pins) */
1366
+ TESLA_S = "TESLA_S",
1367
+ /** The connector type is GB_T (Chinese standard), DC */
1368
+ GB_T = "GB_T",
1369
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
1370
+ CHAOJI = "CHAOJI",
1371
+ /** The connector type is NEMA 5-20, 3 pins */
1372
+ NEMA_5_20 = "NEMA_5_20",
1373
+ /** The connector type is NEMA 6-30, 3 pins */
1374
+ NEMA_6_30 = "NEMA_6_30",
1375
+ /** The connector type is NEMA 6-50, 3 pins */
1376
+ NEMA_6_50 = "NEMA_6_50",
1377
+ /** The connector type is NEMA 10-30, 3 pins */
1378
+ NEMA_10_30 = "NEMA_10_30",
1379
+ /** The connector type is NEMA 10-50, 3 pins */
1380
+ NEMA_10_50 = "NEMA_10_50",
1381
+ /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
1382
+ NEMA_14_30 = "NEMA_14_30",
1383
+ /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
1384
+ NEMA_14_50 = "NEMA_14_50"
1385
+ }
1310
1386
  /** The complete contact information */
1311
1387
  export declare type Contact = {
1312
1388
  /** The phone number in international format */
@@ -1618,7 +1694,14 @@ export declare type FeaturePointInput = {
1618
1694
  export declare enum FeatureType {
1619
1695
  FEATURE = "Feature"
1620
1696
  }
1621
- /** The types of the leg */
1697
+ /** Navigation service providers available */
1698
+ export declare enum InstructionsFormat {
1699
+ /** Chargetrip raw instructions */
1700
+ CHARGETRIP = "Chargetrip",
1701
+ /** Mapbox instructions mapping */
1702
+ MAPBOXV5 = "MapboxV5"
1703
+ }
1704
+ /** Types of a leg */
1622
1705
  export declare enum LegType {
1623
1706
  /** This leg ends at a charging station and the car must recharge */
1624
1707
  STATION = "station",
@@ -1631,7 +1714,27 @@ export declare enum LegType {
1631
1714
  /** This leg ends at the destination which is a charging station, and is the last leg of the route */
1632
1715
  STATIONFINAL = "stationFinal"
1633
1716
  }
1717
+ /** Preferred language for the mapping */
1718
+ export declare enum MappingLanguage {
1719
+ /** English(US) */
1720
+ EN = "en"
1721
+ }
1722
+ /** Navigation service providers available */
1723
+ export declare enum MappingProvider {
1724
+ /** Chargetrip raw instructions */
1725
+ CHARGETRIP = "Chargetrip",
1726
+ /** Mapbox instructions mapping */
1727
+ MAPBOXV5 = "MapboxV5"
1728
+ }
1634
1729
  export declare type Mutation = {
1730
+ /** [BETA] Start a new navigation session on top of an existing route */
1731
+ startNavigation?: Maybe<Scalars["ID"]>;
1732
+ /** [BETA] Update the navigation session */
1733
+ updateNavigation?: Maybe<Scalars["Void"]>;
1734
+ /** [BETA] Recalculate the current navigation route */
1735
+ recalculateNavigation?: Maybe<Scalars["Void"]>;
1736
+ /** [BETA] End a navigation session */
1737
+ finishNavigation?: Maybe<Scalars["Void"]>;
1635
1738
  /**
1636
1739
  * Add a new review.
1637
1740
  * If the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user
@@ -1648,6 +1751,18 @@ export declare type Mutation = {
1648
1751
  /** Create a new route from the route input and its ID */
1649
1752
  newRoute?: Maybe<Scalars["ID"]>;
1650
1753
  };
1754
+ export declare type MutationstartNavigationArgs = {
1755
+ input: NavigationStartInput;
1756
+ };
1757
+ export declare type MutationupdateNavigationArgs = {
1758
+ input: NavigationUpdateInput;
1759
+ };
1760
+ export declare type MutationrecalculateNavigationArgs = {
1761
+ input: NavigationReacalculateInput;
1762
+ };
1763
+ export declare type MutationfinishNavigationArgs = {
1764
+ input: NavigationFinishInput;
1765
+ };
1651
1766
  export declare type MutationaddReviewArgs = {
1652
1767
  review: ReviewAdd;
1653
1768
  };
@@ -1657,6 +1772,126 @@ export declare type MutationdeleteUserReviewArgs = {
1657
1772
  export declare type MutationnewRouteArgs = {
1658
1773
  input?: Maybe<RequestInput>;
1659
1774
  };
1775
+ /** The navigation session data */
1776
+ export declare type Navigation = {
1777
+ /** ID of the navigation session */
1778
+ id: Scalars["ID"];
1779
+ /** The current route used for navigation */
1780
+ route_id?: Maybe<Scalars["String"]>;
1781
+ /** The current route alternative used for navigation */
1782
+ route_alternative_id?: Maybe<Scalars["String"]>;
1783
+ /** The state of a navigation session. The status can be driving, charging, finished, or error */
1784
+ state?: Maybe<NavigationState>;
1785
+ /** State of charge at the last known location */
1786
+ state_of_charge?: Maybe<Scalars["Float"]>;
1787
+ /** Last known location */
1788
+ last_known_location?: Maybe<Point>;
1789
+ /** Next charging station */
1790
+ next_station?: Maybe<NavigationStation>;
1791
+ /** A set of alternative charging stations to next station */
1792
+ alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
1793
+ /** Navigation instructions */
1794
+ instructions?: Maybe<Scalars["JSON"]>;
1795
+ };
1796
+ /** The navigation session data */
1797
+ export declare type NavigationinstructionsArgs = {
1798
+ instructions_format: InstructionsFormat;
1799
+ language?: Maybe<MappingLanguage>;
1800
+ precision?: Maybe<Scalars["Int"]>;
1801
+ };
1802
+ /** Input for the navigation recalculate */
1803
+ export declare type NavigationFinishInput = {
1804
+ /** ID of the navigation session */
1805
+ id: Scalars["ID"];
1806
+ /** Current coordinates */
1807
+ current_location: PointInput;
1808
+ };
1809
+ /** Input for the navigation recalculate */
1810
+ export declare type NavigationReacalculateInput = {
1811
+ /** ID of the navigation session */
1812
+ id: Scalars["ID"];
1813
+ /** State of charge at origin */
1814
+ state_of_charge?: Maybe<Scalars["Float"]>;
1815
+ /** Origin location of a new route */
1816
+ current_location: PointInput;
1817
+ /** Via points of a new route. If this field is not sent, the original via points will be used */
1818
+ via?: Maybe<Array<Maybe<FeaturePointInput>>>;
1819
+ /** Heading of a vehicle, in degrees */
1820
+ heading?: Maybe<Scalars["Float"]>;
1821
+ };
1822
+ /** Input for the navigation start */
1823
+ export declare type NavigationStartInput = {
1824
+ /** ID of the route of the navigation session */
1825
+ route_id: Scalars["String"];
1826
+ /** ID of the route alternative of the navigation session */
1827
+ route_alternative_id?: Maybe<Scalars["String"]>;
1828
+ /** Current coordinates */
1829
+ current_location: PointInput;
1830
+ };
1831
+ /** State of navigation session */
1832
+ export declare enum NavigationState {
1833
+ /** Vehicle is driving */
1834
+ DRIVING = "Driving",
1835
+ /** Vehicle is charging */
1836
+ CHARGING = "Charging",
1837
+ /** Navigation session is completed (either manually or automatically 48 hours after the last update) */
1838
+ FINISHED = "Finished",
1839
+ /** Failed to update navigation session due to route error or not found */
1840
+ ERROR = "Error"
1841
+ }
1842
+ /** Navigation session station type */
1843
+ export declare type NavigationStation = {
1844
+ /** The ID as string of the charging station */
1845
+ station_id?: Maybe<Scalars["String"]>;
1846
+ /** GPS location of the charging station */
1847
+ station_location?: Maybe<Point>;
1848
+ /** An array with all GPS locations of via points until the next charging station */
1849
+ via?: Maybe<Array<Maybe<Point>>>;
1850
+ /** Estimated state of charge, in kWh, at arrival on the next charging station */
1851
+ estimated_state_of_charge?: Maybe<Scalars["Float"]>;
1852
+ /** Estimated consumption, in kWh, from last the known location until the next charging station */
1853
+ estimated_consumption?: Maybe<Scalars["Float"]>;
1854
+ /** Estimated duration, in seconds, from the last known location until the next charging station */
1855
+ estimated_duration?: Maybe<Scalars["Int"]>;
1856
+ };
1857
+ /** Input for the navigation session update telemetry data */
1858
+ export declare type NavigationTelemetryUpdateInput = {
1859
+ /** State of charge at the last known location */
1860
+ state_of_charge?: Maybe<Scalars["Float"]>;
1861
+ /** Indicates if a vehicle is charging */
1862
+ is_charging?: Maybe<Scalars["Boolean"]>;
1863
+ /** Tire pressure. This information should come from telemetry */
1864
+ tire_pressure?: Maybe<Scalars["Float"]>;
1865
+ };
1866
+ /** Input for the navigation update */
1867
+ export declare type NavigationUpdateInput = {
1868
+ /** ID of the navigation session */
1869
+ id: Scalars["ID"];
1870
+ /** Heading of a vehicle, in degrees */
1871
+ heading?: Maybe<Scalars["Float"]>;
1872
+ /** A list of locations that were collected since the last update */
1873
+ locations_data: Array<NavigationUpdateLocationsInput>;
1874
+ /** Telemetry data input */
1875
+ telemetry?: Maybe<NavigationTelemetryUpdateInput>;
1876
+ };
1877
+ /** Properties of the location */
1878
+ export declare type NavigationUpdateLocationPropertiesInput = {
1879
+ /** Current route leg index corresponding to a location */
1880
+ route_leg: Scalars["Int"];
1881
+ /** Speed at a location */
1882
+ speed: Scalars["Float"];
1883
+ /** UNIX timestamp at location */
1884
+ timestamp: Scalars["Int"];
1885
+ /** Altitude information. This is optional */
1886
+ altitude?: Maybe<Scalars["Int"]>;
1887
+ };
1888
+ /** Input for the navigation update locations */
1889
+ export declare type NavigationUpdateLocationsInput = {
1890
+ /** GPS location */
1891
+ geometry: PointInput;
1892
+ /** Extra information about the location */
1893
+ properties: NavigationUpdateLocationPropertiesInput;
1894
+ };
1660
1895
  /** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
1661
1896
  export declare type OCPIAdditionalGeoLocation = {
1662
1897
  /** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
@@ -1691,7 +1926,9 @@ export declare enum OCPICapability {
1691
1926
  /** This EVSE supports token groups, two or more tokens work as one, so that a session can be started with one token and stopped with another (handy when a card and key-fob are given to the EV-driver). */
1692
1927
  TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
1693
1928
  /** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
1694
- UNLOCK_CAPABLE = "UNLOCK_CAPABLE"
1929
+ UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
1930
+ /** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
1931
+ START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
1695
1932
  }
1696
1933
  /** The format of the connector, whether it is a socket or a plug. */
1697
1934
  export declare enum OCPIConnectorFormat {
@@ -1700,7 +1937,7 @@ export declare enum OCPIConnectorFormat {
1700
1937
  /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
1701
1938
  CABLE = "CABLE"
1702
1939
  }
1703
- /** The socket or plug standard of the charging point. */
1940
+ /** Deprecated: Please use ConnectorType instead */
1704
1941
  export declare enum OCPIConnectorType {
1705
1942
  /** The connector type is CHAdeMO, DC */
1706
1943
  CHADEMO = "CHADEMO",
@@ -1728,6 +1965,12 @@ export declare enum OCPIConnectorType {
1728
1965
  DOMESTIC_K = "DOMESTIC_K",
1729
1966
  /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
1730
1967
  DOMESTIC_L = "DOMESTIC_L",
1968
+ /** Standard/Domestic household, type "M", BS 546, 3 pins */
1969
+ DOMESTIC_M = "DOMESTIC_M",
1970
+ /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
1971
+ DOMESTIC_N = "DOMESTIC_N",
1972
+ /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
1973
+ DOMESTIC_O = "DOMESTIC_O",
1731
1974
  /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1732
1975
  IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1733
1976
  /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
@@ -1757,7 +2000,23 @@ export declare enum OCPIConnectorType {
1757
2000
  /** Tesla connector "Model-S"-type (oval, 5 pins) */
1758
2001
  TESLA_S = "TESLA_S",
1759
2002
  /** The connector type is GB_T (Chinese standard), DC */
1760
- GB_T = "GB_T"
2003
+ GB_T = "GB_T",
2004
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
2005
+ CHAOJI = "CHAOJI",
2006
+ /** The connector type is NEMA 5-20, 3 pins */
2007
+ NEMA_5_20 = "NEMA_5_20",
2008
+ /** The connector type is NEMA 6-30, 3 pins */
2009
+ NEMA_6_30 = "NEMA_6_30",
2010
+ /** The connector type is NEMA 6-50, 3 pins */
2011
+ NEMA_6_50 = "NEMA_6_50",
2012
+ /** The connector type is NEMA 10-30, 3 pins */
2013
+ NEMA_10_30 = "NEMA_10_30",
2014
+ /** The connector type is NEMA 10-50, 3 pins */
2015
+ NEMA_10_50 = "NEMA_10_50",
2016
+ /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
2017
+ NEMA_14_30 = "NEMA_14_30",
2018
+ /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
2019
+ NEMA_14_50 = "NEMA_14_50"
1761
2020
  }
1762
2021
  export declare enum OCPIDayOfWeek {
1763
2022
  MONDAY = "MONDAY",
@@ -1957,6 +2216,10 @@ export declare enum OCPIPowerType {
1957
2216
  AC_1_PHASE = "AC_1_PHASE",
1958
2217
  /** AC three phase. */
1959
2218
  AC_3_PHASE = "AC_3_PHASE",
2219
+ /** AC two phases, only two of the three available phases connected. */
2220
+ AC_2_PHASE = "AC_2_PHASE",
2221
+ /** AC two phases using split phase system. */
2222
+ AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
1960
2223
  /** Direct Current. */
1961
2224
  DC = "DC"
1962
2225
  }
@@ -2127,11 +2390,19 @@ export declare type Operator = {
2127
2390
  countries?: Maybe<Array<CountryCodeAlpha2>>;
2128
2391
  /** Contact information */
2129
2392
  contact?: Maybe<Contact>;
2393
+ /** Ranking level on which the operator is placed or null in case the operator is not on any ranking level */
2394
+ ranking?: Maybe<Scalars["Int"]>;
2395
+ /** Flag which indicates if the operator is in the excluded list */
2396
+ excluded?: Maybe<Scalars["Boolean"]>;
2130
2397
  };
2131
2398
  /** Filter which can be applied to retrieve the operator list action */
2132
2399
  export declare type OperatorListFilter = {
2133
2400
  /** ISO-3166 alpha-2 country codes an operator is active in. */
2134
2401
  countries?: Maybe<Array<CountryCodeAlpha2>>;
2402
+ /** List of ranking level(s) to be retrieved. Valid values are 1 to 10 */
2403
+ ranking?: Maybe<Array<Scalars["Int"]>>;
2404
+ /** Only retrieve operators that are in the excluded list */
2405
+ excluded?: Maybe<Scalars["Boolean"]>;
2135
2406
  };
2136
2407
  /** Filter which can be applied to retrieve the operator list action */
2137
2408
  export declare type OperatorListQuery = {
@@ -2204,9 +2475,53 @@ export declare type Price = {
2204
2475
  currency?: Maybe<Scalars["String"]>;
2205
2476
  /** The pricing model */
2206
2477
  model?: Maybe<Scalars["String"]>;
2207
- /** The value of the price which should be deplay by the frontend */
2478
+ /** The value of the price which should be display by the frontend */
2208
2479
  displayValue?: Maybe<Scalars["String"]>;
2209
2480
  };
2481
+ export declare type Pricing = {
2482
+ /** Unique ID of a price */
2483
+ id?: Maybe<Scalars["String"]>;
2484
+ /** Price details */
2485
+ price_list?: Maybe<Array<Maybe<PricingList>>>;
2486
+ };
2487
+ export declare type PricingList = {
2488
+ /** (MSP) Mobility Service Provider */
2489
+ partner?: Maybe<Scalars["String"]>;
2490
+ /** Product details */
2491
+ product?: Maybe<PricingListProduct>;
2492
+ /** Price product elements */
2493
+ elements?: Maybe<Array<Maybe<PricingListElement>>>;
2494
+ };
2495
+ export declare type PricingListElement = {
2496
+ /** Price element type. */
2497
+ type?: Maybe<PricingListElementType>;
2498
+ /** Price of the element type without VAT. */
2499
+ price_excl_vat?: Maybe<Scalars["Float"]>;
2500
+ /** VAT percentage to apply */
2501
+ vat?: Maybe<Scalars["Float"]>;
2502
+ };
2503
+ export declare enum PricingListElementType {
2504
+ /** Price per kWh */
2505
+ ENERGY = "ENERGY",
2506
+ /** Starting price, fixed fee per charge session */
2507
+ FLAT = "FLAT",
2508
+ /** Fixed price per hour */
2509
+ TIME = "TIME",
2510
+ /** Parking price per hour */
2511
+ PARKING_TIME = "PARKING_TIME"
2512
+ }
2513
+ export declare type PricingListProduct = {
2514
+ /** Name of the payment card or subscription. If name is 'Adhoc price' the price is the CPO price */
2515
+ name?: Maybe<Scalars["String"]>;
2516
+ /** Description of the product */
2517
+ description?: Maybe<Scalars["String"]>;
2518
+ /** Subscription type */
2519
+ subscription_type?: Maybe<Scalars["String"]>;
2520
+ /** Subscription fee without VAT */
2521
+ subscription_fee_excl_vat?: Maybe<Scalars["Float"]>;
2522
+ /** Currency */
2523
+ currency?: Maybe<Scalars["String"]>;
2524
+ };
2210
2525
  export declare type Query = {
2211
2526
  /** Get a full list of amenities around a station */
2212
2527
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
@@ -2216,6 +2531,8 @@ export declare type Query = {
2216
2531
  carPremium?: Maybe<CarPremium>;
2217
2532
  /** Get a full list of cars */
2218
2533
  carList?: Maybe<Array<Maybe<CarList>>>;
2534
+ /** [BETA] Get a navigation session by ID */
2535
+ navigation?: Maybe<Navigation>;
2219
2536
  /** Get a full list of operators */
2220
2537
  operatorList?: Maybe<Array<Maybe<Operator>>>;
2221
2538
  /** Get information about an operator by its ID */
@@ -2244,6 +2561,8 @@ export declare type Query = {
2244
2561
  tariff?: Maybe<OCPITariff>;
2245
2562
  /** Get the full list of tariffs */
2246
2563
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
2564
+ /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
2565
+ navigationMapping?: Maybe<Scalars["JSON"]>;
2247
2566
  };
2248
2567
  export declare type QueryamenityListArgs = {
2249
2568
  stationId: Scalars["ID"];
@@ -2262,6 +2581,9 @@ export declare type QuerycarListArgs = {
2262
2581
  size?: Maybe<Scalars["Int"]>;
2263
2582
  page?: Maybe<Scalars["Int"]>;
2264
2583
  };
2584
+ export declare type QuerynavigationArgs = {
2585
+ id: Scalars["ID"];
2586
+ };
2265
2587
  export declare type QueryoperatorListArgs = {
2266
2588
  query?: Maybe<OperatorListQuery>;
2267
2589
  search?: Maybe<Scalars["String"]>;
@@ -2309,6 +2631,12 @@ export declare type QuerytariffListArgs = {
2309
2631
  size?: Maybe<Scalars["Int"]>;
2310
2632
  page?: Maybe<Scalars["Int"]>;
2311
2633
  };
2634
+ export declare type QuerynavigationMappingArgs = {
2635
+ id: Scalars["ID"];
2636
+ provider: MappingProvider;
2637
+ precision?: Maybe<Scalars["Int"]>;
2638
+ language?: Maybe<MappingLanguage>;
2639
+ };
2312
2640
  /** EV specific data for a route request */
2313
2641
  export declare type RequestEv = {
2314
2642
  /** Internal ID of a Car */
@@ -2323,8 +2651,13 @@ export declare type RequestEv = {
2323
2651
  minPower?: Maybe<Scalars["Int"]>;
2324
2652
  /** Climate is on. The default is true */
2325
2653
  climate?: Maybe<Scalars["Boolean"]>;
2326
- /** The number of passengers on board */
2654
+ /**
2655
+ * The number of passengers on board
2656
+ * @deprecated In favor of occupants
2657
+ */
2327
2658
  numberOfPassengers?: Maybe<Scalars["Int"]>;
2659
+ /** Number of occupants */
2660
+ occupants?: Maybe<Scalars["Int"]>;
2328
2661
  /** Consumption specific to an EV or inputed by a request */
2329
2662
  consumption?: Maybe<RequestEvConsumption>;
2330
2663
  };
@@ -2391,8 +2724,8 @@ export declare type RequestEvInput = {
2391
2724
  minPower?: Maybe<Scalars["Int"]>;
2392
2725
  /** Flag which indicates if the climate is on. The default is true */
2393
2726
  climate?: Maybe<Scalars["Boolean"]>;
2394
- /** Number of passengers on board */
2395
- numberOfPassengers?: Maybe<Scalars["Int"]>;
2727
+ /** Number of occupants */
2728
+ occupants?: Maybe<Scalars["Int"]>;
2396
2729
  /** Consumption specific to the EV or inputted by the request */
2397
2730
  consumption?: Maybe<RequestEvConsumptionInput>;
2398
2731
  /** Deprecated */
@@ -2402,13 +2735,13 @@ export declare type RequestEvInput = {
2402
2735
  };
2403
2736
  export declare type RequestEvPlug = {
2404
2737
  /** Type of the plug */
2405
- standard?: Maybe<OCPIConnectorType>;
2738
+ standard?: Maybe<ConnectorType>;
2406
2739
  /** Maximum charging speed for a plug */
2407
2740
  chargingPower?: Maybe<Scalars["Float"]>;
2408
2741
  };
2409
2742
  export declare type RequestEvPlugInput = {
2410
2743
  /** Type of a plug */
2411
- standard: OCPIConnectorType;
2744
+ standard: ConnectorType;
2412
2745
  /** Maximum charging speed for this plug */
2413
2746
  chargingPower: Scalars["Float"];
2414
2747
  };
@@ -2436,7 +2769,7 @@ export declare type RequestRoute = {
2436
2769
  * @deprecated Will be removed. Use the operators property instead
2437
2770
  */
2438
2771
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2439
- /** Operator preferences for a route */
2772
+ /** Operator prioritization for a route */
2440
2773
  operators?: Maybe<RouteOperators>;
2441
2774
  /** Season */
2442
2775
  season?: Maybe<RouteSeason>;
@@ -2464,7 +2797,7 @@ export declare type RequestRouteInput = {
2464
2797
  operatorRequired?: Maybe<Scalars["Boolean"]>;
2465
2798
  /** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
2466
2799
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2467
- /** Operator preferences for a route */
2800
+ /** Operator prioritization for a route */
2468
2801
  operators?: Maybe<RouteOperatorsInput>;
2469
2802
  /** Optional flag to specify the season */
2470
2803
  season?: Maybe<RouteSeason>;
@@ -2480,7 +2813,7 @@ export declare type RequestRouteInput = {
2480
2813
  via?: Maybe<Array<Maybe<FeaturePointInput>>>;
2481
2814
  /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
2482
2815
  stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
2483
- /** Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production */
2816
+ /** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
2484
2817
  instructions?: Maybe<Scalars["Boolean"]>;
2485
2818
  };
2486
2819
  export declare type RequestUser = {
@@ -2504,7 +2837,7 @@ export declare type Review = {
2504
2837
  /** Car that was provided/selected by a user */
2505
2838
  ev?: Maybe<Car>;
2506
2839
  /** Plug type that was provided/selected by a user */
2507
- plugType?: Maybe<OCPIConnectorType>;
2840
+ plugType?: Maybe<ConnectorType>;
2508
2841
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2509
2842
  properties?: Maybe<Scalars["JSON"]>;
2510
2843
  /** Boolean tags for a station review */
@@ -2527,7 +2860,7 @@ export declare type ReviewAdd = {
2527
2860
  /** ID of the Car that was provided/selected by a user */
2528
2861
  ev?: Maybe<Scalars["String"]>;
2529
2862
  /** Plug type that was provided/selected by a user */
2530
- plugType?: Maybe<OCPIConnectorType>;
2863
+ plugType?: Maybe<ConnectorType>;
2531
2864
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2532
2865
  properties?: Maybe<Scalars["JSON"]>;
2533
2866
  /** Boolean tags for a station review */
@@ -2598,6 +2931,8 @@ export declare type Route = {
2598
2931
  user?: Maybe<RequestUser>;
2599
2932
  /** Route request data */
2600
2933
  routeRequest?: Maybe<RequestRoute>;
2934
+ /** Application who requested a route */
2935
+ app?: Maybe<RouteApp>;
2601
2936
  /** Route status */
2602
2937
  status?: Maybe<RouteStatus>;
2603
2938
  };
@@ -2624,7 +2959,10 @@ export declare type RouteAlternative = {
2624
2959
  consumption?: Maybe<Scalars["Float"]>;
2625
2960
  /** Total time required to charge for an entire route, in seconds */
2626
2961
  chargeTime?: Maybe<Scalars["Float"]>;
2627
- /** Amenity ranking for an alternative */
2962
+ /**
2963
+ * Amenity ranking for an alternative
2964
+ * @deprecated Will be removed in the future
2965
+ */
2628
2966
  amenityRanking?: Maybe<Scalars["Int"]>;
2629
2967
  /** Range, in meters, available at the beginning of a trip */
2630
2968
  rangeStart?: Maybe<Scalars["Int"]>;
@@ -2663,6 +3001,8 @@ export declare type RouteAlternative = {
2663
3001
  instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
2664
3002
  /** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
2665
3003
  stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
3004
+ /** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
3005
+ tags?: Maybe<Array<Maybe<RouteTagType>>>;
2666
3006
  };
2667
3007
  export declare type RouteAlternativepolylineArgs = {
2668
3008
  decimals?: Maybe<Scalars["Int"]>;
@@ -2683,11 +3023,15 @@ export declare type RouteAlternativeSaving = {
2683
3023
  export declare enum RouteAlternativeType {
2684
3024
  /** Fastest route between origin and destination */
2685
3025
  FASTEST = "fastest",
2686
- /** Best matching amenities along the route with the requested list */
3026
+ /** Best matching route based on operator and amenities preferences */
2687
3027
  BESTMATCHING = "bestMatching",
2688
3028
  /** An alternative to the fastest route */
2689
3029
  ALTERNATIVE = "alternative"
2690
3030
  }
3031
+ export declare type RouteApp = {
3032
+ /** ID of the app who requested a route */
3033
+ id?: Maybe<Scalars["ID"]>;
3034
+ };
2691
3035
  export declare type RouteInstruction = {
2692
3036
  /** Information about the points on the polyline */
2693
3037
  points?: Maybe<RouteInstructionPoints>;
@@ -2766,8 +3110,12 @@ export declare type RouteLeg = {
2766
3110
  name?: Maybe<Scalars["String"]>;
2767
3111
  /** ID of a station */
2768
3112
  stationId?: Maybe<Scalars["String"]>;
2769
- /** ID of the operator */
3113
+ /** ID of an operator */
2770
3114
  operatorId?: Maybe<Scalars["String"]>;
3115
+ /** Name of an operator */
3116
+ operatorName?: Maybe<Scalars["String"]>;
3117
+ /** Ranking of an operator */
3118
+ operatorRanking?: Maybe<Scalars["Int"]>;
2771
3119
  /** Total time required to charge a battery until 80%, in seconds */
2772
3120
  chargeTime?: Maybe<Scalars["Int"]>;
2773
3121
  /** Recommended EVSE where to charge */
@@ -2784,7 +3132,17 @@ export declare type RouteLeg = {
2784
3132
  plugsOutOfOrder?: Maybe<Scalars["Int"]>;
2785
3133
  /** Total number of plugs at a charge station */
2786
3134
  plugsCount?: Maybe<Scalars["Int"]>;
3135
+ /** Polyline containing encoded coordinates */
3136
+ polyline?: Maybe<Scalars["String"]>;
3137
+ /** Steps of a leg */
3138
+ steps?: Maybe<Array<Maybe<RouteStep>>>;
3139
+ /** Tags of a leg. Values: road, highway, toll, ferry */
3140
+ tags?: Maybe<Array<Maybe<RouteTagType>>>;
2787
3141
  };
3142
+ export declare type RouteLegpolylineArgs = {
3143
+ decimals?: Maybe<Scalars["Int"]>;
3144
+ };
3145
+ /** Prioritized operators for a route calculation */
2788
3146
  export declare type RouteOperators = {
2789
3147
  /** Flag indicating if the operators ranking should be preferred or required */
2790
3148
  type?: Maybe<RouteOperatorsType>;
@@ -2793,7 +3151,7 @@ export declare type RouteOperators = {
2793
3151
  /** Operator IDs which should be excluded from a route */
2794
3152
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2795
3153
  };
2796
- /** Preferred operators for a route calculation */
3154
+ /** Prioritized operators for a route calculation */
2797
3155
  export declare type RouteOperatorsInput = {
2798
3156
  /** Flag indicating if the operators ranking should be preferred or required */
2799
3157
  type?: Maybe<RouteOperatorsType>;
@@ -2802,7 +3160,7 @@ export declare type RouteOperatorsInput = {
2802
3160
  /** Operator IDs which should be excluded from a route */
2803
3161
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2804
3162
  };
2805
- /** Ranking configuration for preferred operators */
3163
+ /** Ranking configuration for prioritized operators */
2806
3164
  export declare type RouteOperatorsRanking = {
2807
3165
  /** Level 1 (most significant) for operator ranking */
2808
3166
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -2825,7 +3183,7 @@ export declare type RouteOperatorsRanking = {
2825
3183
  /** Level 10 (least significant) for operator ranking */
2826
3184
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2827
3185
  };
2828
- /** Ranking configuration for preferred operators */
3186
+ /** Ranking configuration for prioritized operators */
2829
3187
  export declare type RouteOperatorsRankingInput = {
2830
3188
  /** Level 1 (most significant) for operator ranking */
2831
3189
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -2848,13 +3206,13 @@ export declare type RouteOperatorsRankingInput = {
2848
3206
  /** Level 10 (least significant) for operator ranking */
2849
3207
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2850
3208
  };
2851
- /** Type of operator preference for a route */
3209
+ /** Type of operator prioritization for a route */
2852
3210
  export declare enum RouteOperatorsType {
2853
3211
  /** Default option. Operators ranking will not be taken into account if no type is given */
2854
3212
  NONE = "none",
2855
3213
  /** Operators given in the operators ranking will be preferred when calculating routes */
2856
3214
  PREFERRED = "preferred",
2857
- /** Operators given in the operators ranking will be required when calculating routes,excluded operators will be ignored */
3215
+ /** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
2858
3216
  REQUIRED = "required"
2859
3217
  }
2860
3218
  export declare type RoutePath = {
@@ -2911,10 +3269,34 @@ export declare enum RouteStatus {
2911
3269
  /** An error occurred while computing the route. Final status */
2912
3270
  ERROR = "error"
2913
3271
  }
3272
+ export declare type RouteStep = {
3273
+ /** ID of a step */
3274
+ id?: Maybe<Scalars["ID"]>;
3275
+ /** Type of a step */
3276
+ type?: Maybe<StepType>;
3277
+ /** Polyline containing encoded coordinates */
3278
+ polyline?: Maybe<Scalars["String"]>;
3279
+ /** Distance from the start to the end of a step, in meters */
3280
+ distance?: Maybe<Scalars["Int"]>;
3281
+ /** Total drive time from the start to the end of a step, in seconds */
3282
+ duration?: Maybe<Scalars["Int"]>;
3283
+ /** Total enery used in a step in kWh */
3284
+ consumption?: Maybe<Scalars["Float"]>;
3285
+ };
3286
+ export declare type RouteSteppolylineArgs = {
3287
+ decimals?: Maybe<Scalars["Int"]>;
3288
+ };
3289
+ /** Tags of a route */
3290
+ export declare enum RouteTagType {
3291
+ ROAD = "road",
3292
+ HIGHWAY = "highway",
3293
+ TOLL = "toll",
3294
+ FERRY = "ferry"
3295
+ }
2914
3296
  /** Standards(plug type) stats model */
2915
3297
  export declare type StandardStats = {
2916
3298
  /** The plug type */
2917
- type?: Maybe<OCPIConnectorType>;
3299
+ type?: Maybe<ConnectorType>;
2918
3300
  /** The total number of stations with the specified plug */
2919
3301
  total?: Maybe<Scalars["Int"]>;
2920
3302
  };
@@ -2984,7 +3366,7 @@ export declare type Station = {
2984
3366
  elevation?: Maybe<Scalars["Int"]>;
2985
3367
  /** Groups of EVSEs by power and type */
2986
3368
  chargers?: Maybe<Array<Maybe<Charger>>>;
2987
- /** Amenties located at this location */
3369
+ /** Amenities located at this location */
2988
3370
  amenities?: Maybe<Scalars["JSON"]>;
2989
3371
  /** Enriched information about the physical address of a station */
2990
3372
  physical_address?: Maybe<Address>;
@@ -3064,7 +3446,20 @@ export declare type StationStats = {
3064
3446
  /** Stations count grouped by amenities */
3065
3447
  amenities?: Maybe<Array<Maybe<AmenityStats>>>;
3066
3448
  };
3449
+ /** Types of a route step */
3450
+ export declare enum StepType {
3451
+ /** This step is a road */
3452
+ ROAD = "road",
3453
+ /** This step is a highway */
3454
+ HIGHWAY = "highway",
3455
+ /** This step is a toll road */
3456
+ TOLL = "toll",
3457
+ /** This step is a ferry */
3458
+ FERRY = "ferry"
3459
+ }
3067
3460
  export declare type Subscription = {
3461
+ /** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
3462
+ navigationUpdatedById?: Maybe<Navigation>;
3068
3463
  /**
3069
3464
  * Subscription for a new operator was added in the system event
3070
3465
  * @deprecated operatorAdded has been removed, no value will be sent.
@@ -3118,6 +3513,9 @@ export declare type Subscription = {
3118
3513
  */
3119
3514
  stationDeletedById?: Maybe<Station>;
3120
3515
  };
3516
+ export declare type SubscriptionnavigationUpdatedByIdArgs = {
3517
+ id: Scalars["ID"];
3518
+ };
3121
3519
  export declare type SubscriptionoperatorUpdatedByIdArgs = {
3122
3520
  id: Scalars["ID"];
3123
3521
  };