@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/dist/ts/graphql.d.ts
CHANGED
|
@@ -83,7 +83,8 @@ export declare type AmenityStats = {
|
|
|
83
83
|
export declare enum BatteryInputType {
|
|
84
84
|
KWH = "kwh",
|
|
85
85
|
KM = "km",
|
|
86
|
-
MILES = "miles"
|
|
86
|
+
MILES = "miles",
|
|
87
|
+
PERCENTAGE = "percentage"
|
|
87
88
|
}
|
|
88
89
|
/** Output of a car query */
|
|
89
90
|
export declare type Car = {
|
|
@@ -651,7 +652,7 @@ export declare type CarPerformance = {
|
|
|
651
652
|
/** Car plug model */
|
|
652
653
|
export declare type CarPlug = {
|
|
653
654
|
/** Plug type, known as connector standard in OCPI */
|
|
654
|
-
standard?: Maybe<
|
|
655
|
+
standard?: Maybe<ConnectorType>;
|
|
655
656
|
/** Usable electric power in kW */
|
|
656
657
|
power?: Maybe<Scalars["Float"]>;
|
|
657
658
|
/** Maximum electric power in kW */
|
|
@@ -860,7 +861,7 @@ export declare type CarPremiumChargeOptionOBC = {
|
|
|
860
861
|
};
|
|
861
862
|
export declare type CarPremiumChargePlug = {
|
|
862
863
|
/** Type of charge port on vehicle */
|
|
863
|
-
value?: Maybe<
|
|
864
|
+
value?: Maybe<ConnectorType>;
|
|
864
865
|
/** Indicates if value is an estimate */
|
|
865
866
|
is_estimated?: Maybe<Scalars["Boolean"]>;
|
|
866
867
|
/** Location of charge port */
|
|
@@ -1229,7 +1230,7 @@ export declare enum ChargeMode {
|
|
|
1229
1230
|
/** A groupped representation of EVSEs */
|
|
1230
1231
|
export declare type Charger = {
|
|
1231
1232
|
/** Type of charger */
|
|
1232
|
-
standard?: Maybe<
|
|
1233
|
+
standard?: Maybe<ConnectorType>;
|
|
1233
1234
|
/** Power of a charger */
|
|
1234
1235
|
power?: Maybe<Scalars["Float"]>;
|
|
1235
1236
|
/** Price of a charger */
|
|
@@ -1274,7 +1275,7 @@ export declare type Connector = {
|
|
|
1274
1275
|
/** 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. */
|
|
1275
1276
|
id?: Maybe<Scalars["String"]>;
|
|
1276
1277
|
/** Standard of an installed connector. */
|
|
1277
|
-
standard?: Maybe<
|
|
1278
|
+
standard?: Maybe<ConnectorType>;
|
|
1278
1279
|
/** Format (socket/cable) of an installed connector. */
|
|
1279
1280
|
format?: Maybe<OCPIConnectorFormat>;
|
|
1280
1281
|
/** Type of power of an installed connector. */
|
|
@@ -1305,7 +1306,90 @@ export declare type Connector = {
|
|
|
1305
1306
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1306
1307
|
/** List of valid charging tariffs */
|
|
1307
1308
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
1309
|
+
/** Charging prices, only available when using the EcoMovement database */
|
|
1310
|
+
pricing?: Maybe<Pricing>;
|
|
1308
1311
|
};
|
|
1312
|
+
/** The socket or plug standard of the charging point. */
|
|
1313
|
+
export declare enum ConnectorType {
|
|
1314
|
+
/** The connector type is CHAdeMO, DC */
|
|
1315
|
+
CHADEMO = "CHADEMO",
|
|
1316
|
+
/** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
|
|
1317
|
+
DOMESTIC_A = "DOMESTIC_A",
|
|
1318
|
+
/** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
|
|
1319
|
+
DOMESTIC_B = "DOMESTIC_B",
|
|
1320
|
+
/** Standard/domestic household, type "C", CEE 7/17, 2 pins */
|
|
1321
|
+
DOMESTIC_C = "DOMESTIC_C",
|
|
1322
|
+
/** Standard/domestic household, type "D", 3 pins */
|
|
1323
|
+
DOMESTIC_D = "DOMESTIC_D",
|
|
1324
|
+
/** Standard/domestic household, type "E", CEE 7/5 3 pins */
|
|
1325
|
+
DOMESTIC_E = "DOMESTIC_E",
|
|
1326
|
+
/** Standard/domestic household, type "F", CEE 7/4, Schuko, 3 pins */
|
|
1327
|
+
DOMESTIC_F = "DOMESTIC_F",
|
|
1328
|
+
/** Standard/domestic household, type "G", BS 1363, Commonwealth, 3 pins */
|
|
1329
|
+
DOMESTIC_G = "DOMESTIC_G",
|
|
1330
|
+
/** Standard/domestic household, type "H", SI-32, 3 pins */
|
|
1331
|
+
DOMESTIC_H = "DOMESTIC_H",
|
|
1332
|
+
/** Standard/domestic household, type "I", AS 3112, 3 pins */
|
|
1333
|
+
DOMESTIC_I = "DOMESTIC_I",
|
|
1334
|
+
/** Standard/domestic household, type "J", SEV 1011, 3 pins */
|
|
1335
|
+
DOMESTIC_J = "DOMESTIC_J",
|
|
1336
|
+
/** Standard/domestic household, type "K", DS 60884-2-D1, 3 pins */
|
|
1337
|
+
DOMESTIC_K = "DOMESTIC_K",
|
|
1338
|
+
/** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
|
|
1339
|
+
DOMESTIC_L = "DOMESTIC_L",
|
|
1340
|
+
/** Standard/Domestic household, type "M", BS 546, 3 pins */
|
|
1341
|
+
DOMESTIC_M = "DOMESTIC_M",
|
|
1342
|
+
/** Standard/Domestic household, type "N", NBR 14136, 3 pins */
|
|
1343
|
+
DOMESTIC_N = "DOMESTIC_N",
|
|
1344
|
+
/** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
|
|
1345
|
+
DOMESTIC_O = "DOMESTIC_O",
|
|
1346
|
+
/** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
|
|
1347
|
+
IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
|
|
1348
|
+
/** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
|
|
1349
|
+
IEC_60309_2_THREE_16 = "IEC_60309_2_three_16",
|
|
1350
|
+
/** IEC 60309-2 Industrial connector three phase 32 amperes (usually red) */
|
|
1351
|
+
IEC_60309_2_THREE_32 = "IEC_60309_2_three_32",
|
|
1352
|
+
/** IEC 60309-2 Industrial connector three phase 64 amperes (usually red) */
|
|
1353
|
+
IEC_60309_2_THREE_64 = "IEC_60309_2_three_64",
|
|
1354
|
+
/** IEC 62196 Type 1 "SAE J1772" */
|
|
1355
|
+
IEC_62196_T1 = "IEC_62196_T1",
|
|
1356
|
+
/** Combo Type 1 based, DC */
|
|
1357
|
+
IEC_62196_T1_COMBO = "IEC_62196_T1_COMBO",
|
|
1358
|
+
/** IEC 62196 Type 2 "Mennekes" */
|
|
1359
|
+
IEC_62196_T2 = "IEC_62196_T2",
|
|
1360
|
+
/** Combo Type 2 based, DC */
|
|
1361
|
+
IEC_62196_T2_COMBO = "IEC_62196_T2_COMBO",
|
|
1362
|
+
/** IEC 62196 Type 3A */
|
|
1363
|
+
IEC_62196_T3A = "IEC_62196_T3A",
|
|
1364
|
+
/** IEC 62196 Type 3C "Scame" */
|
|
1365
|
+
IEC_62196_T3C = "IEC_62196_T3C",
|
|
1366
|
+
/** On-board bottom-up-pantograph typically for bus charging */
|
|
1367
|
+
PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
|
|
1368
|
+
/** Off-board top-down-pantograph typically for bus charging */
|
|
1369
|
+
PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
|
|
1370
|
+
/** Tesla connector "Roadster"-type (round, 4 pins) */
|
|
1371
|
+
TESLA_R = "TESLA_R",
|
|
1372
|
+
/** Tesla connector "Model-S"-type (oval, 5 pins) */
|
|
1373
|
+
TESLA_S = "TESLA_S",
|
|
1374
|
+
/** The connector type is GB_T (Chinese standard), DC */
|
|
1375
|
+
GB_T = "GB_T",
|
|
1376
|
+
/** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
|
|
1377
|
+
CHAOJI = "CHAOJI",
|
|
1378
|
+
/** The connector type is NEMA 5-20, 3 pins */
|
|
1379
|
+
NEMA_5_20 = "NEMA_5_20",
|
|
1380
|
+
/** The connector type is NEMA 6-30, 3 pins */
|
|
1381
|
+
NEMA_6_30 = "NEMA_6_30",
|
|
1382
|
+
/** The connector type is NEMA 6-50, 3 pins */
|
|
1383
|
+
NEMA_6_50 = "NEMA_6_50",
|
|
1384
|
+
/** The connector type is NEMA 10-30, 3 pins */
|
|
1385
|
+
NEMA_10_30 = "NEMA_10_30",
|
|
1386
|
+
/** The connector type is NEMA 10-50, 3 pins */
|
|
1387
|
+
NEMA_10_50 = "NEMA_10_50",
|
|
1388
|
+
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1389
|
+
NEMA_14_30 = "NEMA_14_30",
|
|
1390
|
+
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1391
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1392
|
+
}
|
|
1309
1393
|
/** The complete contact information */
|
|
1310
1394
|
export declare type Contact = {
|
|
1311
1395
|
/** The phone number in international format */
|
|
@@ -1321,6 +1405,242 @@ export declare type Contact = {
|
|
|
1321
1405
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
1322
1406
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1323
1407
|
};
|
|
1408
|
+
/** ISO-3166 alpha-2 country codes */
|
|
1409
|
+
export declare enum CountryCodeAlpha2 {
|
|
1410
|
+
AD = "AD",
|
|
1411
|
+
AE = "AE",
|
|
1412
|
+
AF = "AF",
|
|
1413
|
+
AG = "AG",
|
|
1414
|
+
AI = "AI",
|
|
1415
|
+
AL = "AL",
|
|
1416
|
+
AM = "AM",
|
|
1417
|
+
AN = "AN",
|
|
1418
|
+
AO = "AO",
|
|
1419
|
+
AQ = "AQ",
|
|
1420
|
+
AR = "AR",
|
|
1421
|
+
AS = "AS",
|
|
1422
|
+
AT = "AT",
|
|
1423
|
+
AU = "AU",
|
|
1424
|
+
AW = "AW",
|
|
1425
|
+
AX = "AX",
|
|
1426
|
+
AZ = "AZ",
|
|
1427
|
+
BA = "BA",
|
|
1428
|
+
BB = "BB",
|
|
1429
|
+
BD = "BD",
|
|
1430
|
+
BE = "BE",
|
|
1431
|
+
BF = "BF",
|
|
1432
|
+
BG = "BG",
|
|
1433
|
+
BH = "BH",
|
|
1434
|
+
BI = "BI",
|
|
1435
|
+
BJ = "BJ",
|
|
1436
|
+
BM = "BM",
|
|
1437
|
+
BN = "BN",
|
|
1438
|
+
BO = "BO",
|
|
1439
|
+
BR = "BR",
|
|
1440
|
+
BS = "BS",
|
|
1441
|
+
BT = "BT",
|
|
1442
|
+
BV = "BV",
|
|
1443
|
+
BW = "BW",
|
|
1444
|
+
BY = "BY",
|
|
1445
|
+
BZ = "BZ",
|
|
1446
|
+
CA = "CA",
|
|
1447
|
+
CC = "CC",
|
|
1448
|
+
CD = "CD",
|
|
1449
|
+
CF = "CF",
|
|
1450
|
+
CG = "CG",
|
|
1451
|
+
CH = "CH",
|
|
1452
|
+
CI = "CI",
|
|
1453
|
+
CK = "CK",
|
|
1454
|
+
CL = "CL",
|
|
1455
|
+
CM = "CM",
|
|
1456
|
+
CN = "CN",
|
|
1457
|
+
CO = "CO",
|
|
1458
|
+
CR = "CR",
|
|
1459
|
+
CS = "CS",
|
|
1460
|
+
CU = "CU",
|
|
1461
|
+
CV = "CV",
|
|
1462
|
+
CX = "CX",
|
|
1463
|
+
CY = "CY",
|
|
1464
|
+
CZ = "CZ",
|
|
1465
|
+
DE = "DE",
|
|
1466
|
+
DJ = "DJ",
|
|
1467
|
+
DK = "DK",
|
|
1468
|
+
DM = "DM",
|
|
1469
|
+
DO = "DO",
|
|
1470
|
+
DZ = "DZ",
|
|
1471
|
+
EC = "EC",
|
|
1472
|
+
EE = "EE",
|
|
1473
|
+
EG = "EG",
|
|
1474
|
+
EH = "EH",
|
|
1475
|
+
ER = "ER",
|
|
1476
|
+
ES = "ES",
|
|
1477
|
+
ET = "ET",
|
|
1478
|
+
FI = "FI",
|
|
1479
|
+
FJ = "FJ",
|
|
1480
|
+
FK = "FK",
|
|
1481
|
+
FM = "FM",
|
|
1482
|
+
FO = "FO",
|
|
1483
|
+
FR = "FR",
|
|
1484
|
+
GA = "GA",
|
|
1485
|
+
GB = "GB",
|
|
1486
|
+
GD = "GD",
|
|
1487
|
+
GE = "GE",
|
|
1488
|
+
GF = "GF",
|
|
1489
|
+
GH = "GH",
|
|
1490
|
+
GI = "GI",
|
|
1491
|
+
GL = "GL",
|
|
1492
|
+
GM = "GM",
|
|
1493
|
+
GN = "GN",
|
|
1494
|
+
GP = "GP",
|
|
1495
|
+
GQ = "GQ",
|
|
1496
|
+
GR = "GR",
|
|
1497
|
+
GS = "GS",
|
|
1498
|
+
GT = "GT",
|
|
1499
|
+
GU = "GU",
|
|
1500
|
+
GW = "GW",
|
|
1501
|
+
GY = "GY",
|
|
1502
|
+
HK = "HK",
|
|
1503
|
+
HM = "HM",
|
|
1504
|
+
HN = "HN",
|
|
1505
|
+
HR = "HR",
|
|
1506
|
+
HT = "HT",
|
|
1507
|
+
HU = "HU",
|
|
1508
|
+
ID = "ID",
|
|
1509
|
+
IE = "IE",
|
|
1510
|
+
IL = "IL",
|
|
1511
|
+
IN = "IN",
|
|
1512
|
+
IO = "IO",
|
|
1513
|
+
IQ = "IQ",
|
|
1514
|
+
IR = "IR",
|
|
1515
|
+
IS = "IS",
|
|
1516
|
+
IT = "IT",
|
|
1517
|
+
JM = "JM",
|
|
1518
|
+
JO = "JO",
|
|
1519
|
+
JP = "JP",
|
|
1520
|
+
KE = "KE",
|
|
1521
|
+
KG = "KG",
|
|
1522
|
+
KH = "KH",
|
|
1523
|
+
KI = "KI",
|
|
1524
|
+
KM = "KM",
|
|
1525
|
+
KN = "KN",
|
|
1526
|
+
KP = "KP",
|
|
1527
|
+
KR = "KR",
|
|
1528
|
+
KW = "KW",
|
|
1529
|
+
KY = "KY",
|
|
1530
|
+
KZ = "KZ",
|
|
1531
|
+
LA = "LA",
|
|
1532
|
+
LB = "LB",
|
|
1533
|
+
LC = "LC",
|
|
1534
|
+
LI = "LI",
|
|
1535
|
+
LK = "LK",
|
|
1536
|
+
LR = "LR",
|
|
1537
|
+
LS = "LS",
|
|
1538
|
+
LT = "LT",
|
|
1539
|
+
LU = "LU",
|
|
1540
|
+
LV = "LV",
|
|
1541
|
+
LY = "LY",
|
|
1542
|
+
MA = "MA",
|
|
1543
|
+
MC = "MC",
|
|
1544
|
+
MD = "MD",
|
|
1545
|
+
ME = "ME",
|
|
1546
|
+
MF = "MF",
|
|
1547
|
+
MG = "MG",
|
|
1548
|
+
MH = "MH",
|
|
1549
|
+
MK = "MK",
|
|
1550
|
+
ML = "ML",
|
|
1551
|
+
MM = "MM",
|
|
1552
|
+
MN = "MN",
|
|
1553
|
+
MO = "MO",
|
|
1554
|
+
MP = "MP",
|
|
1555
|
+
MQ = "MQ",
|
|
1556
|
+
MR = "MR",
|
|
1557
|
+
MS = "MS",
|
|
1558
|
+
MT = "MT",
|
|
1559
|
+
MU = "MU",
|
|
1560
|
+
MV = "MV",
|
|
1561
|
+
MW = "MW",
|
|
1562
|
+
MX = "MX",
|
|
1563
|
+
MY = "MY",
|
|
1564
|
+
MZ = "MZ",
|
|
1565
|
+
NA = "NA",
|
|
1566
|
+
NC = "NC",
|
|
1567
|
+
NE = "NE",
|
|
1568
|
+
NF = "NF",
|
|
1569
|
+
NG = "NG",
|
|
1570
|
+
NI = "NI",
|
|
1571
|
+
NL = "NL",
|
|
1572
|
+
NO = "NO",
|
|
1573
|
+
NP = "NP",
|
|
1574
|
+
NR = "NR",
|
|
1575
|
+
NU = "NU",
|
|
1576
|
+
NZ = "NZ",
|
|
1577
|
+
OM = "OM",
|
|
1578
|
+
PA = "PA",
|
|
1579
|
+
PE = "PE",
|
|
1580
|
+
PF = "PF",
|
|
1581
|
+
PG = "PG",
|
|
1582
|
+
PH = "PH",
|
|
1583
|
+
PK = "PK",
|
|
1584
|
+
PL = "PL",
|
|
1585
|
+
PM = "PM",
|
|
1586
|
+
PN = "PN",
|
|
1587
|
+
PR = "PR",
|
|
1588
|
+
PS = "PS",
|
|
1589
|
+
PT = "PT",
|
|
1590
|
+
PW = "PW",
|
|
1591
|
+
PY = "PY",
|
|
1592
|
+
QA = "QA",
|
|
1593
|
+
RE = "RE",
|
|
1594
|
+
RKS = "RKS",
|
|
1595
|
+
RO = "RO",
|
|
1596
|
+
RS = "RS",
|
|
1597
|
+
RU = "RU",
|
|
1598
|
+
RW = "RW",
|
|
1599
|
+
SA = "SA",
|
|
1600
|
+
SB = "SB",
|
|
1601
|
+
SC = "SC",
|
|
1602
|
+
SD = "SD",
|
|
1603
|
+
SE = "SE",
|
|
1604
|
+
SG = "SG",
|
|
1605
|
+
SH = "SH",
|
|
1606
|
+
SI = "SI",
|
|
1607
|
+
SJ = "SJ",
|
|
1608
|
+
SK = "SK",
|
|
1609
|
+
SL = "SL",
|
|
1610
|
+
SM = "SM",
|
|
1611
|
+
SN = "SN",
|
|
1612
|
+
SO = "SO",
|
|
1613
|
+
SR = "SR",
|
|
1614
|
+
ST = "ST",
|
|
1615
|
+
SV = "SV",
|
|
1616
|
+
SX = "SX",
|
|
1617
|
+
SY = "SY",
|
|
1618
|
+
SZ = "SZ",
|
|
1619
|
+
TC = "TC",
|
|
1620
|
+
TD = "TD",
|
|
1621
|
+
TF = "TF",
|
|
1622
|
+
TG = "TG",
|
|
1623
|
+
TH = "TH",
|
|
1624
|
+
TJ = "TJ",
|
|
1625
|
+
TK = "TK",
|
|
1626
|
+
TL = "TL",
|
|
1627
|
+
TM = "TM",
|
|
1628
|
+
TN = "TN",
|
|
1629
|
+
TO = "TO",
|
|
1630
|
+
TR = "TR",
|
|
1631
|
+
TT = "TT",
|
|
1632
|
+
TV = "TV",
|
|
1633
|
+
TW = "TW",
|
|
1634
|
+
TZ = "TZ",
|
|
1635
|
+
UA = "UA",
|
|
1636
|
+
UG = "UG",
|
|
1637
|
+
UM = "UM",
|
|
1638
|
+
US = "US",
|
|
1639
|
+
UY = "UY",
|
|
1640
|
+
UZ = "UZ",
|
|
1641
|
+
VA = "VA",
|
|
1642
|
+
VC = "VC"
|
|
1643
|
+
}
|
|
1324
1644
|
/** EVSE data which extends OCPI EVSE */
|
|
1325
1645
|
export declare type EVSE = {
|
|
1326
1646
|
/**
|
|
@@ -1381,7 +1701,7 @@ export declare type FeaturePointInput = {
|
|
|
1381
1701
|
export declare enum FeatureType {
|
|
1382
1702
|
FEATURE = "Feature"
|
|
1383
1703
|
}
|
|
1384
|
-
/**
|
|
1704
|
+
/** Types of a leg */
|
|
1385
1705
|
export declare enum LegType {
|
|
1386
1706
|
/** This leg ends at a charging station and the car must recharge */
|
|
1387
1707
|
STATION = "station",
|
|
@@ -1394,6 +1714,15 @@ export declare enum LegType {
|
|
|
1394
1714
|
/** This leg ends at the destination which is a charging station, and is the last leg of the route */
|
|
1395
1715
|
STATIONFINAL = "stationFinal"
|
|
1396
1716
|
}
|
|
1717
|
+
/** Preferred language for the mapping */
|
|
1718
|
+
export declare enum MappingLanguage {
|
|
1719
|
+
EN = "en"
|
|
1720
|
+
}
|
|
1721
|
+
/** Navigation service providers available */
|
|
1722
|
+
export declare enum MappingProvider {
|
|
1723
|
+
/** Mapbox Navigation */
|
|
1724
|
+
MAPBOXV5 = "MapboxV5"
|
|
1725
|
+
}
|
|
1397
1726
|
export declare type Mutation = {
|
|
1398
1727
|
/**
|
|
1399
1728
|
* Add a new review.
|
|
@@ -1454,7 +1783,9 @@ export declare enum OCPICapability {
|
|
|
1454
1783
|
/** 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). */
|
|
1455
1784
|
TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
|
|
1456
1785
|
/** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
|
|
1457
|
-
UNLOCK_CAPABLE = "UNLOCK_CAPABLE"
|
|
1786
|
+
UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
|
|
1787
|
+
/** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
|
|
1788
|
+
START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
|
|
1458
1789
|
}
|
|
1459
1790
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
1460
1791
|
export declare enum OCPIConnectorFormat {
|
|
@@ -1463,7 +1794,7 @@ export declare enum OCPIConnectorFormat {
|
|
|
1463
1794
|
/** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
|
|
1464
1795
|
CABLE = "CABLE"
|
|
1465
1796
|
}
|
|
1466
|
-
/**
|
|
1797
|
+
/** Deprecated: Please use ConnectorType instead */
|
|
1467
1798
|
export declare enum OCPIConnectorType {
|
|
1468
1799
|
/** The connector type is CHAdeMO, DC */
|
|
1469
1800
|
CHADEMO = "CHADEMO",
|
|
@@ -1491,6 +1822,12 @@ export declare enum OCPIConnectorType {
|
|
|
1491
1822
|
DOMESTIC_K = "DOMESTIC_K",
|
|
1492
1823
|
/** Standard/domestic household, type "L", CEI 23-16-VII, 3 pins */
|
|
1493
1824
|
DOMESTIC_L = "DOMESTIC_L",
|
|
1825
|
+
/** Standard/Domestic household, type "M", BS 546, 3 pins */
|
|
1826
|
+
DOMESTIC_M = "DOMESTIC_M",
|
|
1827
|
+
/** Standard/Domestic household, type "N", NBR 14136, 3 pins */
|
|
1828
|
+
DOMESTIC_N = "DOMESTIC_N",
|
|
1829
|
+
/** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
|
|
1830
|
+
DOMESTIC_O = "DOMESTIC_O",
|
|
1494
1831
|
/** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
|
|
1495
1832
|
IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
|
|
1496
1833
|
/** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
|
|
@@ -1519,8 +1856,24 @@ export declare enum OCPIConnectorType {
|
|
|
1519
1856
|
TESLA_R = "TESLA_R",
|
|
1520
1857
|
/** Tesla connector "Model-S"-type (oval, 5 pins) */
|
|
1521
1858
|
TESLA_S = "TESLA_S",
|
|
1522
|
-
/**
|
|
1523
|
-
GB_T = "GB_T"
|
|
1859
|
+
/** The connector type is GB_T (Chinese standard), DC */
|
|
1860
|
+
GB_T = "GB_T",
|
|
1861
|
+
/** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
|
|
1862
|
+
CHAOJI = "CHAOJI",
|
|
1863
|
+
/** The connector type is NEMA 5-20, 3 pins */
|
|
1864
|
+
NEMA_5_20 = "NEMA_5_20",
|
|
1865
|
+
/** The connector type is NEMA 6-30, 3 pins */
|
|
1866
|
+
NEMA_6_30 = "NEMA_6_30",
|
|
1867
|
+
/** The connector type is NEMA 6-50, 3 pins */
|
|
1868
|
+
NEMA_6_50 = "NEMA_6_50",
|
|
1869
|
+
/** The connector type is NEMA 10-30, 3 pins */
|
|
1870
|
+
NEMA_10_30 = "NEMA_10_30",
|
|
1871
|
+
/** The connector type is NEMA 10-50, 3 pins */
|
|
1872
|
+
NEMA_10_50 = "NEMA_10_50",
|
|
1873
|
+
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1874
|
+
NEMA_14_30 = "NEMA_14_30",
|
|
1875
|
+
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1876
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1524
1877
|
}
|
|
1525
1878
|
export declare enum OCPIDayOfWeek {
|
|
1526
1879
|
MONDAY = "MONDAY",
|
|
@@ -1720,6 +2073,10 @@ export declare enum OCPIPowerType {
|
|
|
1720
2073
|
AC_1_PHASE = "AC_1_PHASE",
|
|
1721
2074
|
/** AC three phase. */
|
|
1722
2075
|
AC_3_PHASE = "AC_3_PHASE",
|
|
2076
|
+
/** AC two phases, only two of the three available phases connected. */
|
|
2077
|
+
AC_2_PHASE = "AC_2_PHASE",
|
|
2078
|
+
/** AC two phases using split phase system. */
|
|
2079
|
+
AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
|
|
1723
2080
|
/** Direct Current. */
|
|
1724
2081
|
DC = "DC"
|
|
1725
2082
|
}
|
|
@@ -1884,10 +2241,25 @@ export declare type Operator = {
|
|
|
1884
2241
|
website?: Maybe<Scalars["String"]>;
|
|
1885
2242
|
/** Image link to an operator’s logo */
|
|
1886
2243
|
logo?: Maybe<OCPIImage>;
|
|
1887
|
-
/**
|
|
2244
|
+
/** Deprecated: Not used anymore, please use countries property instead */
|
|
1888
2245
|
country?: Maybe<Scalars["String"]>;
|
|
2246
|
+
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2247
|
+
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
1889
2248
|
/** Contact information */
|
|
1890
2249
|
contact?: Maybe<Contact>;
|
|
2250
|
+
/** Ranking level on which the operator is placed or null in case the operator is not on any ranking level */
|
|
2251
|
+
ranking?: Maybe<Scalars["Int"]>;
|
|
2252
|
+
/** Flag which indicates if the operator is in the excluded list */
|
|
2253
|
+
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2254
|
+
};
|
|
2255
|
+
/** Filter which can be applied to retrieve the operator list action */
|
|
2256
|
+
export declare type OperatorListFilter = {
|
|
2257
|
+
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2258
|
+
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2259
|
+
/** List of ranking level(s) to be retrieved. Valid values are 1 to 10 */
|
|
2260
|
+
ranking?: Maybe<Array<Scalars["Int"]>>;
|
|
2261
|
+
/** Only retrieve operators that are in the excluded list */
|
|
2262
|
+
excluded?: Maybe<Scalars["Boolean"]>;
|
|
1891
2263
|
};
|
|
1892
2264
|
/** Filter which can be applied to retrieve the operator list action */
|
|
1893
2265
|
export declare type OperatorListQuery = {
|
|
@@ -1960,9 +2332,53 @@ export declare type Price = {
|
|
|
1960
2332
|
currency?: Maybe<Scalars["String"]>;
|
|
1961
2333
|
/** The pricing model */
|
|
1962
2334
|
model?: Maybe<Scalars["String"]>;
|
|
1963
|
-
/** The value of the price which should be
|
|
2335
|
+
/** The value of the price which should be display by the frontend */
|
|
1964
2336
|
displayValue?: Maybe<Scalars["String"]>;
|
|
1965
2337
|
};
|
|
2338
|
+
export declare type Pricing = {
|
|
2339
|
+
/** Unique ID of a price */
|
|
2340
|
+
id?: Maybe<Scalars["String"]>;
|
|
2341
|
+
/** Price details */
|
|
2342
|
+
price_list?: Maybe<Array<Maybe<PricingList>>>;
|
|
2343
|
+
};
|
|
2344
|
+
export declare type PricingList = {
|
|
2345
|
+
/** (MSP) Mobility Service Provider */
|
|
2346
|
+
partner?: Maybe<Scalars["String"]>;
|
|
2347
|
+
/** Product details */
|
|
2348
|
+
product?: Maybe<PricingListProduct>;
|
|
2349
|
+
/** Price product elements */
|
|
2350
|
+
elements?: Maybe<Array<Maybe<PricingListElement>>>;
|
|
2351
|
+
};
|
|
2352
|
+
export declare type PricingListElement = {
|
|
2353
|
+
/** Price element type. */
|
|
2354
|
+
type?: Maybe<PricingListElementType>;
|
|
2355
|
+
/** Price of the element type without VAT. */
|
|
2356
|
+
price_excl_vat?: Maybe<Scalars["Float"]>;
|
|
2357
|
+
/** VAT percentage to apply */
|
|
2358
|
+
vat?: Maybe<Scalars["Float"]>;
|
|
2359
|
+
};
|
|
2360
|
+
export declare enum PricingListElementType {
|
|
2361
|
+
/** Price per kWh */
|
|
2362
|
+
ENERGY = "ENERGY",
|
|
2363
|
+
/** Starting price, fixed fee per charge session */
|
|
2364
|
+
FLAT = "FLAT",
|
|
2365
|
+
/** Fixed price per hour */
|
|
2366
|
+
TIME = "TIME",
|
|
2367
|
+
/** Parking price per hour */
|
|
2368
|
+
PARKING_TIME = "PARKING_TIME"
|
|
2369
|
+
}
|
|
2370
|
+
export declare type PricingListProduct = {
|
|
2371
|
+
/** Name of the payment card or subscription. If name is 'Adhoc price' the price is the CPO price */
|
|
2372
|
+
name?: Maybe<Scalars["String"]>;
|
|
2373
|
+
/** Description of the product */
|
|
2374
|
+
description?: Maybe<Scalars["String"]>;
|
|
2375
|
+
/** Subscription type */
|
|
2376
|
+
subscription_type?: Maybe<Scalars["String"]>;
|
|
2377
|
+
/** Subscription fee without VAT */
|
|
2378
|
+
subscription_fee_excl_vat?: Maybe<Scalars["Float"]>;
|
|
2379
|
+
/** Currency */
|
|
2380
|
+
currency?: Maybe<Scalars["String"]>;
|
|
2381
|
+
};
|
|
1966
2382
|
export declare type Query = {
|
|
1967
2383
|
/** Get a full list of amenities around a station */
|
|
1968
2384
|
amenityList?: Maybe<Array<Maybe<Amenity>>>;
|
|
@@ -2000,6 +2416,8 @@ export declare type Query = {
|
|
|
2000
2416
|
tariff?: Maybe<OCPITariff>;
|
|
2001
2417
|
/** Get the full list of tariffs */
|
|
2002
2418
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
2419
|
+
/** Convert a route to navigation instructions for a specified mapping provider */
|
|
2420
|
+
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
2003
2421
|
};
|
|
2004
2422
|
export declare type QueryamenityListArgs = {
|
|
2005
2423
|
stationId: Scalars["ID"];
|
|
@@ -2020,6 +2438,8 @@ export declare type QuerycarListArgs = {
|
|
|
2020
2438
|
};
|
|
2021
2439
|
export declare type QueryoperatorListArgs = {
|
|
2022
2440
|
query?: Maybe<OperatorListQuery>;
|
|
2441
|
+
search?: Maybe<Scalars["String"]>;
|
|
2442
|
+
filter?: Maybe<OperatorListFilter>;
|
|
2023
2443
|
size?: Maybe<Scalars["Int"]>;
|
|
2024
2444
|
page?: Maybe<Scalars["Int"]>;
|
|
2025
2445
|
};
|
|
@@ -2063,6 +2483,12 @@ export declare type QuerytariffListArgs = {
|
|
|
2063
2483
|
size?: Maybe<Scalars["Int"]>;
|
|
2064
2484
|
page?: Maybe<Scalars["Int"]>;
|
|
2065
2485
|
};
|
|
2486
|
+
export declare type QuerynavigationMappingArgs = {
|
|
2487
|
+
id: Scalars["ID"];
|
|
2488
|
+
provider: MappingProvider;
|
|
2489
|
+
precision?: Maybe<Scalars["Int"]>;
|
|
2490
|
+
language?: Maybe<MappingLanguage>;
|
|
2491
|
+
};
|
|
2066
2492
|
/** EV specific data for a route request */
|
|
2067
2493
|
export declare type RequestEv = {
|
|
2068
2494
|
/** Internal ID of a Car */
|
|
@@ -2077,8 +2503,13 @@ export declare type RequestEv = {
|
|
|
2077
2503
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2078
2504
|
/** Climate is on. The default is true */
|
|
2079
2505
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2080
|
-
/**
|
|
2506
|
+
/**
|
|
2507
|
+
* The number of passengers on board
|
|
2508
|
+
* @deprecated In favor of occupants
|
|
2509
|
+
*/
|
|
2081
2510
|
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
2511
|
+
/** Number of occupants */
|
|
2512
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2082
2513
|
/** Consumption specific to an EV or inputed by a request */
|
|
2083
2514
|
consumption?: Maybe<RequestEvConsumption>;
|
|
2084
2515
|
};
|
|
@@ -2145,8 +2576,8 @@ export declare type RequestEvInput = {
|
|
|
2145
2576
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2146
2577
|
/** Flag which indicates if the climate is on. The default is true */
|
|
2147
2578
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2148
|
-
/** Number of
|
|
2149
|
-
|
|
2579
|
+
/** Number of occupants */
|
|
2580
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2150
2581
|
/** Consumption specific to the EV or inputted by the request */
|
|
2151
2582
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
2152
2583
|
/** Deprecated */
|
|
@@ -2156,13 +2587,13 @@ export declare type RequestEvInput = {
|
|
|
2156
2587
|
};
|
|
2157
2588
|
export declare type RequestEvPlug = {
|
|
2158
2589
|
/** Type of the plug */
|
|
2159
|
-
standard?: Maybe<
|
|
2590
|
+
standard?: Maybe<ConnectorType>;
|
|
2160
2591
|
/** Maximum charging speed for a plug */
|
|
2161
2592
|
chargingPower?: Maybe<Scalars["Float"]>;
|
|
2162
2593
|
};
|
|
2163
2594
|
export declare type RequestEvPlugInput = {
|
|
2164
2595
|
/** Type of a plug */
|
|
2165
|
-
standard:
|
|
2596
|
+
standard: ConnectorType;
|
|
2166
2597
|
/** Maximum charging speed for this plug */
|
|
2167
2598
|
chargingPower: Scalars["Float"];
|
|
2168
2599
|
};
|
|
@@ -2190,7 +2621,7 @@ export declare type RequestRoute = {
|
|
|
2190
2621
|
* @deprecated Will be removed. Use the operators property instead
|
|
2191
2622
|
*/
|
|
2192
2623
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
2193
|
-
/** Operator
|
|
2624
|
+
/** Operator prioritization for a route */
|
|
2194
2625
|
operators?: Maybe<RouteOperators>;
|
|
2195
2626
|
/** Season */
|
|
2196
2627
|
season?: Maybe<RouteSeason>;
|
|
@@ -2218,7 +2649,7 @@ export declare type RequestRouteInput = {
|
|
|
2218
2649
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
2219
2650
|
/** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
|
|
2220
2651
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
2221
|
-
/** Operator
|
|
2652
|
+
/** Operator prioritization for a route */
|
|
2222
2653
|
operators?: Maybe<RouteOperatorsInput>;
|
|
2223
2654
|
/** Optional flag to specify the season */
|
|
2224
2655
|
season?: Maybe<RouteSeason>;
|
|
@@ -2258,7 +2689,7 @@ export declare type Review = {
|
|
|
2258
2689
|
/** Car that was provided/selected by a user */
|
|
2259
2690
|
ev?: Maybe<Car>;
|
|
2260
2691
|
/** Plug type that was provided/selected by a user */
|
|
2261
|
-
plugType?: Maybe<
|
|
2692
|
+
plugType?: Maybe<ConnectorType>;
|
|
2262
2693
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
2263
2694
|
properties?: Maybe<Scalars["JSON"]>;
|
|
2264
2695
|
/** Boolean tags for a station review */
|
|
@@ -2281,7 +2712,7 @@ export declare type ReviewAdd = {
|
|
|
2281
2712
|
/** ID of the Car that was provided/selected by a user */
|
|
2282
2713
|
ev?: Maybe<Scalars["String"]>;
|
|
2283
2714
|
/** Plug type that was provided/selected by a user */
|
|
2284
|
-
plugType?: Maybe<
|
|
2715
|
+
plugType?: Maybe<ConnectorType>;
|
|
2285
2716
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
2286
2717
|
properties?: Maybe<Scalars["JSON"]>;
|
|
2287
2718
|
/** Boolean tags for a station review */
|
|
@@ -2378,16 +2809,23 @@ export declare type RouteAlternative = {
|
|
|
2378
2809
|
consumption?: Maybe<Scalars["Float"]>;
|
|
2379
2810
|
/** Total time required to charge for an entire route, in seconds */
|
|
2380
2811
|
chargeTime?: Maybe<Scalars["Float"]>;
|
|
2381
|
-
/**
|
|
2812
|
+
/**
|
|
2813
|
+
* Amenity ranking for an alternative
|
|
2814
|
+
* @deprecated Will be removed in the future
|
|
2815
|
+
*/
|
|
2382
2816
|
amenityRanking?: Maybe<Scalars["Int"]>;
|
|
2383
2817
|
/** Range, in meters, available at the beginning of a trip */
|
|
2384
2818
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
2385
2819
|
/** Total energy in a battery at the beginning of a trip, in kWh */
|
|
2386
2820
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
2821
|
+
/** Total energy in a battery at the beginning of a trip, in percentage */
|
|
2822
|
+
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2387
2823
|
/** Remaining range, in meters, at the end of a trip */
|
|
2388
2824
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2389
2825
|
/** Remaining range, energy in kWh, at the end of a trip. */
|
|
2390
2826
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
2827
|
+
/** Remaining range, energy in percentage, at the end of a trip. */
|
|
2828
|
+
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2391
2829
|
/** Text information about a route direction */
|
|
2392
2830
|
via?: Maybe<Scalars["String"]>;
|
|
2393
2831
|
/** Polyline containing encoded coordinates */
|
|
@@ -2413,6 +2851,8 @@ export declare type RouteAlternative = {
|
|
|
2413
2851
|
instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
|
|
2414
2852
|
/** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
|
|
2415
2853
|
stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
|
|
2854
|
+
/** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
|
|
2855
|
+
tags?: Maybe<Array<Maybe<RouteTagType>>>;
|
|
2416
2856
|
};
|
|
2417
2857
|
export declare type RouteAlternativepolylineArgs = {
|
|
2418
2858
|
decimals?: Maybe<Scalars["Int"]>;
|
|
@@ -2433,7 +2873,7 @@ export declare type RouteAlternativeSaving = {
|
|
|
2433
2873
|
export declare enum RouteAlternativeType {
|
|
2434
2874
|
/** Fastest route between origin and destination */
|
|
2435
2875
|
FASTEST = "fastest",
|
|
2436
|
-
/** Best matching
|
|
2876
|
+
/** Best matching route based on operator and amenities preferences */
|
|
2437
2877
|
BESTMATCHING = "bestMatching",
|
|
2438
2878
|
/** An alternative to the fastest route */
|
|
2439
2879
|
ALTERNATIVE = "alternative"
|
|
@@ -2498,10 +2938,14 @@ export declare type RouteLeg = {
|
|
|
2498
2938
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
2499
2939
|
/** Total energy in a battery at the beginning of a leg, in kWh */
|
|
2500
2940
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
2941
|
+
/** Total energy in a battery at the beginning of a trip, in percentage */
|
|
2942
|
+
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2501
2943
|
/** Range, in meters, available at the end of a leg */
|
|
2502
2944
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2503
2945
|
/** Total energy left in a battery at the end of a leg, in kWh */
|
|
2504
2946
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
2947
|
+
/** Remaining range, energy in percentage, at the end of a trip. */
|
|
2948
|
+
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2505
2949
|
/** Origin point location */
|
|
2506
2950
|
origin?: Maybe<FeaturePoint>;
|
|
2507
2951
|
/** Destination point location */
|
|
@@ -2512,8 +2956,12 @@ export declare type RouteLeg = {
|
|
|
2512
2956
|
name?: Maybe<Scalars["String"]>;
|
|
2513
2957
|
/** ID of a station */
|
|
2514
2958
|
stationId?: Maybe<Scalars["String"]>;
|
|
2515
|
-
/** ID of
|
|
2959
|
+
/** ID of an operator */
|
|
2516
2960
|
operatorId?: Maybe<Scalars["String"]>;
|
|
2961
|
+
/** Name of an operator */
|
|
2962
|
+
operatorName?: Maybe<Scalars["String"]>;
|
|
2963
|
+
/** Ranking of an operator */
|
|
2964
|
+
operatorRanking?: Maybe<Scalars["Int"]>;
|
|
2517
2965
|
/** Total time required to charge a battery until 80%, in seconds */
|
|
2518
2966
|
chargeTime?: Maybe<Scalars["Int"]>;
|
|
2519
2967
|
/** Recommended EVSE where to charge */
|
|
@@ -2530,7 +2978,17 @@ export declare type RouteLeg = {
|
|
|
2530
2978
|
plugsOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
2531
2979
|
/** Total number of plugs at a charge station */
|
|
2532
2980
|
plugsCount?: Maybe<Scalars["Int"]>;
|
|
2981
|
+
/** Polyline containing encoded coordinates */
|
|
2982
|
+
polyline?: Maybe<Scalars["String"]>;
|
|
2983
|
+
/** Steps of a leg */
|
|
2984
|
+
steps?: Maybe<Array<Maybe<RouteStep>>>;
|
|
2985
|
+
/** Tags of a leg. Values: road, highway, toll, ferry */
|
|
2986
|
+
tags?: Maybe<Array<Maybe<RouteTagType>>>;
|
|
2987
|
+
};
|
|
2988
|
+
export declare type RouteLegpolylineArgs = {
|
|
2989
|
+
decimals?: Maybe<Scalars["Int"]>;
|
|
2533
2990
|
};
|
|
2991
|
+
/** Prioritized operators for a route calculation */
|
|
2534
2992
|
export declare type RouteOperators = {
|
|
2535
2993
|
/** Flag indicating if the operators ranking should be preferred or required */
|
|
2536
2994
|
type?: Maybe<RouteOperatorsType>;
|
|
@@ -2539,7 +2997,7 @@ export declare type RouteOperators = {
|
|
|
2539
2997
|
/** Operator IDs which should be excluded from a route */
|
|
2540
2998
|
exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2541
2999
|
};
|
|
2542
|
-
/**
|
|
3000
|
+
/** Prioritized operators for a route calculation */
|
|
2543
3001
|
export declare type RouteOperatorsInput = {
|
|
2544
3002
|
/** Flag indicating if the operators ranking should be preferred or required */
|
|
2545
3003
|
type?: Maybe<RouteOperatorsType>;
|
|
@@ -2548,7 +3006,7 @@ export declare type RouteOperatorsInput = {
|
|
|
2548
3006
|
/** Operator IDs which should be excluded from a route */
|
|
2549
3007
|
exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2550
3008
|
};
|
|
2551
|
-
/** Ranking configuration for
|
|
3009
|
+
/** Ranking configuration for prioritized operators */
|
|
2552
3010
|
export declare type RouteOperatorsRanking = {
|
|
2553
3011
|
/** Level 1 (most significant) for operator ranking */
|
|
2554
3012
|
level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
@@ -2571,7 +3029,7 @@ export declare type RouteOperatorsRanking = {
|
|
|
2571
3029
|
/** Level 10 (least significant) for operator ranking */
|
|
2572
3030
|
level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2573
3031
|
};
|
|
2574
|
-
/** Ranking configuration for
|
|
3032
|
+
/** Ranking configuration for prioritized operators */
|
|
2575
3033
|
export declare type RouteOperatorsRankingInput = {
|
|
2576
3034
|
/** Level 1 (most significant) for operator ranking */
|
|
2577
3035
|
level1?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
@@ -2594,13 +3052,13 @@ export declare type RouteOperatorsRankingInput = {
|
|
|
2594
3052
|
/** Level 10 (least significant) for operator ranking */
|
|
2595
3053
|
level10?: Maybe<Array<Maybe<Scalars["ID"]>>>;
|
|
2596
3054
|
};
|
|
2597
|
-
/** Type of operator
|
|
3055
|
+
/** Type of operator prioritization for a route */
|
|
2598
3056
|
export declare enum RouteOperatorsType {
|
|
2599
3057
|
/** Default option. Operators ranking will not be taken into account if no type is given */
|
|
2600
3058
|
NONE = "none",
|
|
2601
3059
|
/** Operators given in the operators ranking will be preferred when calculating routes */
|
|
2602
3060
|
PREFERRED = "preferred",
|
|
2603
|
-
/** Operators given in the operators ranking will be required when calculating routes,
|
|
3061
|
+
/** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
|
|
2604
3062
|
REQUIRED = "required"
|
|
2605
3063
|
}
|
|
2606
3064
|
export declare type RoutePath = {
|
|
@@ -2657,10 +3115,34 @@ export declare enum RouteStatus {
|
|
|
2657
3115
|
/** An error occurred while computing the route. Final status */
|
|
2658
3116
|
ERROR = "error"
|
|
2659
3117
|
}
|
|
3118
|
+
export declare type RouteStep = {
|
|
3119
|
+
/** ID of a step */
|
|
3120
|
+
id?: Maybe<Scalars["ID"]>;
|
|
3121
|
+
/** Type of a step */
|
|
3122
|
+
type?: Maybe<StepType>;
|
|
3123
|
+
/** Polyline containing encoded coordinates */
|
|
3124
|
+
polyline?: Maybe<Scalars["String"]>;
|
|
3125
|
+
/** Distance from the start to the end of a step, in meters */
|
|
3126
|
+
distance?: Maybe<Scalars["Int"]>;
|
|
3127
|
+
/** Total drive time from the start to the end of a step, in seconds */
|
|
3128
|
+
duration?: Maybe<Scalars["Int"]>;
|
|
3129
|
+
/** Total enery used in a step in kWh */
|
|
3130
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3131
|
+
};
|
|
3132
|
+
export declare type RouteSteppolylineArgs = {
|
|
3133
|
+
decimals?: Maybe<Scalars["Int"]>;
|
|
3134
|
+
};
|
|
3135
|
+
/** Tags of a route */
|
|
3136
|
+
export declare enum RouteTagType {
|
|
3137
|
+
ROAD = "road",
|
|
3138
|
+
HIGHWAY = "highway",
|
|
3139
|
+
TOLL = "toll",
|
|
3140
|
+
FERRY = "ferry"
|
|
3141
|
+
}
|
|
2660
3142
|
/** Standards(plug type) stats model */
|
|
2661
3143
|
export declare type StandardStats = {
|
|
2662
3144
|
/** The plug type */
|
|
2663
|
-
type?: Maybe<
|
|
3145
|
+
type?: Maybe<ConnectorType>;
|
|
2664
3146
|
/** The total number of stations with the specified plug */
|
|
2665
3147
|
total?: Maybe<Scalars["Int"]>;
|
|
2666
3148
|
};
|
|
@@ -2730,7 +3212,7 @@ export declare type Station = {
|
|
|
2730
3212
|
elevation?: Maybe<Scalars["Int"]>;
|
|
2731
3213
|
/** Groups of EVSEs by power and type */
|
|
2732
3214
|
chargers?: Maybe<Array<Maybe<Charger>>>;
|
|
2733
|
-
/**
|
|
3215
|
+
/** Amenities located at this location */
|
|
2734
3216
|
amenities?: Maybe<Scalars["JSON"]>;
|
|
2735
3217
|
/** Enriched information about the physical address of a station */
|
|
2736
3218
|
physical_address?: Maybe<Address>;
|
|
@@ -2810,6 +3292,17 @@ export declare type StationStats = {
|
|
|
2810
3292
|
/** Stations count grouped by amenities */
|
|
2811
3293
|
amenities?: Maybe<Array<Maybe<AmenityStats>>>;
|
|
2812
3294
|
};
|
|
3295
|
+
/** Types of a route step */
|
|
3296
|
+
export declare enum StepType {
|
|
3297
|
+
/** This step is a road */
|
|
3298
|
+
ROAD = "road",
|
|
3299
|
+
/** This step is a highway */
|
|
3300
|
+
HIGHWAY = "highway",
|
|
3301
|
+
/** This step is a toll road */
|
|
3302
|
+
TOLL = "toll",
|
|
3303
|
+
/** This step is a ferry */
|
|
3304
|
+
FERRY = "ferry"
|
|
3305
|
+
}
|
|
2813
3306
|
export declare type Subscription = {
|
|
2814
3307
|
/**
|
|
2815
3308
|
* Subscription for a new operator was added in the system event
|