@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
|
@@ -28,9 +28,15 @@ export let AdhocAuthorisationMethod;
|
|
|
28
28
|
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
29
29
|
})(AdhocAuthorisationMethod || (AdhocAuthorisationMethod = {}));
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
export let AirPressureUnit;
|
|
32
|
+
|
|
33
|
+
(function (AirPressureUnit) {
|
|
34
|
+
AirPressureUnit["MILLIBAR"] = "millibar";
|
|
35
|
+
})(AirPressureUnit || (AirPressureUnit = {}));
|
|
36
|
+
|
|
37
|
+
/** Amenities available near a station. */
|
|
32
38
|
export let Amenities;
|
|
33
|
-
/**
|
|
39
|
+
/** Amenity data. */
|
|
34
40
|
|
|
35
41
|
(function (Amenities) {
|
|
36
42
|
Amenities["PARK"] = "park";
|
|
@@ -47,6 +53,7 @@ export let Amenities;
|
|
|
47
53
|
|
|
48
54
|
/** A list of amenity types. */
|
|
49
55
|
export let AmenityType;
|
|
56
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
50
57
|
|
|
51
58
|
(function (AmenityType) {
|
|
52
59
|
AmenityType["PARK"] = "park";
|
|
@@ -61,6 +68,15 @@ export let AmenityType;
|
|
|
61
68
|
AmenityType["PHARMACY"] = "pharmacy";
|
|
62
69
|
})(AmenityType || (AmenityType = {}));
|
|
63
70
|
|
|
71
|
+
export let AmenityWheelchairAccessibilityType;
|
|
72
|
+
|
|
73
|
+
(function (AmenityWheelchairAccessibilityType) {
|
|
74
|
+
AmenityWheelchairAccessibilityType["YES"] = "yes";
|
|
75
|
+
AmenityWheelchairAccessibilityType["LIMITED"] = "limited";
|
|
76
|
+
AmenityWheelchairAccessibilityType["NO"] = "no";
|
|
77
|
+
AmenityWheelchairAccessibilityType["DESIGNATED"] = "designated";
|
|
78
|
+
})(AmenityWheelchairAccessibilityType || (AmenityWheelchairAccessibilityType = {}));
|
|
79
|
+
|
|
64
80
|
/** Auxiliary consumption units. */
|
|
65
81
|
export let AuxiliaryConsumptionUnit;
|
|
66
82
|
/** The type of the battery value. */
|
|
@@ -93,7 +109,6 @@ export let ChargeMode;
|
|
|
93
109
|
ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
|
|
94
110
|
})(ChargeMode || (ChargeMode = {}));
|
|
95
111
|
|
|
96
|
-
/** Charge speed unit. */
|
|
97
112
|
export let ChargeSpeedUnit;
|
|
98
113
|
|
|
99
114
|
(function (ChargeSpeedUnit) {
|
|
@@ -102,7 +117,6 @@ export let ChargeSpeedUnit;
|
|
|
102
117
|
ChargeSpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
103
118
|
})(ChargeSpeedUnit || (ChargeSpeedUnit = {}));
|
|
104
119
|
|
|
105
|
-
/** Status of a charger. */
|
|
106
120
|
export let ChargerStatus;
|
|
107
121
|
/** Grouping by status of the chargers. */
|
|
108
122
|
|
|
@@ -255,6 +269,7 @@ export let ConsumptionUnit;
|
|
|
255
269
|
export let CountryCodeAlpha2;
|
|
256
270
|
|
|
257
271
|
(function (CountryCodeAlpha2) {
|
|
272
|
+
CountryCodeAlpha2["AA"] = "AA";
|
|
258
273
|
CountryCodeAlpha2["AD"] = "AD";
|
|
259
274
|
CountryCodeAlpha2["AE"] = "AE";
|
|
260
275
|
CountryCodeAlpha2["AF"] = "AF";
|
|
@@ -849,7 +864,6 @@ export let DayOfWeek;
|
|
|
849
864
|
})(DayOfWeek || (DayOfWeek = {}));
|
|
850
865
|
|
|
851
866
|
export let DimensionUnit;
|
|
852
|
-
/** Distance unit */
|
|
853
867
|
|
|
854
868
|
(function (DimensionUnit) {
|
|
855
869
|
DimensionUnit["METER"] = "meter";
|
|
@@ -1357,7 +1371,6 @@ export let PowerSupported;
|
|
|
1357
1371
|
})(PowerSupported || (PowerSupported = {}));
|
|
1358
1372
|
|
|
1359
1373
|
export let PowerUnit;
|
|
1360
|
-
/** Pressure units. */
|
|
1361
1374
|
|
|
1362
1375
|
(function (PowerUnit) {
|
|
1363
1376
|
PowerUnit["KILOWATT"] = "kilowatt";
|
|
@@ -1524,6 +1537,19 @@ export let RouteOperationalElectricityClimate;
|
|
|
1524
1537
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1525
1538
|
})(RouteOperationalElectricityClimate || (RouteOperationalElectricityClimate = {}));
|
|
1526
1539
|
|
|
1540
|
+
/** Energy source models. */
|
|
1541
|
+
export let RouteOperationalElectricityEnergySourceModel;
|
|
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
|
+
})(RouteOperationalElectricityEnergySourceModel || (RouteOperationalElectricityEnergySourceModel = {}));
|
|
1552
|
+
|
|
1527
1553
|
/** Yearly seasons. */
|
|
1528
1554
|
export let RouteOperationalElectricitySeason;
|
|
1529
1555
|
|
|
@@ -1583,8 +1609,13 @@ export let RouteTagType;
|
|
|
1583
1609
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1584
1610
|
})(RouteTagType || (RouteTagType = {}));
|
|
1585
1611
|
|
|
1612
|
+
export let SolarIrradianceUnit;
|
|
1613
|
+
|
|
1614
|
+
(function (SolarIrradianceUnit) {
|
|
1615
|
+
SolarIrradianceUnit["WATTS_PER_SQUARE_METER"] = "watts_per_square_meter";
|
|
1616
|
+
})(SolarIrradianceUnit || (SolarIrradianceUnit = {}));
|
|
1617
|
+
|
|
1586
1618
|
export let SortDirection;
|
|
1587
|
-
/** Speed units. */
|
|
1588
1619
|
|
|
1589
1620
|
(function (SortDirection) {
|
|
1590
1621
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1598,7 +1629,6 @@ export let SpeedUnit;
|
|
|
1598
1629
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1599
1630
|
})(SpeedUnit || (SpeedUnit = {}));
|
|
1600
1631
|
|
|
1601
|
-
/** State of charge unit. */
|
|
1602
1632
|
export let StateOfChargeUnit;
|
|
1603
1633
|
/** Station data which extends OCPI Location. */
|
|
1604
1634
|
|
|
@@ -1652,7 +1682,6 @@ export let StepType;
|
|
|
1652
1682
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1653
1683
|
})(StepType || (StepType = {}));
|
|
1654
1684
|
|
|
1655
|
-
/** Telemetry input sources. */
|
|
1656
1685
|
export let TelemetryInputSource;
|
|
1657
1686
|
|
|
1658
1687
|
(function (TelemetryInputSource) {
|
|
@@ -1661,7 +1690,6 @@ export let TelemetryInputSource;
|
|
|
1661
1690
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1662
1691
|
})(TelemetryInputSource || (TelemetryInputSource = {}));
|
|
1663
1692
|
|
|
1664
|
-
/** Temperature unit. */
|
|
1665
1693
|
export let TemperatureUnit;
|
|
1666
1694
|
|
|
1667
1695
|
(function (TemperatureUnit) {
|
|
@@ -1765,6 +1793,7 @@ export let VehicleImageTypeUploadable;
|
|
|
1765
1793
|
|
|
1766
1794
|
/** Mode (state) of the current production. */
|
|
1767
1795
|
export let VehicleMode;
|
|
1796
|
+
/** Vehicle model data. */
|
|
1768
1797
|
|
|
1769
1798
|
(function (VehicleMode) {
|
|
1770
1799
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1834,7 +1863,7 @@ export let VehicleType;
|
|
|
1834
1863
|
})(VehicleType || (VehicleType = {}));
|
|
1835
1864
|
|
|
1836
1865
|
export let VolumeUnit;
|
|
1837
|
-
/**
|
|
1866
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1838
1867
|
|
|
1839
1868
|
(function (VolumeUnit) {
|
|
1840
1869
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1842,6 +1871,15 @@ export let VolumeUnit;
|
|
|
1842
1871
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1843
1872
|
})(VolumeUnit || (VolumeUnit = {}));
|
|
1844
1873
|
|
|
1874
|
+
export let WeatherType;
|
|
1875
|
+
|
|
1876
|
+
(function (WeatherType) {
|
|
1877
|
+
WeatherType["SUMMER"] = "summer";
|
|
1878
|
+
WeatherType["WINTER"] = "winter";
|
|
1879
|
+
WeatherType["ACTUAL"] = "actual";
|
|
1880
|
+
WeatherType["CUSTOM"] = "custom";
|
|
1881
|
+
})(WeatherType || (WeatherType = {}));
|
|
1882
|
+
|
|
1845
1883
|
export let WeightUnit;
|
|
1846
1884
|
|
|
1847
1885
|
(function (WeightUnit) {
|