@chargetrip/types 1.19.0 → 1.24.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/CHANGELOG.md +29 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +348 -4
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +348 -4
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +524 -31
- package/graphql.schema.json +2692 -136
- package/package.json +4 -3
- package/src/graphql.ts +573 -64
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<
|
|
684
|
+
standard?: Maybe<ConnectorType>;
|
|
684
685
|
/** Usable electric power in kW */
|
|
685
686
|
power?: Maybe<Scalars["Float"]>;
|
|
686
687
|
/** Maximum electric power in kW */
|
|
@@ -898,7 +899,7 @@ export type CarPremiumChargeOptionOBC = {
|
|
|
898
899
|
|
|
899
900
|
export type CarPremiumChargePlug = {
|
|
900
901
|
/** Type of charge port on vehicle */
|
|
901
|
-
value?: Maybe<
|
|
902
|
+
value?: Maybe<ConnectorType>;
|
|
902
903
|
/** Indicates if value is an estimate */
|
|
903
904
|
is_estimated?: Maybe<Scalars["Boolean"]>;
|
|
904
905
|
/** Location of charge port */
|
|
@@ -1235,7 +1236,7 @@ export enum CarPropulsion {
|
|
|
1235
1236
|
/** Front-wheel drive car */
|
|
1236
1237
|
FRONT = "Front",
|
|
1237
1238
|
/** Rear-wheel drive car */
|
|
1238
|
-
REAR = "Rear"
|
|
1239
|
+
REAR = "Rear",
|
|
1239
1240
|
}
|
|
1240
1241
|
|
|
1241
1242
|
export type CarRange = {
|
|
@@ -1279,7 +1280,7 @@ export enum CarStatus {
|
|
|
1279
1280
|
/** Is public and can be used by a customer */
|
|
1280
1281
|
PUBLIC = "public",
|
|
1281
1282
|
/** Is removed and can not be used */
|
|
1282
|
-
REMOVED = "removed"
|
|
1283
|
+
REMOVED = "removed",
|
|
1283
1284
|
}
|
|
1284
1285
|
|
|
1285
1286
|
export type CarVideo = {
|
|
@@ -1294,13 +1295,13 @@ export enum ChargeMode {
|
|
|
1294
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 */
|
|
1295
1296
|
OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
|
|
1296
1297
|
/** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
|
|
1297
|
-
ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
|
|
1298
|
+
ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE",
|
|
1298
1299
|
}
|
|
1299
1300
|
|
|
1300
1301
|
/** A groupped representation of EVSEs */
|
|
1301
1302
|
export type Charger = {
|
|
1302
1303
|
/** Type of charger */
|
|
1303
|
-
standard?: Maybe<
|
|
1304
|
+
standard?: Maybe<ConnectorType>;
|
|
1304
1305
|
/** Power of a charger */
|
|
1305
1306
|
power?: Maybe<Scalars["Float"]>;
|
|
1306
1307
|
/** Price of a charger */
|
|
@@ -1321,7 +1322,7 @@ export enum ChargerStatus {
|
|
|
1321
1322
|
/** The charger is unknown */
|
|
1322
1323
|
UNKNOWN = "unknown",
|
|
1323
1324
|
/** The charger has an error */
|
|
1324
|
-
ERROR = "error"
|
|
1325
|
+
ERROR = "error",
|
|
1325
1326
|
}
|
|
1326
1327
|
|
|
1327
1328
|
/** Groupping by status of the chargers */
|
|
@@ -1349,7 +1350,7 @@ export type Connector = {
|
|
|
1349
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. */
|
|
1350
1351
|
id?: Maybe<Scalars["String"]>;
|
|
1351
1352
|
/** Standard of an installed connector. */
|
|
1352
|
-
standard?: Maybe<
|
|
1353
|
+
standard?: Maybe<ConnectorType>;
|
|
1353
1354
|
/** Format (socket/cable) of an installed connector. */
|
|
1354
1355
|
format?: Maybe<OCPIConnectorFormat>;
|
|
1355
1356
|
/** Type of power of an installed connector. */
|
|
@@ -1380,8 +1381,92 @@ export type Connector = {
|
|
|
1380
1381
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1381
1382
|
/** List of valid charging tariffs */
|
|
1382
1383
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
1384
|
+
/** Charging prices, only available when using the EcoMovement database */
|
|
1385
|
+
pricing?: Maybe<Pricing>;
|
|
1383
1386
|
};
|
|
1384
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
|
+
|
|
1385
1470
|
/** The complete contact information */
|
|
1386
1471
|
export type Contact = {
|
|
1387
1472
|
/** The phone number in international format */
|
|
@@ -1398,6 +1483,243 @@ export type Contact = {
|
|
|
1398
1483
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1399
1484
|
};
|
|
1400
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
|
+
|
|
1401
1723
|
/** EVSE data which extends OCPI EVSE */
|
|
1402
1724
|
export type EVSE = {
|
|
1403
1725
|
/**
|
|
@@ -1459,10 +1781,10 @@ export type FeaturePointInput = {
|
|
|
1459
1781
|
|
|
1460
1782
|
/** GeoJSON Feature type */
|
|
1461
1783
|
export enum FeatureType {
|
|
1462
|
-
FEATURE = "Feature"
|
|
1784
|
+
FEATURE = "Feature",
|
|
1463
1785
|
}
|
|
1464
1786
|
|
|
1465
|
-
/**
|
|
1787
|
+
/** Types of a leg */
|
|
1466
1788
|
export enum LegType {
|
|
1467
1789
|
/** This leg ends at a charging station and the car must recharge */
|
|
1468
1790
|
STATION = "station",
|
|
@@ -1473,7 +1795,18 @@ export enum LegType {
|
|
|
1473
1795
|
/** This leg ends at the destination, and is the last leg of the route */
|
|
1474
1796
|
FINAL = "final",
|
|
1475
1797
|
/** This leg ends at the destination which is a charging station, and is the last leg of the route */
|
|
1476
|
-
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",
|
|
1477
1810
|
}
|
|
1478
1811
|
|
|
1479
1812
|
export type Mutation = {
|
|
@@ -1541,7 +1874,9 @@ export enum OCPICapability {
|
|
|
1541
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). */
|
|
1542
1875
|
TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
|
|
1543
1876
|
/** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
|
|
1544
|
-
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",
|
|
1545
1880
|
}
|
|
1546
1881
|
|
|
1547
1882
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -1549,10 +1884,10 @@ export enum OCPIConnectorFormat {
|
|
|
1549
1884
|
/** The connector is a socket; the EV user needs to bring a fitting plug. */
|
|
1550
1885
|
SOCKET = "SOCKET",
|
|
1551
1886
|
/** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
|
|
1552
|
-
CABLE = "CABLE"
|
|
1887
|
+
CABLE = "CABLE",
|
|
1553
1888
|
}
|
|
1554
1889
|
|
|
1555
|
-
/**
|
|
1890
|
+
/** Deprecated: Please use ConnectorType instead */
|
|
1556
1891
|
export enum OCPIConnectorType {
|
|
1557
1892
|
/** The connector type is CHAdeMO, DC */
|
|
1558
1893
|
CHADEMO = "CHADEMO",
|
|
@@ -1580,6 +1915,12 @@ export enum OCPIConnectorType {
|
|
|
1580
1915
|
DOMESTIC_K = "DOMESTIC_K",
|
|
1581
1916
|
/** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
|
|
1582
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",
|
|
1583
1924
|
/** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
|
|
1584
1925
|
IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
|
|
1585
1926
|
/** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
|
|
@@ -1608,8 +1949,24 @@ export enum OCPIConnectorType {
|
|
|
1608
1949
|
TESLA_R = "TESLA_R",
|
|
1609
1950
|
/** Tesla connector "Model-S"-type (oval, 5 pins) */
|
|
1610
1951
|
TESLA_S = "TESLA_S",
|
|
1611
|
-
/**
|
|
1612
|
-
GB_T = "GB_T"
|
|
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",
|
|
1613
1970
|
}
|
|
1614
1971
|
|
|
1615
1972
|
export enum OCPIDayOfWeek {
|
|
@@ -1619,7 +1976,7 @@ export enum OCPIDayOfWeek {
|
|
|
1619
1976
|
THURSDAY = "THURSDAY",
|
|
1620
1977
|
FRIDAY = "FRIDAY",
|
|
1621
1978
|
SATURDAY = "SATURDAY",
|
|
1622
|
-
SUNDAY = "SUNDAY"
|
|
1979
|
+
SUNDAY = "SUNDAY",
|
|
1623
1980
|
}
|
|
1624
1981
|
|
|
1625
1982
|
export type OCPIDisplayText = {
|
|
@@ -1667,7 +2024,7 @@ export enum OCPIEnergySourceCategory {
|
|
|
1667
2024
|
/** Regenerative power from wind turbines. */
|
|
1668
2025
|
WIND = "WIND",
|
|
1669
2026
|
/** Regenerative power from water turbines. */
|
|
1670
|
-
WATER = "WATER"
|
|
2027
|
+
WATER = "WATER",
|
|
1671
2028
|
}
|
|
1672
2029
|
|
|
1673
2030
|
/** Amount of waste produced/emitted per kWh. */
|
|
@@ -1683,7 +2040,7 @@ export enum OCPIEnvironmentalImpactCategory {
|
|
|
1683
2040
|
/** Produced nuclear waste in grams per kilowatthour. */
|
|
1684
2041
|
NUCLEAR_WASTE = "NUCLEAR_WASTE",
|
|
1685
2042
|
/** Exhausted carbon dioxide in grams per kilowatthour. */
|
|
1686
|
-
CARBON_DIOXIDE = "CARBON_DIOXIDE"
|
|
2043
|
+
CARBON_DIOXIDE = "CARBON_DIOXIDE",
|
|
1687
2044
|
}
|
|
1688
2045
|
|
|
1689
2046
|
/** Specifies one exceptional period for opening or access hours. */
|
|
@@ -1734,7 +2091,7 @@ export enum OCPIFacility {
|
|
|
1734
2091
|
/** A Fuel station. */
|
|
1735
2092
|
FUEL_STATION = "FUEL_STATION",
|
|
1736
2093
|
/** Wifi or other type of internet available. */
|
|
1737
|
-
WIFI = "WIFI"
|
|
2094
|
+
WIFI = "WIFI",
|
|
1738
2095
|
}
|
|
1739
2096
|
|
|
1740
2097
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
@@ -1787,7 +2144,7 @@ export enum OCPIImageCategory {
|
|
|
1787
2144
|
/** Other */
|
|
1788
2145
|
OTHER = "OTHER",
|
|
1789
2146
|
/** Logo of the charge point owner, for example a local store, to be displayed in the EVSEs detailed information view. */
|
|
1790
|
-
OWNER = "OWNER"
|
|
2147
|
+
OWNER = "OWNER",
|
|
1791
2148
|
}
|
|
1792
2149
|
|
|
1793
2150
|
/** This value, if provided, represents the restriction to the parking spot for different purposes. */
|
|
@@ -1801,7 +2158,7 @@ export enum OCPIParkingRestriction {
|
|
|
1801
2158
|
/** Parking spot for customers/guests only, for example in case of a hotel or shop. */
|
|
1802
2159
|
CUSTOMERS = "CUSTOMERS",
|
|
1803
2160
|
/** Parking spot only suitable for (electric) motorcycles or scooters. */
|
|
1804
|
-
MOTORCYCLES = "MOTORCYCLES"
|
|
2161
|
+
MOTORCYCLES = "MOTORCYCLES",
|
|
1805
2162
|
}
|
|
1806
2163
|
|
|
1807
2164
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
@@ -1817,7 +2174,7 @@ export enum OCPIParkingType {
|
|
|
1817
2174
|
/** Parking in public space along a street. */
|
|
1818
2175
|
ON_STREET = "ON_STREET",
|
|
1819
2176
|
/** Multistorey car park, mainly underground. */
|
|
1820
|
-
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
|
|
2177
|
+
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE",
|
|
1821
2178
|
}
|
|
1822
2179
|
|
|
1823
2180
|
export enum OCPIPowerType {
|
|
@@ -1825,8 +2182,12 @@ export enum OCPIPowerType {
|
|
|
1825
2182
|
AC_1_PHASE = "AC_1_PHASE",
|
|
1826
2183
|
/** AC three phase. */
|
|
1827
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",
|
|
1828
2189
|
/** Direct Current. */
|
|
1829
|
-
DC = "DC"
|
|
2190
|
+
DC = "DC",
|
|
1830
2191
|
}
|
|
1831
2192
|
|
|
1832
2193
|
export type OCPIPrice = {
|
|
@@ -1861,7 +2222,7 @@ export enum OCPIReservationRestrictionType {
|
|
|
1861
2222
|
/** Used in TariffElements to describe costs for a reservation. */
|
|
1862
2223
|
RESERVATION = "RESERVATION",
|
|
1863
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). */
|
|
1864
|
-
RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
|
|
2225
|
+
RESERVATION_EXPIRES = "RESERVATION_EXPIRES",
|
|
1865
2226
|
}
|
|
1866
2227
|
|
|
1867
2228
|
/** The status of an EVSE. */
|
|
@@ -1883,7 +2244,7 @@ export enum OCPIStatus {
|
|
|
1883
2244
|
/** The EVSE/Connector is reserved for a particular EV driver and is unavailable for other drivers. */
|
|
1884
2245
|
RESERVED = "RESERVED",
|
|
1885
2246
|
/** No status information available (also used when offline). */
|
|
1886
|
-
UNKNOWN = "UNKNOWN"
|
|
2247
|
+
UNKNOWN = "UNKNOWN",
|
|
1887
2248
|
}
|
|
1888
2249
|
|
|
1889
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. */
|
|
@@ -1935,7 +2296,7 @@ export enum OCPITariffDimensionType {
|
|
|
1935
2296
|
/** Time not charging: defined in hours, step_size multiplier: 1 second */
|
|
1936
2297
|
PARKING_TIME = "PARKING_TIME",
|
|
1937
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. */
|
|
1938
|
-
TIME = "TIME"
|
|
2299
|
+
TIME = "TIME",
|
|
1939
2300
|
}
|
|
1940
2301
|
|
|
1941
2302
|
export type OCPITariffElement = {
|
|
@@ -1986,7 +2347,7 @@ export enum OCPITariffType {
|
|
|
1986
2347
|
/** Used to describe that a tariff is valid when charging preference: GREEN is set for the session */
|
|
1987
2348
|
PROFILE_GREEN = "PROFILE_GREEN",
|
|
1988
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 */
|
|
1989
|
-
REGULAR = "REGULAR"
|
|
2350
|
+
REGULAR = "REGULAR",
|
|
1990
2351
|
}
|
|
1991
2352
|
|
|
1992
2353
|
/** The operator data which extends OCPI BusinessDetails */
|
|
@@ -2001,10 +2362,26 @@ export type Operator = {
|
|
|
2001
2362
|
website?: Maybe<Scalars["String"]>;
|
|
2002
2363
|
/** Image link to an operator’s logo */
|
|
2003
2364
|
logo?: Maybe<OCPIImage>;
|
|
2004
|
-
/**
|
|
2365
|
+
/** Deprecated: Not used anymore, please use countries property instead */
|
|
2005
2366
|
country?: Maybe<Scalars["String"]>;
|
|
2367
|
+
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2368
|
+
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2006
2369
|
/** Contact information */
|
|
2007
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"]>;
|
|
2008
2385
|
};
|
|
2009
2386
|
|
|
2010
2387
|
/** Filter which can be applied to retrieve the operator list action */
|
|
@@ -2023,7 +2400,7 @@ export enum ParkingCost {
|
|
|
2023
2400
|
/** Parking is free */
|
|
2024
2401
|
FREE = "free",
|
|
2025
2402
|
/** Parking includes a fee */
|
|
2026
|
-
PAID = "paid"
|
|
2403
|
+
PAID = "paid",
|
|
2027
2404
|
}
|
|
2028
2405
|
|
|
2029
2406
|
export type PathSegment = {
|
|
@@ -2059,7 +2436,7 @@ export type PointInput = {
|
|
|
2059
2436
|
|
|
2060
2437
|
/** GeoJSON Point type */
|
|
2061
2438
|
export enum PointType {
|
|
2062
|
-
POINT = "Point"
|
|
2439
|
+
POINT = "Point",
|
|
2063
2440
|
}
|
|
2064
2441
|
|
|
2065
2442
|
/** The list of powers for the speed type */
|
|
@@ -2086,10 +2463,59 @@ export type Price = {
|
|
|
2086
2463
|
currency?: Maybe<Scalars["String"]>;
|
|
2087
2464
|
/** The pricing model */
|
|
2088
2465
|
model?: Maybe<Scalars["String"]>;
|
|
2089
|
-
/** The value of the price which should be
|
|
2466
|
+
/** The value of the price which should be display by the frontend */
|
|
2090
2467
|
displayValue?: Maybe<Scalars["String"]>;
|
|
2091
2468
|
};
|
|
2092
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
|
+
|
|
2093
2519
|
export type Query = {
|
|
2094
2520
|
/** Get a full list of amenities around a station */
|
|
2095
2521
|
amenityList?: Maybe<Array<Maybe<Amenity>>>;
|
|
@@ -2127,6 +2553,8 @@ export type Query = {
|
|
|
2127
2553
|
tariff?: Maybe<OCPITariff>;
|
|
2128
2554
|
/** Get the full list of tariffs */
|
|
2129
2555
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
2556
|
+
/** Convert a route to navigation instructions for a specified mapping provider */
|
|
2557
|
+
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
2130
2558
|
};
|
|
2131
2559
|
|
|
2132
2560
|
export type QueryamenityListArgs = {
|
|
@@ -2152,6 +2580,8 @@ export type QuerycarListArgs = {
|
|
|
2152
2580
|
|
|
2153
2581
|
export type QueryoperatorListArgs = {
|
|
2154
2582
|
query?: Maybe<OperatorListQuery>;
|
|
2583
|
+
search?: Maybe<Scalars["String"]>;
|
|
2584
|
+
filter?: Maybe<OperatorListFilter>;
|
|
2155
2585
|
size?: Maybe<Scalars["Int"]>;
|
|
2156
2586
|
page?: Maybe<Scalars["Int"]>;
|
|
2157
2587
|
};
|
|
@@ -2206,6 +2636,13 @@ export type QuerytariffListArgs = {
|
|
|
2206
2636
|
page?: Maybe<Scalars["Int"]>;
|
|
2207
2637
|
};
|
|
2208
2638
|
|
|
2639
|
+
export type QuerynavigationMappingArgs = {
|
|
2640
|
+
id: Scalars["ID"];
|
|
2641
|
+
provider: MappingProvider;
|
|
2642
|
+
precision?: Maybe<Scalars["Int"]>;
|
|
2643
|
+
language?: Maybe<MappingLanguage>;
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2209
2646
|
/** EV specific data for a route request */
|
|
2210
2647
|
export type RequestEv = {
|
|
2211
2648
|
/** Internal ID of a Car */
|
|
@@ -2220,8 +2657,13 @@ export type RequestEv = {
|
|
|
2220
2657
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2221
2658
|
/** Climate is on. The default is true */
|
|
2222
2659
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2223
|
-
/**
|
|
2660
|
+
/**
|
|
2661
|
+
* The number of passengers on board
|
|
2662
|
+
* @deprecated In favor of occupants
|
|
2663
|
+
*/
|
|
2224
2664
|
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
2665
|
+
/** Number of occupants */
|
|
2666
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2225
2667
|
/** Consumption specific to an EV or inputed by a request */
|
|
2226
2668
|
consumption?: Maybe<RequestEvConsumption>;
|
|
2227
2669
|
};
|
|
@@ -2295,8 +2737,8 @@ export type RequestEvInput = {
|
|
|
2295
2737
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2296
2738
|
/** Flag which indicates if the climate is on. The default is true */
|
|
2297
2739
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2298
|
-
/** Number of
|
|
2299
|
-
|
|
2740
|
+
/** Number of occupants */
|
|
2741
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2300
2742
|
/** Consumption specific to the EV or inputted by the request */
|
|
2301
2743
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
2302
2744
|
/** Deprecated */
|
|
@@ -2307,14 +2749,14 @@ export type RequestEvInput = {
|
|
|
2307
2749
|
|
|
2308
2750
|
export type RequestEvPlug = {
|
|
2309
2751
|
/** Type of the plug */
|
|
2310
|
-
standard?: Maybe<
|
|
2752
|
+
standard?: Maybe<ConnectorType>;
|
|
2311
2753
|
/** Maximum charging speed for a plug */
|
|
2312
2754
|
chargingPower?: Maybe<Scalars["Float"]>;
|
|
2313
2755
|
};
|
|
2314
2756
|
|
|
2315
2757
|
export type RequestEvPlugInput = {
|
|
2316
2758
|
/** Type of a plug */
|
|
2317
|
-
standard:
|
|
2759
|
+
standard: ConnectorType;
|
|
2318
2760
|
/** Maximum charging speed for this plug */
|
|
2319
2761
|
chargingPower: Scalars["Float"];
|
|
2320
2762
|
};
|
|
@@ -2344,7 +2786,7 @@ export type RequestRoute = {
|
|
|
2344
2786
|
* @deprecated Will be removed. Use the operators property instead
|
|
2345
2787
|
*/
|
|
2346
2788
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
2347
|
-
/** Operator
|
|
2789
|
+
/** Operator prioritization for a route */
|
|
2348
2790
|
operators?: Maybe<RouteOperators>;
|
|
2349
2791
|
/** Season */
|
|
2350
2792
|
season?: Maybe<RouteSeason>;
|
|
@@ -2373,7 +2815,7 @@ export type RequestRouteInput = {
|
|
|
2373
2815
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
2374
2816
|
/** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
|
|
2375
2817
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
2376
|
-
/** Operator
|
|
2818
|
+
/** Operator prioritization for a route */
|
|
2377
2819
|
operators?: Maybe<RouteOperatorsInput>;
|
|
2378
2820
|
/** Optional flag to specify the season */
|
|
2379
2821
|
season?: Maybe<RouteSeason>;
|
|
@@ -2415,7 +2857,7 @@ export type Review = {
|
|
|
2415
2857
|
/** Car that was provided/selected by a user */
|
|
2416
2858
|
ev?: Maybe<Car>;
|
|
2417
2859
|
/** Plug type that was provided/selected by a user */
|
|
2418
|
-
plugType?: Maybe<
|
|
2860
|
+
plugType?: Maybe<ConnectorType>;
|
|
2419
2861
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
2420
2862
|
properties?: Maybe<Scalars["JSON"]>;
|
|
2421
2863
|
/** Boolean tags for a station review */
|
|
@@ -2439,7 +2881,7 @@ export type ReviewAdd = {
|
|
|
2439
2881
|
/** ID of the Car that was provided/selected by a user */
|
|
2440
2882
|
ev?: Maybe<Scalars["String"]>;
|
|
2441
2883
|
/** Plug type that was provided/selected by a user */
|
|
2442
|
-
plugType?: Maybe<
|
|
2884
|
+
plugType?: Maybe<ConnectorType>;
|
|
2443
2885
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
2444
2886
|
properties?: Maybe<Scalars["JSON"]>;
|
|
2445
2887
|
/** Boolean tags for a station review */
|
|
@@ -2543,16 +2985,23 @@ export type RouteAlternative = {
|
|
|
2543
2985
|
consumption?: Maybe<Scalars["Float"]>;
|
|
2544
2986
|
/** Total time required to charge for an entire route, in seconds */
|
|
2545
2987
|
chargeTime?: Maybe<Scalars["Float"]>;
|
|
2546
|
-
/**
|
|
2988
|
+
/**
|
|
2989
|
+
* Amenity ranking for an alternative
|
|
2990
|
+
* @deprecated Will be removed in the future
|
|
2991
|
+
*/
|
|
2547
2992
|
amenityRanking?: Maybe<Scalars["Int"]>;
|
|
2548
2993
|
/** Range, in meters, available at the beginning of a trip */
|
|
2549
2994
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
2550
2995
|
/** Total energy in a battery at the beginning of a trip, in kWh */
|
|
2551
2996
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
2997
|
+
/** Total energy in a battery at the beginning of a trip, in percentage */
|
|
2998
|
+
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2552
2999
|
/** Remaining range, in meters, at the end of a trip */
|
|
2553
3000
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2554
3001
|
/** Remaining range, energy in kWh, at the end of a trip. */
|
|
2555
3002
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
3003
|
+
/** Remaining range, energy in percentage, at the end of a trip. */
|
|
3004
|
+
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2556
3005
|
/** Text information about a route direction */
|
|
2557
3006
|
via?: Maybe<Scalars["String"]>;
|
|
2558
3007
|
/** Polyline containing encoded coordinates */
|
|
@@ -2578,6 +3027,8 @@ export type RouteAlternative = {
|
|
|
2578
3027
|
instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
|
|
2579
3028
|
/** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
|
|
2580
3029
|
stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
|
|
3030
|
+
/** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
|
|
3031
|
+
tags?: Maybe<Array<Maybe<RouteTagType>>>;
|
|
2581
3032
|
};
|
|
2582
3033
|
|
|
2583
3034
|
export type RouteAlternativepolylineArgs = {
|
|
@@ -2601,10 +3052,10 @@ export type RouteAlternativeSaving = {
|
|
|
2601
3052
|
export enum RouteAlternativeType {
|
|
2602
3053
|
/** Fastest route between origin and destination */
|
|
2603
3054
|
FASTEST = "fastest",
|
|
2604
|
-
/** Best matching
|
|
3055
|
+
/** Best matching route based on operator and amenities preferences */
|
|
2605
3056
|
BESTMATCHING = "bestMatching",
|
|
2606
3057
|
/** An alternative to the fastest route */
|
|
2607
|
-
ALTERNATIVE = "alternative"
|
|
3058
|
+
ALTERNATIVE = "alternative",
|
|
2608
3059
|
}
|
|
2609
3060
|
|
|
2610
3061
|
export type RouteInstruction = {
|
|
@@ -2654,7 +3105,7 @@ export enum RouteInstructionSign {
|
|
|
2654
3105
|
PT_START_TRIP = "PT_START_TRIP",
|
|
2655
3106
|
PT_TRANSFER = "PT_TRANSFER",
|
|
2656
3107
|
PT_END_TRIP = "PT_END_TRIP",
|
|
2657
|
-
IGNORE = "IGNORE"
|
|
3108
|
+
IGNORE = "IGNORE",
|
|
2658
3109
|
}
|
|
2659
3110
|
|
|
2660
3111
|
export type RouteLeg = {
|
|
@@ -2670,10 +3121,14 @@ export type RouteLeg = {
|
|
|
2670
3121
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
2671
3122
|
/** Total energy in a battery at the beginning of a leg, in kWh */
|
|
2672
3123
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
3124
|
+
/** Total energy in a battery at the beginning of a trip, in percentage */
|
|
3125
|
+
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2673
3126
|
/** Range, in meters, available at the end of a leg */
|
|
2674
3127
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2675
3128
|
/** Total energy left in a battery at the end of a leg, in kWh */
|
|
2676
3129
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
3130
|
+
/** Remaining range, energy in percentage, at the end of a trip. */
|
|
3131
|
+
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2677
3132
|
/** Origin point location */
|
|
2678
3133
|
origin?: Maybe<FeaturePoint>;
|
|
2679
3134
|
/** Destination point location */
|
|
@@ -2684,8 +3139,12 @@ export type RouteLeg = {
|
|
|
2684
3139
|
name?: Maybe<Scalars["String"]>;
|
|
2685
3140
|
/** ID of a station */
|
|
2686
3141
|
stationId?: Maybe<Scalars["String"]>;
|
|
2687
|
-
/** ID of
|
|
3142
|
+
/** ID of an operator */
|
|
2688
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"]>;
|
|
2689
3148
|
/** Total time required to charge a battery until 80%, in seconds */
|
|
2690
3149
|
chargeTime?: Maybe<Scalars["Int"]>;
|
|
2691
3150
|
/** Recommended EVSE where to charge */
|
|
@@ -2702,8 +3161,19 @@ export type RouteLeg = {
|
|
|
2702
3161
|
plugsOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
2703
3162
|
/** Total number of plugs at a charge station */
|
|
2704
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>>>;
|
|
2705
3170
|
};
|
|
2706
3171
|
|
|
3172
|
+
export type RouteLegpolylineArgs = {
|
|
3173
|
+
decimals?: Maybe<Scalars["Int"]>;
|
|
3174
|
+
};
|
|
3175
|
+
|
|
3176
|
+
/** Prioritized operators for a route calculation */
|
|
2707
3177
|
export type RouteOperators = {
|
|
2708
3178
|
/** Flag indicating if the operators ranking should be preferred or required */
|
|
2709
3179
|
type?: Maybe<RouteOperatorsType>;
|
|
@@ -2713,7 +3183,7 @@ export type RouteOperators = {
|
|
|
2713
3183
|
exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2714
3184
|
};
|
|
2715
3185
|
|
|
2716
|
-
/**
|
|
3186
|
+
/** Prioritized operators for a route calculation */
|
|
2717
3187
|
export type RouteOperatorsInput = {
|
|
2718
3188
|
/** Flag indicating if the operators ranking should be preferred or required */
|
|
2719
3189
|
type?: Maybe<RouteOperatorsType>;
|
|
@@ -2723,7 +3193,7 @@ export type RouteOperatorsInput = {
|
|
|
2723
3193
|
exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2724
3194
|
};
|
|
2725
3195
|
|
|
2726
|
-
/** Ranking configuration for
|
|
3196
|
+
/** Ranking configuration for prioritized operators */
|
|
2727
3197
|
export type RouteOperatorsRanking = {
|
|
2728
3198
|
/** Level 1 (most significant) for operator ranking */
|
|
2729
3199
|
level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
@@ -2747,7 +3217,7 @@ export type RouteOperatorsRanking = {
|
|
|
2747
3217
|
level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2748
3218
|
};
|
|
2749
3219
|
|
|
2750
|
-
/** Ranking configuration for
|
|
3220
|
+
/** Ranking configuration for prioritized operators */
|
|
2751
3221
|
export type RouteOperatorsRankingInput = {
|
|
2752
3222
|
/** Level 1 (most significant) for operator ranking */
|
|
2753
3223
|
level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
@@ -2771,14 +3241,14 @@ export type RouteOperatorsRankingInput = {
|
|
|
2771
3241
|
level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2772
3242
|
};
|
|
2773
3243
|
|
|
2774
|
-
/** Type of operator
|
|
3244
|
+
/** Type of operator prioritization for a route */
|
|
2775
3245
|
export enum RouteOperatorsType {
|
|
2776
3246
|
/** Default option. Operators ranking will not be taken into account if no type is given */
|
|
2777
3247
|
NONE = "none",
|
|
2778
3248
|
/** Operators given in the operators ranking will be preferred when calculating routes */
|
|
2779
3249
|
PREFERRED = "preferred",
|
|
2780
|
-
/** Operators given in the operators ranking will be required when calculating routes,
|
|
2781
|
-
REQUIRED = "required"
|
|
3250
|
+
/** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
|
|
3251
|
+
REQUIRED = "required",
|
|
2782
3252
|
}
|
|
2783
3253
|
|
|
2784
3254
|
export type RoutePath = {
|
|
@@ -2807,7 +3277,7 @@ export enum RouteSeason {
|
|
|
2807
3277
|
/** We suppose it is winter and we have the worst weather conditions */
|
|
2808
3278
|
WINTER = "winter",
|
|
2809
3279
|
/** We fetch the current weather conditions */
|
|
2810
|
-
CURRENT = "current"
|
|
3280
|
+
CURRENT = "current",
|
|
2811
3281
|
}
|
|
2812
3282
|
|
|
2813
3283
|
export type RouteStationsAlong = {
|
|
@@ -2836,13 +3306,40 @@ export enum RouteStatus {
|
|
|
2836
3306
|
/** We finished the computing the route, without any result. Final status */
|
|
2837
3307
|
NOT_FOUND = "not_found",
|
|
2838
3308
|
/** An error occurred while computing the route. Final status */
|
|
2839
|
-
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",
|
|
2840
3337
|
}
|
|
2841
3338
|
|
|
2842
3339
|
/** Standards(plug type) stats model */
|
|
2843
3340
|
export type StandardStats = {
|
|
2844
3341
|
/** The plug type */
|
|
2845
|
-
type?: Maybe<
|
|
3342
|
+
type?: Maybe<ConnectorType>;
|
|
2846
3343
|
/** The total number of stations with the specified plug */
|
|
2847
3344
|
total?: Maybe<Scalars["Int"]>;
|
|
2848
3345
|
};
|
|
@@ -2913,7 +3410,7 @@ export type Station = {
|
|
|
2913
3410
|
elevation?: Maybe<Scalars["Int"]>;
|
|
2914
3411
|
/** Groups of EVSEs by power and type */
|
|
2915
3412
|
chargers?: Maybe<Array<Maybe<Charger>>>;
|
|
2916
|
-
/**
|
|
3413
|
+
/** Amenities located at this location */
|
|
2917
3414
|
amenities?: Maybe<Scalars["JSON"]>;
|
|
2918
3415
|
/** Enriched information about the physical address of a station */
|
|
2919
3416
|
physical_address?: Maybe<Address>;
|
|
@@ -2987,7 +3484,7 @@ export enum StationSpeedType {
|
|
|
2987
3484
|
/** Fast charging stations (above 43 kWh and below 150 kWh) */
|
|
2988
3485
|
FAST = "fast",
|
|
2989
3486
|
/** Ultra fast charging stations (above 150 kWh) */
|
|
2990
|
-
TURBO = "turbo"
|
|
3487
|
+
TURBO = "turbo",
|
|
2991
3488
|
}
|
|
2992
3489
|
|
|
2993
3490
|
/** The station stats model */
|
|
@@ -3000,6 +3497,18 @@ export type StationStats = {
|
|
|
3000
3497
|
amenities?: Maybe<Array<Maybe<AmenityStats>>>;
|
|
3001
3498
|
};
|
|
3002
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
|
+
|
|
3003
3512
|
export type Subscription = {
|
|
3004
3513
|
/**
|
|
3005
3514
|
* Subscription for a new operator was added in the system event
|