@chargetrip/types 1.24.0 → 1.27.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 +30 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +37 -2
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +37 -2
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +257 -40
- package/graphql.schema.json +1416 -96
- package/package.json +3 -3
- package/src/graphql.ts +318 -79
package/src/graphql.ts
CHANGED
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
JSON: { [key: string]: number | string | boolean | null | Scalars["JSON"] };
|
|
20
20
|
/** The File Upload scalar */
|
|
21
21
|
Upload: any;
|
|
22
|
+
/** Void custom scalar */
|
|
23
|
+
Void: any;
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
/** Information about an address */
|
|
@@ -43,6 +45,20 @@ export type Address = {
|
|
|
43
45
|
formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
44
46
|
};
|
|
45
47
|
|
|
48
|
+
/** Amenities available near a station */
|
|
49
|
+
export enum Amenities {
|
|
50
|
+
PARK = "park",
|
|
51
|
+
RESTAURANT = "restaurant",
|
|
52
|
+
MUSEUM = "museum",
|
|
53
|
+
COFFEE = "coffee",
|
|
54
|
+
HOTEL = "hotel",
|
|
55
|
+
SHOPPING = "shopping",
|
|
56
|
+
BATHROOM = "bathroom",
|
|
57
|
+
SUPERMARKET = "supermarket",
|
|
58
|
+
PLAYGROUND = "playground",
|
|
59
|
+
PHARMACY = "pharmacy"
|
|
60
|
+
}
|
|
61
|
+
|
|
46
62
|
/** The amenity model */
|
|
47
63
|
export type Amenity = {
|
|
48
64
|
/** Unique amenity ID */
|
|
@@ -82,7 +98,7 @@ export enum BatteryInputType {
|
|
|
82
98
|
KWH = "kwh",
|
|
83
99
|
KM = "km",
|
|
84
100
|
MILES = "miles",
|
|
85
|
-
PERCENTAGE = "percentage"
|
|
101
|
+
PERCENTAGE = "percentage"
|
|
86
102
|
}
|
|
87
103
|
|
|
88
104
|
/** Output of a car query */
|
|
@@ -145,7 +161,7 @@ export type Car = {
|
|
|
145
161
|
*/
|
|
146
162
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
147
163
|
/**
|
|
148
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
164
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
149
165
|
* @deprecated In favor of routing.fast_charging_support
|
|
150
166
|
*/
|
|
151
167
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -280,7 +296,7 @@ export enum CarBatteryFieldEstimations {
|
|
|
280
296
|
/** None of the battery kWh fields are estimations */
|
|
281
297
|
N = "N",
|
|
282
298
|
/** usable_kwh field is estimated */
|
|
283
|
-
U = "U"
|
|
299
|
+
U = "U"
|
|
284
300
|
}
|
|
285
301
|
|
|
286
302
|
export type CarBody = {
|
|
@@ -315,7 +331,7 @@ export enum CarDrivetrain {
|
|
|
315
331
|
/** Battery Electric Car */
|
|
316
332
|
BEV = "BEV",
|
|
317
333
|
/** Extended Range Electric Car */
|
|
318
|
-
EREV = "EREV"
|
|
334
|
+
EREV = "EREV"
|
|
319
335
|
}
|
|
320
336
|
|
|
321
337
|
/** Deprecated */
|
|
@@ -341,7 +357,7 @@ export type CarExtraConsumption = {
|
|
|
341
357
|
/** Fuel type */
|
|
342
358
|
export enum CarFuel {
|
|
343
359
|
/** Electricity only. Full electric car */
|
|
344
|
-
E = "E"
|
|
360
|
+
E = "E"
|
|
345
361
|
}
|
|
346
362
|
|
|
347
363
|
export type CarImage = {
|
|
@@ -386,13 +402,13 @@ export enum CarImageType {
|
|
|
386
402
|
/** Full-sized brand (maker) logo at 768x432 px */
|
|
387
403
|
BRAND = "brand",
|
|
388
404
|
/** Thumbnail of a full-sized brand logo at 56x24 px */
|
|
389
|
-
BRAND_THUMBNAIL = "brand_thumbnail"
|
|
405
|
+
BRAND_THUMBNAIL = "brand_thumbnail"
|
|
390
406
|
}
|
|
391
407
|
|
|
392
408
|
/** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
393
409
|
export enum CarImageTypeUploadable {
|
|
394
410
|
/** Full size image with a resolution at least 1536x864 px */
|
|
395
|
-
IMAGE = "image"
|
|
411
|
+
IMAGE = "image"
|
|
396
412
|
}
|
|
397
413
|
|
|
398
414
|
/** The output element of the carList query */
|
|
@@ -453,7 +469,7 @@ export type CarList = {
|
|
|
453
469
|
*/
|
|
454
470
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
455
471
|
/**
|
|
456
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
472
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
457
473
|
* @deprecated In favor of routing.fast_charging_support
|
|
458
474
|
*/
|
|
459
475
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -621,10 +637,7 @@ export type CarListRange = {
|
|
|
621
637
|
};
|
|
622
638
|
|
|
623
639
|
export type CarListRouting = {
|
|
624
|
-
/**
|
|
625
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
626
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
627
|
-
*/
|
|
640
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
628
641
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
629
642
|
};
|
|
630
643
|
|
|
@@ -655,7 +668,7 @@ export enum CarMode {
|
|
|
655
668
|
/** Car is in production and has been released */
|
|
656
669
|
PRODUCTION = "production",
|
|
657
670
|
/** Future releases of a car, a concept of the car, specs may change over time */
|
|
658
|
-
CONCEPT = "concept"
|
|
671
|
+
CONCEPT = "concept"
|
|
659
672
|
}
|
|
660
673
|
|
|
661
674
|
export type CarNaming = {
|
|
@@ -1176,10 +1189,7 @@ export type CarPremiumRangeValue = {
|
|
|
1176
1189
|
};
|
|
1177
1190
|
|
|
1178
1191
|
export type CarPremiumRouting = {
|
|
1179
|
-
/**
|
|
1180
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
1181
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
1182
|
-
*/
|
|
1192
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1183
1193
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1184
1194
|
/** Drag coefficient */
|
|
1185
1195
|
drag_coefficient?: Maybe<Scalars["Float"]>;
|
|
@@ -1236,7 +1246,7 @@ export enum CarPropulsion {
|
|
|
1236
1246
|
/** Front-wheel drive car */
|
|
1237
1247
|
FRONT = "Front",
|
|
1238
1248
|
/** Rear-wheel drive car */
|
|
1239
|
-
REAR = "Rear"
|
|
1249
|
+
REAR = "Rear"
|
|
1240
1250
|
}
|
|
1241
1251
|
|
|
1242
1252
|
export type CarRange = {
|
|
@@ -1264,10 +1274,7 @@ export type CarRangeValue = {
|
|
|
1264
1274
|
};
|
|
1265
1275
|
|
|
1266
1276
|
export type CarRouting = {
|
|
1267
|
-
/**
|
|
1268
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
1269
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
1270
|
-
*/
|
|
1277
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1271
1278
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1272
1279
|
};
|
|
1273
1280
|
|
|
@@ -1280,7 +1287,7 @@ export enum CarStatus {
|
|
|
1280
1287
|
/** Is public and can be used by a customer */
|
|
1281
1288
|
PUBLIC = "public",
|
|
1282
1289
|
/** Is removed and can not be used */
|
|
1283
|
-
REMOVED = "removed"
|
|
1290
|
+
REMOVED = "removed"
|
|
1284
1291
|
}
|
|
1285
1292
|
|
|
1286
1293
|
export type CarVideo = {
|
|
@@ -1295,7 +1302,7 @@ export enum ChargeMode {
|
|
|
1295
1302
|
/** Optimizes the charging time at each station, in order to decrease the total travel time. You will only charge up until the SOC you need in order to reach the next stop */
|
|
1296
1303
|
OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
|
|
1297
1304
|
/** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
|
|
1298
|
-
ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
|
|
1305
|
+
ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
|
|
1299
1306
|
}
|
|
1300
1307
|
|
|
1301
1308
|
/** A groupped representation of EVSEs */
|
|
@@ -1322,7 +1329,7 @@ export enum ChargerStatus {
|
|
|
1322
1329
|
/** The charger is unknown */
|
|
1323
1330
|
UNKNOWN = "unknown",
|
|
1324
1331
|
/** The charger has an error */
|
|
1325
|
-
ERROR = "error"
|
|
1332
|
+
ERROR = "error"
|
|
1326
1333
|
}
|
|
1327
1334
|
|
|
1328
1335
|
/** Groupping by status of the chargers */
|
|
@@ -1464,7 +1471,7 @@ export enum ConnectorType {
|
|
|
1464
1471
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1465
1472
|
NEMA_14_30 = "NEMA_14_30",
|
|
1466
1473
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1467
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
1474
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1468
1475
|
}
|
|
1469
1476
|
|
|
1470
1477
|
/** The complete contact information */
|
|
@@ -1717,7 +1724,7 @@ export enum CountryCodeAlpha2 {
|
|
|
1717
1724
|
UY = "UY",
|
|
1718
1725
|
UZ = "UZ",
|
|
1719
1726
|
VA = "VA",
|
|
1720
|
-
VC = "VC"
|
|
1727
|
+
VC = "VC"
|
|
1721
1728
|
}
|
|
1722
1729
|
|
|
1723
1730
|
/** EVSE data which extends OCPI EVSE */
|
|
@@ -1781,7 +1788,15 @@ export type FeaturePointInput = {
|
|
|
1781
1788
|
|
|
1782
1789
|
/** GeoJSON Feature type */
|
|
1783
1790
|
export enum FeatureType {
|
|
1784
|
-
FEATURE = "Feature"
|
|
1791
|
+
FEATURE = "Feature"
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/** Navigation service providers available */
|
|
1795
|
+
export enum InstructionsFormat {
|
|
1796
|
+
/** Chargetrip raw instructions */
|
|
1797
|
+
CHARGETRIP = "Chargetrip",
|
|
1798
|
+
/** Mapbox instructions mapping */
|
|
1799
|
+
MAPBOXV5 = "MapboxV5"
|
|
1785
1800
|
}
|
|
1786
1801
|
|
|
1787
1802
|
/** Types of a leg */
|
|
@@ -1795,21 +1810,32 @@ export enum LegType {
|
|
|
1795
1810
|
/** This leg ends at the destination, and is the last leg of the route */
|
|
1796
1811
|
FINAL = "final",
|
|
1797
1812
|
/** This leg ends at the destination which is a charging station, and is the last leg of the route */
|
|
1798
|
-
STATIONFINAL = "stationFinal"
|
|
1813
|
+
STATIONFINAL = "stationFinal"
|
|
1799
1814
|
}
|
|
1800
1815
|
|
|
1801
1816
|
/** Preferred language for the mapping */
|
|
1802
1817
|
export enum MappingLanguage {
|
|
1803
|
-
|
|
1818
|
+
/** English(US) */
|
|
1819
|
+
EN = "en"
|
|
1804
1820
|
}
|
|
1805
1821
|
|
|
1806
1822
|
/** Navigation service providers available */
|
|
1807
1823
|
export enum MappingProvider {
|
|
1808
|
-
/**
|
|
1809
|
-
|
|
1824
|
+
/** Chargetrip raw instructions */
|
|
1825
|
+
CHARGETRIP = "Chargetrip",
|
|
1826
|
+
/** Mapbox instructions mapping */
|
|
1827
|
+
MAPBOXV5 = "MapboxV5"
|
|
1810
1828
|
}
|
|
1811
1829
|
|
|
1812
1830
|
export type Mutation = {
|
|
1831
|
+
/** [BETA] Start a new navigation session on top of an existing route */
|
|
1832
|
+
startNavigation?: Maybe<Scalars["ID"]>;
|
|
1833
|
+
/** [BETA] Update the navigation session */
|
|
1834
|
+
updateNavigation?: Maybe<Scalars["Void"]>;
|
|
1835
|
+
/** [BETA] Recalculate the current navigation route */
|
|
1836
|
+
recalculateNavigation?: Maybe<Scalars["Void"]>;
|
|
1837
|
+
/** [BETA] End a navigation session */
|
|
1838
|
+
finishNavigation?: Maybe<Scalars["Void"]>;
|
|
1813
1839
|
/**
|
|
1814
1840
|
* Add a new review.
|
|
1815
1841
|
* If the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user
|
|
@@ -1827,6 +1853,22 @@ export type Mutation = {
|
|
|
1827
1853
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1828
1854
|
};
|
|
1829
1855
|
|
|
1856
|
+
export type MutationstartNavigationArgs = {
|
|
1857
|
+
input: NavigationStartInput;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
export type MutationupdateNavigationArgs = {
|
|
1861
|
+
input: NavigationUpdateInput;
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
export type MutationrecalculateNavigationArgs = {
|
|
1865
|
+
input: NavigationRecalculateInput;
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
export type MutationfinishNavigationArgs = {
|
|
1869
|
+
input: NavigationFinishInput;
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1830
1872
|
export type MutationaddReviewArgs = {
|
|
1831
1873
|
review: ReviewAdd;
|
|
1832
1874
|
};
|
|
@@ -1839,6 +1881,137 @@ export type MutationnewRouteArgs = {
|
|
|
1839
1881
|
input?: Maybe<RequestInput>;
|
|
1840
1882
|
};
|
|
1841
1883
|
|
|
1884
|
+
/** The navigation session data */
|
|
1885
|
+
export type Navigation = {
|
|
1886
|
+
/** ID of the navigation session */
|
|
1887
|
+
id: Scalars["ID"];
|
|
1888
|
+
/** The current route used for navigation */
|
|
1889
|
+
route_id?: Maybe<Scalars["String"]>;
|
|
1890
|
+
/** The current route alternative used for navigation */
|
|
1891
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1892
|
+
/** The state of a navigation session. The status can be driving, charging, finished, or error */
|
|
1893
|
+
state?: Maybe<NavigationState>;
|
|
1894
|
+
/** State of charge at the last known location */
|
|
1895
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1896
|
+
/** Last known location */
|
|
1897
|
+
last_known_location?: Maybe<Point>;
|
|
1898
|
+
/** Next charging station */
|
|
1899
|
+
next_station?: Maybe<NavigationStation>;
|
|
1900
|
+
/** A set of alternative charging stations to next station */
|
|
1901
|
+
alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
|
|
1902
|
+
/** Navigation instructions */
|
|
1903
|
+
instructions?: Maybe<Scalars["JSON"]>;
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
/** The navigation session data */
|
|
1907
|
+
export type NavigationinstructionsArgs = {
|
|
1908
|
+
instructions_format: InstructionsFormat;
|
|
1909
|
+
language?: Maybe<MappingLanguage>;
|
|
1910
|
+
precision?: Maybe<Scalars["Int"]>;
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
/** Input for the navigation recalculate */
|
|
1914
|
+
export type NavigationFinishInput = {
|
|
1915
|
+
/** ID of the navigation session */
|
|
1916
|
+
id: Scalars["ID"];
|
|
1917
|
+
/** Current coordinates */
|
|
1918
|
+
current_location: PointInput;
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
/** Input for the navigation recalculate */
|
|
1922
|
+
export type NavigationRecalculateInput = {
|
|
1923
|
+
/** ID of the navigation session */
|
|
1924
|
+
id: Scalars["ID"];
|
|
1925
|
+
/** State of charge at origin */
|
|
1926
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1927
|
+
/** Origin location of a new route */
|
|
1928
|
+
current_location: PointInput;
|
|
1929
|
+
/** Via points of a new route. If this field is not sent, the original via points will be used */
|
|
1930
|
+
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
1931
|
+
/** Heading of a vehicle, in degrees */
|
|
1932
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
/** Input for the navigation start */
|
|
1936
|
+
export type NavigationStartInput = {
|
|
1937
|
+
/** ID of the route of the navigation session */
|
|
1938
|
+
route_id: Scalars["String"];
|
|
1939
|
+
/** ID of the route alternative of the navigation session */
|
|
1940
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1941
|
+
/** Current coordinates */
|
|
1942
|
+
current_location: PointInput;
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1945
|
+
/** State of navigation session */
|
|
1946
|
+
export enum NavigationState {
|
|
1947
|
+
/** Vehicle is driving */
|
|
1948
|
+
DRIVING = "driving",
|
|
1949
|
+
/** Vehicle is charging */
|
|
1950
|
+
CHARGING = "charging",
|
|
1951
|
+
/** Navigation session is completed (either manually or automatically 48 hours after the last update) */
|
|
1952
|
+
FINISHED = "finished",
|
|
1953
|
+
/** Failed to update navigation session due to route error or not found */
|
|
1954
|
+
ERROR = "error"
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
/** Navigation session station type */
|
|
1958
|
+
export type NavigationStation = {
|
|
1959
|
+
/** The ID as string of the charging station */
|
|
1960
|
+
station_id?: Maybe<Scalars["String"]>;
|
|
1961
|
+
/** GPS location of the charging station */
|
|
1962
|
+
station_location?: Maybe<Point>;
|
|
1963
|
+
/** An array with all GPS locations of via points until the next charging station */
|
|
1964
|
+
via?: Maybe<Array<Maybe<Point>>>;
|
|
1965
|
+
/** Estimated state of charge, in kWh, at arrival on the next charging station */
|
|
1966
|
+
estimated_state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1967
|
+
/** Estimated consumption, in kWh, from last the known location until the next charging station */
|
|
1968
|
+
estimated_consumption?: Maybe<Scalars["Float"]>;
|
|
1969
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
1970
|
+
estimated_duration?: Maybe<Scalars["Int"]>;
|
|
1971
|
+
};
|
|
1972
|
+
|
|
1973
|
+
/** Input for the navigation session update telemetry data */
|
|
1974
|
+
export type NavigationTelemetryUpdateInput = {
|
|
1975
|
+
/** State of charge at the last known location */
|
|
1976
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1977
|
+
/** Indicates if a vehicle is charging */
|
|
1978
|
+
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
1979
|
+
/** Tire pressure. This information should come from telemetry */
|
|
1980
|
+
tire_pressure?: Maybe<Scalars["Float"]>;
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
/** Input for the navigation update */
|
|
1984
|
+
export type NavigationUpdateInput = {
|
|
1985
|
+
/** ID of the navigation session */
|
|
1986
|
+
id: Scalars["ID"];
|
|
1987
|
+
/** Heading of a vehicle, in degrees */
|
|
1988
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1989
|
+
/** A list of locations that were collected since the last update */
|
|
1990
|
+
locations_data: Array<NavigationUpdateLocationsInput>;
|
|
1991
|
+
/** Telemetry data input */
|
|
1992
|
+
telemetry?: Maybe<NavigationTelemetryUpdateInput>;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
/** Properties of the location */
|
|
1996
|
+
export type NavigationUpdateLocationPropertiesInput = {
|
|
1997
|
+
/** Current route leg index corresponding to a location */
|
|
1998
|
+
route_leg: Scalars["Int"];
|
|
1999
|
+
/** Speed at a location, in km/h */
|
|
2000
|
+
speed: Scalars["Float"];
|
|
2001
|
+
/** UNIX timestamp at location, in seconds */
|
|
2002
|
+
timestamp: Scalars["Int"];
|
|
2003
|
+
/** Altitude information, in meters. This is optional */
|
|
2004
|
+
altitude?: Maybe<Scalars["Int"]>;
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
/** Input for the navigation update locations */
|
|
2008
|
+
export type NavigationUpdateLocationsInput = {
|
|
2009
|
+
/** GPS location */
|
|
2010
|
+
geometry: PointInput;
|
|
2011
|
+
/** Extra information about the location */
|
|
2012
|
+
properties: NavigationUpdateLocationPropertiesInput;
|
|
2013
|
+
};
|
|
2014
|
+
|
|
1842
2015
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
1843
2016
|
export type OCPIAdditionalGeoLocation = {
|
|
1844
2017
|
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
|
|
@@ -1876,7 +2049,7 @@ export enum OCPICapability {
|
|
|
1876
2049
|
/** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
|
|
1877
2050
|
UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
|
|
1878
2051
|
/** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
|
|
1879
|
-
START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
|
|
2052
|
+
START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
|
|
1880
2053
|
}
|
|
1881
2054
|
|
|
1882
2055
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -1884,7 +2057,7 @@ export enum OCPIConnectorFormat {
|
|
|
1884
2057
|
/** The connector is a socket; the EV user needs to bring a fitting plug. */
|
|
1885
2058
|
SOCKET = "SOCKET",
|
|
1886
2059
|
/** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
|
|
1887
|
-
CABLE = "CABLE"
|
|
2060
|
+
CABLE = "CABLE"
|
|
1888
2061
|
}
|
|
1889
2062
|
|
|
1890
2063
|
/** Deprecated: Please use ConnectorType instead */
|
|
@@ -1966,7 +2139,7 @@ export enum OCPIConnectorType {
|
|
|
1966
2139
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1967
2140
|
NEMA_14_30 = "NEMA_14_30",
|
|
1968
2141
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1969
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
2142
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1970
2143
|
}
|
|
1971
2144
|
|
|
1972
2145
|
export enum OCPIDayOfWeek {
|
|
@@ -1976,7 +2149,7 @@ export enum OCPIDayOfWeek {
|
|
|
1976
2149
|
THURSDAY = "THURSDAY",
|
|
1977
2150
|
FRIDAY = "FRIDAY",
|
|
1978
2151
|
SATURDAY = "SATURDAY",
|
|
1979
|
-
SUNDAY = "SUNDAY"
|
|
2152
|
+
SUNDAY = "SUNDAY"
|
|
1980
2153
|
}
|
|
1981
2154
|
|
|
1982
2155
|
export type OCPIDisplayText = {
|
|
@@ -2024,7 +2197,7 @@ export enum OCPIEnergySourceCategory {
|
|
|
2024
2197
|
/** Regenerative power from wind turbines. */
|
|
2025
2198
|
WIND = "WIND",
|
|
2026
2199
|
/** Regenerative power from water turbines. */
|
|
2027
|
-
WATER = "WATER"
|
|
2200
|
+
WATER = "WATER"
|
|
2028
2201
|
}
|
|
2029
2202
|
|
|
2030
2203
|
/** Amount of waste produced/emitted per kWh. */
|
|
@@ -2040,7 +2213,7 @@ export enum OCPIEnvironmentalImpactCategory {
|
|
|
2040
2213
|
/** Produced nuclear waste in grams per kilowatthour. */
|
|
2041
2214
|
NUCLEAR_WASTE = "NUCLEAR_WASTE",
|
|
2042
2215
|
/** Exhausted carbon dioxide in grams per kilowatthour. */
|
|
2043
|
-
CARBON_DIOXIDE = "CARBON_DIOXIDE"
|
|
2216
|
+
CARBON_DIOXIDE = "CARBON_DIOXIDE"
|
|
2044
2217
|
}
|
|
2045
2218
|
|
|
2046
2219
|
/** Specifies one exceptional period for opening or access hours. */
|
|
@@ -2091,7 +2264,7 @@ export enum OCPIFacility {
|
|
|
2091
2264
|
/** A Fuel station. */
|
|
2092
2265
|
FUEL_STATION = "FUEL_STATION",
|
|
2093
2266
|
/** Wifi or other type of internet available. */
|
|
2094
|
-
WIFI = "WIFI"
|
|
2267
|
+
WIFI = "WIFI"
|
|
2095
2268
|
}
|
|
2096
2269
|
|
|
2097
2270
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
@@ -2144,7 +2317,7 @@ export enum OCPIImageCategory {
|
|
|
2144
2317
|
/** Other */
|
|
2145
2318
|
OTHER = "OTHER",
|
|
2146
2319
|
/** Logo of the charge point owner, for example a local store, to be displayed in the EVSEs detailed information view. */
|
|
2147
|
-
OWNER = "OWNER"
|
|
2320
|
+
OWNER = "OWNER"
|
|
2148
2321
|
}
|
|
2149
2322
|
|
|
2150
2323
|
/** This value, if provided, represents the restriction to the parking spot for different purposes. */
|
|
@@ -2158,7 +2331,7 @@ export enum OCPIParkingRestriction {
|
|
|
2158
2331
|
/** Parking spot for customers/guests only, for example in case of a hotel or shop. */
|
|
2159
2332
|
CUSTOMERS = "CUSTOMERS",
|
|
2160
2333
|
/** Parking spot only suitable for (electric) motorcycles or scooters. */
|
|
2161
|
-
MOTORCYCLES = "MOTORCYCLES"
|
|
2334
|
+
MOTORCYCLES = "MOTORCYCLES"
|
|
2162
2335
|
}
|
|
2163
2336
|
|
|
2164
2337
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
@@ -2174,7 +2347,7 @@ export enum OCPIParkingType {
|
|
|
2174
2347
|
/** Parking in public space along a street. */
|
|
2175
2348
|
ON_STREET = "ON_STREET",
|
|
2176
2349
|
/** Multistorey car park, mainly underground. */
|
|
2177
|
-
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
|
|
2350
|
+
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
|
|
2178
2351
|
}
|
|
2179
2352
|
|
|
2180
2353
|
export enum OCPIPowerType {
|
|
@@ -2187,7 +2360,7 @@ export enum OCPIPowerType {
|
|
|
2187
2360
|
/** AC two phases using split phase system. */
|
|
2188
2361
|
AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
|
|
2189
2362
|
/** Direct Current. */
|
|
2190
|
-
DC = "DC"
|
|
2363
|
+
DC = "DC"
|
|
2191
2364
|
}
|
|
2192
2365
|
|
|
2193
2366
|
export type OCPIPrice = {
|
|
@@ -2222,7 +2395,7 @@ export enum OCPIReservationRestrictionType {
|
|
|
2222
2395
|
/** Used in TariffElements to describe costs for a reservation. */
|
|
2223
2396
|
RESERVATION = "RESERVATION",
|
|
2224
2397
|
/** Used in TariffElements to describe costs for a reservation that expires (i.e. driver does not start a charging session before expiry_date of the reservation). */
|
|
2225
|
-
RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
|
|
2398
|
+
RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
|
|
2226
2399
|
}
|
|
2227
2400
|
|
|
2228
2401
|
/** The status of an EVSE. */
|
|
@@ -2244,7 +2417,7 @@ export enum OCPIStatus {
|
|
|
2244
2417
|
/** The EVSE/Connector is reserved for a particular EV driver and is unavailable for other drivers. */
|
|
2245
2418
|
RESERVED = "RESERVED",
|
|
2246
2419
|
/** No status information available (also used when offline). */
|
|
2247
|
-
UNKNOWN = "UNKNOWN"
|
|
2420
|
+
UNKNOWN = "UNKNOWN"
|
|
2248
2421
|
}
|
|
2249
2422
|
|
|
2250
2423
|
/** This type is used to schedule status periods in the future. The eMSP can provide this information to the EV user for trip planning purposes. A period MAY have no end. Example: "This station will be running as of tomorrow. Today it is still planned and under construction. */
|
|
@@ -2296,7 +2469,7 @@ export enum OCPITariffDimensionType {
|
|
|
2296
2469
|
/** Time not charging: defined in hours, step_size multiplier: 1 second */
|
|
2297
2470
|
PARKING_TIME = "PARKING_TIME",
|
|
2298
2471
|
/** Time charging: defined in hours, step_size multiplier: 1 second Can also be used in combination with a RESERVATION restriction to describe the price of the reservation time. */
|
|
2299
|
-
TIME = "TIME"
|
|
2472
|
+
TIME = "TIME"
|
|
2300
2473
|
}
|
|
2301
2474
|
|
|
2302
2475
|
export type OCPITariffElement = {
|
|
@@ -2347,7 +2520,7 @@ export enum OCPITariffType {
|
|
|
2347
2520
|
/** Used to describe that a tariff is valid when charging preference: GREEN is set for the session */
|
|
2348
2521
|
PROFILE_GREEN = "PROFILE_GREEN",
|
|
2349
2522
|
/** Used to describe that a tariff is valid when using an RFID, without any charging preference, or when charging preference: REGULAR is set for the session */
|
|
2350
|
-
REGULAR = "REGULAR"
|
|
2523
|
+
REGULAR = "REGULAR"
|
|
2351
2524
|
}
|
|
2352
2525
|
|
|
2353
2526
|
/** The operator data which extends OCPI BusinessDetails */
|
|
@@ -2400,7 +2573,7 @@ export enum ParkingCost {
|
|
|
2400
2573
|
/** Parking is free */
|
|
2401
2574
|
FREE = "free",
|
|
2402
2575
|
/** Parking includes a fee */
|
|
2403
|
-
PAID = "paid"
|
|
2576
|
+
PAID = "paid"
|
|
2404
2577
|
}
|
|
2405
2578
|
|
|
2406
2579
|
export type PathSegment = {
|
|
@@ -2416,6 +2589,8 @@ export type PathSegment = {
|
|
|
2416
2589
|
distance?: Maybe<Scalars["Float"]>;
|
|
2417
2590
|
/** Duration, in seconds, of a route path segment */
|
|
2418
2591
|
duration?: Maybe<Scalars["Float"]>;
|
|
2592
|
+
/** State of charge, in kWh, of a route path segment */
|
|
2593
|
+
stateOfCharge?: Maybe<Scalars["Float"]>;
|
|
2419
2594
|
};
|
|
2420
2595
|
|
|
2421
2596
|
/** A GeoJSON Point */
|
|
@@ -2436,7 +2611,7 @@ export type PointInput = {
|
|
|
2436
2611
|
|
|
2437
2612
|
/** GeoJSON Point type */
|
|
2438
2613
|
export enum PointType {
|
|
2439
|
-
POINT = "Point"
|
|
2614
|
+
POINT = "Point"
|
|
2440
2615
|
}
|
|
2441
2616
|
|
|
2442
2617
|
/** The list of powers for the speed type */
|
|
@@ -2500,7 +2675,7 @@ export enum PricingListElementType {
|
|
|
2500
2675
|
/** Fixed price per hour */
|
|
2501
2676
|
TIME = "TIME",
|
|
2502
2677
|
/** Parking price per hour */
|
|
2503
|
-
PARKING_TIME = "PARKING_TIME"
|
|
2678
|
+
PARKING_TIME = "PARKING_TIME"
|
|
2504
2679
|
}
|
|
2505
2680
|
|
|
2506
2681
|
export type PricingListProduct = {
|
|
@@ -2525,6 +2700,8 @@ export type Query = {
|
|
|
2525
2700
|
carPremium?: Maybe<CarPremium>;
|
|
2526
2701
|
/** Get a full list of cars */
|
|
2527
2702
|
carList?: Maybe<Array<Maybe<CarList>>>;
|
|
2703
|
+
/** [BETA] Get a navigation session by ID */
|
|
2704
|
+
navigation?: Maybe<Navigation>;
|
|
2528
2705
|
/** Get a full list of operators */
|
|
2529
2706
|
operatorList?: Maybe<Array<Maybe<Operator>>>;
|
|
2530
2707
|
/** Get information about an operator by its ID */
|
|
@@ -2553,7 +2730,7 @@ export type Query = {
|
|
|
2553
2730
|
tariff?: Maybe<OCPITariff>;
|
|
2554
2731
|
/** Get the full list of tariffs */
|
|
2555
2732
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
2556
|
-
/**
|
|
2733
|
+
/** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
|
|
2557
2734
|
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
2558
2735
|
};
|
|
2559
2736
|
|
|
@@ -2578,6 +2755,10 @@ export type QuerycarListArgs = {
|
|
|
2578
2755
|
page?: Maybe<Scalars["Int"]>;
|
|
2579
2756
|
};
|
|
2580
2757
|
|
|
2758
|
+
export type QuerynavigationArgs = {
|
|
2759
|
+
id: Scalars["ID"];
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2581
2762
|
export type QueryoperatorListArgs = {
|
|
2582
2763
|
query?: Maybe<OperatorListQuery>;
|
|
2583
2764
|
search?: Maybe<Scalars["String"]>;
|
|
@@ -2617,12 +2798,16 @@ export type QuerystationArgs = {
|
|
|
2617
2798
|
|
|
2618
2799
|
export type QuerystationListArgs = {
|
|
2619
2800
|
query?: Maybe<StationListQuery>;
|
|
2801
|
+
filter?: Maybe<StationListFilter>;
|
|
2802
|
+
search?: Maybe<Scalars["String"]>;
|
|
2620
2803
|
size?: Maybe<Scalars["Int"]>;
|
|
2621
2804
|
page?: Maybe<Scalars["Int"]>;
|
|
2622
2805
|
};
|
|
2623
2806
|
|
|
2624
2807
|
export type QuerystationAroundArgs = {
|
|
2625
|
-
query
|
|
2808
|
+
query?: Maybe<StationAroundQuery>;
|
|
2809
|
+
filter?: Maybe<StationAroundFilter>;
|
|
2810
|
+
search?: Maybe<Scalars["String"]>;
|
|
2626
2811
|
size?: Maybe<Scalars["Int"]>;
|
|
2627
2812
|
page?: Maybe<Scalars["Int"]>;
|
|
2628
2813
|
};
|
|
@@ -2669,26 +2854,26 @@ export type RequestEv = {
|
|
|
2669
2854
|
};
|
|
2670
2855
|
|
|
2671
2856
|
export type RequestEvBattery = {
|
|
2672
|
-
/**
|
|
2857
|
+
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh */
|
|
2673
2858
|
capacity?: Maybe<RequestEvBatteryValue>;
|
|
2674
|
-
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value
|
|
2859
|
+
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
|
|
2675
2860
|
capacityKwh?: Maybe<Scalars["Float"]>;
|
|
2676
|
-
/** 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 batteryUsableKwh
|
|
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 batteryUsableKwh */
|
|
2677
2862
|
stateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2678
|
-
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge
|
|
2863
|
+
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
|
|
2679
2864
|
stateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2680
|
-
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh
|
|
2865
|
+
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh */
|
|
2681
2866
|
finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2682
|
-
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge
|
|
2867
|
+
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
|
|
2683
2868
|
finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2684
2869
|
};
|
|
2685
2870
|
|
|
2686
2871
|
export type RequestEvBatteryInput = {
|
|
2687
|
-
/** Usable capacity of a battery used to compute a route.
|
|
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 batteryUsableKwh */
|
|
2688
2873
|
capacity?: Maybe<RequestEvBatteryInputValue>;
|
|
2689
|
-
/** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car batteryUsableKwh
|
|
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 batteryUsableKwh */
|
|
2690
2875
|
stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2691
|
-
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh
|
|
2876
|
+
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh */
|
|
2692
2877
|
finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2693
2878
|
};
|
|
2694
2879
|
|
|
@@ -2831,7 +3016,7 @@ export type RequestRouteInput = {
|
|
|
2831
3016
|
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
2832
3017
|
/** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
|
|
2833
3018
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
2834
|
-
/**
|
|
3019
|
+
/** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
|
|
2835
3020
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
2836
3021
|
};
|
|
2837
3022
|
|
|
@@ -2958,6 +3143,8 @@ export type Route = {
|
|
|
2958
3143
|
user?: Maybe<RequestUser>;
|
|
2959
3144
|
/** Route request data */
|
|
2960
3145
|
routeRequest?: Maybe<RequestRoute>;
|
|
3146
|
+
/** Application who requested a route */
|
|
3147
|
+
app?: Maybe<RouteApp>;
|
|
2961
3148
|
/** Route status */
|
|
2962
3149
|
status?: Maybe<RouteStatus>;
|
|
2963
3150
|
};
|
|
@@ -2969,15 +3156,15 @@ export type RouteAlternative = {
|
|
|
2969
3156
|
type?: Maybe<RouteAlternativeType>;
|
|
2970
3157
|
/** Number of charges along a route */
|
|
2971
3158
|
charges?: Maybe<Scalars["Int"]>;
|
|
2972
|
-
/** Number of available charges along a route
|
|
3159
|
+
/** Number of available charges along a route */
|
|
2973
3160
|
chargesAvailable?: Maybe<Scalars["Int"]>;
|
|
2974
|
-
/** Number of occupied charges along a route
|
|
3161
|
+
/** Number of occupied charges along a route */
|
|
2975
3162
|
chargesOccupied?: Maybe<Scalars["Int"]>;
|
|
2976
|
-
/** Number of unknown charges along a route
|
|
3163
|
+
/** Number of unknown charges along a route */
|
|
2977
3164
|
chargesUnknown?: Maybe<Scalars["Int"]>;
|
|
2978
|
-
/** Number of out of order charges along a route
|
|
3165
|
+
/** Number of out of order charges along a route */
|
|
2979
3166
|
chargesOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
2980
|
-
/** Total distance of a route in meters
|
|
3167
|
+
/** Total distance of a route in meters */
|
|
2981
3168
|
distance?: Maybe<Scalars["Int"]>;
|
|
2982
3169
|
/** Total duration of a route, including charge time, in seconds */
|
|
2983
3170
|
duration?: Maybe<Scalars["Int"]>;
|
|
@@ -2998,9 +3185,9 @@ export type RouteAlternative = {
|
|
|
2998
3185
|
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2999
3186
|
/** Remaining range, in meters, at the end of a trip */
|
|
3000
3187
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
3001
|
-
/** Remaining range, energy in kWh, at the end of a trip
|
|
3188
|
+
/** Remaining range, energy in kWh, at the end of a trip */
|
|
3002
3189
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
3003
|
-
/** Remaining range, energy in percentage, at the end of a trip
|
|
3190
|
+
/** Remaining range, energy in percentage, at the end of a trip */
|
|
3004
3191
|
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
3005
3192
|
/** Text information about a route direction */
|
|
3006
3193
|
via?: Maybe<Scalars["String"]>;
|
|
@@ -3055,9 +3242,14 @@ export enum RouteAlternativeType {
|
|
|
3055
3242
|
/** Best matching route based on operator and amenities preferences */
|
|
3056
3243
|
BESTMATCHING = "bestMatching",
|
|
3057
3244
|
/** An alternative to the fastest route */
|
|
3058
|
-
ALTERNATIVE = "alternative"
|
|
3245
|
+
ALTERNATIVE = "alternative"
|
|
3059
3246
|
}
|
|
3060
3247
|
|
|
3248
|
+
export type RouteApp = {
|
|
3249
|
+
/** ID of the app who requested a route */
|
|
3250
|
+
id?: Maybe<Scalars["ID"]>;
|
|
3251
|
+
};
|
|
3252
|
+
|
|
3061
3253
|
export type RouteInstruction = {
|
|
3062
3254
|
/** Information about the points on the polyline */
|
|
3063
3255
|
points?: Maybe<RouteInstructionPoints>;
|
|
@@ -3105,7 +3297,7 @@ export enum RouteInstructionSign {
|
|
|
3105
3297
|
PT_START_TRIP = "PT_START_TRIP",
|
|
3106
3298
|
PT_TRANSFER = "PT_TRANSFER",
|
|
3107
3299
|
PT_END_TRIP = "PT_END_TRIP",
|
|
3108
|
-
IGNORE = "IGNORE"
|
|
3300
|
+
IGNORE = "IGNORE"
|
|
3109
3301
|
}
|
|
3110
3302
|
|
|
3111
3303
|
export type RouteLeg = {
|
|
@@ -3127,7 +3319,7 @@ export type RouteLeg = {
|
|
|
3127
3319
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
3128
3320
|
/** Total energy left in a battery at the end of a leg, in kWh */
|
|
3129
3321
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
3130
|
-
/** Remaining range, energy in percentage, at the end of a trip
|
|
3322
|
+
/** Remaining range, energy in percentage, at the end of a trip */
|
|
3131
3323
|
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
3132
3324
|
/** Origin point location */
|
|
3133
3325
|
origin?: Maybe<FeaturePoint>;
|
|
@@ -3248,7 +3440,7 @@ export enum RouteOperatorsType {
|
|
|
3248
3440
|
/** Operators given in the operators ranking will be preferred when calculating routes */
|
|
3249
3441
|
PREFERRED = "preferred",
|
|
3250
3442
|
/** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
|
|
3251
|
-
REQUIRED = "required"
|
|
3443
|
+
REQUIRED = "required"
|
|
3252
3444
|
}
|
|
3253
3445
|
|
|
3254
3446
|
export type RoutePath = {
|
|
@@ -3268,6 +3460,8 @@ export type RoutePath = {
|
|
|
3268
3460
|
distance?: Maybe<Scalars["Float"]>;
|
|
3269
3461
|
/** Duration, in seconds, of a route path segment */
|
|
3270
3462
|
duration?: Maybe<Scalars["Float"]>;
|
|
3463
|
+
/** State of charge, in kWh, of a route path segment */
|
|
3464
|
+
stateOfCharge?: Maybe<Scalars["Float"]>;
|
|
3271
3465
|
};
|
|
3272
3466
|
|
|
3273
3467
|
/** The season of the route */
|
|
@@ -3277,7 +3471,7 @@ export enum RouteSeason {
|
|
|
3277
3471
|
/** We suppose it is winter and we have the worst weather conditions */
|
|
3278
3472
|
WINTER = "winter",
|
|
3279
3473
|
/** We fetch the current weather conditions */
|
|
3280
|
-
CURRENT = "current"
|
|
3474
|
+
CURRENT = "current"
|
|
3281
3475
|
}
|
|
3282
3476
|
|
|
3283
3477
|
export type RouteStationsAlong = {
|
|
@@ -3306,7 +3500,7 @@ export enum RouteStatus {
|
|
|
3306
3500
|
/** We finished the computing the route, without any result. Final status */
|
|
3307
3501
|
NOT_FOUND = "not_found",
|
|
3308
3502
|
/** An error occurred while computing the route. Final status */
|
|
3309
|
-
ERROR = "error"
|
|
3503
|
+
ERROR = "error"
|
|
3310
3504
|
}
|
|
3311
3505
|
|
|
3312
3506
|
export type RouteStep = {
|
|
@@ -3334,6 +3528,7 @@ export enum RouteTagType {
|
|
|
3334
3528
|
HIGHWAY = "highway",
|
|
3335
3529
|
TOLL = "toll",
|
|
3336
3530
|
FERRY = "ferry",
|
|
3531
|
+
WALKING = "walking"
|
|
3337
3532
|
}
|
|
3338
3533
|
|
|
3339
3534
|
/** Standards(plug type) stats model */
|
|
@@ -3436,18 +3631,54 @@ export type Station = {
|
|
|
3436
3631
|
};
|
|
3437
3632
|
|
|
3438
3633
|
/** Filter which can be applied to retrieve the station around list action */
|
|
3634
|
+
export type StationAroundFilter = {
|
|
3635
|
+
/** The GeoJSON Point of the center of the around me circle */
|
|
3636
|
+
location?: Maybe<PointInput>;
|
|
3637
|
+
/** Distance, in meters, to search around */
|
|
3638
|
+
distance?: Maybe<Scalars["Int"]>;
|
|
3639
|
+
/** Powers in kWh */
|
|
3640
|
+
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3641
|
+
/** Amenities available near a station */
|
|
3642
|
+
amenities?: Maybe<Array<Maybe<Amenities>>>;
|
|
3643
|
+
/** Station speed */
|
|
3644
|
+
power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
|
|
3645
|
+
/** Station socket or plug standards */
|
|
3646
|
+
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
3647
|
+
/** Flag that allows you to return only available stations */
|
|
3648
|
+
available_only?: Maybe<Scalars["Boolean"]>;
|
|
3649
|
+
/** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
|
|
3650
|
+
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3653
|
+
/** Deprecated: Replaced by filter & search params */
|
|
3439
3654
|
export type StationAroundQuery = {
|
|
3440
3655
|
/** The GeoJSON Point of the center of the around me circle */
|
|
3441
|
-
location
|
|
3656
|
+
location?: Maybe<PointInput>;
|
|
3442
3657
|
/** Distance, in meters, to search around */
|
|
3443
|
-
distance
|
|
3658
|
+
distance?: Maybe<Scalars["Int"]>;
|
|
3444
3659
|
/** Power in kWh */
|
|
3445
3660
|
power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3446
|
-
/**
|
|
3661
|
+
/** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
|
|
3447
3662
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3448
3663
|
};
|
|
3449
3664
|
|
|
3450
3665
|
/** Filter which can be applied to retrieve the station list action */
|
|
3666
|
+
export type StationListFilter = {
|
|
3667
|
+
/** Powers in kWh */
|
|
3668
|
+
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3669
|
+
/** Amenities available near a station */
|
|
3670
|
+
amenities?: Maybe<Array<Maybe<Amenities>>>;
|
|
3671
|
+
/** Station speed */
|
|
3672
|
+
power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
|
|
3673
|
+
/** Station socket or plug standards */
|
|
3674
|
+
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
3675
|
+
/** Flag that allows you to return only available stations */
|
|
3676
|
+
available_only?: Maybe<Scalars["Boolean"]>;
|
|
3677
|
+
/** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
|
|
3678
|
+
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
3679
|
+
};
|
|
3680
|
+
|
|
3681
|
+
/** Deprecated: Replaced by filter & search params */
|
|
3451
3682
|
export type StationListQuery = {
|
|
3452
3683
|
/** ID of the station */
|
|
3453
3684
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3484,7 +3715,7 @@ export enum StationSpeedType {
|
|
|
3484
3715
|
/** Fast charging stations (above 43 kWh and below 150 kWh) */
|
|
3485
3716
|
FAST = "fast",
|
|
3486
3717
|
/** Ultra fast charging stations (above 150 kWh) */
|
|
3487
|
-
TURBO = "turbo"
|
|
3718
|
+
TURBO = "turbo"
|
|
3488
3719
|
}
|
|
3489
3720
|
|
|
3490
3721
|
/** The station stats model */
|
|
@@ -3507,9 +3738,13 @@ export enum StepType {
|
|
|
3507
3738
|
TOLL = "toll",
|
|
3508
3739
|
/** This step is a ferry */
|
|
3509
3740
|
FERRY = "ferry",
|
|
3741
|
+
/** This step is reachable by walking */
|
|
3742
|
+
WALKING = "walking"
|
|
3510
3743
|
}
|
|
3511
3744
|
|
|
3512
3745
|
export type Subscription = {
|
|
3746
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
3747
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
3513
3748
|
/**
|
|
3514
3749
|
* Subscription for a new operator was added in the system event
|
|
3515
3750
|
* @deprecated operatorAdded has been removed, no value will be sent.
|
|
@@ -3564,6 +3799,10 @@ export type Subscription = {
|
|
|
3564
3799
|
stationDeletedById?: Maybe<Station>;
|
|
3565
3800
|
};
|
|
3566
3801
|
|
|
3802
|
+
export type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3803
|
+
id: Scalars["ID"];
|
|
3804
|
+
};
|
|
3805
|
+
|
|
3567
3806
|
export type SubscriptionoperatorUpdatedByIdArgs = {
|
|
3568
3807
|
id: Scalars["ID"];
|
|
3569
3808
|
};
|