@chargetrip/types 1.47.0 → 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 +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +49 -11
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +49 -11
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +277 -44
- package/graphql.schema.json +1481 -111
- package/package.json +1 -1
- package/src/graphql.ts +304 -45
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";
|
|
@@ -1528,6 +1541,19 @@ exports.RouteOperationalElectricityClimate = void 0;
|
|
|
1528
1541
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1529
1542
|
})(exports.RouteOperationalElectricityClimate || (exports.RouteOperationalElectricityClimate = {}));
|
|
1530
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
|
+
|
|
1531
1557
|
/** Yearly seasons. */
|
|
1532
1558
|
exports.RouteOperationalElectricitySeason = void 0;
|
|
1533
1559
|
|
|
@@ -1587,8 +1613,13 @@ exports.RouteTagType = void 0;
|
|
|
1587
1613
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1588
1614
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
1589
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
|
+
|
|
1590
1622
|
exports.SortDirection = void 0;
|
|
1591
|
-
/** Speed units. */
|
|
1592
1623
|
|
|
1593
1624
|
(function (SortDirection) {
|
|
1594
1625
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1602,7 +1633,6 @@ exports.SpeedUnit = void 0;
|
|
|
1602
1633
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1603
1634
|
})(exports.SpeedUnit || (exports.SpeedUnit = {}));
|
|
1604
1635
|
|
|
1605
|
-
/** State of charge unit. */
|
|
1606
1636
|
exports.StateOfChargeUnit = void 0;
|
|
1607
1637
|
/** Station data which extends OCPI Location. */
|
|
1608
1638
|
|
|
@@ -1656,7 +1686,6 @@ exports.StepType = void 0;
|
|
|
1656
1686
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1657
1687
|
})(exports.StepType || (exports.StepType = {}));
|
|
1658
1688
|
|
|
1659
|
-
/** Telemetry input sources. */
|
|
1660
1689
|
exports.TelemetryInputSource = void 0;
|
|
1661
1690
|
|
|
1662
1691
|
(function (TelemetryInputSource) {
|
|
@@ -1665,7 +1694,6 @@ exports.TelemetryInputSource = void 0;
|
|
|
1665
1694
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1666
1695
|
})(exports.TelemetryInputSource || (exports.TelemetryInputSource = {}));
|
|
1667
1696
|
|
|
1668
|
-
/** Temperature unit. */
|
|
1669
1697
|
exports.TemperatureUnit = void 0;
|
|
1670
1698
|
|
|
1671
1699
|
(function (TemperatureUnit) {
|
|
@@ -1769,6 +1797,7 @@ exports.VehicleImageTypeUploadable = void 0;
|
|
|
1769
1797
|
|
|
1770
1798
|
/** Mode (state) of the current production. */
|
|
1771
1799
|
exports.VehicleMode = void 0;
|
|
1800
|
+
/** Vehicle model data. */
|
|
1772
1801
|
|
|
1773
1802
|
(function (VehicleMode) {
|
|
1774
1803
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1838,7 +1867,7 @@ exports.VehicleType = void 0;
|
|
|
1838
1867
|
})(exports.VehicleType || (exports.VehicleType = {}));
|
|
1839
1868
|
|
|
1840
1869
|
exports.VolumeUnit = void 0;
|
|
1841
|
-
/**
|
|
1870
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1842
1871
|
|
|
1843
1872
|
(function (VolumeUnit) {
|
|
1844
1873
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1846,6 +1875,15 @@ exports.VolumeUnit = void 0;
|
|
|
1846
1875
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1847
1876
|
})(exports.VolumeUnit || (exports.VolumeUnit = {}));
|
|
1848
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
|
+
|
|
1849
1887
|
exports.WeightUnit = void 0;
|
|
1850
1888
|
|
|
1851
1889
|
(function (WeightUnit) {
|