@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chargetrip/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.1",
|
|
4
4
|
"description": "Typescript types for the Chargetrip EV-routing GraphQL API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"generate:types": "graphql-codegen --config codegen.yml"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
+
"@chargetrip/codegen-chargetrip-fetch": "^1.0.0",
|
|
76
77
|
"@babel/cli": "^7.15.4",
|
|
77
78
|
"@babel/core": "^7.15.5",
|
|
78
79
|
"@babel/preset-env": "^7.15.6",
|
|
@@ -104,4 +105,4 @@
|
|
|
104
105
|
"dependencies": {
|
|
105
106
|
"core-js": "^3.17.3"
|
|
106
107
|
}
|
|
107
|
-
}
|
|
108
|
+
}
|
package/src/graphql.ts
CHANGED
|
@@ -13,16 +13,27 @@ export type Scalars = {
|
|
|
13
13
|
Boolean: boolean;
|
|
14
14
|
Int: number;
|
|
15
15
|
Float: number;
|
|
16
|
-
/** The
|
|
16
|
+
/** The date and time scalar */
|
|
17
17
|
DateTime: string;
|
|
18
18
|
/** Any JSON object or array */
|
|
19
19
|
JSON: { [key: string]: number | string | boolean | null | Scalars["JSON"] };
|
|
20
|
+
/**
|
|
21
|
+
* The `PlainString` scalar type represents textual data, represented as UTF-8 character sequences.
|
|
22
|
+
* The PlainString type represents free-form human-readable text with HTML sanitization.
|
|
23
|
+
*/
|
|
24
|
+
PlainString: any;
|
|
20
25
|
/** The File Upload scalar */
|
|
21
26
|
Upload: any;
|
|
22
|
-
/** Void
|
|
27
|
+
/** Void scalar. Returns null */
|
|
23
28
|
Void: any;
|
|
24
29
|
};
|
|
25
30
|
|
|
31
|
+
export enum AccessType {
|
|
32
|
+
PUBLIC = "Public",
|
|
33
|
+
RESTRICTED = "Restricted",
|
|
34
|
+
PRIVATE = "Private"
|
|
35
|
+
}
|
|
36
|
+
|
|
26
37
|
/** Information about an address */
|
|
27
38
|
export type Address = {
|
|
28
39
|
/** Continent code (2 letters) */
|
|
@@ -45,6 +56,17 @@ export type Address = {
|
|
|
45
56
|
formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
46
57
|
};
|
|
47
58
|
|
|
59
|
+
export enum AdhocAuthorisationMethod {
|
|
60
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
61
|
+
DEBIT_CARD = "DEBIT_CARD",
|
|
62
|
+
OTHER = "OTHER",
|
|
63
|
+
OTHER_APPLE_PAY = "OTHER_Apple_Pay",
|
|
64
|
+
OTHER_AUTHENTICATION_BY_CAR = "OTHER_Authentication_by_car",
|
|
65
|
+
OTHER_GOOGLE_PAY = "OTHER_Google_Pay",
|
|
66
|
+
QR_CODE = "QR_CODE",
|
|
67
|
+
SMS = "SMS"
|
|
68
|
+
}
|
|
69
|
+
|
|
48
70
|
/** Amenities available near a station */
|
|
49
71
|
export enum Amenities {
|
|
50
72
|
PARK = "park",
|
|
@@ -125,6 +147,8 @@ export type Car = {
|
|
|
125
147
|
media?: Maybe<CarMedia>;
|
|
126
148
|
/** Routing of a car */
|
|
127
149
|
routing?: Maybe<CarRouting>;
|
|
150
|
+
/** Information about vehicle connectivity */
|
|
151
|
+
connect?: Maybe<Connect>;
|
|
128
152
|
/**
|
|
129
153
|
* ID provided by a car data source as the row ID
|
|
130
154
|
* @deprecated Will be removed in the future
|
|
@@ -433,6 +457,8 @@ export type CarList = {
|
|
|
433
457
|
media?: Maybe<CarListMedia>;
|
|
434
458
|
/** Routing of a car */
|
|
435
459
|
routing?: Maybe<CarListRouting>;
|
|
460
|
+
/** Information about vehicle connectivity */
|
|
461
|
+
connect?: Maybe<Connect>;
|
|
436
462
|
/**
|
|
437
463
|
* ID provided by a car data source as the row ID
|
|
438
464
|
* @deprecated Will be removed in the future
|
|
@@ -584,6 +610,8 @@ export type CarListFilter = {
|
|
|
584
610
|
* - 91 = Status uncertain, introduction date and/or pricing unclear
|
|
585
611
|
*/
|
|
586
612
|
availability?: Maybe<Array<Maybe<Scalars["Int"]>>>;
|
|
613
|
+
/** Information about vehicle connectivity */
|
|
614
|
+
connect?: Maybe<ConnectFilter>;
|
|
587
615
|
};
|
|
588
616
|
|
|
589
617
|
export type CarListMedia = {
|
|
@@ -743,6 +771,8 @@ export type CarPremium = {
|
|
|
743
771
|
media?: Maybe<CarPremiumMedia>;
|
|
744
772
|
/** Routing of a car */
|
|
745
773
|
routing?: Maybe<CarPremiumRouting>;
|
|
774
|
+
/** Information about vehicle connectivity */
|
|
775
|
+
connect?: Maybe<Connect>;
|
|
746
776
|
};
|
|
747
777
|
|
|
748
778
|
export type CarPremiumAvailability = {
|
|
@@ -1352,6 +1382,42 @@ export type ChargetripRange = {
|
|
|
1352
1382
|
best?: Maybe<Scalars["Float"]>;
|
|
1353
1383
|
};
|
|
1354
1384
|
|
|
1385
|
+
export type ChargingBehaviour = {
|
|
1386
|
+
/** Charging behaviour of users divided in groups, based on real-time information */
|
|
1387
|
+
code?: Maybe<ChargingBehaviourCode>;
|
|
1388
|
+
/** Description of charging behaviour */
|
|
1389
|
+
description?: Maybe<Scalars["String"]>;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
export enum ChargingBehaviourCode {
|
|
1393
|
+
/** Mainly morning charging, and some mixed afternoon and evening charging */
|
|
1394
|
+
URBAN_CHARGING = "URBAN_CHARGING",
|
|
1395
|
+
/** Mainly fast charging, with some morning and afternoon charging */
|
|
1396
|
+
FAST_CHARGING = "FAST_CHARGING",
|
|
1397
|
+
/** Mixed behaviour between morning, afternoon, evening, overnight, and noise charging */
|
|
1398
|
+
MIXED_CHARGING = "MIXED_CHARGING",
|
|
1399
|
+
/** Mainly noise charging */
|
|
1400
|
+
NOISE_CHARGING = "NOISE_CHARGING",
|
|
1401
|
+
/** Mainly overnight charging */
|
|
1402
|
+
OVERNIGHT_CHARGING = "OVERNIGHT_CHARGING",
|
|
1403
|
+
/** Mainly morning charging, with some afternoon charging */
|
|
1404
|
+
OFFICE_CHARGING = "OFFICE_CHARGING"
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
export type Connect = {
|
|
1408
|
+
/** List of connectivity providers to which a vehicle can connect */
|
|
1409
|
+
providers?: Maybe<Array<Maybe<ConnectProvider>>>;
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
export type ConnectFilter = {
|
|
1413
|
+
/** List of connectivity providers to which a vehicle can connect */
|
|
1414
|
+
providers?: Maybe<Array<Maybe<ConnectProvider>>>;
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
export enum ConnectProvider {
|
|
1418
|
+
ENODE = "Enode"
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1355
1421
|
/** Connector data which extends OCPI Connector */
|
|
1356
1422
|
export type Connector = {
|
|
1357
1423
|
/** 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. */
|
|
@@ -1388,7 +1454,17 @@ export type Connector = {
|
|
|
1388
1454
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1389
1455
|
/** List of valid charging tariffs */
|
|
1390
1456
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
1391
|
-
/**
|
|
1457
|
+
/**
|
|
1458
|
+
* Charging prices
|
|
1459
|
+
* @deprecated In favor of custom_properties.pricing
|
|
1460
|
+
*/
|
|
1461
|
+
pricing?: Maybe<Pricing>;
|
|
1462
|
+
/** 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 */
|
|
1463
|
+
custom_properties?: Maybe<ConnectorCustomProperties>;
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
export type ConnectorCustomProperties = {
|
|
1467
|
+
/** Charging prices */
|
|
1392
1468
|
pricing?: Maybe<Pricing>;
|
|
1393
1469
|
};
|
|
1394
1470
|
|
|
@@ -1518,9 +1594,11 @@ export enum CountryCodeAlpha2 {
|
|
|
1518
1594
|
BH = "BH",
|
|
1519
1595
|
BI = "BI",
|
|
1520
1596
|
BJ = "BJ",
|
|
1597
|
+
BL = "BL",
|
|
1521
1598
|
BM = "BM",
|
|
1522
1599
|
BN = "BN",
|
|
1523
1600
|
BO = "BO",
|
|
1601
|
+
BQ = "BQ",
|
|
1524
1602
|
BR = "BR",
|
|
1525
1603
|
BS = "BS",
|
|
1526
1604
|
BT = "BT",
|
|
@@ -1544,6 +1622,7 @@ export enum CountryCodeAlpha2 {
|
|
|
1544
1622
|
CS = "CS",
|
|
1545
1623
|
CU = "CU",
|
|
1546
1624
|
CV = "CV",
|
|
1625
|
+
CW = "CW",
|
|
1547
1626
|
CX = "CX",
|
|
1548
1627
|
CY = "CY",
|
|
1549
1628
|
CZ = "CZ",
|
|
@@ -1571,6 +1650,7 @@ export enum CountryCodeAlpha2 {
|
|
|
1571
1650
|
GD = "GD",
|
|
1572
1651
|
GE = "GE",
|
|
1573
1652
|
GF = "GF",
|
|
1653
|
+
GG = "GG",
|
|
1574
1654
|
GH = "GH",
|
|
1575
1655
|
GI = "GI",
|
|
1576
1656
|
GL = "GL",
|
|
@@ -1593,12 +1673,14 @@ export enum CountryCodeAlpha2 {
|
|
|
1593
1673
|
ID = "ID",
|
|
1594
1674
|
IE = "IE",
|
|
1595
1675
|
IL = "IL",
|
|
1676
|
+
IM = "IM",
|
|
1596
1677
|
IN = "IN",
|
|
1597
1678
|
IO = "IO",
|
|
1598
1679
|
IQ = "IQ",
|
|
1599
1680
|
IR = "IR",
|
|
1600
1681
|
IS = "IS",
|
|
1601
1682
|
IT = "IT",
|
|
1683
|
+
JE = "JE",
|
|
1602
1684
|
JM = "JM",
|
|
1603
1685
|
JO = "JO",
|
|
1604
1686
|
JP = "JP",
|
|
@@ -1696,6 +1778,7 @@ export enum CountryCodeAlpha2 {
|
|
|
1696
1778
|
SN = "SN",
|
|
1697
1779
|
SO = "SO",
|
|
1698
1780
|
SR = "SR",
|
|
1781
|
+
SS = "SS",
|
|
1699
1782
|
ST = "ST",
|
|
1700
1783
|
SV = "SV",
|
|
1701
1784
|
SX = "SX",
|
|
@@ -1724,7 +1807,19 @@ export enum CountryCodeAlpha2 {
|
|
|
1724
1807
|
UY = "UY",
|
|
1725
1808
|
UZ = "UZ",
|
|
1726
1809
|
VA = "VA",
|
|
1727
|
-
VC = "VC"
|
|
1810
|
+
VC = "VC",
|
|
1811
|
+
VE = "VE",
|
|
1812
|
+
VG = "VG",
|
|
1813
|
+
VI = "VI",
|
|
1814
|
+
VN = "VN",
|
|
1815
|
+
VU = "VU",
|
|
1816
|
+
WF = "WF",
|
|
1817
|
+
WS = "WS",
|
|
1818
|
+
YE = "YE",
|
|
1819
|
+
YT = "YT",
|
|
1820
|
+
ZA = "ZA",
|
|
1821
|
+
ZM = "ZM",
|
|
1822
|
+
ZW = "ZW"
|
|
1728
1823
|
}
|
|
1729
1824
|
|
|
1730
1825
|
/** EVSE data which extends OCPI EVSE */
|
|
@@ -1786,6 +1881,48 @@ export type FeaturePointInput = {
|
|
|
1786
1881
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1787
1882
|
};
|
|
1788
1883
|
|
|
1884
|
+
/** A GeoJSON Feature<Point> input */
|
|
1885
|
+
export type FeaturePointPolygonInput = {
|
|
1886
|
+
/** Feature type */
|
|
1887
|
+
type: FeatureType;
|
|
1888
|
+
/** Geometry of the feature */
|
|
1889
|
+
geometry: PointInput;
|
|
1890
|
+
/** Optional object where you can store custom data you need in your application. */
|
|
1891
|
+
properties?: Maybe<FeaturePointPolygonPropertiesInput>;
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
/** Properties for Feature<Point> input */
|
|
1895
|
+
export type FeaturePointPolygonProperties = {
|
|
1896
|
+
/** Name of the location */
|
|
1897
|
+
name?: Maybe<Scalars["String"]>;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
/** Properties for Feature<Point> input */
|
|
1901
|
+
export type FeaturePointPolygonPropertiesInput = {
|
|
1902
|
+
/** Name of the location */
|
|
1903
|
+
name?: Maybe<Scalars["String"]>;
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
/** A GeoJSON Feature<Polygon> */
|
|
1907
|
+
export type FeaturePolygon = {
|
|
1908
|
+
/** Feature type */
|
|
1909
|
+
type: FeatureType;
|
|
1910
|
+
/** Geometry of the feature */
|
|
1911
|
+
geometry: Polygon;
|
|
1912
|
+
/** Properties of the Polygon Feature */
|
|
1913
|
+
properties?: Maybe<PolygonProperties>;
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1916
|
+
/** A GeoJSON Feature<Point> */
|
|
1917
|
+
export type FeaturePolygonPoint = {
|
|
1918
|
+
/** Feature type */
|
|
1919
|
+
type: FeatureType;
|
|
1920
|
+
/** Geometry of the feature */
|
|
1921
|
+
geometry: Point;
|
|
1922
|
+
/** Optional object where you can store custom data you need in your application. */
|
|
1923
|
+
properties?: Maybe<Scalars["JSON"]>;
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1789
1926
|
/** GeoJSON Feature type */
|
|
1790
1927
|
export enum FeatureType {
|
|
1791
1928
|
FEATURE = "Feature"
|
|
@@ -1799,6 +1936,44 @@ export enum InstructionsFormat {
|
|
|
1799
1936
|
MAPBOXV5 = "MapboxV5"
|
|
1800
1937
|
}
|
|
1801
1938
|
|
|
1939
|
+
export type Isoline = {
|
|
1940
|
+
/** Isoline id */
|
|
1941
|
+
id: Scalars["ID"];
|
|
1942
|
+
/** Isoline status */
|
|
1943
|
+
status: IsolineStatus;
|
|
1944
|
+
/** Shape of the isoline consisting in a list of polygons */
|
|
1945
|
+
polygons?: Maybe<Array<Maybe<FeaturePolygon>>>;
|
|
1946
|
+
/** Origin point of the request */
|
|
1947
|
+
origin: FeaturePolygonPoint;
|
|
1948
|
+
/** Vehicle id */
|
|
1949
|
+
vehicle_id: Scalars["ID"];
|
|
1950
|
+
/** Number of Isolines to be generated representing SoC (default: 1, max: 100) */
|
|
1951
|
+
polygon_count?: Maybe<Scalars["Int"]>;
|
|
1952
|
+
/** Season to be taken into account when generating the isoline, defaults to current */
|
|
1953
|
+
season?: Maybe<RouteSeason>;
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
export type IsolineInput = {
|
|
1957
|
+
/** Vehicle id */
|
|
1958
|
+
vehicle_id: Scalars["ID"];
|
|
1959
|
+
/** Origin point of the request */
|
|
1960
|
+
origin: FeaturePointPolygonInput;
|
|
1961
|
+
/** Numbers of polygons to be generated (default: 1, max: 100) */
|
|
1962
|
+
polygon_count?: Maybe<Scalars["Int"]>;
|
|
1963
|
+
/** Season to be taken into account when generating the isoline, defaults to current */
|
|
1964
|
+
season?: Maybe<RouteSeason>;
|
|
1965
|
+
};
|
|
1966
|
+
|
|
1967
|
+
/** Status of the isoline label */
|
|
1968
|
+
export enum IsolineStatus {
|
|
1969
|
+
/** Isoline label has been successfully generated */
|
|
1970
|
+
DONE = "done",
|
|
1971
|
+
/** Isoline label is under processing */
|
|
1972
|
+
PENDING = "pending",
|
|
1973
|
+
/** There was an error while generating the isoline label */
|
|
1974
|
+
ERROR = "error"
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1802
1977
|
/** Types of a leg */
|
|
1803
1978
|
export enum LegType {
|
|
1804
1979
|
/** This leg ends at a charging station and the car must recharge */
|
|
@@ -1828,6 +2003,8 @@ export enum MappingProvider {
|
|
|
1828
2003
|
}
|
|
1829
2004
|
|
|
1830
2005
|
export type Mutation = {
|
|
2006
|
+
/** [BETA] Generate a set of consumption based Isolines */
|
|
2007
|
+
createIsoline?: Maybe<Scalars["ID"]>;
|
|
1831
2008
|
/** [BETA] Start a new navigation session on top of an existing route */
|
|
1832
2009
|
startNavigation?: Maybe<Scalars["ID"]>;
|
|
1833
2010
|
/** [BETA] Update the navigation session */
|
|
@@ -1853,6 +2030,10 @@ export type Mutation = {
|
|
|
1853
2030
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1854
2031
|
};
|
|
1855
2032
|
|
|
2033
|
+
export type MutationcreateIsolineArgs = {
|
|
2034
|
+
input: IsolineInput;
|
|
2035
|
+
};
|
|
2036
|
+
|
|
1856
2037
|
export type MutationstartNavigationArgs = {
|
|
1857
2038
|
input: NavigationStartInput;
|
|
1858
2039
|
};
|
|
@@ -1972,11 +2153,11 @@ export type NavigationStation = {
|
|
|
1972
2153
|
|
|
1973
2154
|
/** Input for the navigation session update telemetry data */
|
|
1974
2155
|
export type NavigationTelemetryUpdateInput = {
|
|
1975
|
-
/** State of charge at the last known location */
|
|
2156
|
+
/** State of charge at the last known location, in kwh */
|
|
1976
2157
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1977
2158
|
/** Indicates if a vehicle is charging */
|
|
1978
2159
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
1979
|
-
/**
|
|
2160
|
+
/** Average tire pressure, in bars. This information should come from telemetry */
|
|
1980
2161
|
tire_pressure?: Maybe<Scalars["Float"]>;
|
|
1981
2162
|
};
|
|
1982
2163
|
|
|
@@ -1987,7 +2168,7 @@ export type NavigationUpdateInput = {
|
|
|
1987
2168
|
/** Heading of a vehicle, in degrees */
|
|
1988
2169
|
heading?: Maybe<Scalars["Float"]>;
|
|
1989
2170
|
/** A list of locations that were collected since the last update */
|
|
1990
|
-
|
|
2171
|
+
location_data: Array<NavigationUpdateLocationsInput>;
|
|
1991
2172
|
/** Telemetry data input */
|
|
1992
2173
|
telemetry?: Maybe<NavigationTelemetryUpdateInput>;
|
|
1993
2174
|
};
|
|
@@ -2614,6 +2795,25 @@ export enum PointType {
|
|
|
2614
2795
|
POINT = "Point"
|
|
2615
2796
|
}
|
|
2616
2797
|
|
|
2798
|
+
/** A GeoJSON Polygon */
|
|
2799
|
+
export type Polygon = {
|
|
2800
|
+
/** Polygon type */
|
|
2801
|
+
type: PolygonType;
|
|
2802
|
+
/** List of coordinates representing a polygon */
|
|
2803
|
+
coordinates: Array<Maybe<Array<Maybe<Array<Maybe<Scalars["Float"]>>>>>>;
|
|
2804
|
+
};
|
|
2805
|
+
|
|
2806
|
+
/** Polygon properties */
|
|
2807
|
+
export type PolygonProperties = {
|
|
2808
|
+
/** Index of the feature inside the list */
|
|
2809
|
+
index?: Maybe<Scalars["Int"]>;
|
|
2810
|
+
};
|
|
2811
|
+
|
|
2812
|
+
/** GeoJSON Polygon type */
|
|
2813
|
+
export enum PolygonType {
|
|
2814
|
+
POLYGON = "Polygon"
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2617
2817
|
/** The list of powers for the speed type */
|
|
2618
2818
|
export type PowerList = {
|
|
2619
2819
|
/** The maximum power the plug provides in kW */
|
|
@@ -2700,6 +2900,8 @@ export type Query = {
|
|
|
2700
2900
|
carPremium?: Maybe<CarPremium>;
|
|
2701
2901
|
/** Get a full list of cars */
|
|
2702
2902
|
carList?: Maybe<Array<Maybe<CarList>>>;
|
|
2903
|
+
/** [BETA] Get an isoline by ID */
|
|
2904
|
+
isoline?: Maybe<Isoline>;
|
|
2703
2905
|
/** [BETA] Get a navigation session by ID */
|
|
2704
2906
|
navigation?: Maybe<Navigation>;
|
|
2705
2907
|
/** Get a full list of operators */
|
|
@@ -2755,6 +2957,10 @@ export type QuerycarListArgs = {
|
|
|
2755
2957
|
page?: Maybe<Scalars["Int"]>;
|
|
2756
2958
|
};
|
|
2757
2959
|
|
|
2960
|
+
export type QueryisolineArgs = {
|
|
2961
|
+
id: Scalars["ID"];
|
|
2962
|
+
};
|
|
2963
|
+
|
|
2758
2964
|
export type QuerynavigationArgs = {
|
|
2759
2965
|
id: Scalars["ID"];
|
|
2760
2966
|
};
|
|
@@ -2842,6 +3048,8 @@ export type RequestEv = {
|
|
|
2842
3048
|
minPower?: Maybe<Scalars["Int"]>;
|
|
2843
3049
|
/** Climate is on. The default is true */
|
|
2844
3050
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
3051
|
+
/** Cargo weight, in kg */
|
|
3052
|
+
cargo?: Maybe<Scalars["Float"]>;
|
|
2845
3053
|
/**
|
|
2846
3054
|
* The number of passengers on board
|
|
2847
3055
|
* @deprecated In favor of occupants
|
|
@@ -2854,26 +3062,26 @@ export type RequestEv = {
|
|
|
2854
3062
|
};
|
|
2855
3063
|
|
|
2856
3064
|
export type RequestEvBattery = {
|
|
2857
|
-
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car
|
|
3065
|
+
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car battery.usable_kwh */
|
|
2858
3066
|
capacity?: Maybe<RequestEvBatteryValue>;
|
|
2859
3067
|
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
|
|
2860
3068
|
capacityKwh?: Maybe<Scalars["Float"]>;
|
|
2861
|
-
/** 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
|
|
3069
|
+
/** 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 */
|
|
2862
3070
|
stateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2863
3071
|
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
|
|
2864
3072
|
stateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2865
|
-
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car
|
|
3073
|
+
/** 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 */
|
|
2866
3074
|
finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2867
3075
|
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
|
|
2868
3076
|
finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2869
3077
|
};
|
|
2870
3078
|
|
|
2871
3079
|
export type RequestEvBatteryInput = {
|
|
2872
|
-
/** 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
|
|
3080
|
+
/** 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 */
|
|
2873
3081
|
capacity?: Maybe<RequestEvBatteryInputValue>;
|
|
2874
|
-
/** 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
|
|
3082
|
+
/** 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 */
|
|
2875
3083
|
stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2876
|
-
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car
|
|
3084
|
+
/** 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 */
|
|
2877
3085
|
finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2878
3086
|
};
|
|
2879
3087
|
|
|
@@ -2924,6 +3132,8 @@ export type RequestEvInput = {
|
|
|
2924
3132
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
2925
3133
|
/** Number of occupants */
|
|
2926
3134
|
occupants?: Maybe<Scalars["Int"]>;
|
|
3135
|
+
/** Cargo weight, in kg */
|
|
3136
|
+
cargo?: Maybe<Scalars["Int"]>;
|
|
2927
3137
|
/** Consumption specific to the EV or inputted by the request */
|
|
2928
3138
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
2929
3139
|
/** Deprecated */
|
|
@@ -3343,15 +3553,15 @@ export type RouteLeg = {
|
|
|
3343
3553
|
evse?: Maybe<EVSE>;
|
|
3344
3554
|
/** Recommended connector for charging */
|
|
3345
3555
|
connector?: Maybe<Connector>;
|
|
3346
|
-
/** Number of
|
|
3556
|
+
/** Number of compatible plugs available at a charge station */
|
|
3347
3557
|
plugsAvailable?: Maybe<Scalars["Int"]>;
|
|
3348
|
-
/** Number of
|
|
3558
|
+
/** Number of compatible plugs occupied at a charge station */
|
|
3349
3559
|
plugsOccupied?: Maybe<Scalars["Int"]>;
|
|
3350
|
-
/** Number of
|
|
3560
|
+
/** Number of compatible plugs unknown at a charge station */
|
|
3351
3561
|
plugsUnknown?: Maybe<Scalars["Int"]>;
|
|
3352
|
-
/** Number of out of order
|
|
3562
|
+
/** Number of compatible plugs out of order at a charge station */
|
|
3353
3563
|
plugsOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
3354
|
-
/** Total number of plugs at a charge station */
|
|
3564
|
+
/** Total number of compatible plugs at a charge station */
|
|
3355
3565
|
plugsCount?: Maybe<Scalars["Int"]>;
|
|
3356
3566
|
/** Polyline containing encoded coordinates */
|
|
3357
3567
|
polyline?: Maybe<Scalars["String"]>;
|
|
@@ -3359,6 +3569,10 @@ export type RouteLeg = {
|
|
|
3359
3569
|
steps?: Maybe<Array<Maybe<RouteStep>>>;
|
|
3360
3570
|
/** Tags of a leg. Values: road, highway, toll, ferry */
|
|
3361
3571
|
tags?: Maybe<Array<Maybe<RouteTagType>>>;
|
|
3572
|
+
/** Cargo weight in a vehicle for the duration of a leg, in kg */
|
|
3573
|
+
cargo?: Maybe<Scalars["Float"]>;
|
|
3574
|
+
/** Number of occupants in a vehicle for the duration of a leg */
|
|
3575
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
3362
3576
|
};
|
|
3363
3577
|
|
|
3364
3578
|
export type RouteLegpolylineArgs = {
|
|
@@ -3528,7 +3742,8 @@ export enum RouteTagType {
|
|
|
3528
3742
|
HIGHWAY = "highway",
|
|
3529
3743
|
TOLL = "toll",
|
|
3530
3744
|
FERRY = "ferry",
|
|
3531
|
-
WALKING = "walking"
|
|
3745
|
+
WALKING = "walking",
|
|
3746
|
+
CROSSBORDER = "crossborder"
|
|
3532
3747
|
}
|
|
3533
3748
|
|
|
3534
3749
|
/** Standards(plug type) stats model */
|
|
@@ -3622,12 +3837,17 @@ export type Station = {
|
|
|
3622
3837
|
* @deprecated predicted_availability, no value will be sent. Deprecated in favor of predicted_occupancy
|
|
3623
3838
|
*/
|
|
3624
3839
|
predicted_availability?: Maybe<Array<Maybe<StationPredictedAvailability>>>;
|
|
3625
|
-
/**
|
|
3840
|
+
/**
|
|
3841
|
+
* Predicted station occupancy
|
|
3842
|
+
* @deprecated In favor of custom_properties.predicted_occupancy
|
|
3843
|
+
*/
|
|
3626
3844
|
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
3627
3845
|
/** Charging speed for a station */
|
|
3628
3846
|
speed?: Maybe<StationSpeedType>;
|
|
3629
3847
|
/** Global status for a station */
|
|
3630
3848
|
status?: Maybe<ChargerStatus>;
|
|
3849
|
+
/** 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 */
|
|
3850
|
+
custom_properties?: Maybe<StationCustomProperties>;
|
|
3631
3851
|
};
|
|
3632
3852
|
|
|
3633
3853
|
/** Filter which can be applied to retrieve the station around list action */
|
|
@@ -3662,6 +3882,23 @@ export type StationAroundQuery = {
|
|
|
3662
3882
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3663
3883
|
};
|
|
3664
3884
|
|
|
3885
|
+
export type StationCustomProperties = {
|
|
3886
|
+
/** List of eMSP cards accepted at a charging station */
|
|
3887
|
+
roaming?: Maybe<Array<Maybe<StationRoaming>>>;
|
|
3888
|
+
/** Phone number for assistance at a charging station */
|
|
3889
|
+
support_phone_number?: Maybe<Scalars["String"]>;
|
|
3890
|
+
/** Charging behavior of a station */
|
|
3891
|
+
charging_behaviour?: Maybe<ChargingBehaviour>;
|
|
3892
|
+
/** Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values */
|
|
3893
|
+
reliability_score?: Maybe<Scalars["Int"]>;
|
|
3894
|
+
/** List of available ad hoc payment methods */
|
|
3895
|
+
adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
|
|
3896
|
+
/** Predicted station occupancy */
|
|
3897
|
+
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
3898
|
+
/** Type of access to the charging station */
|
|
3899
|
+
access_type?: Maybe<AccessType>;
|
|
3900
|
+
};
|
|
3901
|
+
|
|
3665
3902
|
/** Filter which can be applied to retrieve the station list action */
|
|
3666
3903
|
export type StationListFilter = {
|
|
3667
3904
|
/** Powers in kWh */
|
|
@@ -3708,6 +3945,17 @@ export type StationPredictedOccupancy = {
|
|
|
3708
3945
|
period_end?: Maybe<Scalars["String"]>;
|
|
3709
3946
|
};
|
|
3710
3947
|
|
|
3948
|
+
export type StationRoaming = {
|
|
3949
|
+
/** Name of the EMSP provider */
|
|
3950
|
+
emsp?: Maybe<Scalars["String"]>;
|
|
3951
|
+
/** Name of the card accepted at a charging station */
|
|
3952
|
+
card?: Maybe<Scalars["String"]>;
|
|
3953
|
+
/** Link to native Android app for card accepted at a charging station */
|
|
3954
|
+
android_app_link?: Maybe<Scalars["String"]>;
|
|
3955
|
+
/** Link to native iOS app for card accepted at a charging station */
|
|
3956
|
+
ios_app_link?: Maybe<Scalars["String"]>;
|
|
3957
|
+
};
|
|
3958
|
+
|
|
3711
3959
|
/** The station speed type */
|
|
3712
3960
|
export enum StationSpeedType {
|
|
3713
3961
|
/** Slow charging (below 43 kWh) */
|
|
@@ -3739,86 +3987,28 @@ export enum StepType {
|
|
|
3739
3987
|
/** This step is a ferry */
|
|
3740
3988
|
FERRY = "ferry",
|
|
3741
3989
|
/** This step is reachable by walking */
|
|
3742
|
-
WALKING = "walking"
|
|
3990
|
+
WALKING = "walking",
|
|
3991
|
+
/** This step is a crossborder */
|
|
3992
|
+
CROSSBORDER = "crossborder"
|
|
3743
3993
|
}
|
|
3744
3994
|
|
|
3745
3995
|
export type Subscription = {
|
|
3996
|
+
/** [BETA] Subscribe to an isoline label in order to receive updates */
|
|
3997
|
+
isoline?: Maybe<Isoline>;
|
|
3746
3998
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
3747
3999
|
navigationUpdatedById?: Maybe<Navigation>;
|
|
3748
|
-
/**
|
|
3749
|
-
* Subscription for a new operator was added in the system event
|
|
3750
|
-
* @deprecated operatorAdded has been removed, no value will be sent.
|
|
3751
|
-
*/
|
|
3752
|
-
operatorAdded?: Maybe<Operator>;
|
|
3753
|
-
/**
|
|
3754
|
-
* Subscription for an operator was updated in the system event, any operator
|
|
3755
|
-
* @deprecated operatorUpdated has been removed, no value will be sent.
|
|
3756
|
-
*/
|
|
3757
|
-
operatorUpdated?: Maybe<Operator>;
|
|
3758
|
-
/**
|
|
3759
|
-
* Subscription for an operator was removed from the system event, any operator
|
|
3760
|
-
* @deprecated operatorDeleted has been removed, no value will be sent.
|
|
3761
|
-
*/
|
|
3762
|
-
operatorDeleted?: Maybe<Operator>;
|
|
3763
|
-
/**
|
|
3764
|
-
* Subscription for a specific operator was updated in the system event
|
|
3765
|
-
* @deprecated operatorUpdatedById has been removed, no value will be sent.
|
|
3766
|
-
*/
|
|
3767
|
-
operatorUpdatedById?: Maybe<Operator>;
|
|
3768
|
-
/**
|
|
3769
|
-
* Subscription for a specific operator was removed from the system event
|
|
3770
|
-
* @deprecated operatorDeletedById has been removed, no value will be sent.
|
|
3771
|
-
*/
|
|
3772
|
-
operatorDeletedById?: Maybe<Operator>;
|
|
3773
4000
|
/** Subscription for a specific route was updated in the system event */
|
|
3774
4001
|
routeUpdatedById?: Maybe<Route>;
|
|
3775
|
-
/**
|
|
3776
|
-
* Subscription for a new station was added in the system event
|
|
3777
|
-
* @deprecated stationAdded has been removed, no value will be sent.
|
|
3778
|
-
*/
|
|
3779
|
-
stationAdded?: Maybe<Station>;
|
|
3780
|
-
/**
|
|
3781
|
-
* Subscription for a station was updated in the system event, any station
|
|
3782
|
-
* @deprecated stationUpdated has been removed, no value will be sent.
|
|
3783
|
-
*/
|
|
3784
|
-
stationUpdated?: Maybe<Station>;
|
|
3785
|
-
/**
|
|
3786
|
-
* Subscription for a station was removed from the system event, any station
|
|
3787
|
-
* @deprecated stationDeleted has been removed, no value will be sent.
|
|
3788
|
-
*/
|
|
3789
|
-
stationDeleted?: Maybe<Station>;
|
|
3790
|
-
/**
|
|
3791
|
-
* Subscription for a specific station was updated in the system event
|
|
3792
|
-
* @deprecated stationUpdatedById has been removed, no value will be sent.
|
|
3793
|
-
*/
|
|
3794
|
-
stationUpdatedById?: Maybe<Station>;
|
|
3795
|
-
/**
|
|
3796
|
-
* Subscription for a specific station was removed from the system event
|
|
3797
|
-
* @deprecated stationDeletedById has been removed, no value will be sent.
|
|
3798
|
-
*/
|
|
3799
|
-
stationDeletedById?: Maybe<Station>;
|
|
3800
|
-
};
|
|
3801
|
-
|
|
3802
|
-
export type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3803
|
-
id: Scalars["ID"];
|
|
3804
4002
|
};
|
|
3805
4003
|
|
|
3806
|
-
export type
|
|
4004
|
+
export type SubscriptionisolineArgs = {
|
|
3807
4005
|
id: Scalars["ID"];
|
|
3808
4006
|
};
|
|
3809
4007
|
|
|
3810
|
-
export type
|
|
4008
|
+
export type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3811
4009
|
id: Scalars["ID"];
|
|
3812
4010
|
};
|
|
3813
4011
|
|
|
3814
4012
|
export type SubscriptionrouteUpdatedByIdArgs = {
|
|
3815
4013
|
id: Scalars["ID"];
|
|
3816
4014
|
};
|
|
3817
|
-
|
|
3818
|
-
export type SubscriptionstationUpdatedByIdArgs = {
|
|
3819
|
-
id: Scalars["ID"];
|
|
3820
|
-
};
|
|
3821
|
-
|
|
3822
|
-
export type SubscriptionstationDeletedByIdArgs = {
|
|
3823
|
-
id: Scalars["ID"];
|
|
3824
|
-
};
|