@chargetrip/types 1.18.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
@@ -81,7 +81,8 @@ export type AmenityStats = {
81
81
  export enum BatteryInputType {
82
82
  KWH = "kwh",
83
83
  KM = "km",
84
- MILES = "miles"
84
+ MILES = "miles",
85
+ PERCENTAGE = "percentage",
85
86
  }
86
87
 
87
88
  /** Output of a car query */
@@ -279,7 +280,7 @@ export enum CarBatteryFieldEstimations {
279
280
  /** None of the battery kWh fields are estimations */
280
281
  N = "N",
281
282
  /** usable_kwh field is estimated */
282
- U = "U"
283
+ U = "U",
283
284
  }
284
285
 
285
286
  export type CarBody = {
@@ -314,7 +315,7 @@ export enum CarDrivetrain {
314
315
  /** Battery Electric Car */
315
316
  BEV = "BEV",
316
317
  /** Extended Range Electric Car */
317
- EREV = "EREV"
318
+ EREV = "EREV",
318
319
  }
319
320
 
320
321
  /** Deprecated */
@@ -340,7 +341,7 @@ export type CarExtraConsumption = {
340
341
  /** Fuel type */
341
342
  export enum CarFuel {
342
343
  /** Electricity only. Full electric car */
343
- E = "E"
344
+ E = "E",
344
345
  }
345
346
 
346
347
  export type CarImage = {
@@ -385,13 +386,13 @@ export enum CarImageType {
385
386
  /** Full-sized brand (maker) logo at 768x432 px */
386
387
  BRAND = "brand",
387
388
  /** Thumbnail of a full-sized brand logo at 56x24 px */
388
- BRAND_THUMBNAIL = "brand_thumbnail"
389
+ BRAND_THUMBNAIL = "brand_thumbnail",
389
390
  }
390
391
 
391
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 */
392
393
  export enum CarImageTypeUploadable {
393
394
  /** Full size image with a resolution at least 1536x864 px */
394
- IMAGE = "image"
395
+ IMAGE = "image",
395
396
  }
396
397
 
397
398
  /** The output element of the carList query */
@@ -654,7 +655,7 @@ export enum CarMode {
654
655
  /** Car is in production and has been released */
655
656
  PRODUCTION = "production",
656
657
  /** Future releases of a car, a concept of the car, specs may change over time */
657
- CONCEPT = "concept"
658
+ CONCEPT = "concept",
658
659
  }
659
660
 
660
661
  export type CarNaming = {
@@ -680,7 +681,7 @@ export type CarPerformance = {
680
681
  /** Car plug model */
681
682
  export type CarPlug = {
682
683
  /** Plug type, known as connector standard in OCPI */
683
- standard?: Maybe<OCPIConnectorType>;
684
+ standard?: Maybe<ConnectorType>;
684
685
  /** Usable electric power in kW */
685
686
  power?: Maybe<Scalars["Float"]>;
686
687
  /** Maximum electric power in kW */
@@ -825,6 +826,11 @@ export type CarPremiumBody = {
825
826
  vehicle_platform?: Maybe<Scalars["String"]>;
826
827
  /** Indicates if the vehicle platform used for vehicle is a dedicated battery electric vehicle platform */
827
828
  vehicle_platform_is_dedicated?: Maybe<Scalars["Boolean"]>;
829
+ /**
830
+ * Indicates whether a car has roof rails as a standard
831
+ * @deprecated In favor of has_roofrails
832
+ */
833
+ rooftrails?: Maybe<Scalars["Boolean"]>;
828
834
  };
829
835
 
830
836
  export type CarPremiumCharge = {
@@ -893,7 +899,7 @@ export type CarPremiumChargeOptionOBC = {
893
899
 
894
900
  export type CarPremiumChargePlug = {
895
901
  /** Type of charge port on vehicle */
896
- value?: Maybe<OCPIConnectorType>;
902
+ value?: Maybe<ConnectorType>;
897
903
  /** Indicates if value is an estimate */
898
904
  is_estimated?: Maybe<Scalars["Boolean"]>;
899
905
  /** Location of charge port */
@@ -1114,6 +1120,11 @@ export type CarPremiumPriceValue = {
1114
1120
  currency?: Maybe<Scalars["String"]>;
1115
1121
  /** Indicates if price value is based on estimates */
1116
1122
  is_estimated?: Maybe<Scalars["Boolean"]>;
1123
+ /**
1124
+ * Indicates if price value is based on estimates
1125
+ * @deprecated In favor of is_estimated
1126
+ */
1127
+ estimated?: Maybe<Scalars["Boolean"]>;
1117
1128
  };
1118
1129
 
1119
1130
  export type CarPremiumPriceValueWithGrant = {
@@ -1125,6 +1136,11 @@ export type CarPremiumPriceValueWithGrant = {
1125
1136
  is_estimated?: Maybe<Scalars["Boolean"]>;
1126
1137
  /** Grant is applied to value */
1127
1138
  grant_applied?: Maybe<Scalars["Int"]>;
1139
+ /**
1140
+ * Indicates if price value is based on estimates
1141
+ * @deprecated In favor of is_estimated
1142
+ */
1143
+ estimated?: Maybe<Scalars["Boolean"]>;
1128
1144
  };
1129
1145
 
1130
1146
  export type CarPremiumRange = {
@@ -1220,7 +1236,7 @@ export enum CarPropulsion {
1220
1236
  /** Front-wheel drive car */
1221
1237
  FRONT = "Front",
1222
1238
  /** Rear-wheel drive car */
1223
- REAR = "Rear"
1239
+ REAR = "Rear",
1224
1240
  }
1225
1241
 
1226
1242
  export type CarRange = {
@@ -1264,7 +1280,7 @@ export enum CarStatus {
1264
1280
  /** Is public and can be used by a customer */
1265
1281
  PUBLIC = "public",
1266
1282
  /** Is removed and can not be used */
1267
- REMOVED = "removed"
1283
+ REMOVED = "removed",
1268
1284
  }
1269
1285
 
1270
1286
  export type CarVideo = {
@@ -1279,13 +1295,13 @@ export enum ChargeMode {
1279
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 */
1280
1296
  OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
1281
1297
  /** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
1282
- ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1298
+ ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE",
1283
1299
  }
1284
1300
 
1285
1301
  /** A groupped representation of EVSEs */
1286
1302
  export type Charger = {
1287
1303
  /** Type of charger */
1288
- standard?: Maybe<OCPIConnectorType>;
1304
+ standard?: Maybe<ConnectorType>;
1289
1305
  /** Power of a charger */
1290
1306
  power?: Maybe<Scalars["Float"]>;
1291
1307
  /** Price of a charger */
@@ -1306,7 +1322,7 @@ export enum ChargerStatus {
1306
1322
  /** The charger is unknown */
1307
1323
  UNKNOWN = "unknown",
1308
1324
  /** The charger has an error */
1309
- ERROR = "error"
1325
+ ERROR = "error",
1310
1326
  }
1311
1327
 
1312
1328
  /** Groupping by status of the chargers */
@@ -1334,7 +1350,7 @@ export type Connector = {
1334
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. */
1335
1351
  id?: Maybe<Scalars["String"]>;
1336
1352
  /** Standard of an installed connector. */
1337
- standard?: Maybe<OCPIConnectorType>;
1353
+ standard?: Maybe<ConnectorType>;
1338
1354
  /** Format (socket/cable) of an installed connector. */
1339
1355
  format?: Maybe<OCPIConnectorFormat>;
1340
1356
  /** Type of power of an installed connector. */
@@ -1365,8 +1381,92 @@ export type Connector = {
1365
1381
  properties?: Maybe<Scalars["JSON"]>;
1366
1382
  /** List of valid charging tariffs */
1367
1383
  tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1384
+ /** Charging prices, only available when using the EcoMovement database */
1385
+ pricing?: Maybe<Pricing>;
1368
1386
  };
1369
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
+
1370
1470
  /** The complete contact information */
1371
1471
  export type Contact = {
1372
1472
  /** The phone number in international format */
@@ -1383,6 +1483,243 @@ export type Contact = {
1383
1483
  properties?: Maybe<Scalars["JSON"]>;
1384
1484
  };
1385
1485
 
1486
+ /** ISO-3166 alpha-2 country codes */
1487
+ export enum CountryCodeAlpha2 {
1488
+ AD = "AD",
1489
+ AE = "AE",
1490
+ AF = "AF",
1491
+ AG = "AG",
1492
+ AI = "AI",
1493
+ AL = "AL",
1494
+ AM = "AM",
1495
+ AN = "AN",
1496
+ AO = "AO",
1497
+ AQ = "AQ",
1498
+ AR = "AR",
1499
+ AS = "AS",
1500
+ AT = "AT",
1501
+ AU = "AU",
1502
+ AW = "AW",
1503
+ AX = "AX",
1504
+ AZ = "AZ",
1505
+ BA = "BA",
1506
+ BB = "BB",
1507
+ BD = "BD",
1508
+ BE = "BE",
1509
+ BF = "BF",
1510
+ BG = "BG",
1511
+ BH = "BH",
1512
+ BI = "BI",
1513
+ BJ = "BJ",
1514
+ BM = "BM",
1515
+ BN = "BN",
1516
+ BO = "BO",
1517
+ BR = "BR",
1518
+ BS = "BS",
1519
+ BT = "BT",
1520
+ BV = "BV",
1521
+ BW = "BW",
1522
+ BY = "BY",
1523
+ BZ = "BZ",
1524
+ CA = "CA",
1525
+ CC = "CC",
1526
+ CD = "CD",
1527
+ CF = "CF",
1528
+ CG = "CG",
1529
+ CH = "CH",
1530
+ CI = "CI",
1531
+ CK = "CK",
1532
+ CL = "CL",
1533
+ CM = "CM",
1534
+ CN = "CN",
1535
+ CO = "CO",
1536
+ CR = "CR",
1537
+ CS = "CS",
1538
+ CU = "CU",
1539
+ CV = "CV",
1540
+ CX = "CX",
1541
+ CY = "CY",
1542
+ CZ = "CZ",
1543
+ DE = "DE",
1544
+ DJ = "DJ",
1545
+ DK = "DK",
1546
+ DM = "DM",
1547
+ DO = "DO",
1548
+ DZ = "DZ",
1549
+ EC = "EC",
1550
+ EE = "EE",
1551
+ EG = "EG",
1552
+ EH = "EH",
1553
+ ER = "ER",
1554
+ ES = "ES",
1555
+ ET = "ET",
1556
+ FI = "FI",
1557
+ FJ = "FJ",
1558
+ FK = "FK",
1559
+ FM = "FM",
1560
+ FO = "FO",
1561
+ FR = "FR",
1562
+ GA = "GA",
1563
+ GB = "GB",
1564
+ GD = "GD",
1565
+ GE = "GE",
1566
+ GF = "GF",
1567
+ GH = "GH",
1568
+ GI = "GI",
1569
+ GL = "GL",
1570
+ GM = "GM",
1571
+ GN = "GN",
1572
+ GP = "GP",
1573
+ GQ = "GQ",
1574
+ GR = "GR",
1575
+ GS = "GS",
1576
+ GT = "GT",
1577
+ GU = "GU",
1578
+ GW = "GW",
1579
+ GY = "GY",
1580
+ HK = "HK",
1581
+ HM = "HM",
1582
+ HN = "HN",
1583
+ HR = "HR",
1584
+ HT = "HT",
1585
+ HU = "HU",
1586
+ ID = "ID",
1587
+ IE = "IE",
1588
+ IL = "IL",
1589
+ IN = "IN",
1590
+ IO = "IO",
1591
+ IQ = "IQ",
1592
+ IR = "IR",
1593
+ IS = "IS",
1594
+ IT = "IT",
1595
+ JM = "JM",
1596
+ JO = "JO",
1597
+ JP = "JP",
1598
+ KE = "KE",
1599
+ KG = "KG",
1600
+ KH = "KH",
1601
+ KI = "KI",
1602
+ KM = "KM",
1603
+ KN = "KN",
1604
+ KP = "KP",
1605
+ KR = "KR",
1606
+ KW = "KW",
1607
+ KY = "KY",
1608
+ KZ = "KZ",
1609
+ LA = "LA",
1610
+ LB = "LB",
1611
+ LC = "LC",
1612
+ LI = "LI",
1613
+ LK = "LK",
1614
+ LR = "LR",
1615
+ LS = "LS",
1616
+ LT = "LT",
1617
+ LU = "LU",
1618
+ LV = "LV",
1619
+ LY = "LY",
1620
+ MA = "MA",
1621
+ MC = "MC",
1622
+ MD = "MD",
1623
+ ME = "ME",
1624
+ MF = "MF",
1625
+ MG = "MG",
1626
+ MH = "MH",
1627
+ MK = "MK",
1628
+ ML = "ML",
1629
+ MM = "MM",
1630
+ MN = "MN",
1631
+ MO = "MO",
1632
+ MP = "MP",
1633
+ MQ = "MQ",
1634
+ MR = "MR",
1635
+ MS = "MS",
1636
+ MT = "MT",
1637
+ MU = "MU",
1638
+ MV = "MV",
1639
+ MW = "MW",
1640
+ MX = "MX",
1641
+ MY = "MY",
1642
+ MZ = "MZ",
1643
+ NA = "NA",
1644
+ NC = "NC",
1645
+ NE = "NE",
1646
+ NF = "NF",
1647
+ NG = "NG",
1648
+ NI = "NI",
1649
+ NL = "NL",
1650
+ NO = "NO",
1651
+ NP = "NP",
1652
+ NR = "NR",
1653
+ NU = "NU",
1654
+ NZ = "NZ",
1655
+ OM = "OM",
1656
+ PA = "PA",
1657
+ PE = "PE",
1658
+ PF = "PF",
1659
+ PG = "PG",
1660
+ PH = "PH",
1661
+ PK = "PK",
1662
+ PL = "PL",
1663
+ PM = "PM",
1664
+ PN = "PN",
1665
+ PR = "PR",
1666
+ PS = "PS",
1667
+ PT = "PT",
1668
+ PW = "PW",
1669
+ PY = "PY",
1670
+ QA = "QA",
1671
+ RE = "RE",
1672
+ RKS = "RKS",
1673
+ RO = "RO",
1674
+ RS = "RS",
1675
+ RU = "RU",
1676
+ RW = "RW",
1677
+ SA = "SA",
1678
+ SB = "SB",
1679
+ SC = "SC",
1680
+ SD = "SD",
1681
+ SE = "SE",
1682
+ SG = "SG",
1683
+ SH = "SH",
1684
+ SI = "SI",
1685
+ SJ = "SJ",
1686
+ SK = "SK",
1687
+ SL = "SL",
1688
+ SM = "SM",
1689
+ SN = "SN",
1690
+ SO = "SO",
1691
+ SR = "SR",
1692
+ ST = "ST",
1693
+ SV = "SV",
1694
+ SX = "SX",
1695
+ SY = "SY",
1696
+ SZ = "SZ",
1697
+ TC = "TC",
1698
+ TD = "TD",
1699
+ TF = "TF",
1700
+ TG = "TG",
1701
+ TH = "TH",
1702
+ TJ = "TJ",
1703
+ TK = "TK",
1704
+ TL = "TL",
1705
+ TM = "TM",
1706
+ TN = "TN",
1707
+ TO = "TO",
1708
+ TR = "TR",
1709
+ TT = "TT",
1710
+ TV = "TV",
1711
+ TW = "TW",
1712
+ TZ = "TZ",
1713
+ UA = "UA",
1714
+ UG = "UG",
1715
+ UM = "UM",
1716
+ US = "US",
1717
+ UY = "UY",
1718
+ UZ = "UZ",
1719
+ VA = "VA",
1720
+ VC = "VC",
1721
+ }
1722
+
1386
1723
  /** EVSE data which extends OCPI EVSE */
1387
1724
  export type EVSE = {
1388
1725
  /**
@@ -1444,10 +1781,10 @@ export type FeaturePointInput = {
1444
1781
 
1445
1782
  /** GeoJSON Feature type */
1446
1783
  export enum FeatureType {
1447
- FEATURE = "Feature"
1784
+ FEATURE = "Feature",
1448
1785
  }
1449
1786
 
1450
- /** The types of the leg */
1787
+ /** Types of a leg */
1451
1788
  export enum LegType {
1452
1789
  /** This leg ends at a charging station and the car must recharge */
1453
1790
  STATION = "station",
@@ -1458,7 +1795,18 @@ export enum LegType {
1458
1795
  /** This leg ends at the destination, and is the last leg of the route */
1459
1796
  FINAL = "final",
1460
1797
  /** This leg ends at the destination which is a charging station, and is the last leg of the route */
1461
- 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",
1462
1810
  }
1463
1811
 
1464
1812
  export type Mutation = {
@@ -1526,7 +1874,9 @@ export enum OCPICapability {
1526
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). */
1527
1875
  TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
1528
1876
  /** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
1529
- 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",
1530
1880
  }
1531
1881
 
1532
1882
  /** The format of the connector, whether it is a socket or a plug. */
@@ -1534,10 +1884,10 @@ export enum OCPIConnectorFormat {
1534
1884
  /** The connector is a socket; the EV user needs to bring a fitting plug. */
1535
1885
  SOCKET = "SOCKET",
1536
1886
  /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
1537
- CABLE = "CABLE"
1887
+ CABLE = "CABLE",
1538
1888
  }
1539
1889
 
1540
- /** The socket or plug standard of the charging point. */
1890
+ /** Deprecated: Please use ConnectorType instead */
1541
1891
  export enum OCPIConnectorType {
1542
1892
  /** The connector type is CHAdeMO, DC */
1543
1893
  CHADEMO = "CHADEMO",
@@ -1565,6 +1915,12 @@ export enum OCPIConnectorType {
1565
1915
  DOMESTIC_K = "DOMESTIC_K",
1566
1916
  /** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
1567
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",
1568
1924
  /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1569
1925
  IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1570
1926
  /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
@@ -1592,7 +1948,25 @@ export enum OCPIConnectorType {
1592
1948
  /** Tesla connector "Roadster"-type (round, 4 pins) */
1593
1949
  TESLA_R = "TESLA_R",
1594
1950
  /** Tesla connector "Model-S"-type (oval, 5 pins) */
1595
- TESLA_S = "TESLA_S"
1951
+ TESLA_S = "TESLA_S",
1952
+ /** The connector type is GB_T (Chinese standard), DC */
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",
1596
1970
  }
1597
1971
 
1598
1972
  export enum OCPIDayOfWeek {
@@ -1602,7 +1976,7 @@ export enum OCPIDayOfWeek {
1602
1976
  THURSDAY = "THURSDAY",
1603
1977
  FRIDAY = "FRIDAY",
1604
1978
  SATURDAY = "SATURDAY",
1605
- SUNDAY = "SUNDAY"
1979
+ SUNDAY = "SUNDAY",
1606
1980
  }
1607
1981
 
1608
1982
  export type OCPIDisplayText = {
@@ -1650,7 +2024,7 @@ export enum OCPIEnergySourceCategory {
1650
2024
  /** Regenerative power from wind turbines. */
1651
2025
  WIND = "WIND",
1652
2026
  /** Regenerative power from water turbines. */
1653
- WATER = "WATER"
2027
+ WATER = "WATER",
1654
2028
  }
1655
2029
 
1656
2030
  /** Amount of waste produced/emitted per kWh. */
@@ -1666,7 +2040,7 @@ export enum OCPIEnvironmentalImpactCategory {
1666
2040
  /** Produced nuclear waste in grams per kilowatthour. */
1667
2041
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
1668
2042
  /** Exhausted carbon dioxide in grams per kilowatthour. */
1669
- CARBON_DIOXIDE = "CARBON_DIOXIDE"
2043
+ CARBON_DIOXIDE = "CARBON_DIOXIDE",
1670
2044
  }
1671
2045
 
1672
2046
  /** Specifies one exceptional period for opening or access hours. */
@@ -1717,7 +2091,7 @@ export enum OCPIFacility {
1717
2091
  /** A Fuel station. */
1718
2092
  FUEL_STATION = "FUEL_STATION",
1719
2093
  /** Wifi or other type of internet available. */
1720
- WIFI = "WIFI"
2094
+ WIFI = "WIFI",
1721
2095
  }
1722
2096
 
1723
2097
  /** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
@@ -1770,7 +2144,7 @@ export enum OCPIImageCategory {
1770
2144
  /** Other */
1771
2145
  OTHER = "OTHER",
1772
2146
  /** Logo of the charge point owner, for example a local store, to be displayed in the EVSEs detailed information view. */
1773
- OWNER = "OWNER"
2147
+ OWNER = "OWNER",
1774
2148
  }
1775
2149
 
1776
2150
  /** This value, if provided, represents the restriction to the parking spot for different purposes. */
@@ -1784,7 +2158,7 @@ export enum OCPIParkingRestriction {
1784
2158
  /** Parking spot for customers/guests only, for example in case of a hotel or shop. */
1785
2159
  CUSTOMERS = "CUSTOMERS",
1786
2160
  /** Parking spot only suitable for (electric) motorcycles or scooters. */
1787
- MOTORCYCLES = "MOTORCYCLES"
2161
+ MOTORCYCLES = "MOTORCYCLES",
1788
2162
  }
1789
2163
 
1790
2164
  /** Reflects the general type of the charge point’s location. May be used for user information. */
@@ -1800,7 +2174,7 @@ export enum OCPIParkingType {
1800
2174
  /** Parking in public space along a street. */
1801
2175
  ON_STREET = "ON_STREET",
1802
2176
  /** Multistorey car park, mainly underground. */
1803
- UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
2177
+ UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE",
1804
2178
  }
1805
2179
 
1806
2180
  export enum OCPIPowerType {
@@ -1808,8 +2182,12 @@ export enum OCPIPowerType {
1808
2182
  AC_1_PHASE = "AC_1_PHASE",
1809
2183
  /** AC three phase. */
1810
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",
1811
2189
  /** Direct Current. */
1812
- DC = "DC"
2190
+ DC = "DC",
1813
2191
  }
1814
2192
 
1815
2193
  export type OCPIPrice = {
@@ -1844,7 +2222,7 @@ export enum OCPIReservationRestrictionType {
1844
2222
  /** Used in TariffElements to describe costs for a reservation. */
1845
2223
  RESERVATION = "RESERVATION",
1846
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). */
1847
- RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
2225
+ RESERVATION_EXPIRES = "RESERVATION_EXPIRES",
1848
2226
  }
1849
2227
 
1850
2228
  /** The status of an EVSE. */
@@ -1866,7 +2244,7 @@ export enum OCPIStatus {
1866
2244
  /** The EVSE/Connector is reserved for a particular EV driver and is unavailable for other drivers. */
1867
2245
  RESERVED = "RESERVED",
1868
2246
  /** No status information available (also used when offline). */
1869
- UNKNOWN = "UNKNOWN"
2247
+ UNKNOWN = "UNKNOWN",
1870
2248
  }
1871
2249
 
1872
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. */
@@ -1918,7 +2296,7 @@ export enum OCPITariffDimensionType {
1918
2296
  /** Time not charging: defined in hours, step_size multiplier: 1 second */
1919
2297
  PARKING_TIME = "PARKING_TIME",
1920
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. */
1921
- TIME = "TIME"
2299
+ TIME = "TIME",
1922
2300
  }
1923
2301
 
1924
2302
  export type OCPITariffElement = {
@@ -1969,7 +2347,7 @@ export enum OCPITariffType {
1969
2347
  /** Used to describe that a tariff is valid when charging preference: GREEN is set for the session */
1970
2348
  PROFILE_GREEN = "PROFILE_GREEN",
1971
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 */
1972
- REGULAR = "REGULAR"
2350
+ REGULAR = "REGULAR",
1973
2351
  }
1974
2352
 
1975
2353
  /** The operator data which extends OCPI BusinessDetails */
@@ -1984,10 +2362,26 @@ export type Operator = {
1984
2362
  website?: Maybe<Scalars["String"]>;
1985
2363
  /** Image link to an operator’s logo */
1986
2364
  logo?: Maybe<OCPIImage>;
1987
- /** ISO-3166 alpha-2 country code */
2365
+ /** Deprecated: Not used anymore, please use countries property instead */
1988
2366
  country?: Maybe<Scalars["String"]>;
2367
+ /** ISO-3166 alpha-2 country codes an operator is active in. */
2368
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
1989
2369
  /** Contact information */
1990
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"]>;
2375
+ };
2376
+
2377
+ /** Filter which can be applied to retrieve the operator list action */
2378
+ export type OperatorListFilter = {
2379
+ /** ISO-3166 alpha-2 country codes an operator is active in. */
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"]>;
1991
2385
  };
1992
2386
 
1993
2387
  /** Filter which can be applied to retrieve the operator list action */
@@ -2006,7 +2400,7 @@ export enum ParkingCost {
2006
2400
  /** Parking is free */
2007
2401
  FREE = "free",
2008
2402
  /** Parking includes a fee */
2009
- PAID = "paid"
2403
+ PAID = "paid",
2010
2404
  }
2011
2405
 
2012
2406
  export type PathSegment = {
@@ -2042,7 +2436,7 @@ export type PointInput = {
2042
2436
 
2043
2437
  /** GeoJSON Point type */
2044
2438
  export enum PointType {
2045
- POINT = "Point"
2439
+ POINT = "Point",
2046
2440
  }
2047
2441
 
2048
2442
  /** The list of powers for the speed type */
@@ -2069,10 +2463,59 @@ export type Price = {
2069
2463
  currency?: Maybe<Scalars["String"]>;
2070
2464
  /** The pricing model */
2071
2465
  model?: Maybe<Scalars["String"]>;
2072
- /** 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 */
2073
2467
  displayValue?: Maybe<Scalars["String"]>;
2074
2468
  };
2075
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
+
2076
2519
  export type Query = {
2077
2520
  /** Get a full list of amenities around a station */
2078
2521
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
@@ -2110,6 +2553,8 @@ export type Query = {
2110
2553
  tariff?: Maybe<OCPITariff>;
2111
2554
  /** Get the full list of tariffs */
2112
2555
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
2556
+ /** Convert a route to navigation instructions for a specified mapping provider */
2557
+ navigationMapping?: Maybe<Scalars["JSON"]>;
2113
2558
  };
2114
2559
 
2115
2560
  export type QueryamenityListArgs = {
@@ -2135,6 +2580,8 @@ export type QuerycarListArgs = {
2135
2580
 
2136
2581
  export type QueryoperatorListArgs = {
2137
2582
  query?: Maybe<OperatorListQuery>;
2583
+ search?: Maybe<Scalars["String"]>;
2584
+ filter?: Maybe<OperatorListFilter>;
2138
2585
  size?: Maybe<Scalars["Int"]>;
2139
2586
  page?: Maybe<Scalars["Int"]>;
2140
2587
  };
@@ -2189,6 +2636,13 @@ export type QuerytariffListArgs = {
2189
2636
  page?: Maybe<Scalars["Int"]>;
2190
2637
  };
2191
2638
 
2639
+ export type QuerynavigationMappingArgs = {
2640
+ id: Scalars["ID"];
2641
+ provider: MappingProvider;
2642
+ precision?: Maybe<Scalars["Int"]>;
2643
+ language?: Maybe<MappingLanguage>;
2644
+ };
2645
+
2192
2646
  /** EV specific data for a route request */
2193
2647
  export type RequestEv = {
2194
2648
  /** Internal ID of a Car */
@@ -2203,8 +2657,13 @@ export type RequestEv = {
2203
2657
  minPower?: Maybe<Scalars["Int"]>;
2204
2658
  /** Climate is on. The default is true */
2205
2659
  climate?: Maybe<Scalars["Boolean"]>;
2206
- /** The number of passengers on board */
2660
+ /**
2661
+ * The number of passengers on board
2662
+ * @deprecated In favor of occupants
2663
+ */
2207
2664
  numberOfPassengers?: Maybe<Scalars["Int"]>;
2665
+ /** Number of occupants */
2666
+ occupants?: Maybe<Scalars["Int"]>;
2208
2667
  /** Consumption specific to an EV or inputed by a request */
2209
2668
  consumption?: Maybe<RequestEvConsumption>;
2210
2669
  };
@@ -2225,7 +2684,7 @@ export type RequestEvBattery = {
2225
2684
  };
2226
2685
 
2227
2686
  export type RequestEvBatteryInput = {
2228
- /** Usable capacity of a battery used to compute a route. If this in not filled in, we assume it is the same value as the car batteryUsableKwh. */
2687
+ /** Usable capacity of a battery used to compute a route. Allowed value is between -50% and 50% of the car usable battery capacity. If this in not filled in, we assume it is the same value as the car batteryUsableKwh. */
2229
2688
  capacity?: Maybe<RequestEvBatteryInputValue>;
2230
2689
  /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh. */
2231
2690
  stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
@@ -2259,14 +2718,14 @@ export type RequestEvConsumption = {
2259
2718
  export type RequestEvConsumptionInput = {
2260
2719
  /** Consumption, in kWh, of the auxiliaries */
2261
2720
  aux?: Maybe<CarConsumptionInput>;
2262
- /** Cnsumption, in kWh, of the battery management system */
2721
+ /** Consumption, in kWh, of the battery management system */
2263
2722
  bms?: Maybe<CarConsumptionInput>;
2264
2723
  /** Consumption, in kWh, of the car in idle mode */
2265
2724
  idle?: Maybe<CarConsumptionInput>;
2266
2725
  };
2267
2726
 
2268
2727
  export type RequestEvInput = {
2269
- /** Iternal ID of a Car */
2728
+ /** Internal ID of a Car */
2270
2729
  id: Scalars["ID"];
2271
2730
  /** The EV battery specific data */
2272
2731
  battery?: Maybe<RequestEvBatteryInput>;
@@ -2278,9 +2737,9 @@ export type RequestEvInput = {
2278
2737
  minPower?: Maybe<Scalars["Int"]>;
2279
2738
  /** Flag which indicates if the climate is on. The default is true */
2280
2739
  climate?: Maybe<Scalars["Boolean"]>;
2281
- /** Number of passengers on board */
2282
- numberOfPassengers?: Maybe<Scalars["Int"]>;
2283
- /** Consumption specific to the EV or inputed by the request */
2740
+ /** Number of occupants */
2741
+ occupants?: Maybe<Scalars["Int"]>;
2742
+ /** Consumption specific to the EV or inputted by the request */
2284
2743
  consumption?: Maybe<RequestEvConsumptionInput>;
2285
2744
  /** Deprecated */
2286
2745
  auxConsumption?: Maybe<Scalars["Float"]>;
@@ -2290,14 +2749,14 @@ export type RequestEvInput = {
2290
2749
 
2291
2750
  export type RequestEvPlug = {
2292
2751
  /** Type of the plug */
2293
- standard?: Maybe<OCPIConnectorType>;
2752
+ standard?: Maybe<ConnectorType>;
2294
2753
  /** Maximum charging speed for a plug */
2295
2754
  chargingPower?: Maybe<Scalars["Float"]>;
2296
2755
  };
2297
2756
 
2298
2757
  export type RequestEvPlugInput = {
2299
2758
  /** Type of a plug */
2300
- standard: OCPIConnectorType;
2759
+ standard: ConnectorType;
2301
2760
  /** Maximum charging speed for this plug */
2302
2761
  chargingPower: Scalars["Float"];
2303
2762
  };
@@ -2327,7 +2786,7 @@ export type RequestRoute = {
2327
2786
  * @deprecated Will be removed. Use the operators property instead
2328
2787
  */
2329
2788
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2330
- /** Operator preferences for a route */
2789
+ /** Operator prioritization for a route */
2331
2790
  operators?: Maybe<RouteOperators>;
2332
2791
  /** Season */
2333
2792
  season?: Maybe<RouteSeason>;
@@ -2350,13 +2809,13 @@ export type RequestRoute = {
2350
2809
  export type RequestRouteInput = {
2351
2810
  /** A list of desired amenities near the stations, with a 1 km radius */
2352
2811
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
2353
- /** A list of requested operators (deprecated in favor of operators) */
2812
+ /** Deprecated: in favor of operators. A list of requested operators */
2354
2813
  operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
2355
- /** Flag which indicates if the operators are required (deprecated in favor of operators) */
2814
+ /** Deprecated: in favor of operators. Flag which indicates if the operators are required */
2356
2815
  operatorRequired?: Maybe<Scalars["Boolean"]>;
2357
- /** Flag which indicates if the preferred operators should be loaded (deprecated in favor of operators) */
2816
+ /** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
2358
2817
  operatorPrefer?: Maybe<Scalars["Boolean"]>;
2359
- /** Operator preferences for a route */
2818
+ /** Operator prioritization for a route */
2360
2819
  operators?: Maybe<RouteOperatorsInput>;
2361
2820
  /** Optional flag to specify the season */
2362
2821
  season?: Maybe<RouteSeason>;
@@ -2398,7 +2857,7 @@ export type Review = {
2398
2857
  /** Car that was provided/selected by a user */
2399
2858
  ev?: Maybe<Car>;
2400
2859
  /** Plug type that was provided/selected by a user */
2401
- plugType?: Maybe<OCPIConnectorType>;
2860
+ plugType?: Maybe<ConnectorType>;
2402
2861
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2403
2862
  properties?: Maybe<Scalars["JSON"]>;
2404
2863
  /** Boolean tags for a station review */
@@ -2422,7 +2881,7 @@ export type ReviewAdd = {
2422
2881
  /** ID of the Car that was provided/selected by a user */
2423
2882
  ev?: Maybe<Scalars["String"]>;
2424
2883
  /** Plug type that was provided/selected by a user */
2425
- plugType?: Maybe<OCPIConnectorType>;
2884
+ plugType?: Maybe<ConnectorType>;
2426
2885
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
2427
2886
  properties?: Maybe<Scalars["JSON"]>;
2428
2887
  /** Boolean tags for a station review */
@@ -2526,16 +2985,23 @@ export type RouteAlternative = {
2526
2985
  consumption?: Maybe<Scalars["Float"]>;
2527
2986
  /** Total time required to charge for an entire route, in seconds */
2528
2987
  chargeTime?: Maybe<Scalars["Float"]>;
2529
- /** Amenity ranking for an alternative */
2988
+ /**
2989
+ * Amenity ranking for an alternative
2990
+ * @deprecated Will be removed in the future
2991
+ */
2530
2992
  amenityRanking?: Maybe<Scalars["Int"]>;
2531
2993
  /** Range, in meters, available at the beginning of a trip */
2532
2994
  rangeStart?: Maybe<Scalars["Int"]>;
2533
2995
  /** Total energy in a battery at the beginning of a trip, in kWh */
2534
2996
  rangeStartKwh?: Maybe<Scalars["Float"]>;
2997
+ /** Total energy in a battery at the beginning of a trip, in percentage */
2998
+ rangeStartPercentage?: Maybe<Scalars["Int"]>;
2535
2999
  /** Remaining range, in meters, at the end of a trip */
2536
3000
  rangeEnd?: Maybe<Scalars["Int"]>;
2537
3001
  /** Remaining range, energy in kWh, at the end of a trip. */
2538
3002
  rangeEndKwh?: Maybe<Scalars["Float"]>;
3003
+ /** Remaining range, energy in percentage, at the end of a trip. */
3004
+ rangeEndPercentage?: Maybe<Scalars["Int"]>;
2539
3005
  /** Text information about a route direction */
2540
3006
  via?: Maybe<Scalars["String"]>;
2541
3007
  /** Polyline containing encoded coordinates */
@@ -2561,6 +3027,8 @@ export type RouteAlternative = {
2561
3027
  instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
2562
3028
  /** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
2563
3029
  stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
3030
+ /** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
3031
+ tags?: Maybe<Array<Maybe<RouteTagType>>>;
2564
3032
  };
2565
3033
 
2566
3034
  export type RouteAlternativepolylineArgs = {
@@ -2584,10 +3052,10 @@ export type RouteAlternativeSaving = {
2584
3052
  export enum RouteAlternativeType {
2585
3053
  /** Fastest route between origin and destination */
2586
3054
  FASTEST = "fastest",
2587
- /** Best matching amenities along the route with the requested list */
3055
+ /** Best matching route based on operator and amenities preferences */
2588
3056
  BESTMATCHING = "bestMatching",
2589
3057
  /** An alternative to the fastest route */
2590
- ALTERNATIVE = "alternative"
3058
+ ALTERNATIVE = "alternative",
2591
3059
  }
2592
3060
 
2593
3061
  export type RouteInstruction = {
@@ -2637,7 +3105,7 @@ export enum RouteInstructionSign {
2637
3105
  PT_START_TRIP = "PT_START_TRIP",
2638
3106
  PT_TRANSFER = "PT_TRANSFER",
2639
3107
  PT_END_TRIP = "PT_END_TRIP",
2640
- IGNORE = "IGNORE"
3108
+ IGNORE = "IGNORE",
2641
3109
  }
2642
3110
 
2643
3111
  export type RouteLeg = {
@@ -2653,10 +3121,14 @@ export type RouteLeg = {
2653
3121
  rangeStart?: Maybe<Scalars["Int"]>;
2654
3122
  /** Total energy in a battery at the beginning of a leg, in kWh */
2655
3123
  rangeStartKwh?: Maybe<Scalars["Float"]>;
3124
+ /** Total energy in a battery at the beginning of a trip, in percentage */
3125
+ rangeStartPercentage?: Maybe<Scalars["Int"]>;
2656
3126
  /** Range, in meters, available at the end of a leg */
2657
3127
  rangeEnd?: Maybe<Scalars["Int"]>;
2658
3128
  /** Total energy left in a battery at the end of a leg, in kWh */
2659
3129
  rangeEndKwh?: Maybe<Scalars["Float"]>;
3130
+ /** Remaining range, energy in percentage, at the end of a trip. */
3131
+ rangeEndPercentage?: Maybe<Scalars["Int"]>;
2660
3132
  /** Origin point location */
2661
3133
  origin?: Maybe<FeaturePoint>;
2662
3134
  /** Destination point location */
@@ -2667,8 +3139,12 @@ export type RouteLeg = {
2667
3139
  name?: Maybe<Scalars["String"]>;
2668
3140
  /** ID of a station */
2669
3141
  stationId?: Maybe<Scalars["String"]>;
2670
- /** ID of the operator */
3142
+ /** ID of an operator */
2671
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"]>;
2672
3148
  /** Total time required to charge a battery until 80%, in seconds */
2673
3149
  chargeTime?: Maybe<Scalars["Int"]>;
2674
3150
  /** Recommended EVSE where to charge */
@@ -2685,8 +3161,19 @@ export type RouteLeg = {
2685
3161
  plugsOutOfOrder?: Maybe<Scalars["Int"]>;
2686
3162
  /** Total number of plugs at a charge station */
2687
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>>>;
3170
+ };
3171
+
3172
+ export type RouteLegpolylineArgs = {
3173
+ decimals?: Maybe<Scalars["Int"]>;
2688
3174
  };
2689
3175
 
3176
+ /** Prioritized operators for a route calculation */
2690
3177
  export type RouteOperators = {
2691
3178
  /** Flag indicating if the operators ranking should be preferred or required */
2692
3179
  type?: Maybe<RouteOperatorsType>;
@@ -2696,7 +3183,7 @@ export type RouteOperators = {
2696
3183
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2697
3184
  };
2698
3185
 
2699
- /** Preferred operators for a route calculation */
3186
+ /** Prioritized operators for a route calculation */
2700
3187
  export type RouteOperatorsInput = {
2701
3188
  /** Flag indicating if the operators ranking should be preferred or required */
2702
3189
  type?: Maybe<RouteOperatorsType>;
@@ -2706,7 +3193,7 @@ export type RouteOperatorsInput = {
2706
3193
  exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2707
3194
  };
2708
3195
 
2709
- /** Ranking configuration for preferred operators */
3196
+ /** Ranking configuration for prioritized operators */
2710
3197
  export type RouteOperatorsRanking = {
2711
3198
  /** Level 1 (most significant) for operator ranking */
2712
3199
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -2730,7 +3217,7 @@ export type RouteOperatorsRanking = {
2730
3217
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2731
3218
  };
2732
3219
 
2733
- /** Ranking configuration for preferred operators */
3220
+ /** Ranking configuration for prioritized operators */
2734
3221
  export type RouteOperatorsRankingInput = {
2735
3222
  /** Level 1 (most significant) for operator ranking */
2736
3223
  level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
@@ -2754,14 +3241,14 @@ export type RouteOperatorsRankingInput = {
2754
3241
  level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
2755
3242
  };
2756
3243
 
2757
- /** Type of operator preference for a route */
3244
+ /** Type of operator prioritization for a route */
2758
3245
  export enum RouteOperatorsType {
2759
3246
  /** Default option. Operators ranking will not be taken into account if no type is given */
2760
3247
  NONE = "none",
2761
3248
  /** Operators given in the operators ranking will be preferred when calculating routes */
2762
3249
  PREFERRED = "preferred",
2763
- /** Operators given in the operators ranking will be required when calculating routes,excluded operators will be ignored */
2764
- REQUIRED = "required"
3250
+ /** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
3251
+ REQUIRED = "required",
2765
3252
  }
2766
3253
 
2767
3254
  export type RoutePath = {
@@ -2790,7 +3277,7 @@ export enum RouteSeason {
2790
3277
  /** We suppose it is winter and we have the worst weather conditions */
2791
3278
  WINTER = "winter",
2792
3279
  /** We fetch the current weather conditions */
2793
- CURRENT = "current"
3280
+ CURRENT = "current",
2794
3281
  }
2795
3282
 
2796
3283
  export type RouteStationsAlong = {
@@ -2819,18 +3306,45 @@ export enum RouteStatus {
2819
3306
  /** We finished the computing the route, without any result. Final status */
2820
3307
  NOT_FOUND = "not_found",
2821
3308
  /** An error occurred while computing the route. Final status */
2822
- 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",
2823
3337
  }
2824
3338
 
2825
3339
  /** Standards(plug type) stats model */
2826
3340
  export type StandardStats = {
2827
3341
  /** The plug type */
2828
- type?: Maybe<OCPIConnectorType>;
3342
+ type?: Maybe<ConnectorType>;
2829
3343
  /** The total number of stations with the specified plug */
2830
3344
  total?: Maybe<Scalars["Int"]>;
2831
3345
  };
2832
3346
 
2833
- /** Extending a station model to add review stats property */
3347
+ /** Station data which extends OCPI Location */
2834
3348
  export type Station = {
2835
3349
  /** Review of a station */
2836
3350
  review?: Maybe<ReviewStats>;
@@ -2896,7 +3410,7 @@ export type Station = {
2896
3410
  elevation?: Maybe<Scalars["Int"]>;
2897
3411
  /** Groups of EVSEs by power and type */
2898
3412
  chargers?: Maybe<Array<Maybe<Charger>>>;
2899
- /** Amenties located at this location */
3413
+ /** Amenities located at this location */
2900
3414
  amenities?: Maybe<Scalars["JSON"]>;
2901
3415
  /** Enriched information about the physical address of a station */
2902
3416
  physical_address?: Maybe<Address>;
@@ -2970,7 +3484,7 @@ export enum StationSpeedType {
2970
3484
  /** Fast charging stations (above 43 kWh and below 150 kWh) */
2971
3485
  FAST = "fast",
2972
3486
  /** Ultra fast charging stations (above 150 kWh) */
2973
- TURBO = "turbo"
3487
+ TURBO = "turbo",
2974
3488
  }
2975
3489
 
2976
3490
  /** The station stats model */
@@ -2983,6 +3497,18 @@ export type StationStats = {
2983
3497
  amenities?: Maybe<Array<Maybe<AmenityStats>>>;
2984
3498
  };
2985
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
+
2986
3512
  export type Subscription = {
2987
3513
  /**
2988
3514
  * Subscription for a new operator was added in the system event