@chargetrip/types 1.46.2 → 1.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +57 -11
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +57 -11
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +334 -71
- package/graphql.schema.json +1738 -715
- package/package.json +1 -1
- package/src/graphql.ts +365 -73
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
|
|
|
@@ -259,6 +273,7 @@ exports.ConsumptionUnit = void 0;
|
|
|
259
273
|
exports.CountryCodeAlpha2 = void 0;
|
|
260
274
|
|
|
261
275
|
(function (CountryCodeAlpha2) {
|
|
276
|
+
CountryCodeAlpha2["AA"] = "AA";
|
|
262
277
|
CountryCodeAlpha2["AD"] = "AD";
|
|
263
278
|
CountryCodeAlpha2["AE"] = "AE";
|
|
264
279
|
CountryCodeAlpha2["AF"] = "AF";
|
|
@@ -853,7 +868,6 @@ exports.DayOfWeek = void 0;
|
|
|
853
868
|
})(exports.DayOfWeek || (exports.DayOfWeek = {}));
|
|
854
869
|
|
|
855
870
|
exports.DimensionUnit = void 0;
|
|
856
|
-
/** Distance unit */
|
|
857
871
|
|
|
858
872
|
(function (DimensionUnit) {
|
|
859
873
|
DimensionUnit["METER"] = "meter";
|
|
@@ -1361,7 +1375,6 @@ exports.PowerSupported = void 0;
|
|
|
1361
1375
|
})(exports.PowerSupported || (exports.PowerSupported = {}));
|
|
1362
1376
|
|
|
1363
1377
|
exports.PowerUnit = void 0;
|
|
1364
|
-
/** Pressure units. */
|
|
1365
1378
|
|
|
1366
1379
|
(function (PowerUnit) {
|
|
1367
1380
|
PowerUnit["KILOWATT"] = "kilowatt";
|
|
@@ -1394,6 +1407,14 @@ exports.RouteAlternativeType = void 0;
|
|
|
1394
1407
|
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
1395
1408
|
})(exports.RouteAlternativeType || (exports.RouteAlternativeType = {}));
|
|
1396
1409
|
|
|
1410
|
+
/** Types of route features that can be avoided in routing. */
|
|
1411
|
+
exports.RouteAvoid = void 0;
|
|
1412
|
+
|
|
1413
|
+
(function (RouteAvoid) {
|
|
1414
|
+
RouteAvoid["TOLL_ROAD"] = "toll_road";
|
|
1415
|
+
RouteAvoid["FERRY"] = "ferry";
|
|
1416
|
+
})(exports.RouteAvoid || (exports.RouteAvoid = {}));
|
|
1417
|
+
|
|
1397
1418
|
/** Type of a maneuver indicating the main action. */
|
|
1398
1419
|
exports.RouteDetailsLegManeuverType = void 0;
|
|
1399
1420
|
|
|
@@ -1520,6 +1541,19 @@ exports.RouteOperationalElectricityClimate = void 0;
|
|
|
1520
1541
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1521
1542
|
})(exports.RouteOperationalElectricityClimate || (exports.RouteOperationalElectricityClimate = {}));
|
|
1522
1543
|
|
|
1544
|
+
/** Energy source models. */
|
|
1545
|
+
exports.RouteOperationalElectricityEnergySourceModel = void 0;
|
|
1546
|
+
|
|
1547
|
+
(function (RouteOperationalElectricityEnergySourceModel) {
|
|
1548
|
+
RouteOperationalElectricityEnergySourceModel["GRID_MONTHLY_AVERAGE"] = "grid_monthly_average";
|
|
1549
|
+
RouteOperationalElectricityEnergySourceModel["GRID_HOURLY_AVERAGE"] = "grid_hourly_average";
|
|
1550
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_MONTHLY_AVERAGE"] = "grid_demand_based_monthly_average";
|
|
1551
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_HOURLY_AVERAGE"] = "grid_demand_based_hourly_average";
|
|
1552
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE"] = "climate_demand_based_seasonal_average";
|
|
1553
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_HOURLY_AVERAGE"] = "climate_demand_based_hourly_average";
|
|
1554
|
+
RouteOperationalElectricityEnergySourceModel["DEFAULT"] = "default";
|
|
1555
|
+
})(exports.RouteOperationalElectricityEnergySourceModel || (exports.RouteOperationalElectricityEnergySourceModel = {}));
|
|
1556
|
+
|
|
1523
1557
|
/** Yearly seasons. */
|
|
1524
1558
|
exports.RouteOperationalElectricitySeason = void 0;
|
|
1525
1559
|
|
|
@@ -1579,8 +1613,13 @@ exports.RouteTagType = void 0;
|
|
|
1579
1613
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1580
1614
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
1581
1615
|
|
|
1616
|
+
exports.SolarIrradianceUnit = void 0;
|
|
1617
|
+
|
|
1618
|
+
(function (SolarIrradianceUnit) {
|
|
1619
|
+
SolarIrradianceUnit["WATTS_PER_SQUARE_METER"] = "watts_per_square_meter";
|
|
1620
|
+
})(exports.SolarIrradianceUnit || (exports.SolarIrradianceUnit = {}));
|
|
1621
|
+
|
|
1582
1622
|
exports.SortDirection = void 0;
|
|
1583
|
-
/** Speed units. */
|
|
1584
1623
|
|
|
1585
1624
|
(function (SortDirection) {
|
|
1586
1625
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1594,7 +1633,6 @@ exports.SpeedUnit = void 0;
|
|
|
1594
1633
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1595
1634
|
})(exports.SpeedUnit || (exports.SpeedUnit = {}));
|
|
1596
1635
|
|
|
1597
|
-
/** State of charge unit. */
|
|
1598
1636
|
exports.StateOfChargeUnit = void 0;
|
|
1599
1637
|
/** Station data which extends OCPI Location. */
|
|
1600
1638
|
|
|
@@ -1648,7 +1686,6 @@ exports.StepType = void 0;
|
|
|
1648
1686
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1649
1687
|
})(exports.StepType || (exports.StepType = {}));
|
|
1650
1688
|
|
|
1651
|
-
/** Telemetry input sources. */
|
|
1652
1689
|
exports.TelemetryInputSource = void 0;
|
|
1653
1690
|
|
|
1654
1691
|
(function (TelemetryInputSource) {
|
|
@@ -1657,7 +1694,6 @@ exports.TelemetryInputSource = void 0;
|
|
|
1657
1694
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1658
1695
|
})(exports.TelemetryInputSource || (exports.TelemetryInputSource = {}));
|
|
1659
1696
|
|
|
1660
|
-
/** Temperature unit. */
|
|
1661
1697
|
exports.TemperatureUnit = void 0;
|
|
1662
1698
|
|
|
1663
1699
|
(function (TemperatureUnit) {
|
|
@@ -1761,6 +1797,7 @@ exports.VehicleImageTypeUploadable = void 0;
|
|
|
1761
1797
|
|
|
1762
1798
|
/** Mode (state) of the current production. */
|
|
1763
1799
|
exports.VehicleMode = void 0;
|
|
1800
|
+
/** Vehicle model data. */
|
|
1764
1801
|
|
|
1765
1802
|
(function (VehicleMode) {
|
|
1766
1803
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1830,7 +1867,7 @@ exports.VehicleType = void 0;
|
|
|
1830
1867
|
})(exports.VehicleType || (exports.VehicleType = {}));
|
|
1831
1868
|
|
|
1832
1869
|
exports.VolumeUnit = void 0;
|
|
1833
|
-
/**
|
|
1870
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1834
1871
|
|
|
1835
1872
|
(function (VolumeUnit) {
|
|
1836
1873
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1838,6 +1875,15 @@ exports.VolumeUnit = void 0;
|
|
|
1838
1875
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1839
1876
|
})(exports.VolumeUnit || (exports.VolumeUnit = {}));
|
|
1840
1877
|
|
|
1878
|
+
exports.WeatherType = void 0;
|
|
1879
|
+
|
|
1880
|
+
(function (WeatherType) {
|
|
1881
|
+
WeatherType["SUMMER"] = "summer";
|
|
1882
|
+
WeatherType["WINTER"] = "winter";
|
|
1883
|
+
WeatherType["ACTUAL"] = "actual";
|
|
1884
|
+
WeatherType["CUSTOM"] = "custom";
|
|
1885
|
+
})(exports.WeatherType || (exports.WeatherType = {}));
|
|
1886
|
+
|
|
1841
1887
|
exports.WeightUnit = void 0;
|
|
1842
1888
|
|
|
1843
1889
|
(function (WeightUnit) {
|