@chargetrip/types 1.24.0 → 1.25.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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +21 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +21 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +176 -17
- package/graphql.schema.json +1063 -108
- package/package.json +1 -1
- package/src/graphql.ts +238 -60
- package/CHANGELOG.md +0 -176
package/package.json
CHANGED
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 */
|
|
@@ -82,7 +84,7 @@ export enum BatteryInputType {
|
|
|
82
84
|
KWH = "kwh",
|
|
83
85
|
KM = "km",
|
|
84
86
|
MILES = "miles",
|
|
85
|
-
PERCENTAGE = "percentage"
|
|
87
|
+
PERCENTAGE = "percentage"
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
/** Output of a car query */
|
|
@@ -145,7 +147,7 @@ export type Car = {
|
|
|
145
147
|
*/
|
|
146
148
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
147
149
|
/**
|
|
148
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
150
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
149
151
|
* @deprecated In favor of routing.fast_charging_support
|
|
150
152
|
*/
|
|
151
153
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -280,7 +282,7 @@ export enum CarBatteryFieldEstimations {
|
|
|
280
282
|
/** None of the battery kWh fields are estimations */
|
|
281
283
|
N = "N",
|
|
282
284
|
/** usable_kwh field is estimated */
|
|
283
|
-
U = "U"
|
|
285
|
+
U = "U"
|
|
284
286
|
}
|
|
285
287
|
|
|
286
288
|
export type CarBody = {
|
|
@@ -315,7 +317,7 @@ export enum CarDrivetrain {
|
|
|
315
317
|
/** Battery Electric Car */
|
|
316
318
|
BEV = "BEV",
|
|
317
319
|
/** Extended Range Electric Car */
|
|
318
|
-
EREV = "EREV"
|
|
320
|
+
EREV = "EREV"
|
|
319
321
|
}
|
|
320
322
|
|
|
321
323
|
/** Deprecated */
|
|
@@ -341,7 +343,7 @@ export type CarExtraConsumption = {
|
|
|
341
343
|
/** Fuel type */
|
|
342
344
|
export enum CarFuel {
|
|
343
345
|
/** Electricity only. Full electric car */
|
|
344
|
-
E = "E"
|
|
346
|
+
E = "E"
|
|
345
347
|
}
|
|
346
348
|
|
|
347
349
|
export type CarImage = {
|
|
@@ -386,13 +388,13 @@ export enum CarImageType {
|
|
|
386
388
|
/** Full-sized brand (maker) logo at 768x432 px */
|
|
387
389
|
BRAND = "brand",
|
|
388
390
|
/** Thumbnail of a full-sized brand logo at 56x24 px */
|
|
389
|
-
BRAND_THUMBNAIL = "brand_thumbnail"
|
|
391
|
+
BRAND_THUMBNAIL = "brand_thumbnail"
|
|
390
392
|
}
|
|
391
393
|
|
|
392
394
|
/** 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
395
|
export enum CarImageTypeUploadable {
|
|
394
396
|
/** Full size image with a resolution at least 1536x864 px */
|
|
395
|
-
IMAGE = "image"
|
|
397
|
+
IMAGE = "image"
|
|
396
398
|
}
|
|
397
399
|
|
|
398
400
|
/** The output element of the carList query */
|
|
@@ -453,7 +455,7 @@ export type CarList = {
|
|
|
453
455
|
*/
|
|
454
456
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
455
457
|
/**
|
|
456
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
458
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
457
459
|
* @deprecated In favor of routing.fast_charging_support
|
|
458
460
|
*/
|
|
459
461
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -621,10 +623,7 @@ export type CarListRange = {
|
|
|
621
623
|
};
|
|
622
624
|
|
|
623
625
|
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
|
-
*/
|
|
626
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
628
627
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
629
628
|
};
|
|
630
629
|
|
|
@@ -655,7 +654,7 @@ export enum CarMode {
|
|
|
655
654
|
/** Car is in production and has been released */
|
|
656
655
|
PRODUCTION = "production",
|
|
657
656
|
/** Future releases of a car, a concept of the car, specs may change over time */
|
|
658
|
-
CONCEPT = "concept"
|
|
657
|
+
CONCEPT = "concept"
|
|
659
658
|
}
|
|
660
659
|
|
|
661
660
|
export type CarNaming = {
|
|
@@ -1176,10 +1175,7 @@ export type CarPremiumRangeValue = {
|
|
|
1176
1175
|
};
|
|
1177
1176
|
|
|
1178
1177
|
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
|
-
*/
|
|
1178
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1183
1179
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1184
1180
|
/** Drag coefficient */
|
|
1185
1181
|
drag_coefficient?: Maybe<Scalars["Float"]>;
|
|
@@ -1236,7 +1232,7 @@ export enum CarPropulsion {
|
|
|
1236
1232
|
/** Front-wheel drive car */
|
|
1237
1233
|
FRONT = "Front",
|
|
1238
1234
|
/** Rear-wheel drive car */
|
|
1239
|
-
REAR = "Rear"
|
|
1235
|
+
REAR = "Rear"
|
|
1240
1236
|
}
|
|
1241
1237
|
|
|
1242
1238
|
export type CarRange = {
|
|
@@ -1264,10 +1260,7 @@ export type CarRangeValue = {
|
|
|
1264
1260
|
};
|
|
1265
1261
|
|
|
1266
1262
|
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
|
-
*/
|
|
1263
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1271
1264
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1272
1265
|
};
|
|
1273
1266
|
|
|
@@ -1280,7 +1273,7 @@ export enum CarStatus {
|
|
|
1280
1273
|
/** Is public and can be used by a customer */
|
|
1281
1274
|
PUBLIC = "public",
|
|
1282
1275
|
/** Is removed and can not be used */
|
|
1283
|
-
REMOVED = "removed"
|
|
1276
|
+
REMOVED = "removed"
|
|
1284
1277
|
}
|
|
1285
1278
|
|
|
1286
1279
|
export type CarVideo = {
|
|
@@ -1295,7 +1288,7 @@ export enum ChargeMode {
|
|
|
1295
1288
|
/** 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
1289
|
OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
|
|
1297
1290
|
/** 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"
|
|
1291
|
+
ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
|
|
1299
1292
|
}
|
|
1300
1293
|
|
|
1301
1294
|
/** A groupped representation of EVSEs */
|
|
@@ -1322,7 +1315,7 @@ export enum ChargerStatus {
|
|
|
1322
1315
|
/** The charger is unknown */
|
|
1323
1316
|
UNKNOWN = "unknown",
|
|
1324
1317
|
/** The charger has an error */
|
|
1325
|
-
ERROR = "error"
|
|
1318
|
+
ERROR = "error"
|
|
1326
1319
|
}
|
|
1327
1320
|
|
|
1328
1321
|
/** Groupping by status of the chargers */
|
|
@@ -1464,7 +1457,7 @@ export enum ConnectorType {
|
|
|
1464
1457
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1465
1458
|
NEMA_14_30 = "NEMA_14_30",
|
|
1466
1459
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1467
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
1460
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1468
1461
|
}
|
|
1469
1462
|
|
|
1470
1463
|
/** The complete contact information */
|
|
@@ -1717,7 +1710,7 @@ export enum CountryCodeAlpha2 {
|
|
|
1717
1710
|
UY = "UY",
|
|
1718
1711
|
UZ = "UZ",
|
|
1719
1712
|
VA = "VA",
|
|
1720
|
-
VC = "VC"
|
|
1713
|
+
VC = "VC"
|
|
1721
1714
|
}
|
|
1722
1715
|
|
|
1723
1716
|
/** EVSE data which extends OCPI EVSE */
|
|
@@ -1781,7 +1774,15 @@ export type FeaturePointInput = {
|
|
|
1781
1774
|
|
|
1782
1775
|
/** GeoJSON Feature type */
|
|
1783
1776
|
export enum FeatureType {
|
|
1784
|
-
FEATURE = "Feature"
|
|
1777
|
+
FEATURE = "Feature"
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
/** Navigation service providers available */
|
|
1781
|
+
export enum InstructionsFormat {
|
|
1782
|
+
/** Chargetrip raw instructions */
|
|
1783
|
+
CHARGETRIP = "Chargetrip",
|
|
1784
|
+
/** Mapbox instructions mapping */
|
|
1785
|
+
MAPBOXV5 = "MapboxV5"
|
|
1785
1786
|
}
|
|
1786
1787
|
|
|
1787
1788
|
/** Types of a leg */
|
|
@@ -1795,21 +1796,32 @@ export enum LegType {
|
|
|
1795
1796
|
/** This leg ends at the destination, and is the last leg of the route */
|
|
1796
1797
|
FINAL = "final",
|
|
1797
1798
|
/** This leg ends at the destination which is a charging station, and is the last leg of the route */
|
|
1798
|
-
STATIONFINAL = "stationFinal"
|
|
1799
|
+
STATIONFINAL = "stationFinal"
|
|
1799
1800
|
}
|
|
1800
1801
|
|
|
1801
1802
|
/** Preferred language for the mapping */
|
|
1802
1803
|
export enum MappingLanguage {
|
|
1803
|
-
|
|
1804
|
+
/** English(US) */
|
|
1805
|
+
EN = "en"
|
|
1804
1806
|
}
|
|
1805
1807
|
|
|
1806
1808
|
/** Navigation service providers available */
|
|
1807
1809
|
export enum MappingProvider {
|
|
1808
|
-
/**
|
|
1809
|
-
|
|
1810
|
+
/** Chargetrip raw instructions */
|
|
1811
|
+
CHARGETRIP = "Chargetrip",
|
|
1812
|
+
/** Mapbox instructions mapping */
|
|
1813
|
+
MAPBOXV5 = "MapboxV5"
|
|
1810
1814
|
}
|
|
1811
1815
|
|
|
1812
1816
|
export type Mutation = {
|
|
1817
|
+
/** [BETA] Start a new navigation session on top of an existing route */
|
|
1818
|
+
startNavigation?: Maybe<Scalars["ID"]>;
|
|
1819
|
+
/** [BETA] Update the navigation session */
|
|
1820
|
+
updateNavigation?: Maybe<Scalars["Void"]>;
|
|
1821
|
+
/** [BETA] Recalculate the current navigation route */
|
|
1822
|
+
recalculateNavigation?: Maybe<Scalars["Void"]>;
|
|
1823
|
+
/** [BETA] End a navigation session */
|
|
1824
|
+
finishNavigation?: Maybe<Scalars["Void"]>;
|
|
1813
1825
|
/**
|
|
1814
1826
|
* Add a new review.
|
|
1815
1827
|
* 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 +1839,22 @@ export type Mutation = {
|
|
|
1827
1839
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1828
1840
|
};
|
|
1829
1841
|
|
|
1842
|
+
export type MutationstartNavigationArgs = {
|
|
1843
|
+
input: NavigationStartInput;
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
export type MutationupdateNavigationArgs = {
|
|
1847
|
+
input: NavigationUpdateInput;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
export type MutationrecalculateNavigationArgs = {
|
|
1851
|
+
input: NavigationReacalculateInput;
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
export type MutationfinishNavigationArgs = {
|
|
1855
|
+
input: NavigationFinishInput;
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1830
1858
|
export type MutationaddReviewArgs = {
|
|
1831
1859
|
review: ReviewAdd;
|
|
1832
1860
|
};
|
|
@@ -1839,6 +1867,137 @@ export type MutationnewRouteArgs = {
|
|
|
1839
1867
|
input?: Maybe<RequestInput>;
|
|
1840
1868
|
};
|
|
1841
1869
|
|
|
1870
|
+
/** The navigation session data */
|
|
1871
|
+
export type Navigation = {
|
|
1872
|
+
/** ID of the navigation session */
|
|
1873
|
+
id: Scalars["ID"];
|
|
1874
|
+
/** The current route used for navigation */
|
|
1875
|
+
route_id?: Maybe<Scalars["String"]>;
|
|
1876
|
+
/** The current route alternative used for navigation */
|
|
1877
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1878
|
+
/** The state of a navigation session. The status can be driving, charging, finished, or error */
|
|
1879
|
+
state?: Maybe<NavigationState>;
|
|
1880
|
+
/** State of charge at the last known location */
|
|
1881
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1882
|
+
/** Last known location */
|
|
1883
|
+
last_known_location?: Maybe<Point>;
|
|
1884
|
+
/** Next charging station */
|
|
1885
|
+
next_station?: Maybe<NavigationStation>;
|
|
1886
|
+
/** A set of alternative charging stations to next station */
|
|
1887
|
+
alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
|
|
1888
|
+
/** Navigation instructions */
|
|
1889
|
+
instructions?: Maybe<Scalars["JSON"]>;
|
|
1890
|
+
};
|
|
1891
|
+
|
|
1892
|
+
/** The navigation session data */
|
|
1893
|
+
export type NavigationinstructionsArgs = {
|
|
1894
|
+
instructions_format: InstructionsFormat;
|
|
1895
|
+
language?: Maybe<MappingLanguage>;
|
|
1896
|
+
precision?: Maybe<Scalars["Int"]>;
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
/** Input for the navigation recalculate */
|
|
1900
|
+
export type NavigationFinishInput = {
|
|
1901
|
+
/** ID of the navigation session */
|
|
1902
|
+
id: Scalars["ID"];
|
|
1903
|
+
/** Current coordinates */
|
|
1904
|
+
current_location: PointInput;
|
|
1905
|
+
};
|
|
1906
|
+
|
|
1907
|
+
/** Input for the navigation recalculate */
|
|
1908
|
+
export type NavigationReacalculateInput = {
|
|
1909
|
+
/** ID of the navigation session */
|
|
1910
|
+
id: Scalars["ID"];
|
|
1911
|
+
/** State of charge at origin */
|
|
1912
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1913
|
+
/** Origin location of a new route */
|
|
1914
|
+
current_location: PointInput;
|
|
1915
|
+
/** Via points of a new route. If this field is not sent, the original via points will be used */
|
|
1916
|
+
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
1917
|
+
/** Heading of a vehicle, in degrees */
|
|
1918
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
/** Input for the navigation start */
|
|
1922
|
+
export type NavigationStartInput = {
|
|
1923
|
+
/** ID of the route of the navigation session */
|
|
1924
|
+
route_id: Scalars["String"];
|
|
1925
|
+
/** ID of the route alternative of the navigation session */
|
|
1926
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1927
|
+
/** Current coordinates */
|
|
1928
|
+
current_location: PointInput;
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
/** State of navigation session */
|
|
1932
|
+
export enum NavigationState {
|
|
1933
|
+
/** Vehicle is driving */
|
|
1934
|
+
DRIVING = "Driving",
|
|
1935
|
+
/** Vehicle is charging */
|
|
1936
|
+
CHARGING = "Charging",
|
|
1937
|
+
/** Navigation session is completed (either manually or automatically 48 hours after the last update) */
|
|
1938
|
+
FINISHED = "Finished",
|
|
1939
|
+
/** Failed to update navigation session due to route error or not found */
|
|
1940
|
+
ERROR = "Error"
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
/** Navigation session station type */
|
|
1944
|
+
export type NavigationStation = {
|
|
1945
|
+
/** The ID as string of the charging station */
|
|
1946
|
+
station_id?: Maybe<Scalars["String"]>;
|
|
1947
|
+
/** GPS location of the charging station */
|
|
1948
|
+
station_location?: Maybe<Point>;
|
|
1949
|
+
/** An array with all GPS locations of via points until the next charging station */
|
|
1950
|
+
via?: Maybe<Array<Maybe<Point>>>;
|
|
1951
|
+
/** Estimated state of charge, in kWh, at arrival on the next charging station */
|
|
1952
|
+
estimated_state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1953
|
+
/** Estimated consumption, in kWh, from last the known location until the next charging station */
|
|
1954
|
+
estimated_consumption?: Maybe<Scalars["Float"]>;
|
|
1955
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
1956
|
+
estimated_duration?: Maybe<Scalars["Int"]>;
|
|
1957
|
+
};
|
|
1958
|
+
|
|
1959
|
+
/** Input for the navigation session update telemetry data */
|
|
1960
|
+
export type NavigationTelemetryUpdateInput = {
|
|
1961
|
+
/** State of charge at the last known location */
|
|
1962
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1963
|
+
/** Indicates if a vehicle is charging */
|
|
1964
|
+
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
1965
|
+
/** Tire pressure. This information should come from telemetry */
|
|
1966
|
+
tire_pressure?: Maybe<Scalars["Float"]>;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
/** Input for the navigation update */
|
|
1970
|
+
export type NavigationUpdateInput = {
|
|
1971
|
+
/** ID of the navigation session */
|
|
1972
|
+
id: Scalars["ID"];
|
|
1973
|
+
/** Heading of a vehicle, in degrees */
|
|
1974
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1975
|
+
/** A list of locations that were collected since the last update */
|
|
1976
|
+
locations_data: Array<NavigationUpdateLocationsInput>;
|
|
1977
|
+
/** Telemetry data input */
|
|
1978
|
+
telemetry?: Maybe<NavigationTelemetryUpdateInput>;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
/** Properties of the location */
|
|
1982
|
+
export type NavigationUpdateLocationPropertiesInput = {
|
|
1983
|
+
/** Current route leg index corresponding to a location */
|
|
1984
|
+
route_leg: Scalars["Int"];
|
|
1985
|
+
/** Speed at a location */
|
|
1986
|
+
speed: Scalars["Float"];
|
|
1987
|
+
/** UNIX timestamp at location */
|
|
1988
|
+
timestamp: Scalars["Int"];
|
|
1989
|
+
/** Altitude information. This is optional */
|
|
1990
|
+
altitude?: Maybe<Scalars["Int"]>;
|
|
1991
|
+
};
|
|
1992
|
+
|
|
1993
|
+
/** Input for the navigation update locations */
|
|
1994
|
+
export type NavigationUpdateLocationsInput = {
|
|
1995
|
+
/** GPS location */
|
|
1996
|
+
geometry: PointInput;
|
|
1997
|
+
/** Extra information about the location */
|
|
1998
|
+
properties: NavigationUpdateLocationPropertiesInput;
|
|
1999
|
+
};
|
|
2000
|
+
|
|
1842
2001
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
1843
2002
|
export type OCPIAdditionalGeoLocation = {
|
|
1844
2003
|
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
|
|
@@ -1876,7 +2035,7 @@ export enum OCPICapability {
|
|
|
1876
2035
|
/** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
|
|
1877
2036
|
UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
|
|
1878
2037
|
/** 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"
|
|
2038
|
+
START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
|
|
1880
2039
|
}
|
|
1881
2040
|
|
|
1882
2041
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -1884,7 +2043,7 @@ export enum OCPIConnectorFormat {
|
|
|
1884
2043
|
/** The connector is a socket; the EV user needs to bring a fitting plug. */
|
|
1885
2044
|
SOCKET = "SOCKET",
|
|
1886
2045
|
/** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
|
|
1887
|
-
CABLE = "CABLE"
|
|
2046
|
+
CABLE = "CABLE"
|
|
1888
2047
|
}
|
|
1889
2048
|
|
|
1890
2049
|
/** Deprecated: Please use ConnectorType instead */
|
|
@@ -1966,7 +2125,7 @@ export enum OCPIConnectorType {
|
|
|
1966
2125
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
1967
2126
|
NEMA_14_30 = "NEMA_14_30",
|
|
1968
2127
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
1969
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
2128
|
+
NEMA_14_50 = "NEMA_14_50"
|
|
1970
2129
|
}
|
|
1971
2130
|
|
|
1972
2131
|
export enum OCPIDayOfWeek {
|
|
@@ -1976,7 +2135,7 @@ export enum OCPIDayOfWeek {
|
|
|
1976
2135
|
THURSDAY = "THURSDAY",
|
|
1977
2136
|
FRIDAY = "FRIDAY",
|
|
1978
2137
|
SATURDAY = "SATURDAY",
|
|
1979
|
-
SUNDAY = "SUNDAY"
|
|
2138
|
+
SUNDAY = "SUNDAY"
|
|
1980
2139
|
}
|
|
1981
2140
|
|
|
1982
2141
|
export type OCPIDisplayText = {
|
|
@@ -2024,7 +2183,7 @@ export enum OCPIEnergySourceCategory {
|
|
|
2024
2183
|
/** Regenerative power from wind turbines. */
|
|
2025
2184
|
WIND = "WIND",
|
|
2026
2185
|
/** Regenerative power from water turbines. */
|
|
2027
|
-
WATER = "WATER"
|
|
2186
|
+
WATER = "WATER"
|
|
2028
2187
|
}
|
|
2029
2188
|
|
|
2030
2189
|
/** Amount of waste produced/emitted per kWh. */
|
|
@@ -2040,7 +2199,7 @@ export enum OCPIEnvironmentalImpactCategory {
|
|
|
2040
2199
|
/** Produced nuclear waste in grams per kilowatthour. */
|
|
2041
2200
|
NUCLEAR_WASTE = "NUCLEAR_WASTE",
|
|
2042
2201
|
/** Exhausted carbon dioxide in grams per kilowatthour. */
|
|
2043
|
-
CARBON_DIOXIDE = "CARBON_DIOXIDE"
|
|
2202
|
+
CARBON_DIOXIDE = "CARBON_DIOXIDE"
|
|
2044
2203
|
}
|
|
2045
2204
|
|
|
2046
2205
|
/** Specifies one exceptional period for opening or access hours. */
|
|
@@ -2091,7 +2250,7 @@ export enum OCPIFacility {
|
|
|
2091
2250
|
/** A Fuel station. */
|
|
2092
2251
|
FUEL_STATION = "FUEL_STATION",
|
|
2093
2252
|
/** Wifi or other type of internet available. */
|
|
2094
|
-
WIFI = "WIFI"
|
|
2253
|
+
WIFI = "WIFI"
|
|
2095
2254
|
}
|
|
2096
2255
|
|
|
2097
2256
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
@@ -2144,7 +2303,7 @@ export enum OCPIImageCategory {
|
|
|
2144
2303
|
/** Other */
|
|
2145
2304
|
OTHER = "OTHER",
|
|
2146
2305
|
/** Logo of the charge point owner, for example a local store, to be displayed in the EVSEs detailed information view. */
|
|
2147
|
-
OWNER = "OWNER"
|
|
2306
|
+
OWNER = "OWNER"
|
|
2148
2307
|
}
|
|
2149
2308
|
|
|
2150
2309
|
/** This value, if provided, represents the restriction to the parking spot for different purposes. */
|
|
@@ -2158,7 +2317,7 @@ export enum OCPIParkingRestriction {
|
|
|
2158
2317
|
/** Parking spot for customers/guests only, for example in case of a hotel or shop. */
|
|
2159
2318
|
CUSTOMERS = "CUSTOMERS",
|
|
2160
2319
|
/** Parking spot only suitable for (electric) motorcycles or scooters. */
|
|
2161
|
-
MOTORCYCLES = "MOTORCYCLES"
|
|
2320
|
+
MOTORCYCLES = "MOTORCYCLES"
|
|
2162
2321
|
}
|
|
2163
2322
|
|
|
2164
2323
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
@@ -2174,7 +2333,7 @@ export enum OCPIParkingType {
|
|
|
2174
2333
|
/** Parking in public space along a street. */
|
|
2175
2334
|
ON_STREET = "ON_STREET",
|
|
2176
2335
|
/** Multistorey car park, mainly underground. */
|
|
2177
|
-
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
|
|
2336
|
+
UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
|
|
2178
2337
|
}
|
|
2179
2338
|
|
|
2180
2339
|
export enum OCPIPowerType {
|
|
@@ -2187,7 +2346,7 @@ export enum OCPIPowerType {
|
|
|
2187
2346
|
/** AC two phases using split phase system. */
|
|
2188
2347
|
AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
|
|
2189
2348
|
/** Direct Current. */
|
|
2190
|
-
DC = "DC"
|
|
2349
|
+
DC = "DC"
|
|
2191
2350
|
}
|
|
2192
2351
|
|
|
2193
2352
|
export type OCPIPrice = {
|
|
@@ -2222,7 +2381,7 @@ export enum OCPIReservationRestrictionType {
|
|
|
2222
2381
|
/** Used in TariffElements to describe costs for a reservation. */
|
|
2223
2382
|
RESERVATION = "RESERVATION",
|
|
2224
2383
|
/** 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"
|
|
2384
|
+
RESERVATION_EXPIRES = "RESERVATION_EXPIRES"
|
|
2226
2385
|
}
|
|
2227
2386
|
|
|
2228
2387
|
/** The status of an EVSE. */
|
|
@@ -2244,7 +2403,7 @@ export enum OCPIStatus {
|
|
|
2244
2403
|
/** The EVSE/Connector is reserved for a particular EV driver and is unavailable for other drivers. */
|
|
2245
2404
|
RESERVED = "RESERVED",
|
|
2246
2405
|
/** No status information available (also used when offline). */
|
|
2247
|
-
UNKNOWN = "UNKNOWN"
|
|
2406
|
+
UNKNOWN = "UNKNOWN"
|
|
2248
2407
|
}
|
|
2249
2408
|
|
|
2250
2409
|
/** 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 +2455,7 @@ export enum OCPITariffDimensionType {
|
|
|
2296
2455
|
/** Time not charging: defined in hours, step_size multiplier: 1 second */
|
|
2297
2456
|
PARKING_TIME = "PARKING_TIME",
|
|
2298
2457
|
/** 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"
|
|
2458
|
+
TIME = "TIME"
|
|
2300
2459
|
}
|
|
2301
2460
|
|
|
2302
2461
|
export type OCPITariffElement = {
|
|
@@ -2347,7 +2506,7 @@ export enum OCPITariffType {
|
|
|
2347
2506
|
/** Used to describe that a tariff is valid when charging preference: GREEN is set for the session */
|
|
2348
2507
|
PROFILE_GREEN = "PROFILE_GREEN",
|
|
2349
2508
|
/** 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"
|
|
2509
|
+
REGULAR = "REGULAR"
|
|
2351
2510
|
}
|
|
2352
2511
|
|
|
2353
2512
|
/** The operator data which extends OCPI BusinessDetails */
|
|
@@ -2400,7 +2559,7 @@ export enum ParkingCost {
|
|
|
2400
2559
|
/** Parking is free */
|
|
2401
2560
|
FREE = "free",
|
|
2402
2561
|
/** Parking includes a fee */
|
|
2403
|
-
PAID = "paid"
|
|
2562
|
+
PAID = "paid"
|
|
2404
2563
|
}
|
|
2405
2564
|
|
|
2406
2565
|
export type PathSegment = {
|
|
@@ -2436,7 +2595,7 @@ export type PointInput = {
|
|
|
2436
2595
|
|
|
2437
2596
|
/** GeoJSON Point type */
|
|
2438
2597
|
export enum PointType {
|
|
2439
|
-
POINT = "Point"
|
|
2598
|
+
POINT = "Point"
|
|
2440
2599
|
}
|
|
2441
2600
|
|
|
2442
2601
|
/** The list of powers for the speed type */
|
|
@@ -2500,7 +2659,7 @@ export enum PricingListElementType {
|
|
|
2500
2659
|
/** Fixed price per hour */
|
|
2501
2660
|
TIME = "TIME",
|
|
2502
2661
|
/** Parking price per hour */
|
|
2503
|
-
PARKING_TIME = "PARKING_TIME"
|
|
2662
|
+
PARKING_TIME = "PARKING_TIME"
|
|
2504
2663
|
}
|
|
2505
2664
|
|
|
2506
2665
|
export type PricingListProduct = {
|
|
@@ -2525,6 +2684,8 @@ export type Query = {
|
|
|
2525
2684
|
carPremium?: Maybe<CarPremium>;
|
|
2526
2685
|
/** Get a full list of cars */
|
|
2527
2686
|
carList?: Maybe<Array<Maybe<CarList>>>;
|
|
2687
|
+
/** [BETA] Get a navigation session by ID */
|
|
2688
|
+
navigation?: Maybe<Navigation>;
|
|
2528
2689
|
/** Get a full list of operators */
|
|
2529
2690
|
operatorList?: Maybe<Array<Maybe<Operator>>>;
|
|
2530
2691
|
/** Get information about an operator by its ID */
|
|
@@ -2553,7 +2714,7 @@ export type Query = {
|
|
|
2553
2714
|
tariff?: Maybe<OCPITariff>;
|
|
2554
2715
|
/** Get the full list of tariffs */
|
|
2555
2716
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
2556
|
-
/**
|
|
2717
|
+
/** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
|
|
2557
2718
|
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
2558
2719
|
};
|
|
2559
2720
|
|
|
@@ -2578,6 +2739,10 @@ export type QuerycarListArgs = {
|
|
|
2578
2739
|
page?: Maybe<Scalars["Int"]>;
|
|
2579
2740
|
};
|
|
2580
2741
|
|
|
2742
|
+
export type QuerynavigationArgs = {
|
|
2743
|
+
id: Scalars["ID"];
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2581
2746
|
export type QueryoperatorListArgs = {
|
|
2582
2747
|
query?: Maybe<OperatorListQuery>;
|
|
2583
2748
|
search?: Maybe<Scalars["String"]>;
|
|
@@ -2831,7 +2996,7 @@ export type RequestRouteInput = {
|
|
|
2831
2996
|
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
2832
2997
|
/** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
|
|
2833
2998
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
2834
|
-
/**
|
|
2999
|
+
/** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
|
|
2835
3000
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
2836
3001
|
};
|
|
2837
3002
|
|
|
@@ -2958,6 +3123,8 @@ export type Route = {
|
|
|
2958
3123
|
user?: Maybe<RequestUser>;
|
|
2959
3124
|
/** Route request data */
|
|
2960
3125
|
routeRequest?: Maybe<RequestRoute>;
|
|
3126
|
+
/** Application who requested a route */
|
|
3127
|
+
app?: Maybe<RouteApp>;
|
|
2961
3128
|
/** Route status */
|
|
2962
3129
|
status?: Maybe<RouteStatus>;
|
|
2963
3130
|
};
|
|
@@ -3055,9 +3222,14 @@ export enum RouteAlternativeType {
|
|
|
3055
3222
|
/** Best matching route based on operator and amenities preferences */
|
|
3056
3223
|
BESTMATCHING = "bestMatching",
|
|
3057
3224
|
/** An alternative to the fastest route */
|
|
3058
|
-
ALTERNATIVE = "alternative"
|
|
3225
|
+
ALTERNATIVE = "alternative"
|
|
3059
3226
|
}
|
|
3060
3227
|
|
|
3228
|
+
export type RouteApp = {
|
|
3229
|
+
/** ID of the app who requested a route */
|
|
3230
|
+
id?: Maybe<Scalars["ID"]>;
|
|
3231
|
+
};
|
|
3232
|
+
|
|
3061
3233
|
export type RouteInstruction = {
|
|
3062
3234
|
/** Information about the points on the polyline */
|
|
3063
3235
|
points?: Maybe<RouteInstructionPoints>;
|
|
@@ -3105,7 +3277,7 @@ export enum RouteInstructionSign {
|
|
|
3105
3277
|
PT_START_TRIP = "PT_START_TRIP",
|
|
3106
3278
|
PT_TRANSFER = "PT_TRANSFER",
|
|
3107
3279
|
PT_END_TRIP = "PT_END_TRIP",
|
|
3108
|
-
IGNORE = "IGNORE"
|
|
3280
|
+
IGNORE = "IGNORE"
|
|
3109
3281
|
}
|
|
3110
3282
|
|
|
3111
3283
|
export type RouteLeg = {
|
|
@@ -3248,7 +3420,7 @@ export enum RouteOperatorsType {
|
|
|
3248
3420
|
/** Operators given in the operators ranking will be preferred when calculating routes */
|
|
3249
3421
|
PREFERRED = "preferred",
|
|
3250
3422
|
/** Operators given in the operators ranking will be required when calculating routes, all other operators will be ignored */
|
|
3251
|
-
REQUIRED = "required"
|
|
3423
|
+
REQUIRED = "required"
|
|
3252
3424
|
}
|
|
3253
3425
|
|
|
3254
3426
|
export type RoutePath = {
|
|
@@ -3277,7 +3449,7 @@ export enum RouteSeason {
|
|
|
3277
3449
|
/** We suppose it is winter and we have the worst weather conditions */
|
|
3278
3450
|
WINTER = "winter",
|
|
3279
3451
|
/** We fetch the current weather conditions */
|
|
3280
|
-
CURRENT = "current"
|
|
3452
|
+
CURRENT = "current"
|
|
3281
3453
|
}
|
|
3282
3454
|
|
|
3283
3455
|
export type RouteStationsAlong = {
|
|
@@ -3306,7 +3478,7 @@ export enum RouteStatus {
|
|
|
3306
3478
|
/** We finished the computing the route, without any result. Final status */
|
|
3307
3479
|
NOT_FOUND = "not_found",
|
|
3308
3480
|
/** An error occurred while computing the route. Final status */
|
|
3309
|
-
ERROR = "error"
|
|
3481
|
+
ERROR = "error"
|
|
3310
3482
|
}
|
|
3311
3483
|
|
|
3312
3484
|
export type RouteStep = {
|
|
@@ -3333,7 +3505,7 @@ export enum RouteTagType {
|
|
|
3333
3505
|
ROAD = "road",
|
|
3334
3506
|
HIGHWAY = "highway",
|
|
3335
3507
|
TOLL = "toll",
|
|
3336
|
-
FERRY = "ferry"
|
|
3508
|
+
FERRY = "ferry"
|
|
3337
3509
|
}
|
|
3338
3510
|
|
|
3339
3511
|
/** Standards(plug type) stats model */
|
|
@@ -3484,7 +3656,7 @@ export enum StationSpeedType {
|
|
|
3484
3656
|
/** Fast charging stations (above 43 kWh and below 150 kWh) */
|
|
3485
3657
|
FAST = "fast",
|
|
3486
3658
|
/** Ultra fast charging stations (above 150 kWh) */
|
|
3487
|
-
TURBO = "turbo"
|
|
3659
|
+
TURBO = "turbo"
|
|
3488
3660
|
}
|
|
3489
3661
|
|
|
3490
3662
|
/** The station stats model */
|
|
@@ -3506,10 +3678,12 @@ export enum StepType {
|
|
|
3506
3678
|
/** This step is a toll road */
|
|
3507
3679
|
TOLL = "toll",
|
|
3508
3680
|
/** This step is a ferry */
|
|
3509
|
-
FERRY = "ferry"
|
|
3681
|
+
FERRY = "ferry"
|
|
3510
3682
|
}
|
|
3511
3683
|
|
|
3512
3684
|
export type Subscription = {
|
|
3685
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
3686
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
3513
3687
|
/**
|
|
3514
3688
|
* Subscription for a new operator was added in the system event
|
|
3515
3689
|
* @deprecated operatorAdded has been removed, no value will be sent.
|
|
@@ -3564,6 +3738,10 @@ export type Subscription = {
|
|
|
3564
3738
|
stationDeletedById?: Maybe<Station>;
|
|
3565
3739
|
};
|
|
3566
3740
|
|
|
3741
|
+
export type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3742
|
+
id: Scalars["ID"];
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3567
3745
|
export type SubscriptionoperatorUpdatedByIdArgs = {
|
|
3568
3746
|
id: Scalars["ID"];
|
|
3569
3747
|
};
|