@chargetrip/types 1.20.0 → 1.23.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
@@ -82,7 +82,7 @@ export enum BatteryInputType {
82
82
  KWH = "kwh",
83
83
  KM = "km",
84
84
  MILES = "miles",
85
- PERCENTAGE = "percentage"
85
+ PERCENTAGE = "percentage",
86
86
  }
87
87
 
88
88
  /** Output of a car query */
@@ -280,7 +280,7 @@ export enum CarBatteryFieldEstimations {
280
280
  /** None of the battery kWh fields are estimations */
281
281
  N = "N",
282
282
  /** usable_kwh field is estimated */
283
- U = "U"
283
+ U = "U",
284
284
  }
285
285
 
286
286
  export type CarBody = {
@@ -315,7 +315,7 @@ export enum CarDrivetrain {
315
315
  /** Battery Electric Car */
316
316
  BEV = "BEV",
317
317
  /** Extended Range Electric Car */
318
- EREV = "EREV"
318
+ EREV = "EREV",
319
319
  }
320
320
 
321
321
  /** Deprecated */
@@ -341,7 +341,7 @@ export type CarExtraConsumption = {
341
341
  /** Fuel type */
342
342
  export enum CarFuel {
343
343
  /** Electricity only. Full electric car */
344
- E = "E"
344
+ E = "E",
345
345
  }
346
346
 
347
347
  export type CarImage = {
@@ -386,13 +386,13 @@ export enum CarImageType {
386
386
  /** Full-sized brand (maker) logo at 768x432 px */
387
387
  BRAND = "brand",
388
388
  /** Thumbnail of a full-sized brand logo at 56x24 px */
389
- BRAND_THUMBNAIL = "brand_thumbnail"
389
+ BRAND_THUMBNAIL = "brand_thumbnail",
390
390
  }
391
391
 
392
392
  /** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
393
393
  export enum CarImageTypeUploadable {
394
394
  /** Full size image with a resolution at least 1536x864 px */
395
- IMAGE = "image"
395
+ IMAGE = "image",
396
396
  }
397
397
 
398
398
  /** The output element of the carList query */
@@ -655,7 +655,7 @@ export enum CarMode {
655
655
  /** Car is in production and has been released */
656
656
  PRODUCTION = "production",
657
657
  /** Future releases of a car, a concept of the car, specs may change over time */
658
- CONCEPT = "concept"
658
+ CONCEPT = "concept",
659
659
  }
660
660
 
661
661
  export type CarNaming = {
@@ -681,7 +681,7 @@ export type CarPerformance = {
681
681
  /** Car plug model */
682
682
  export type CarPlug = {
683
683
  /** Plug type, known as connector standard in OCPI */
684
- standard?: Maybe<OCPIConnectorType>;
684
+ standard?: Maybe<ConnectorType>;
685
685
  /** Usable electric power in kW */
686
686
  power?: Maybe<Scalars["Float"]>;
687
687
  /** Maximum electric power in kW */
@@ -899,7 +899,7 @@ export type CarPremiumChargeOptionOBC = {
899
899
 
900
900
  export type CarPremiumChargePlug = {
901
901
  /** Type of charge port on vehicle */
902
- value?: Maybe<OCPIConnectorType>;
902
+ value?: Maybe<ConnectorType>;
903
903
  /** Indicates if value is an estimate */
904
904
  is_estimated?: Maybe<Scalars["Boolean"]>;
905
905
  /** Location of charge port */
@@ -1236,7 +1236,7 @@ export enum CarPropulsion {
1236
1236
  /** Front-wheel drive car */
1237
1237
  FRONT = "Front",
1238
1238
  /** Rear-wheel drive car */
1239
- REAR = "Rear"
1239
+ REAR = "Rear",
1240
1240
  }
1241
1241
 
1242
1242
  export type CarRange = {
@@ -1280,7 +1280,7 @@ export enum CarStatus {
1280
1280
  /** Is public and can be used by a customer */
1281
1281
  PUBLIC = "public",
1282
1282
  /** Is removed and can not be used */
1283
- REMOVED = "removed"
1283
+ REMOVED = "removed",
1284
1284
  }
1285
1285
 
1286
1286
  export type CarVideo = {
@@ -1295,13 +1295,13 @@ export enum ChargeMode {
1295
1295
  /** Optimizes the charging time at each station, in order to decrease the total travel time. You will only charge up until the SOC you need in order to reach the next stop */
1296
1296
  OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
1297
1297
  /** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
1298
- ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1298
+ ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE",
1299
1299
  }
1300
1300
 
1301
1301
  /** A groupped representation of EVSEs */
1302
1302
  export type Charger = {
1303
1303
  /** Type of charger */
1304
- standard?: Maybe<OCPIConnectorType>;
1304
+ standard?: Maybe<ConnectorType>;
1305
1305
  /** Power of a charger */
1306
1306
  power?: Maybe<Scalars["Float"]>;
1307
1307
  /** Price of a charger */
@@ -1322,7 +1322,7 @@ export enum ChargerStatus {
1322
1322
  /** The charger is unknown */
1323
1323
  UNKNOWN = "unknown",
1324
1324
  /** The charger has an error */
1325
- ERROR = "error"
1325
+ ERROR = "error",
1326
1326
  }
1327
1327
 
1328
1328
  /** Groupping by status of the chargers */
@@ -1350,7 +1350,7 @@ export type Connector = {
1350
1350
  /** 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. */
1351
1351
  id?: Maybe<Scalars["String"]>;
1352
1352
  /** Standard of an installed connector. */
1353
- standard?: Maybe<OCPIConnectorType>;
1353
+ standard?: Maybe<ConnectorType>;
1354
1354
  /** Format (socket/cable) of an installed connector. */
1355
1355
  format?: Maybe<OCPIConnectorFormat>;
1356
1356
  /** Type of power of an installed connector. */
@@ -1381,8 +1381,92 @@ export type Connector = {
1381
1381
  properties?: Maybe<Scalars["JSON"]>;
1382
1382
  /** List of valid charging tariffs */
1383
1383
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1384
+ /** Charging prices, only available when using the EcoMovement database */
1385
+ pricing?: Maybe<Pricing>;
1384
1386
  };
1385
1387
 
1388
+ /** The socket or plug standard of the charging point. */
1389
+ export enum ConnectorType {
1390
+ /** The connector type is CHAdeMO, DC */
1391
+ CHADEMO = "CHADEMO",
1392
+ /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
1393
+ DOMESTIC_A = "DOMESTIC_A",
1394
+ /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
1395
+ DOMESTIC_B = "DOMESTIC_B",
1396
+ /** Standard/domestic household, type "C", CEE 7/17, 2 pins */
1397
+ DOMESTIC_C = "DOMESTIC_C",
1398
+ /** Standard/domestic household, type "D", 3 pins */
1399
+ DOMESTIC_D = "DOMESTIC_D",
1400
+ /** Standard/domestic household, type "E", CEE 7/5 3 pins */
1401
+ DOMESTIC_E = "DOMESTIC_E",
1402
+ /** Standard/domestic household, type "F", CEE 7/4, Schuko, 3 pins */
1403
+ DOMESTIC_F = "DOMESTIC_F",
1404
+ /** Standard/domestic household, type "G", BS 1363, Commonwealth, 3 pins */
1405
+ DOMESTIC_G = "DOMESTIC_G",
1406
+ /** Standard/domestic household, type "H", SI-32, 3 pins */
1407
+ DOMESTIC_H = "DOMESTIC_H",
1408
+ /** Standard/domestic household, type "I", AS 3112, 3 pins */
1409
+ DOMESTIC_I = "DOMESTIC_I",
1410
+ /** Standard/domestic household, type "J", SEV 1011, 3 pins */
1411
+ DOMESTIC_J = "DOMESTIC_J",
1412
+ /** Standard/domestic household, type "K", DS 60884-2-D1, 3 pins */
1413
+ DOMESTIC_K = "DOMESTIC_K",
1414
+ /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
1415
+ DOMESTIC_L = "DOMESTIC_L",
1416
+ /** Standard/Domestic household, type "M", BS 546, 3 pins */
1417
+ DOMESTIC_M = "DOMESTIC_M",
1418
+ /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
1419
+ DOMESTIC_N = "DOMESTIC_N",
1420
+ /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
1421
+ DOMESTIC_O = "DOMESTIC_O",
1422
+ /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1423
+ IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1424
+ /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
1425
+ IEC_60309_2_THREE_16 = "IEC_60309_2_three_16",
1426
+ /** IEC 60309-2 Industrial connector three phase 32 amperes (usually red) */
1427
+ IEC_60309_2_THREE_32 = "IEC_60309_2_three_32",
1428
+ /** IEC 60309-2 Industrial connector three phase 64 amperes (usually red) */
1429
+ IEC_60309_2_THREE_64 = "IEC_60309_2_three_64",
1430
+ /** IEC 62196 Type 1 "SAE J1772" */
1431
+ IEC_62196_T1 = "IEC_62196_T1",
1432
+ /** Combo Type 1 based, DC */
1433
+ IEC_62196_T1_COMBO = "IEC_62196_T1_COMBO",
1434
+ /** IEC 62196 Type 2 "Mennekes" */
1435
+ IEC_62196_T2 = "IEC_62196_T2",
1436
+ /** Combo Type 2 based, DC */
1437
+ IEC_62196_T2_COMBO = "IEC_62196_T2_COMBO",
1438
+ /** IEC 62196 Type 3A */
1439
+ IEC_62196_T3A = "IEC_62196_T3A",
1440
+ /** IEC 62196 Type 3C "Scame" */
1441
+ IEC_62196_T3C = "IEC_62196_T3C",
1442
+ /** On-board bottom-up-pantograph typically for bus charging */
1443
+ PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
1444
+ /** Off-board top-down-pantograph typically for bus charging */
1445
+ PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
1446
+ /** Tesla connector "Roadster"-type (round, 4 pins) */
1447
+ TESLA_R = "TESLA_R",
1448
+ /** Tesla connector "Model-S"-type (oval, 5 pins) */
1449
+ TESLA_S = "TESLA_S",
1450
+ /** The connector type is GB_T (Chinese standard), DC */
1451
+ GB_T = "GB_T",
1452
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
1453
+ CHAOJI = "CHAOJI",
1454
+ /** The connector type is NEMA 5-20, 3 pins */
1455
+ NEMA_5_20 = "NEMA_5_20",
1456
+ /** The connector type is NEMA 6-30, 3 pins */
1457
+ NEMA_6_30 = "NEMA_6_30",
1458
+ /** The connector type is NEMA 6-50, 3 pins */
1459
+ NEMA_6_50 = "NEMA_6_50",
1460
+ /** The connector type is NEMA 10-30, 3 pins */
1461
+ NEMA_10_30 = "NEMA_10_30",
1462
+ /** The connector type is NEMA 10-50, 3 pins */
1463
+ NEMA_10_50 = "NEMA_10_50",
1464
+ /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
1465
+ NEMA_14_30 = "NEMA_14_30",
1466
+ /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
1467
+ NEMA_14_50 = "NEMA_14_50",
1468
+ }
1469
+
1386
1470
  /** The complete contact information */
1387
1471
  export type Contact = {
1388
1472
  /** The phone number in international format */
@@ -1633,7 +1717,7 @@ export enum CountryCodeAlpha2 {
1633
1717
  UY = "UY",
1634
1718
  UZ = "UZ",
1635
1719
  VA = "VA",
1636
- VC = "VC"
1720
+ VC = "VC",
1637
1721
  }
1638
1722
 
1639
1723
  /** EVSE data which extends OCPI EVSE */
@@ -1697,10 +1781,10 @@ export type FeaturePointInput = {
1697
1781
 
1698
1782
  /** GeoJSON Feature type */
1699
1783
  export enum FeatureType {
1700
- FEATURE = "Feature"
1784
+ FEATURE = "Feature",
1701
1785
  }
1702
1786
 
1703
- /** The types of the leg */
1787
+ /** Types of a leg */
1704
1788
  export enum LegType {
1705
1789
  /** This leg ends at a charging station and the car must recharge */
1706
1790
  STATION = "station",
@@ -1711,7 +1795,18 @@ export enum LegType {
1711
1795
  /** This leg ends at the destination, and is the last leg of the route */
1712
1796
  FINAL = "final",
1713
1797
  /** This leg ends at the destination which is a charging station, and is the last leg of the route */
1714
- STATIONFINAL = "stationFinal"
1798
+ STATIONFINAL = "stationFinal",
1799
+ }
1800
+
1801
+ /** Preferred language for the mapping */
1802
+ export enum MappingLanguage {
1803
+ EN = "en",
1804
+ }
1805
+
1806
+ /** Navigation service providers available */
1807
+ export enum MappingProvider {
1808
+ /** Mapbox Navigation */
1809
+ MAPBOXV5 = "MapboxV5",
1715
1810
  }
1716
1811
 
1717
1812
  export type Mutation = {
@@ -1779,7 +1874,9 @@ export enum OCPICapability {
1779
1874
  /** 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). */
1780
1875
  TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
1781
1876
  /** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
1782
- UNLOCK_CAPABLE = "UNLOCK_CAPABLE"
1877
+ UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
1878
+ /** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
1879
+ START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED",
1783
1880
  }
1784
1881
 
1785
1882
  /** The format of the connector, whether it is a socket or a plug. */
@@ -1787,10 +1884,10 @@ export enum OCPIConnectorFormat {
1787
1884
  /** The connector is a socket; the EV user needs to bring a fitting plug. */
1788
1885
  SOCKET = "SOCKET",
1789
1886
  /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
1790
- CABLE = "CABLE"
1887
+ CABLE = "CABLE",
1791
1888
  }
1792
1889
 
1793
- /** The socket or plug standard of the charging point. */
1890
+ /** Deprecated: Please use ConnectorType instead */
1794
1891
  export enum OCPIConnectorType {
1795
1892
  /** The connector type is CHAdeMO, DC */
1796
1893
  CHADEMO = "CHADEMO",
@@ -1818,6 +1915,12 @@ export enum OCPIConnectorType {
1818
1915
  DOMESTIC_K = "DOMESTIC_K",
1819
1916
  /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
1820
1917
  DOMESTIC_L = "DOMESTIC_L",
1918
+ /** Standard/Domestic household, type "M", BS 546, 3 pins */
1919
+ DOMESTIC_M = "DOMESTIC_M",
1920
+ /** Standard/Domestic household, type "N", NBR 14136, 3 pins */
1921
+ DOMESTIC_N = "DOMESTIC_N",
1922
+ /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
1923
+ DOMESTIC_O = "DOMESTIC_O",
1821
1924
  /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1822
1925
  IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1823
1926
  /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
@@ -1847,7 +1950,23 @@ export enum OCPIConnectorType {
1847
1950
  /** Tesla connector "Model-S"-type (oval, 5 pins) */
1848
1951
  TESLA_S = "TESLA_S",
1849
1952
  /** The connector type is GB_T (Chinese standard), DC */
1850
- GB_T = "GB_T"
1953
+ GB_T = "GB_T",
1954
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
1955
+ CHAOJI = "CHAOJI",
1956
+ /** The connector type is NEMA 5-20, 3 pins */
1957
+ NEMA_5_20 = "NEMA_5_20",
1958
+ /** The connector type is NEMA 6-30, 3 pins */
1959
+ NEMA_6_30 = "NEMA_6_30",
1960
+ /** The connector type is NEMA 6-50, 3 pins */
1961
+ NEMA_6_50 = "NEMA_6_50",
1962
+ /** The connector type is NEMA 10-30, 3 pins */
1963
+ NEMA_10_30 = "NEMA_10_30",
1964
+ /** The connector type is NEMA 10-50, 3 pins */
1965
+ NEMA_10_50 = "NEMA_10_50",
1966
+ /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
1967
+ NEMA_14_30 = "NEMA_14_30",
1968
+ /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
1969
+ NEMA_14_50 = "NEMA_14_50",
1851
1970
  }
1852
1971
 
1853
1972
  export enum OCPIDayOfWeek {
@@ -1857,7 +1976,7 @@ export enum OCPIDayOfWeek {
1857
1976
  THURSDAY = "THURSDAY",
1858
1977
  FRIDAY = "FRIDAY",
1859
1978
  SATURDAY = "SATURDAY",
1860
- SUNDAY = "SUNDAY"
1979
+ SUNDAY = "SUNDAY",
1861
1980
  }
1862
1981
 
1863
1982
  export type OCPIDisplayText = {
@@ -1905,7 +2024,7 @@ export enum OCPIEnergySourceCategory {
1905
2024
  /** Regenerative power from wind turbines. */
1906
2025
  WIND = "WIND",
1907
2026
  /** Regenerative power from water turbines. */
1908
- WATER = "WATER"
2027
+ WATER = "WATER",
1909
2028
  }
1910
2029
 
1911
2030
  /** Amount of waste produced/emitted per kWh. */
@@ -1921,7 +2040,7 @@ export enum OCPIEnvironmentalImpactCategory {
1921
2040
  /** Produced nuclear waste in grams per kilowatthour. */
1922
2041
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
1923
2042
  /** Exhausted carbon dioxide in grams per kilowatthour. */
1924
- CARBON_DIOXIDE = "CARBON_DIOXIDE"
2043
+ CARBON_DIOXIDE = "CARBON_DIOXIDE",
1925
2044
  }
1926
2045
 
1927
2046
  /** Specifies one exceptional period for opening or access hours. */
@@ -1972,7 +2091,7 @@ export enum OCPIFacility {
1972
2091
  /** A Fuel station. */
1973
2092
  FUEL_STATION = "FUEL_STATION",
1974
2093
  /** Wifi or other type of internet available. */
1975
- WIFI = "WIFI"
2094
+ WIFI = "WIFI",
1976
2095
  }
1977
2096
 
1978
2097
  /** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
@@ -2025,7 +2144,7 @@ export enum OCPIImageCategory {
2025
2144
  /** Other */
2026
2145
  OTHER = "OTHER",
2027
2146
  /** Logo of the charge point owner, for example a local store, to be displayed in the EVSEs detailed information view. */
2028
- OWNER = "OWNER"
2147
+ OWNER = "OWNER",
2029
2148
  }
2030
2149
 
2031
2150
  /** This value, if provided, represents the restriction to the parking spot for different purposes. */
@@ -2039,7 +2158,7 @@ export enum OCPIParkingRestriction {
2039
2158
  /** Parking spot for customers/guests only, for example in case of a hotel or shop. */
2040
2159
  CUSTOMERS = "CUSTOMERS",
2041
2160
  /** Parking spot only suitable for (electric) motorcycles or scooters. */
2042
- MOTORCYCLES = "MOTORCYCLES"
2161
+ MOTORCYCLES = "MOTORCYCLES",
2043
2162
  }
2044
2163
 
2045
2164
  /** Reflects the general type of the charge point’s location. May be used for user information. */
@@ -2055,7 +2174,7 @@ export enum OCPIParkingType {
2055
2174
  /** Parking in public space along a street. */
2056
2175
  ON_STREET = "ON_STREET",
2057
2176
  /** Multistorey car park, mainly underground. */
2058
- UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
2177
+ UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE",
2059
2178
  }
2060
2179
 
2061
2180
  export enum OCPIPowerType {
@@ -2063,8 +2182,12 @@ export enum OCPIPowerType {
2063
2182
  AC_1_PHASE = "AC_1_PHASE",
2064
2183
  /** AC three phase. */
2065
2184
  AC_3_PHASE = "AC_3_PHASE",
2185
+ /** AC two phases, only two of the three available phases connected. */
2186
+ AC_2_PHASE = "AC_2_PHASE",
2187
+ /** AC two phases using split phase system. */
2188
+ AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
2066
2189
  /** Direct Current. */
2067
- DC = "DC"
2190
+ DC = "DC",
2068
2191
  }
2069
2192
 
2070
2193
  export type OCPIPrice = {
@@ -2099,7 +2222,7 @@ export enum OCPIReservationRestrictionType {
2099
2222
  /** Used in TariffElements to describe costs for a reservation. */
2100
2223
  RESERVATION = "RESERVATION",
2101
2224
  /** Used in TariffElements to describe costs for a reservation that expires (i.e. driver does not start a charging session before expiry_date of the reservation). */
2102
- RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
2225
+ RESERVATION_EXPIRES = "RESERVATION_EXPIRES",
2103
2226
  }
2104
2227
 
2105
2228
  /** The status of an EVSE. */
@@ -2121,7 +2244,7 @@ export enum OCPIStatus {
2121
2244
  /** The EVSE/Connector is reserved for a particular EV driver and is unavailable for other drivers. */
2122
2245
  RESERVED = "RESERVED",
2123
2246
  /** No status information available (also used when offline). */
2124
- UNKNOWN = "UNKNOWN"
2247
+ UNKNOWN = "UNKNOWN",
2125
2248
  }
2126
2249
 
2127
2250
  /** This type is used to schedule status periods in the future. The eMSP can provide this information to the EV user for trip planning purposes. A period MAY have no end. Example: "This station will be running as of tomorrow. Today it is still planned and under construction. */
@@ -2173,7 +2296,7 @@ export enum OCPITariffDimensionType {
2173
2296
  /** Time not charging: defined in hours, step_size multiplier: 1 second */
2174
2297
  PARKING_TIME = "PARKING_TIME",
2175
2298
  /** Time charging: defined in hours, step_size multiplier: 1 second Can also be used in combination with a RESERVATION restriction to describe the price of the reservation time. */
2176
- TIME = "TIME"
2299
+ TIME = "TIME",
2177
2300
  }
2178
2301
 
2179
2302
  export type OCPITariffElement = {
@@ -2224,7 +2347,7 @@ export enum OCPITariffType {
2224
2347
  /** Used to describe that a tariff is valid when charging preference: GREEN is set for the session */
2225
2348
  PROFILE_GREEN = "PROFILE_GREEN",
2226
2349
  /** Used to describe that a tariff is valid when using an RFID, without any charging preference, or when charging preference: REGULAR is set for the session */
2227
- REGULAR = "REGULAR"
2350
+ REGULAR = "REGULAR",
2228
2351
  }
2229
2352
 
2230
2353
  /** The operator data which extends OCPI BusinessDetails */
@@ -2245,12 +2368,20 @@ export type Operator = {
2245
2368
  countries?: Maybe<Array<CountryCodeAlpha2>>;
2246
2369
  /** Contact information */
2247
2370
  contact?: Maybe<Contact>;
2371
+ /** Ranking level on which the operator is placed or null in case the operator is not on any ranking level */
2372
+ ranking?: Maybe<Scalars["Int"]>;
2373
+ /** Flag which indicates if the operator is in the excluded list */
2374
+ excluded?: Maybe<Scalars["Boolean"]>;
2248
2375
  };
2249
2376
 
2250
2377
  /** Filter which can be applied to retrieve the operator list action */
2251
2378
  export type OperatorListFilter = {
2252
2379
  /** ISO-3166 alpha-2 country codes an operator is active in. */
2253
2380
  countries?: Maybe<Array<CountryCodeAlpha2>>;
2381
+ /** List of ranking level(s) to be retrieved. Valid values are 1 to 10 */
2382
+ ranking?: Maybe<Array<Scalars["Int"]>>;
2383
+ /** Only retrieve operators that are in the excluded list */
2384
+ excluded?: Maybe<Scalars["Boolean"]>;
2254
2385
  };
2255
2386
 
2256
2387
  /** Filter which can be applied to retrieve the operator list action */
@@ -2269,7 +2400,7 @@ export enum ParkingCost {
2269
2400
  /** Parking is free */
2270
2401
  FREE = "free",
2271
2402
  /** Parking includes a fee */
2272
- PAID = "paid"
2403
+ PAID = "paid",
2273
2404
  }
2274
2405
 
2275
2406
  export type PathSegment = {
@@ -2305,7 +2436,7 @@ export type PointInput = {
2305
2436
 
2306
2437
  /** GeoJSON Point type */
2307
2438
  export enum PointType {
2308
- POINT = "Point"
2439
+ POINT = "Point",
2309
2440
  }
2310
2441
 
2311
2442
  /** The list of powers for the speed type */
@@ -2332,10 +2463,59 @@ export type Price = {
2332
2463
  currency?: Maybe<Scalars["String"]>;
2333
2464
  /** The pricing model */
2334
2465
  model?: Maybe<Scalars["String"]>;
2335
- /** The value of the price which should be deplay by the frontend */
2466
+ /** The value of the price which should be display by the frontend */
2336
2467
  displayValue?: Maybe<Scalars["String"]>;
2337
2468
  };
2338
2469
 
2470
+ export type Pricing = {
2471
+ /** Unique ID of a price */
2472
+ id?: Maybe<Scalars["String"]>;
2473
+ /** Price details */
2474
+ price_list?: Maybe<Array<Maybe<PricingList>>>;
2475
+ };
2476
+
2477
+ export type PricingList = {
2478
+ /** (MSP) Mobility Service Provider */
2479
+ partner?: Maybe<Scalars["String"]>;
2480
+ /** Product details */
2481
+ product?: Maybe<PricingListProduct>;
2482
+ /** Price product elements */
2483
+ elements?: Maybe<Array<Maybe<PricingListElement>>>;
2484
+ };
2485
+
2486
+ export type PricingListElement = {
2487
+ /** Price element type. */
2488
+ type?: Maybe<PricingListElementType>;
2489
+ /** Price of the element type without VAT. */
2490
+ price_excl_vat?: Maybe<Scalars["Float"]>;
2491
+ /** VAT percentage to apply */
2492
+ vat?: Maybe<Scalars["Float"]>;
2493
+ };
2494
+
2495
+ export enum PricingListElementType {
2496
+ /** Price per kWh */
2497
+ ENERGY = "ENERGY",
2498
+ /** Starting price, fixed fee per charge session */
2499
+ FLAT = "FLAT",
2500
+ /** Fixed price per hour */
2501
+ TIME = "TIME",
2502
+ /** Parking price per hour */
2503
+ PARKING_TIME = "PARKING_TIME",
2504
+ }
2505
+
2506
+ export type PricingListProduct = {
2507
+ /** Name of the payment card or subscription. If name is 'Adhoc price' the price is the CPO price */
2508
+ name?: Maybe<Scalars["String"]>;
2509
+ /** Description of the product */
2510
+ description?: Maybe<Scalars["String"]>;
2511
+ /** Subscription type */
2512
+ subscription_type?: Maybe<Scalars["String"]>;
2513
+ /** Subscription fee without VAT */
2514
+ subscription_fee_excl_vat?: Maybe<Scalars["Float"]>;
2515
+ /** Currency */
2516
+ currency?: Maybe<Scalars["String"]>;
2517
+ };
2518
+
2339
2519
  export type Query = {
2340
2520
  /** Get a full list of amenities around a station */
2341
2521
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
@@ -2373,6 +2553,8 @@ export type Query = {
2373
2553
  tariff?: Maybe<OCPITariff>;
2374
2554
  /** Get the full list of tariffs */
2375
2555
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
2556
+ /** Convert a route to navigation instructions for a specified mapping provider */
2557
+ navigationMapping?: Maybe<Scalars["JSON"]>;
2376
2558
  };
2377
2559
 
2378
2560
  export type QueryamenityListArgs = {
@@ -2454,6 +2636,13 @@ export type QuerytariffListArgs = {
2454
2636
  page?: Maybe<Scalars["Int"]>;
2455
2637
  };
2456
2638
 
2639
+ export type QuerynavigationMappingArgs = {
2640
+ id: Scalars["ID"];
2641
+ provider: MappingProvider;
2642
+ precision?: Maybe<Scalars["Int"]>;
2643
+ language?: Maybe<MappingLanguage>;
2644
+ };
2645
+
2457
2646
  /** EV specific data for a route request */
2458
2647
  export type RequestEv = {
2459
2648
  /** Internal ID of a Car */
@@ -2468,8 +2657,13 @@ export type RequestEv = {
2468
2657
  minPower?: Maybe<Scalars["Int"]>;
2469
2658
  /** Climate is on. The default is true */
2470
2659
  climate?: Maybe<Scalars["Boolean"]>;
2471
- /** The number of passengers on board */
2660
+ /**
2661
+ * The number of passengers on board
2662
+ * @deprecated In favor of occupants
2663
+ */
2472
2664
  numberOfPassengers?: Maybe<Scalars["Int"]>;
2665
+ /** Number of occupants */
2666
+ occupants?: Maybe<Scalars["Int"]>;
2473
2667
  /** Consumption specific to an EV or inputed by a request */
2474
2668
  consumption?: Maybe<RequestEvConsumption>;
2475
2669
  };
@@ -2543,8 +2737,8 @@ export type RequestEvInput = {
2543
2737
  minPower?: Maybe<Scalars["Int"]>;
2544
2738
  /** Flag which indicates if the climate is on. The default is true */
2545
2739
  climate?: Maybe<Scalars["Boolean"]>;
2546
- /** Number of passengers on board */
2547
- numberOfPassengers?: Maybe<Scalars["Int"]>;
2740
+ /** Number of occupants */
2741
+ occupants?: Maybe<Scalars["Int"]>;
2548
2742
  /** Consumption specific to the EV or inputted by the request */
2549
2743
  consumption?: Maybe<RequestEvConsumptionInput>;
2550
2744
  /** Deprecated */
@@ -2555,14 +2749,14 @@ export type RequestEvInput = {
2555
2749
 
2556
2750
  export type RequestEvPlug = {
2557
2751
  /** Type of the plug */
2558
- standard?: Maybe<OCPIConnectorType>;
2752
+ standard?: Maybe<ConnectorType>;
2559
2753
  /** Maximum charging speed for a plug */
2560
2754
  chargingPower?: Maybe<Scalars["Float"]>;
2561
2755
  };
2562
2756
 
2563
2757
  export type RequestEvPlugInput = {
2564
2758
  /** Type of a plug */
2565
- standard: OCPIConnectorType;
2759
+ standard: ConnectorType;
2566
2760
  /** Maximum charging speed for this plug */
2567
2761
  chargingPower: Scalars["Float"];
2568
2762
  };
@@ -2592,7 +2786,7 @@ export type RequestRoute = {
2592
2786
  * @deprecated Will be removed. Use the operators property instead
2593
2787
  */
2594
2788
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2595
- /** Operator preferences for a route */
2789
+ /** Operator prioritization for a route */
2596
2790
  operators?: Maybe<RouteOperators>;
2597
2791
  /** Season */
2598
2792
  season?: Maybe<RouteSeason>;
@@ -2621,7 +2815,7 @@ export type RequestRouteInput = {
2621
2815
  operatorRequired?: Maybe<Scalars["Boolean"]>;
2622
2816
  /** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
2623
2817
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2624
- /** Operator preferences for a route */
2818
+ /** Operator prioritization for a route */
2625
2819
  operators?: Maybe<RouteOperatorsInput>;
2626
2820
  /** Optional flag to specify the season */
2627
2821
  season?: Maybe<RouteSeason>;
@@ -2663,7 +2857,7 @@ export type Review = {
2663
2857
  /** Car that was provided/selected by a user */
2664
2858
  ev?: Maybe<Car>;
2665
2859
  /** Plug type that was provided/selected by a user */
2666
- plugType?: Maybe<OCPIConnectorType>;
2860
+ plugType?: Maybe<ConnectorType>;
2667
2861
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2668
2862
  properties?: Maybe<Scalars["JSON"]>;
2669
2863
  /** Boolean tags for a station review */
@@ -2687,7 +2881,7 @@ export type ReviewAdd = {
2687
2881
  /** ID of the Car that was provided/selected by a user */
2688
2882
  ev?: Maybe<Scalars["String"]>;
2689
2883
  /** Plug type that was provided/selected by a user */
2690
- plugType?: Maybe<OCPIConnectorType>;
2884
+ plugType?: Maybe<ConnectorType>;
2691
2885
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2692
2886
  properties?: Maybe<Scalars["JSON"]>;
2693
2887
  /** Boolean tags for a station review */
@@ -2791,7 +2985,10 @@ export type RouteAlternative = {
2791
2985
  consumption?: Maybe<Scalars["Float"]>;
2792
2986
  /** Total time required to charge for an entire route, in seconds */
2793
2987
  chargeTime?: Maybe<Scalars["Float"]>;
2794
- /** Amenity ranking for an alternative */
2988
+ /**
2989
+ * Amenity ranking for an alternative
2990
+ * @deprecated Will be removed in the future
2991
+ */
2795
2992
  amenityRanking?: Maybe<Scalars["Int"]>;
2796
2993
  /** Range, in meters, available at the beginning of a trip */
2797
2994
  rangeStart?: Maybe<Scalars["Int"]>;
@@ -2830,6 +3027,8 @@ export type RouteAlternative = {
2830
3027
  instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
2831
3028
  /** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
2832
3029
  stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
3030
+ /** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
3031
+ tags?: Maybe<Array<Maybe<RouteTagType>>>;
2833
3032
  };
2834
3033
 
2835
3034
  export type RouteAlternativepolylineArgs = {
@@ -2853,10 +3052,10 @@ export type RouteAlternativeSaving = {
2853
3052
  export enum RouteAlternativeType {
2854
3053
  /** Fastest route between origin and destination */
2855
3054
  FASTEST = "fastest",
2856
- /** Best matching amenities along the route with the requested list */
3055
+ /** Best matching route based on operator and amenities preferences */
2857
3056
  BESTMATCHING = "bestMatching",
2858
3057
  /** An alternative to the fastest route */
2859
- ALTERNATIVE = "alternative"
3058
+ ALTERNATIVE = "alternative",
2860
3059
  }
2861
3060
 
2862
3061
  export type RouteInstruction = {
@@ -2906,7 +3105,7 @@ export enum RouteInstructionSign {
2906
3105
  PT_START_TRIP = "PT_START_TRIP",
2907
3106
  PT_TRANSFER = "PT_TRANSFER",
2908
3107
  PT_END_TRIP = "PT_END_TRIP",
2909
- IGNORE = "IGNORE"
3108
+ IGNORE = "IGNORE",
2910
3109
  }
2911
3110
 
2912
3111
  export type RouteLeg = {
@@ -2940,8 +3139,12 @@ export type RouteLeg = {
2940
3139
  name?: Maybe<Scalars["String"]>;
2941
3140
  /** ID of a station */
2942
3141
  stationId?: Maybe<Scalars["String"]>;
2943
- /** ID of the operator */
3142
+ /** ID of an operator */
2944
3143
  operatorId?: Maybe<Scalars["String"]>;
3144
+ /** Name of an operator */
3145
+ operatorName?: Maybe<Scalars["String"]>;
3146
+ /** Ranking of an operator */
3147
+ operatorRanking?: Maybe<Scalars["Int"]>;
2945
3148
  /** Total time required to charge a battery until 80%, in seconds */
2946
3149
  chargeTime?: Maybe<Scalars["Int"]>;
2947
3150
  /** Recommended EVSE where to charge */
@@ -2958,8 +3161,19 @@ export type RouteLeg = {
2958
3161
  plugsOutOfOrder?: Maybe<Scalars["Int"]>;
2959
3162
  /** Total number of plugs at a charge station */
2960
3163
  plugsCount?: Maybe<Scalars["Int"]>;
3164
+ /** Polyline containing encoded coordinates */
3165
+ polyline?: Maybe<Scalars["String"]>;
3166
+ /** Steps of a leg */
3167
+ steps?: Maybe<Array<Maybe<RouteStep>>>;
3168
+ /** Tags of a leg. Values: road, highway, toll, ferry */
3169
+ tags?: Maybe<Array<Maybe<RouteTagType>>>;
2961
3170
  };
2962
3171
 
3172
+ export type RouteLegpolylineArgs = {
3173
+ decimals?: Maybe<Scalars["Int"]>;
3174
+ };
3175
+
3176
+ /** Prioritized operators for a route calculation */
2963
3177
  export type RouteOperators = {
2964
3178
  /** Flag indicating if the operators ranking should be preferred or required */
2965
3179
  type?: Maybe<RouteOperatorsType>;
@@ -2969,7 +3183,7 @@ export type RouteOperators = {
2969
3183
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2970
3184
  };
2971
3185
 
2972
- /** Preferred operators for a route calculation */
3186
+ /** Prioritized operators for a route calculation */
2973
3187
  export type RouteOperatorsInput = {
2974
3188
  /** Flag indicating if the operators ranking should be preferred or required */
2975
3189
  type?: Maybe<RouteOperatorsType>;
@@ -2979,7 +3193,7 @@ export type RouteOperatorsInput = {
2979
3193
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2980
3194
  };
2981
3195
 
2982
- /** Ranking configuration for preferred operators */
3196
+ /** Ranking configuration for prioritized operators */
2983
3197
  export type RouteOperatorsRanking = {
2984
3198
  /** Level 1 (most significant) for operator ranking */
2985
3199
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -3003,7 +3217,7 @@ export type RouteOperatorsRanking = {
3003
3217
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3004
3218
  };
3005
3219
 
3006
- /** Ranking configuration for preferred operators */
3220
+ /** Ranking configuration for prioritized operators */
3007
3221
  export type RouteOperatorsRankingInput = {
3008
3222
  /** Level 1 (most significant) for operator ranking */
3009
3223
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -3027,14 +3241,14 @@ export type RouteOperatorsRankingInput = {
3027
3241
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3028
3242
  };
3029
3243
 
3030
- /** Type of operator preference for a route */
3244
+ /** Type of operator prioritization for a route */
3031
3245
  export enum RouteOperatorsType {
3032
3246
  /** Default option. Operators ranking will not be taken into account if no type is given */
3033
3247
  NONE = "none",
3034
3248
  /** Operators given in the operators ranking will be preferred when calculating routes */
3035
3249
  PREFERRED = "preferred",
3036
- /** Operators given in the operators ranking will be required when calculating routes,excluded operators will be ignored */
3037
- REQUIRED = "required"
3250
+ /** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
3251
+ REQUIRED = "required",
3038
3252
  }
3039
3253
 
3040
3254
  export type RoutePath = {
@@ -3063,7 +3277,7 @@ export enum RouteSeason {
3063
3277
  /** We suppose it is winter and we have the worst weather conditions */
3064
3278
  WINTER = "winter",
3065
3279
  /** We fetch the current weather conditions */
3066
- CURRENT = "current"
3280
+ CURRENT = "current",
3067
3281
  }
3068
3282
 
3069
3283
  export type RouteStationsAlong = {
@@ -3092,13 +3306,40 @@ export enum RouteStatus {
3092
3306
  /** We finished the computing the route, without any result. Final status */
3093
3307
  NOT_FOUND = "not_found",
3094
3308
  /** An error occurred while computing the route. Final status */
3095
- ERROR = "error"
3309
+ ERROR = "error",
3310
+ }
3311
+
3312
+ export type RouteStep = {
3313
+ /** ID of a step */
3314
+ id?: Maybe<Scalars["ID"]>;
3315
+ /** Type of a step */
3316
+ type?: Maybe<StepType>;
3317
+ /** Polyline containing encoded coordinates */
3318
+ polyline?: Maybe<Scalars["String"]>;
3319
+ /** Distance from the start to the end of a step, in meters */
3320
+ distance?: Maybe<Scalars["Int"]>;
3321
+ /** Total drive time from the start to the end of a step, in seconds */
3322
+ duration?: Maybe<Scalars["Int"]>;
3323
+ /** Total enery used in a step in kWh */
3324
+ consumption?: Maybe<Scalars["Float"]>;
3325
+ };
3326
+
3327
+ export type RouteSteppolylineArgs = {
3328
+ decimals?: Maybe<Scalars["Int"]>;
3329
+ };
3330
+
3331
+ /** Tags of a route */
3332
+ export enum RouteTagType {
3333
+ ROAD = "road",
3334
+ HIGHWAY = "highway",
3335
+ TOLL = "toll",
3336
+ FERRY = "ferry",
3096
3337
  }
3097
3338
 
3098
3339
  /** Standards(plug type) stats model */
3099
3340
  export type StandardStats = {
3100
3341
  /** The plug type */
3101
- type?: Maybe<OCPIConnectorType>;
3342
+ type?: Maybe<ConnectorType>;
3102
3343
  /** The total number of stations with the specified plug */
3103
3344
  total?: Maybe<Scalars["Int"]>;
3104
3345
  };
@@ -3169,7 +3410,7 @@ export type Station = {
3169
3410
  elevation?: Maybe<Scalars["Int"]>;
3170
3411
  /** Groups of EVSEs by power and type */
3171
3412
  chargers?: Maybe<Array<Maybe<Charger>>>;
3172
- /** Amenties located at this location */
3413
+ /** Amenities located at this location */
3173
3414
  amenities?: Maybe<Scalars["JSON"]>;
3174
3415
  /** Enriched information about the physical address of a station */
3175
3416
  physical_address?: Maybe<Address>;
@@ -3243,7 +3484,7 @@ export enum StationSpeedType {
3243
3484
  /** Fast charging stations (above 43 kWh and below 150 kWh) */
3244
3485
  FAST = "fast",
3245
3486
  /** Ultra fast charging stations (above 150 kWh) */
3246
- TURBO = "turbo"
3487
+ TURBO = "turbo",
3247
3488
  }
3248
3489
 
3249
3490
  /** The station stats model */
@@ -3256,6 +3497,18 @@ export type StationStats = {
3256
3497
  amenities?: Maybe<Array<Maybe<AmenityStats>>>;
3257
3498
  };
3258
3499
 
3500
+ /** Types of a route step */
3501
+ export enum StepType {
3502
+ /** This step is a road */
3503
+ ROAD = "road",
3504
+ /** This step is a highway */
3505
+ HIGHWAY = "highway",
3506
+ /** This step is a toll road */
3507
+ TOLL = "toll",
3508
+ /** This step is a ferry */
3509
+ FERRY = "ferry",
3510
+ }
3511
+
3259
3512
  export type Subscription = {
3260
3513
  /**
3261
3514
  * Subscription for a new operator was added in the system event