@chargetrip/types 1.28.0 → 1.30.1
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 +234 -0
- package/README.md +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +78 -3
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +78 -3
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +252 -82
- package/graphql.schema.json +1487 -297
- package/package.json +3 -2
- package/src/graphql.ts +275 -85
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -17,17 +17,27 @@ export declare type Scalars = {
|
|
|
17
17
|
Boolean: boolean;
|
|
18
18
|
Int: number;
|
|
19
19
|
Float: number;
|
|
20
|
-
/** The
|
|
20
|
+
/** The date and time scalar */
|
|
21
21
|
DateTime: string;
|
|
22
22
|
/** Any JSON object or array */
|
|
23
23
|
JSON: {
|
|
24
24
|
[key: string]: number | string | boolean | null | Scalars["JSON"];
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The `PlainString` scalar type represents textual data, represented as UTF-8 character sequences.
|
|
28
|
+
* The PlainString type represents free-form human-readable text with HTML sanitization.
|
|
29
|
+
*/
|
|
30
|
+
PlainString: any;
|
|
26
31
|
/** The File Upload scalar */
|
|
27
32
|
Upload: any;
|
|
28
|
-
/** Void
|
|
33
|
+
/** Void scalar. Returns null */
|
|
29
34
|
Void: any;
|
|
30
35
|
};
|
|
36
|
+
export declare enum AccessType {
|
|
37
|
+
PUBLIC = "Public",
|
|
38
|
+
RESTRICTED = "Restricted",
|
|
39
|
+
PRIVATE = "Private"
|
|
40
|
+
}
|
|
31
41
|
/** Information about an address */
|
|
32
42
|
export declare type Address = {
|
|
33
43
|
/** Continent code (2 letters) */
|
|
@@ -49,6 +59,16 @@ export declare type Address = {
|
|
|
49
59
|
/** Human-readable address of a location */
|
|
50
60
|
formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
51
61
|
};
|
|
62
|
+
export declare enum AdhocAuthorisationMethod {
|
|
63
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
64
|
+
DEBIT_CARD = "DEBIT_CARD",
|
|
65
|
+
OTHER = "OTHER",
|
|
66
|
+
OTHER_APPLE_PAY = "OTHER_Apple_Pay",
|
|
67
|
+
OTHER_AUTHENTICATION_BY_CAR = "OTHER_Authentication_by_car",
|
|
68
|
+
OTHER_GOOGLE_PAY = "OTHER_Google_Pay",
|
|
69
|
+
QR_CODE = "QR_CODE",
|
|
70
|
+
SMS = "SMS"
|
|
71
|
+
}
|
|
52
72
|
/** Amenities available near a station */
|
|
53
73
|
export declare enum Amenities {
|
|
54
74
|
PARK = "park",
|
|
@@ -125,6 +145,8 @@ export declare type Car = {
|
|
|
125
145
|
media?: Maybe<CarMedia>;
|
|
126
146
|
/** Routing of a car */
|
|
127
147
|
routing?: Maybe<CarRouting>;
|
|
148
|
+
/** Information about vehicle connectivity */
|
|
149
|
+
connect?: Maybe<Connect>;
|
|
128
150
|
/**
|
|
129
151
|
* ID provided by a car data source as the row ID
|
|
130
152
|
* @deprecated Will be removed in the future
|
|
@@ -417,6 +439,8 @@ export declare type CarList = {
|
|
|
417
439
|
media?: Maybe<CarListMedia>;
|
|
418
440
|
/** Routing of a car */
|
|
419
441
|
routing?: Maybe<CarListRouting>;
|
|
442
|
+
/** Information about vehicle connectivity */
|
|
443
|
+
connect?: Maybe<Connect>;
|
|
420
444
|
/**
|
|
421
445
|
* ID provided by a car data source as the row ID
|
|
422
446
|
* @deprecated Will be removed in the future
|
|
@@ -564,6 +588,8 @@ export declare type CarListFilter = {
|
|
|
564
588
|
* - 91 = Status uncertain, introduction date and/or pricing unclear
|
|
565
589
|
*/
|
|
566
590
|
availability?: Maybe<Array<Maybe<Scalars["Int"]>>>;
|
|
591
|
+
/** Information about vehicle connectivity */
|
|
592
|
+
connect?: Maybe<ConnectFilter>;
|
|
567
593
|
};
|
|
568
594
|
export declare type CarListMedia = {
|
|
569
595
|
/** Latest image of the car */
|
|
@@ -712,6 +738,8 @@ export declare type CarPremium = {
|
|
|
712
738
|
media?: Maybe<CarPremiumMedia>;
|
|
713
739
|
/** Routing of a car */
|
|
714
740
|
routing?: Maybe<CarPremiumRouting>;
|
|
741
|
+
/** Information about vehicle connectivity */
|
|
742
|
+
connect?: Maybe<Connect>;
|
|
715
743
|
};
|
|
716
744
|
export declare type CarPremiumAvailability = {
|
|
717
745
|
/**
|
|
@@ -1276,6 +1304,37 @@ export declare type ChargetripRange = {
|
|
|
1276
1304
|
/** Best conditions are based on 23°C and no use of A/C */
|
|
1277
1305
|
best?: Maybe<Scalars["Float"]>;
|
|
1278
1306
|
};
|
|
1307
|
+
export declare type ChargingBehaviour = {
|
|
1308
|
+
/** Charging behaviour of users divided in groups, based on real-time information */
|
|
1309
|
+
code?: Maybe<ChargingBehaviourCode>;
|
|
1310
|
+
/** Description of charging behaviour */
|
|
1311
|
+
description?: Maybe<Scalars["String"]>;
|
|
1312
|
+
};
|
|
1313
|
+
export declare enum ChargingBehaviourCode {
|
|
1314
|
+
/** Mainly morning charging, and some mixed afternoon and evening charging */
|
|
1315
|
+
URBAN_CHARGING = "URBAN_CHARGING",
|
|
1316
|
+
/** Mainly fast charging, with some morning and afternoon charging */
|
|
1317
|
+
FAST_CHARGING = "FAST_CHARGING",
|
|
1318
|
+
/** Mixed behaviour between morning, afternoon, evening, overnight, and noise charging */
|
|
1319
|
+
MIXED_CHARGING = "MIXED_CHARGING",
|
|
1320
|
+
/** Mainly noise charging */
|
|
1321
|
+
NOISE_CHARGING = "NOISE_CHARGING",
|
|
1322
|
+
/** Mainly overnight charging */
|
|
1323
|
+
OVERNIGHT_CHARGING = "OVERNIGHT_CHARGING",
|
|
1324
|
+
/** Mainly morning charging, with some afternoon charging */
|
|
1325
|
+
OFFICE_CHARGING = "OFFICE_CHARGING"
|
|
1326
|
+
}
|
|
1327
|
+
export declare type Connect = {
|
|
1328
|
+
/** List of connectivity providers to which a vehicle can connect */
|
|
1329
|
+
providers?: Maybe<Array<Maybe<ConnectProvider>>>;
|
|
1330
|
+
};
|
|
1331
|
+
export declare type ConnectFilter = {
|
|
1332
|
+
/** List of connectivity providers to which a vehicle can connect */
|
|
1333
|
+
providers?: Maybe<Array<Maybe<ConnectProvider>>>;
|
|
1334
|
+
};
|
|
1335
|
+
export declare enum ConnectProvider {
|
|
1336
|
+
ENODE = "Enode"
|
|
1337
|
+
}
|
|
1279
1338
|
/** Connector data which extends OCPI Connector */
|
|
1280
1339
|
export declare type Connector = {
|
|
1281
1340
|
/** 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. */
|
|
@@ -1312,7 +1371,16 @@ export declare type Connector = {
|
|
|
1312
1371
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1313
1372
|
/** List of valid charging tariffs */
|
|
1314
1373
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
1315
|
-
/**
|
|
1374
|
+
/**
|
|
1375
|
+
* Charging prices
|
|
1376
|
+
* @deprecated In favor of custom_properties.pricing
|
|
1377
|
+
*/
|
|
1378
|
+
pricing?: Maybe<Pricing>;
|
|
1379
|
+
/** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database */
|
|
1380
|
+
custom_properties?: Maybe<ConnectorCustomProperties>;
|
|
1381
|
+
};
|
|
1382
|
+
export declare type ConnectorCustomProperties = {
|
|
1383
|
+
/** Charging prices */
|
|
1316
1384
|
pricing?: Maybe<Pricing>;
|
|
1317
1385
|
};
|
|
1318
1386
|
/** The socket or plug standard of the charging point. */
|
|
@@ -1439,9 +1507,11 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1439
1507
|
BH = "BH",
|
|
1440
1508
|
BI = "BI",
|
|
1441
1509
|
BJ = "BJ",
|
|
1510
|
+
BL = "BL",
|
|
1442
1511
|
BM = "BM",
|
|
1443
1512
|
BN = "BN",
|
|
1444
1513
|
BO = "BO",
|
|
1514
|
+
BQ = "BQ",
|
|
1445
1515
|
BR = "BR",
|
|
1446
1516
|
BS = "BS",
|
|
1447
1517
|
BT = "BT",
|
|
@@ -1465,6 +1535,7 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1465
1535
|
CS = "CS",
|
|
1466
1536
|
CU = "CU",
|
|
1467
1537
|
CV = "CV",
|
|
1538
|
+
CW = "CW",
|
|
1468
1539
|
CX = "CX",
|
|
1469
1540
|
CY = "CY",
|
|
1470
1541
|
CZ = "CZ",
|
|
@@ -1492,6 +1563,7 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1492
1563
|
GD = "GD",
|
|
1493
1564
|
GE = "GE",
|
|
1494
1565
|
GF = "GF",
|
|
1566
|
+
GG = "GG",
|
|
1495
1567
|
GH = "GH",
|
|
1496
1568
|
GI = "GI",
|
|
1497
1569
|
GL = "GL",
|
|
@@ -1514,12 +1586,14 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1514
1586
|
ID = "ID",
|
|
1515
1587
|
IE = "IE",
|
|
1516
1588
|
IL = "IL",
|
|
1589
|
+
IM = "IM",
|
|
1517
1590
|
IN = "IN",
|
|
1518
1591
|
IO = "IO",
|
|
1519
1592
|
IQ = "IQ",
|
|
1520
1593
|
IR = "IR",
|
|
1521
1594
|
IS = "IS",
|
|
1522
1595
|
IT = "IT",
|
|
1596
|
+
JE = "JE",
|
|
1523
1597
|
JM = "JM",
|
|
1524
1598
|
JO = "JO",
|
|
1525
1599
|
JP = "JP",
|
|
@@ -1617,6 +1691,7 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1617
1691
|
SN = "SN",
|
|
1618
1692
|
SO = "SO",
|
|
1619
1693
|
SR = "SR",
|
|
1694
|
+
SS = "SS",
|
|
1620
1695
|
ST = "ST",
|
|
1621
1696
|
SV = "SV",
|
|
1622
1697
|
SX = "SX",
|
|
@@ -1645,7 +1720,19 @@ export declare enum CountryCodeAlpha2 {
|
|
|
1645
1720
|
UY = "UY",
|
|
1646
1721
|
UZ = "UZ",
|
|
1647
1722
|
VA = "VA",
|
|
1648
|
-
VC = "VC"
|
|
1723
|
+
VC = "VC",
|
|
1724
|
+
VE = "VE",
|
|
1725
|
+
VG = "VG",
|
|
1726
|
+
VI = "VI",
|
|
1727
|
+
VN = "VN",
|
|
1728
|
+
VU = "VU",
|
|
1729
|
+
WF = "WF",
|
|
1730
|
+
WS = "WS",
|
|
1731
|
+
YE = "YE",
|
|
1732
|
+
YT = "YT",
|
|
1733
|
+
ZA = "ZA",
|
|
1734
|
+
ZM = "ZM",
|
|
1735
|
+
ZW = "ZW"
|
|
1649
1736
|
}
|
|
1650
1737
|
/** EVSE data which extends OCPI EVSE */
|
|
1651
1738
|
export declare type EVSE = {
|
|
@@ -1703,6 +1790,43 @@ export declare type FeaturePointInput = {
|
|
|
1703
1790
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
|
|
1704
1791
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1705
1792
|
};
|
|
1793
|
+
/** A GeoJSON Feature<Point> input */
|
|
1794
|
+
export declare type FeaturePointPolygonInput = {
|
|
1795
|
+
/** Feature type */
|
|
1796
|
+
type: FeatureType;
|
|
1797
|
+
/** Geometry of the feature */
|
|
1798
|
+
geometry: PointInput;
|
|
1799
|
+
/** Optional object where you can store custom data you need in your application. */
|
|
1800
|
+
properties?: Maybe<FeaturePointPolygonPropertiesInput>;
|
|
1801
|
+
};
|
|
1802
|
+
/** Properties for Feature<Point> input */
|
|
1803
|
+
export declare type FeaturePointPolygonProperties = {
|
|
1804
|
+
/** Name of the location */
|
|
1805
|
+
name?: Maybe<Scalars["String"]>;
|
|
1806
|
+
};
|
|
1807
|
+
/** Properties for Feature<Point> input */
|
|
1808
|
+
export declare type FeaturePointPolygonPropertiesInput = {
|
|
1809
|
+
/** Name of the location */
|
|
1810
|
+
name?: Maybe<Scalars["String"]>;
|
|
1811
|
+
};
|
|
1812
|
+
/** A GeoJSON Feature<Polygon> */
|
|
1813
|
+
export declare type FeaturePolygon = {
|
|
1814
|
+
/** Feature type */
|
|
1815
|
+
type: FeatureType;
|
|
1816
|
+
/** Geometry of the feature */
|
|
1817
|
+
geometry: Polygon;
|
|
1818
|
+
/** Properties of the Polygon Feature */
|
|
1819
|
+
properties?: Maybe<PolygonProperties>;
|
|
1820
|
+
};
|
|
1821
|
+
/** A GeoJSON Feature<Point> */
|
|
1822
|
+
export declare type FeaturePolygonPoint = {
|
|
1823
|
+
/** Feature type */
|
|
1824
|
+
type: FeatureType;
|
|
1825
|
+
/** Geometry of the feature */
|
|
1826
|
+
geometry: Point;
|
|
1827
|
+
/** Optional object where you can store custom data you need in your application. */
|
|
1828
|
+
properties?: Maybe<Scalars["JSON"]>;
|
|
1829
|
+
};
|
|
1706
1830
|
/** GeoJSON Feature type */
|
|
1707
1831
|
export declare enum FeatureType {
|
|
1708
1832
|
FEATURE = "Feature"
|
|
@@ -1714,6 +1838,41 @@ export declare enum InstructionsFormat {
|
|
|
1714
1838
|
/** Mapbox instructions mapping */
|
|
1715
1839
|
MAPBOXV5 = "MapboxV5"
|
|
1716
1840
|
}
|
|
1841
|
+
export declare type Isoline = {
|
|
1842
|
+
/** Isoline id */
|
|
1843
|
+
id: Scalars["ID"];
|
|
1844
|
+
/** Isoline status */
|
|
1845
|
+
status: IsolineStatus;
|
|
1846
|
+
/** Shape of the isoline consisting in a list of polygons */
|
|
1847
|
+
polygons?: Maybe<Array<Maybe<FeaturePolygon>>>;
|
|
1848
|
+
/** Origin point of the request */
|
|
1849
|
+
origin: FeaturePolygonPoint;
|
|
1850
|
+
/** Vehicle id */
|
|
1851
|
+
vehicle_id: Scalars["ID"];
|
|
1852
|
+
/** Number of Isolines to be generated representing SoC (default: 1, max: 100) */
|
|
1853
|
+
polygon_count?: Maybe<Scalars["Int"]>;
|
|
1854
|
+
/** Season to be taken into account when generating the isoline, defaults to current */
|
|
1855
|
+
season?: Maybe<RouteSeason>;
|
|
1856
|
+
};
|
|
1857
|
+
export declare type IsolineInput = {
|
|
1858
|
+
/** Vehicle id */
|
|
1859
|
+
vehicle_id: Scalars["ID"];
|
|
1860
|
+
/** Origin point of the request */
|
|
1861
|
+
origin: FeaturePointPolygonInput;
|
|
1862
|
+
/** Numbers of polygons to be generated (default: 1, max: 100) */
|
|
1863
|
+
polygon_count?: Maybe<Scalars["Int"]>;
|
|
1864
|
+
/** Season to be taken into account when generating the isoline, defaults to current */
|
|
1865
|
+
season?: Maybe<RouteSeason>;
|
|
1866
|
+
};
|
|
1867
|
+
/** Status of the isoline label */
|
|
1868
|
+
export declare enum IsolineStatus {
|
|
1869
|
+
/** Isoline label has been successfully generated */
|
|
1870
|
+
DONE = "done",
|
|
1871
|
+
/** Isoline label is under processing */
|
|
1872
|
+
PENDING = "pending",
|
|
1873
|
+
/** There was an error while generating the isoline label */
|
|
1874
|
+
ERROR = "error"
|
|
1875
|
+
}
|
|
1717
1876
|
/** Types of a leg */
|
|
1718
1877
|
export declare enum LegType {
|
|
1719
1878
|
/** This leg ends at a charging station and the car must recharge */
|
|
@@ -1740,6 +1899,8 @@ export declare enum MappingProvider {
|
|
|
1740
1899
|
MAPBOXV5 = "MapboxV5"
|
|
1741
1900
|
}
|
|
1742
1901
|
export declare type Mutation = {
|
|
1902
|
+
/** [BETA] Generate a set of consumption based Isolines */
|
|
1903
|
+
createIsoline?: Maybe<Scalars["ID"]>;
|
|
1743
1904
|
/** [BETA] Start a new navigation session on top of an existing route */
|
|
1744
1905
|
startNavigation?: Maybe<Scalars["ID"]>;
|
|
1745
1906
|
/** [BETA] Update the navigation session */
|
|
@@ -1764,6 +1925,9 @@ export declare type Mutation = {
|
|
|
1764
1925
|
/** Create a new route from the route input and its ID */
|
|
1765
1926
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1766
1927
|
};
|
|
1928
|
+
export declare type MutationcreateIsolineArgs = {
|
|
1929
|
+
input: IsolineInput;
|
|
1930
|
+
};
|
|
1767
1931
|
export declare type MutationstartNavigationArgs = {
|
|
1768
1932
|
input: NavigationStartInput;
|
|
1769
1933
|
};
|
|
@@ -1869,11 +2033,11 @@ export declare type NavigationStation = {
|
|
|
1869
2033
|
};
|
|
1870
2034
|
/** Input for the navigation session update telemetry data */
|
|
1871
2035
|
export declare type NavigationTelemetryUpdateInput = {
|
|
1872
|
-
/** State of charge at the last known location */
|
|
2036
|
+
/** State of charge at the last known location, in kwh */
|
|
1873
2037
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1874
2038
|
/** Indicates if a vehicle is charging */
|
|
1875
2039
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
1876
|
-
/**
|
|
2040
|
+
/** Average tire pressure, in bars. This information should come from telemetry */
|
|
1877
2041
|
tire_pressure?: Maybe<Scalars["Float"]>;
|
|
1878
2042
|
};
|
|
1879
2043
|
/** Input for the navigation update */
|
|
@@ -1883,7 +2047,7 @@ export declare type NavigationUpdateInput = {
|
|
|
1883
2047
|
/** Heading of a vehicle, in degrees */
|
|
1884
2048
|
heading?: Maybe<Scalars["Float"]>;
|
|
1885
2049
|
/** A list of locations that were collected since the last update */
|
|
1886
|
-
|
|
2050
|
+
location_data: Array<NavigationUpdateLocationsInput>;
|
|
1887
2051
|
/** Telemetry data input */
|
|
1888
2052
|
telemetry?: Maybe<NavigationTelemetryUpdateInput>;
|
|
1889
2053
|
};
|
|
@@ -2468,6 +2632,22 @@ export declare type PointInput = {
|
|
|
2468
2632
|
export declare enum PointType {
|
|
2469
2633
|
POINT = "Point"
|
|
2470
2634
|
}
|
|
2635
|
+
/** A GeoJSON Polygon */
|
|
2636
|
+
export declare type Polygon = {
|
|
2637
|
+
/** Polygon type */
|
|
2638
|
+
type: PolygonType;
|
|
2639
|
+
/** List of coordinates representing a polygon */
|
|
2640
|
+
coordinates: Array<Maybe<Array<Maybe<Array<Maybe<Scalars["Float"]>>>>>>;
|
|
2641
|
+
};
|
|
2642
|
+
/** Polygon properties */
|
|
2643
|
+
export declare type PolygonProperties = {
|
|
2644
|
+
/** Index of the feature inside the list */
|
|
2645
|
+
index?: Maybe<Scalars["Int"]>;
|
|
2646
|
+
};
|
|
2647
|
+
/** GeoJSON Polygon type */
|
|
2648
|
+
export declare enum PolygonType {
|
|
2649
|
+
POLYGON = "Polygon"
|
|
2650
|
+
}
|
|
2471
2651
|
/** The list of powers for the speed type */
|
|
2472
2652
|
export declare type PowerList = {
|
|
2473
2653
|
/** The maximum power the plug provides in kW */
|
|
@@ -2546,6 +2726,8 @@ export declare type Query = {
|
|
|
2546
2726
|
carPremium?: Maybe<CarPremium>;
|
|
2547
2727
|
/** Get a full list of cars */
|
|
2548
2728
|
carList?: Maybe<Array<Maybe<CarList>>>;
|
|
2729
|
+
/** [BETA] Get an isoline by ID */
|
|
2730
|
+
isoline?: Maybe<Isoline>;
|
|
2549
2731
|
/** [BETA] Get a navigation session by ID */
|
|
2550
2732
|
navigation?: Maybe<Navigation>;
|
|
2551
2733
|
/** Get a full list of operators */
|
|
@@ -2596,6 +2778,9 @@ export declare type QuerycarListArgs = {
|
|
|
2596
2778
|
size?: Maybe<Scalars["Int"]>;
|
|
2597
2779
|
page?: Maybe<Scalars["Int"]>;
|
|
2598
2780
|
};
|
|
2781
|
+
export declare type QueryisolineArgs = {
|
|
2782
|
+
id: Scalars["ID"];
|
|
2783
|
+
};
|
|
2599
2784
|
export declare type QuerynavigationArgs = {
|
|
2600
2785
|
id: Scalars["ID"];
|
|
2601
2786
|
};
|
|
@@ -2670,6 +2855,8 @@ export declare type RequestEv = {
|
|
|
2670
2855
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2671
2856
|
/** Climate is on. The default is true */
|
|
2672
2857
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2858
|
+
/** Cargo weight, in kg */
|
|
2859
|
+
cargo?: Maybe<Scalars["Float"]>;
|
|
2673
2860
|
/**
|
|
2674
2861
|
* The number of passengers on board
|
|
2675
2862
|
* @deprecated In favor of occupants
|
|
@@ -2681,25 +2868,25 @@ export declare type RequestEv = {
|
|
|
2681
2868
|
consumption?: Maybe<RequestEvConsumption>;
|
|
2682
2869
|
};
|
|
2683
2870
|
export declare type RequestEvBattery = {
|
|
2684
|
-
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car
|
|
2871
|
+
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car battery.usable_kwh */
|
|
2685
2872
|
capacity?: Maybe<RequestEvBatteryValue>;
|
|
2686
2873
|
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
|
|
2687
2874
|
capacityKwh?: Maybe<Scalars["Float"]>;
|
|
2688
|
-
/** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the
|
|
2875
|
+
/** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the battery.usable_kwh */
|
|
2689
2876
|
stateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2690
2877
|
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
|
|
2691
2878
|
stateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2692
|
-
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car
|
|
2879
|
+
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car battery.usable_kwh */
|
|
2693
2880
|
finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2694
2881
|
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
|
|
2695
2882
|
finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2696
2883
|
};
|
|
2697
2884
|
export declare type RequestEvBatteryInput = {
|
|
2698
|
-
/** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car
|
|
2885
|
+
/** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car battery.usable_kwh */
|
|
2699
2886
|
capacity?: Maybe<RequestEvBatteryInputValue>;
|
|
2700
|
-
/** 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
|
|
2887
|
+
/** 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 battery.usable_kwh */
|
|
2701
2888
|
stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2702
|
-
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car
|
|
2889
|
+
/** Desired final amount of energy in a battery. The value should be between 0 and 80% of the car battery.usable_kwh If this is not filled in, we assume it is 20% of the car battery.usable_kwh */
|
|
2703
2890
|
finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2704
2891
|
};
|
|
2705
2892
|
export declare type RequestEvBatteryInputValue = {
|
|
@@ -2745,6 +2932,8 @@ export declare type RequestEvInput = {
|
|
|
2745
2932
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2746
2933
|
/** Number of occupants */
|
|
2747
2934
|
occupants?: Maybe<Scalars["Int"]>;
|
|
2935
|
+
/** Cargo weight, in kg */
|
|
2936
|
+
cargo?: Maybe<Scalars["Int"]>;
|
|
2748
2937
|
/** Consumption specific to the EV or inputted by the request */
|
|
2749
2938
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
2750
2939
|
/** Deprecated */
|
|
@@ -3141,15 +3330,15 @@ export declare type RouteLeg = {
|
|
|
3141
3330
|
evse?: Maybe<EVSE>;
|
|
3142
3331
|
/** Recommended connector for charging */
|
|
3143
3332
|
connector?: Maybe<Connector>;
|
|
3144
|
-
/** Number of
|
|
3333
|
+
/** Number of compatible plugs available at a charge station */
|
|
3145
3334
|
plugsAvailable?: Maybe<Scalars["Int"]>;
|
|
3146
|
-
/** Number of
|
|
3335
|
+
/** Number of compatible plugs occupied at a charge station */
|
|
3147
3336
|
plugsOccupied?: Maybe<Scalars["Int"]>;
|
|
3148
|
-
/** Number of
|
|
3337
|
+
/** Number of compatible plugs unknown at a charge station */
|
|
3149
3338
|
plugsUnknown?: Maybe<Scalars["Int"]>;
|
|
3150
|
-
/** Number of out of order
|
|
3339
|
+
/** Number of compatible plugs out of order at a charge station */
|
|
3151
3340
|
plugsOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
3152
|
-
/** Total number of plugs at a charge station */
|
|
3341
|
+
/** Total number of compatible plugs at a charge station */
|
|
3153
3342
|
plugsCount?: Maybe<Scalars["Int"]>;
|
|
3154
3343
|
/** Polyline containing encoded coordinates */
|
|
3155
3344
|
polyline?: Maybe<Scalars["String"]>;
|
|
@@ -3157,6 +3346,10 @@ export declare type RouteLeg = {
|
|
|
3157
3346
|
steps?: Maybe<Array<Maybe<RouteStep>>>;
|
|
3158
3347
|
/** Tags of a leg. Values: road, highway, toll, ferry */
|
|
3159
3348
|
tags?: Maybe<Array<Maybe<RouteTagType>>>;
|
|
3349
|
+
/** Cargo weight in a vehicle for the duration of a leg, in kg */
|
|
3350
|
+
cargo?: Maybe<Scalars["Float"]>;
|
|
3351
|
+
/** Number of occupants in a vehicle for the duration of a leg */
|
|
3352
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
3160
3353
|
};
|
|
3161
3354
|
export declare type RouteLegpolylineArgs = {
|
|
3162
3355
|
decimals?: Maybe<Scalars["Int"]>;
|
|
@@ -3313,7 +3506,8 @@ export declare enum RouteTagType {
|
|
|
3313
3506
|
HIGHWAY = "highway",
|
|
3314
3507
|
TOLL = "toll",
|
|
3315
3508
|
FERRY = "ferry",
|
|
3316
|
-
WALKING = "walking"
|
|
3509
|
+
WALKING = "walking",
|
|
3510
|
+
CROSSBORDER = "crossborder"
|
|
3317
3511
|
}
|
|
3318
3512
|
/** Standards(plug type) stats model */
|
|
3319
3513
|
export declare type StandardStats = {
|
|
@@ -3405,12 +3599,17 @@ export declare type Station = {
|
|
|
3405
3599
|
* @deprecated predicted_availability, no value will be sent. Deprecated in favor of predicted_occupancy
|
|
3406
3600
|
*/
|
|
3407
3601
|
predicted_availability?: Maybe<Array<Maybe<StationPredictedAvailability>>>;
|
|
3408
|
-
/**
|
|
3602
|
+
/**
|
|
3603
|
+
* Predicted station occupancy
|
|
3604
|
+
* @deprecated In favor of custom_properties.predicted_occupancy
|
|
3605
|
+
*/
|
|
3409
3606
|
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
3410
3607
|
/** Charging speed for a station */
|
|
3411
3608
|
speed?: Maybe<StationSpeedType>;
|
|
3412
3609
|
/** Global status for a station */
|
|
3413
3610
|
status?: Maybe<ChargerStatus>;
|
|
3611
|
+
/** Custom properties of a station. These are vendor specific and will return null values on the fields that are not supported by your station database */
|
|
3612
|
+
custom_properties?: Maybe<StationCustomProperties>;
|
|
3414
3613
|
};
|
|
3415
3614
|
/** Filter which can be applied to retrieve the station around list action */
|
|
3416
3615
|
export declare type StationAroundFilter = {
|
|
@@ -3442,6 +3641,22 @@ export declare type StationAroundQuery = {
|
|
|
3442
3641
|
/** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
|
|
3443
3642
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3444
3643
|
};
|
|
3644
|
+
export declare type StationCustomProperties = {
|
|
3645
|
+
/** List of eMSP cards accepted at a charging station */
|
|
3646
|
+
roaming?: Maybe<Array<Maybe<StationRoaming>>>;
|
|
3647
|
+
/** Phone number for assistance at a charging station */
|
|
3648
|
+
support_phone_number?: Maybe<Scalars["String"]>;
|
|
3649
|
+
/** Charging behavior of a station */
|
|
3650
|
+
charging_behaviour?: Maybe<ChargingBehaviour>;
|
|
3651
|
+
/** Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values */
|
|
3652
|
+
reliability_score?: Maybe<Scalars["Int"]>;
|
|
3653
|
+
/** List of available ad hoc payment methods */
|
|
3654
|
+
adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
|
|
3655
|
+
/** Predicted station occupancy */
|
|
3656
|
+
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
3657
|
+
/** Type of access to the charging station */
|
|
3658
|
+
access_type?: Maybe<AccessType>;
|
|
3659
|
+
};
|
|
3445
3660
|
/** Filter which can be applied to retrieve the station list action */
|
|
3446
3661
|
export declare type StationListFilter = {
|
|
3447
3662
|
/** Powers in kWh */
|
|
@@ -3484,6 +3699,16 @@ export declare type StationPredictedOccupancy = {
|
|
|
3484
3699
|
/** End of the period of the occupancy prediction (string of 'hh-mmZ' format) */
|
|
3485
3700
|
period_end?: Maybe<Scalars["String"]>;
|
|
3486
3701
|
};
|
|
3702
|
+
export declare type StationRoaming = {
|
|
3703
|
+
/** Name of the EMSP provider */
|
|
3704
|
+
emsp?: Maybe<Scalars["String"]>;
|
|
3705
|
+
/** Name of the card accepted at a charging station */
|
|
3706
|
+
card?: Maybe<Scalars["String"]>;
|
|
3707
|
+
/** Link to native Android app for card accepted at a charging station */
|
|
3708
|
+
android_app_link?: Maybe<Scalars["String"]>;
|
|
3709
|
+
/** Link to native iOS app for card accepted at a charging station */
|
|
3710
|
+
ios_app_link?: Maybe<Scalars["String"]>;
|
|
3711
|
+
};
|
|
3487
3712
|
/** The station speed type */
|
|
3488
3713
|
export declare enum StationSpeedType {
|
|
3489
3714
|
/** Slow charging (below 43 kWh) */
|
|
@@ -3513,79 +3738,24 @@ export declare enum StepType {
|
|
|
3513
3738
|
/** This step is a ferry */
|
|
3514
3739
|
FERRY = "ferry",
|
|
3515
3740
|
/** This step is reachable by walking */
|
|
3516
|
-
WALKING = "walking"
|
|
3741
|
+
WALKING = "walking",
|
|
3742
|
+
/** This step is a crossborder */
|
|
3743
|
+
CROSSBORDER = "crossborder"
|
|
3517
3744
|
}
|
|
3518
3745
|
export declare type Subscription = {
|
|
3746
|
+
/** [BETA] Subscribe to an isoline label in order to receive updates */
|
|
3747
|
+
isoline?: Maybe<Isoline>;
|
|
3519
3748
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
3520
3749
|
navigationUpdatedById?: Maybe<Navigation>;
|
|
3521
|
-
/**
|
|
3522
|
-
* Subscription for a new operator was added in the system event
|
|
3523
|
-
* @deprecated operatorAdded has been removed, no value will be sent.
|
|
3524
|
-
*/
|
|
3525
|
-
operatorAdded?: Maybe<Operator>;
|
|
3526
|
-
/**
|
|
3527
|
-
* Subscription for an operator was updated in the system event, any operator
|
|
3528
|
-
* @deprecated operatorUpdated has been removed, no value will be sent.
|
|
3529
|
-
*/
|
|
3530
|
-
operatorUpdated?: Maybe<Operator>;
|
|
3531
|
-
/**
|
|
3532
|
-
* Subscription for an operator was removed from the system event, any operator
|
|
3533
|
-
* @deprecated operatorDeleted has been removed, no value will be sent.
|
|
3534
|
-
*/
|
|
3535
|
-
operatorDeleted?: Maybe<Operator>;
|
|
3536
|
-
/**
|
|
3537
|
-
* Subscription for a specific operator was updated in the system event
|
|
3538
|
-
* @deprecated operatorUpdatedById has been removed, no value will be sent.
|
|
3539
|
-
*/
|
|
3540
|
-
operatorUpdatedById?: Maybe<Operator>;
|
|
3541
|
-
/**
|
|
3542
|
-
* Subscription for a specific operator was removed from the system event
|
|
3543
|
-
* @deprecated operatorDeletedById has been removed, no value will be sent.
|
|
3544
|
-
*/
|
|
3545
|
-
operatorDeletedById?: Maybe<Operator>;
|
|
3546
3750
|
/** Subscription for a specific route was updated in the system event */
|
|
3547
3751
|
routeUpdatedById?: Maybe<Route>;
|
|
3548
|
-
/**
|
|
3549
|
-
* Subscription for a new station was added in the system event
|
|
3550
|
-
* @deprecated stationAdded has been removed, no value will be sent.
|
|
3551
|
-
*/
|
|
3552
|
-
stationAdded?: Maybe<Station>;
|
|
3553
|
-
/**
|
|
3554
|
-
* Subscription for a station was updated in the system event, any station
|
|
3555
|
-
* @deprecated stationUpdated has been removed, no value will be sent.
|
|
3556
|
-
*/
|
|
3557
|
-
stationUpdated?: Maybe<Station>;
|
|
3558
|
-
/**
|
|
3559
|
-
* Subscription for a station was removed from the system event, any station
|
|
3560
|
-
* @deprecated stationDeleted has been removed, no value will be sent.
|
|
3561
|
-
*/
|
|
3562
|
-
stationDeleted?: Maybe<Station>;
|
|
3563
|
-
/**
|
|
3564
|
-
* Subscription for a specific station was updated in the system event
|
|
3565
|
-
* @deprecated stationUpdatedById has been removed, no value will be sent.
|
|
3566
|
-
*/
|
|
3567
|
-
stationUpdatedById?: Maybe<Station>;
|
|
3568
|
-
/**
|
|
3569
|
-
* Subscription for a specific station was removed from the system event
|
|
3570
|
-
* @deprecated stationDeletedById has been removed, no value will be sent.
|
|
3571
|
-
*/
|
|
3572
|
-
stationDeletedById?: Maybe<Station>;
|
|
3573
|
-
};
|
|
3574
|
-
export declare type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3575
|
-
id: Scalars["ID"];
|
|
3576
3752
|
};
|
|
3577
|
-
export declare type
|
|
3753
|
+
export declare type SubscriptionisolineArgs = {
|
|
3578
3754
|
id: Scalars["ID"];
|
|
3579
3755
|
};
|
|
3580
|
-
export declare type
|
|
3756
|
+
export declare type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3581
3757
|
id: Scalars["ID"];
|
|
3582
3758
|
};
|
|
3583
3759
|
export declare type SubscriptionrouteUpdatedByIdArgs = {
|
|
3584
3760
|
id: Scalars["ID"];
|
|
3585
3761
|
};
|
|
3586
|
-
export declare type SubscriptionstationUpdatedByIdArgs = {
|
|
3587
|
-
id: Scalars["ID"];
|
|
3588
|
-
};
|
|
3589
|
-
export declare type SubscriptionstationDeletedByIdArgs = {
|
|
3590
|
-
id: Scalars["ID"];
|
|
3591
|
-
};
|