@chargetrip/types 1.47.0 → 1.47.2
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 +79 -44
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +79 -44
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +560 -174
- package/graphql.schema.json +2792 -437
- package/package.json +2 -2
- package/src/graphql.ts +609 -180
- package/CHANGELOG.md +0 -405
package/dist/node/index.js
CHANGED
|
@@ -32,9 +32,15 @@ exports.AdhocAuthorisationMethod = void 0;
|
|
|
32
32
|
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
33
33
|
})(exports.AdhocAuthorisationMethod || (exports.AdhocAuthorisationMethod = {}));
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
exports.AirPressureUnit = void 0;
|
|
36
|
+
|
|
37
|
+
(function (AirPressureUnit) {
|
|
38
|
+
AirPressureUnit["MILLIBAR"] = "millibar";
|
|
39
|
+
})(exports.AirPressureUnit || (exports.AirPressureUnit = {}));
|
|
40
|
+
|
|
41
|
+
/** Amenities available near a station. */
|
|
36
42
|
exports.Amenities = void 0;
|
|
37
|
-
/**
|
|
43
|
+
/** Amenity data. */
|
|
38
44
|
|
|
39
45
|
(function (Amenities) {
|
|
40
46
|
Amenities["PARK"] = "park";
|
|
@@ -51,6 +57,7 @@ exports.Amenities = void 0;
|
|
|
51
57
|
|
|
52
58
|
/** A list of amenity types. */
|
|
53
59
|
exports.AmenityType = void 0;
|
|
60
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
54
61
|
|
|
55
62
|
(function (AmenityType) {
|
|
56
63
|
AmenityType["PARK"] = "park";
|
|
@@ -65,6 +72,15 @@ exports.AmenityType = void 0;
|
|
|
65
72
|
AmenityType["PHARMACY"] = "pharmacy";
|
|
66
73
|
})(exports.AmenityType || (exports.AmenityType = {}));
|
|
67
74
|
|
|
75
|
+
exports.AmenityWheelchairAccessibilityType = void 0;
|
|
76
|
+
|
|
77
|
+
(function (AmenityWheelchairAccessibilityType) {
|
|
78
|
+
AmenityWheelchairAccessibilityType["YES"] = "yes";
|
|
79
|
+
AmenityWheelchairAccessibilityType["LIMITED"] = "limited";
|
|
80
|
+
AmenityWheelchairAccessibilityType["NO"] = "no";
|
|
81
|
+
AmenityWheelchairAccessibilityType["DESIGNATED"] = "designated";
|
|
82
|
+
})(exports.AmenityWheelchairAccessibilityType || (exports.AmenityWheelchairAccessibilityType = {}));
|
|
83
|
+
|
|
68
84
|
/** Auxiliary consumption units. */
|
|
69
85
|
exports.AuxiliaryConsumptionUnit = void 0;
|
|
70
86
|
/** The type of the battery value. */
|
|
@@ -97,7 +113,6 @@ exports.ChargeMode = void 0;
|
|
|
97
113
|
ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
|
|
98
114
|
})(exports.ChargeMode || (exports.ChargeMode = {}));
|
|
99
115
|
|
|
100
|
-
/** Charge speed unit. */
|
|
101
116
|
exports.ChargeSpeedUnit = void 0;
|
|
102
117
|
|
|
103
118
|
(function (ChargeSpeedUnit) {
|
|
@@ -106,7 +121,6 @@ exports.ChargeSpeedUnit = void 0;
|
|
|
106
121
|
ChargeSpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
107
122
|
})(exports.ChargeSpeedUnit || (exports.ChargeSpeedUnit = {}));
|
|
108
123
|
|
|
109
|
-
/** Status of a charger. */
|
|
110
124
|
exports.ChargerStatus = void 0;
|
|
111
125
|
/** Grouping by status of the chargers. */
|
|
112
126
|
|
|
@@ -241,6 +255,8 @@ exports.ConnectorType = void 0;
|
|
|
241
255
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
242
256
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
243
257
|
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
258
|
+
ConnectorType["GBT_AC"] = "GBT_AC";
|
|
259
|
+
ConnectorType["GBT_DC"] = "GBT_DC";
|
|
244
260
|
})(exports.ConnectorType || (exports.ConnectorType = {}));
|
|
245
261
|
|
|
246
262
|
exports.ConsumptionUnit = void 0;
|
|
@@ -259,6 +275,7 @@ exports.ConsumptionUnit = void 0;
|
|
|
259
275
|
exports.CountryCodeAlpha2 = void 0;
|
|
260
276
|
|
|
261
277
|
(function (CountryCodeAlpha2) {
|
|
278
|
+
CountryCodeAlpha2["AA"] = "AA";
|
|
262
279
|
CountryCodeAlpha2["AD"] = "AD";
|
|
263
280
|
CountryCodeAlpha2["AE"] = "AE";
|
|
264
281
|
CountryCodeAlpha2["AF"] = "AF";
|
|
@@ -853,7 +870,6 @@ exports.DayOfWeek = void 0;
|
|
|
853
870
|
})(exports.DayOfWeek || (exports.DayOfWeek = {}));
|
|
854
871
|
|
|
855
872
|
exports.DimensionUnit = void 0;
|
|
856
|
-
/** Distance unit */
|
|
857
873
|
|
|
858
874
|
(function (DimensionUnit) {
|
|
859
875
|
DimensionUnit["METER"] = "meter";
|
|
@@ -946,7 +962,6 @@ exports.HeavyVehiclesEUType = void 0;
|
|
|
946
962
|
})(exports.HeavyVehiclesEUType || (exports.HeavyVehiclesEUType = {}));
|
|
947
963
|
|
|
948
964
|
exports.HeavyVehiclesFacility = void 0;
|
|
949
|
-
/** Navigation service providers available */
|
|
950
965
|
|
|
951
966
|
(function (HeavyVehiclesFacility) {
|
|
952
967
|
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
@@ -956,13 +971,6 @@ exports.HeavyVehiclesFacility = void 0;
|
|
|
956
971
|
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
957
972
|
})(exports.HeavyVehiclesFacility || (exports.HeavyVehiclesFacility = {}));
|
|
958
973
|
|
|
959
|
-
exports.InstructionsFormat = void 0;
|
|
960
|
-
|
|
961
|
-
(function (InstructionsFormat) {
|
|
962
|
-
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
963
|
-
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
964
|
-
})(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
|
|
965
|
-
|
|
966
974
|
exports.IsolineFerryConnectionsType = void 0;
|
|
967
975
|
|
|
968
976
|
(function (IsolineFerryConnectionsType) {
|
|
@@ -1002,26 +1010,11 @@ exports.LegType = void 0;
|
|
|
1002
1010
|
|
|
1003
1011
|
/** GeoJSON LineString type. */
|
|
1004
1012
|
exports.LineStringType = void 0;
|
|
1005
|
-
/** Preferred language for the mapping */
|
|
1006
1013
|
|
|
1007
1014
|
(function (LineStringType) {
|
|
1008
1015
|
LineStringType["LINESTRING"] = "LineString";
|
|
1009
1016
|
})(exports.LineStringType || (exports.LineStringType = {}));
|
|
1010
1017
|
|
|
1011
|
-
exports.MappingLanguage = void 0;
|
|
1012
|
-
/** Navigation service providers available */
|
|
1013
|
-
|
|
1014
|
-
(function (MappingLanguage) {
|
|
1015
|
-
MappingLanguage["EN"] = "en";
|
|
1016
|
-
})(exports.MappingLanguage || (exports.MappingLanguage = {}));
|
|
1017
|
-
|
|
1018
|
-
exports.MappingProvider = void 0;
|
|
1019
|
-
|
|
1020
|
-
(function (MappingProvider) {
|
|
1021
|
-
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
1022
|
-
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
1023
|
-
})(exports.MappingProvider || (exports.MappingProvider = {}));
|
|
1024
|
-
|
|
1025
1018
|
exports.MeasurementUnit = void 0;
|
|
1026
1019
|
/** A GeoJSON Polygon. */
|
|
1027
1020
|
|
|
@@ -1037,16 +1030,16 @@ exports.MultiPolygonType = void 0;
|
|
|
1037
1030
|
MultiPolygonType["MULTIPOLYGON"] = "MultiPolygon";
|
|
1038
1031
|
})(exports.MultiPolygonType || (exports.MultiPolygonType = {}));
|
|
1039
1032
|
|
|
1040
|
-
/** State of navigation session */
|
|
1041
|
-
exports.
|
|
1042
|
-
/**
|
|
1033
|
+
/** State of navigation session. */
|
|
1034
|
+
exports.NavigationStatus = void 0;
|
|
1035
|
+
/** The navigation session subscription data */
|
|
1043
1036
|
|
|
1044
|
-
(function (
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
})(exports.
|
|
1037
|
+
(function (NavigationStatus) {
|
|
1038
|
+
NavigationStatus["DRIVING"] = "driving";
|
|
1039
|
+
NavigationStatus["CHARGING"] = "charging";
|
|
1040
|
+
NavigationStatus["FINISHED"] = "finished";
|
|
1041
|
+
NavigationStatus["ERROR"] = "error";
|
|
1042
|
+
})(exports.NavigationStatus || (exports.NavigationStatus = {}));
|
|
1050
1043
|
|
|
1051
1044
|
/** The capabilities of an EVSE. */
|
|
1052
1045
|
exports.OCPICapability = void 0;
|
|
@@ -1118,6 +1111,8 @@ exports.OCPIConnectorType = void 0;
|
|
|
1118
1111
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
1119
1112
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
1120
1113
|
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
1114
|
+
OCPIConnectorType["GBT_AC"] = "GBT_AC";
|
|
1115
|
+
OCPIConnectorType["GBT_DC"] = "GBT_DC";
|
|
1121
1116
|
})(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
|
|
1122
1117
|
|
|
1123
1118
|
exports.OCPIDayOfWeek = void 0;
|
|
@@ -1319,7 +1314,16 @@ exports.OICPValueAddedServices = void 0;
|
|
|
1319
1314
|
OICPValueAddedServices["NONE"] = "none";
|
|
1320
1315
|
})(exports.OICPValueAddedServices || (exports.OICPValueAddedServices = {}));
|
|
1321
1316
|
|
|
1317
|
+
exports.OperatorPreferenceType = void 0;
|
|
1322
1318
|
/** Operator ranking level. */
|
|
1319
|
+
|
|
1320
|
+
(function (OperatorPreferenceType) {
|
|
1321
|
+
OperatorPreferenceType["RANKED"] = "ranked";
|
|
1322
|
+
OperatorPreferenceType["UNRANKED"] = "unranked";
|
|
1323
|
+
OperatorPreferenceType["AVOIDED"] = "avoided";
|
|
1324
|
+
OperatorPreferenceType["EXCLUDED"] = "excluded";
|
|
1325
|
+
})(exports.OperatorPreferenceType || (exports.OperatorPreferenceType = {}));
|
|
1326
|
+
|
|
1323
1327
|
exports.OperatorRankingLevel = void 0;
|
|
1324
1328
|
/** Ranking configuration for the operator. An operator can be ranked on different levels in different countries. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
1325
1329
|
|
|
@@ -1361,7 +1365,6 @@ exports.PowerSupported = void 0;
|
|
|
1361
1365
|
})(exports.PowerSupported || (exports.PowerSupported = {}));
|
|
1362
1366
|
|
|
1363
1367
|
exports.PowerUnit = void 0;
|
|
1364
|
-
/** Pressure units. */
|
|
1365
1368
|
|
|
1366
1369
|
(function (PowerUnit) {
|
|
1367
1370
|
PowerUnit["KILOWATT"] = "kilowatt";
|
|
@@ -1386,7 +1389,6 @@ exports.PricingListElementType = void 0;
|
|
|
1386
1389
|
|
|
1387
1390
|
/** Types of an alternative route. */
|
|
1388
1391
|
exports.RouteAlternativeType = void 0;
|
|
1389
|
-
/** Amenity preferences for a route. */
|
|
1390
1392
|
|
|
1391
1393
|
(function (RouteAlternativeType) {
|
|
1392
1394
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
@@ -1463,6 +1465,13 @@ exports.RouteDetailsTag = void 0;
|
|
|
1463
1465
|
RouteDetailsTag["CROSSBORDER"] = "crossborder";
|
|
1464
1466
|
})(exports.RouteDetailsTag || (exports.RouteDetailsTag = {}));
|
|
1465
1467
|
|
|
1468
|
+
exports.RouteDrivingStyle = void 0;
|
|
1469
|
+
|
|
1470
|
+
(function (RouteDrivingStyle) {
|
|
1471
|
+
RouteDrivingStyle["ECO"] = "eco";
|
|
1472
|
+
RouteDrivingStyle["SPORT"] = "sport";
|
|
1473
|
+
})(exports.RouteDrivingStyle || (exports.RouteDrivingStyle = {}));
|
|
1474
|
+
|
|
1466
1475
|
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1467
1476
|
exports.RouteInstructionSign = void 0;
|
|
1468
1477
|
|
|
@@ -1528,6 +1537,19 @@ exports.RouteOperationalElectricityClimate = void 0;
|
|
|
1528
1537
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1529
1538
|
})(exports.RouteOperationalElectricityClimate || (exports.RouteOperationalElectricityClimate = {}));
|
|
1530
1539
|
|
|
1540
|
+
/** Energy source models. */
|
|
1541
|
+
exports.RouteOperationalElectricityEnergySourceModel = void 0;
|
|
1542
|
+
|
|
1543
|
+
(function (RouteOperationalElectricityEnergySourceModel) {
|
|
1544
|
+
RouteOperationalElectricityEnergySourceModel["GRID_MONTHLY_AVERAGE"] = "grid_monthly_average";
|
|
1545
|
+
RouteOperationalElectricityEnergySourceModel["GRID_HOURLY_AVERAGE"] = "grid_hourly_average";
|
|
1546
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_MONTHLY_AVERAGE"] = "grid_demand_based_monthly_average";
|
|
1547
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_HOURLY_AVERAGE"] = "grid_demand_based_hourly_average";
|
|
1548
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE"] = "climate_demand_based_seasonal_average";
|
|
1549
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_HOURLY_AVERAGE"] = "climate_demand_based_hourly_average";
|
|
1550
|
+
RouteOperationalElectricityEnergySourceModel["DEFAULT"] = "default";
|
|
1551
|
+
})(exports.RouteOperationalElectricityEnergySourceModel || (exports.RouteOperationalElectricityEnergySourceModel = {}));
|
|
1552
|
+
|
|
1531
1553
|
/** Yearly seasons. */
|
|
1532
1554
|
exports.RouteOperationalElectricitySeason = void 0;
|
|
1533
1555
|
|
|
@@ -1577,6 +1599,7 @@ exports.RouteStatus = void 0;
|
|
|
1577
1599
|
|
|
1578
1600
|
/** Tags of a route. */
|
|
1579
1601
|
exports.RouteTagType = void 0;
|
|
1602
|
+
/** Specifies a temporal window to search for stations with matching amenity types. Defined by a center from the journey origin and a surrounding time margin. */
|
|
1580
1603
|
|
|
1581
1604
|
(function (RouteTagType) {
|
|
1582
1605
|
RouteTagType["ROAD"] = "road";
|
|
@@ -1587,8 +1610,13 @@ exports.RouteTagType = void 0;
|
|
|
1587
1610
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1588
1611
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
1589
1612
|
|
|
1613
|
+
exports.SolarIrradianceUnit = void 0;
|
|
1614
|
+
|
|
1615
|
+
(function (SolarIrradianceUnit) {
|
|
1616
|
+
SolarIrradianceUnit["WATTS_PER_SQUARE_METER"] = "watts_per_square_meter";
|
|
1617
|
+
})(exports.SolarIrradianceUnit || (exports.SolarIrradianceUnit = {}));
|
|
1618
|
+
|
|
1590
1619
|
exports.SortDirection = void 0;
|
|
1591
|
-
/** Speed units. */
|
|
1592
1620
|
|
|
1593
1621
|
(function (SortDirection) {
|
|
1594
1622
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1602,7 +1630,6 @@ exports.SpeedUnit = void 0;
|
|
|
1602
1630
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1603
1631
|
})(exports.SpeedUnit || (exports.SpeedUnit = {}));
|
|
1604
1632
|
|
|
1605
|
-
/** State of charge unit. */
|
|
1606
1633
|
exports.StateOfChargeUnit = void 0;
|
|
1607
1634
|
/** Station data which extends OCPI Location. */
|
|
1608
1635
|
|
|
@@ -1656,7 +1683,6 @@ exports.StepType = void 0;
|
|
|
1656
1683
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1657
1684
|
})(exports.StepType || (exports.StepType = {}));
|
|
1658
1685
|
|
|
1659
|
-
/** Telemetry input sources. */
|
|
1660
1686
|
exports.TelemetryInputSource = void 0;
|
|
1661
1687
|
|
|
1662
1688
|
(function (TelemetryInputSource) {
|
|
@@ -1665,7 +1691,6 @@ exports.TelemetryInputSource = void 0;
|
|
|
1665
1691
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1666
1692
|
})(exports.TelemetryInputSource || (exports.TelemetryInputSource = {}));
|
|
1667
1693
|
|
|
1668
|
-
/** Temperature unit. */
|
|
1669
1694
|
exports.TemperatureUnit = void 0;
|
|
1670
1695
|
|
|
1671
1696
|
(function (TemperatureUnit) {
|
|
@@ -1769,6 +1794,7 @@ exports.VehicleImageTypeUploadable = void 0;
|
|
|
1769
1794
|
|
|
1770
1795
|
/** Mode (state) of the current production. */
|
|
1771
1796
|
exports.VehicleMode = void 0;
|
|
1797
|
+
/** Vehicle model data. */
|
|
1772
1798
|
|
|
1773
1799
|
(function (VehicleMode) {
|
|
1774
1800
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1838,7 +1864,7 @@ exports.VehicleType = void 0;
|
|
|
1838
1864
|
})(exports.VehicleType || (exports.VehicleType = {}));
|
|
1839
1865
|
|
|
1840
1866
|
exports.VolumeUnit = void 0;
|
|
1841
|
-
/**
|
|
1867
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1842
1868
|
|
|
1843
1869
|
(function (VolumeUnit) {
|
|
1844
1870
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1846,6 +1872,15 @@ exports.VolumeUnit = void 0;
|
|
|
1846
1872
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1847
1873
|
})(exports.VolumeUnit || (exports.VolumeUnit = {}));
|
|
1848
1874
|
|
|
1875
|
+
exports.WeatherType = void 0;
|
|
1876
|
+
|
|
1877
|
+
(function (WeatherType) {
|
|
1878
|
+
WeatherType["SUMMER"] = "summer";
|
|
1879
|
+
WeatherType["WINTER"] = "winter";
|
|
1880
|
+
WeatherType["ACTUAL"] = "actual";
|
|
1881
|
+
WeatherType["CUSTOM"] = "custom";
|
|
1882
|
+
})(exports.WeatherType || (exports.WeatherType = {}));
|
|
1883
|
+
|
|
1849
1884
|
exports.WeightUnit = void 0;
|
|
1850
1885
|
|
|
1851
1886
|
(function (WeightUnit) {
|