@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
|
@@ -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";
|
|
@@ -1390,6 +1403,14 @@ export let RouteAlternativeType;
|
|
|
1390
1403
|
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
1391
1404
|
})(RouteAlternativeType || (RouteAlternativeType = {}));
|
|
1392
1405
|
|
|
1406
|
+
/** Types of route features that can be avoided in routing. */
|
|
1407
|
+
export let RouteAvoid;
|
|
1408
|
+
|
|
1409
|
+
(function (RouteAvoid) {
|
|
1410
|
+
RouteAvoid["TOLL_ROAD"] = "toll_road";
|
|
1411
|
+
RouteAvoid["FERRY"] = "ferry";
|
|
1412
|
+
})(RouteAvoid || (RouteAvoid = {}));
|
|
1413
|
+
|
|
1393
1414
|
/** Type of a maneuver indicating the main action. */
|
|
1394
1415
|
export let RouteDetailsLegManeuverType;
|
|
1395
1416
|
|
|
@@ -1516,6 +1537,19 @@ export let RouteOperationalElectricityClimate;
|
|
|
1516
1537
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1517
1538
|
})(RouteOperationalElectricityClimate || (RouteOperationalElectricityClimate = {}));
|
|
1518
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
|
+
|
|
1519
1553
|
/** Yearly seasons. */
|
|
1520
1554
|
export let RouteOperationalElectricitySeason;
|
|
1521
1555
|
|
|
@@ -1575,8 +1609,13 @@ export let RouteTagType;
|
|
|
1575
1609
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1576
1610
|
})(RouteTagType || (RouteTagType = {}));
|
|
1577
1611
|
|
|
1612
|
+
export let SolarIrradianceUnit;
|
|
1613
|
+
|
|
1614
|
+
(function (SolarIrradianceUnit) {
|
|
1615
|
+
SolarIrradianceUnit["WATTS_PER_SQUARE_METER"] = "watts_per_square_meter";
|
|
1616
|
+
})(SolarIrradianceUnit || (SolarIrradianceUnit = {}));
|
|
1617
|
+
|
|
1578
1618
|
export let SortDirection;
|
|
1579
|
-
/** Speed units. */
|
|
1580
1619
|
|
|
1581
1620
|
(function (SortDirection) {
|
|
1582
1621
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1590,7 +1629,6 @@ export let SpeedUnit;
|
|
|
1590
1629
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1591
1630
|
})(SpeedUnit || (SpeedUnit = {}));
|
|
1592
1631
|
|
|
1593
|
-
/** State of charge unit. */
|
|
1594
1632
|
export let StateOfChargeUnit;
|
|
1595
1633
|
/** Station data which extends OCPI Location. */
|
|
1596
1634
|
|
|
@@ -1644,7 +1682,6 @@ export let StepType;
|
|
|
1644
1682
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1645
1683
|
})(StepType || (StepType = {}));
|
|
1646
1684
|
|
|
1647
|
-
/** Telemetry input sources. */
|
|
1648
1685
|
export let TelemetryInputSource;
|
|
1649
1686
|
|
|
1650
1687
|
(function (TelemetryInputSource) {
|
|
@@ -1653,7 +1690,6 @@ export let TelemetryInputSource;
|
|
|
1653
1690
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1654
1691
|
})(TelemetryInputSource || (TelemetryInputSource = {}));
|
|
1655
1692
|
|
|
1656
|
-
/** Temperature unit. */
|
|
1657
1693
|
export let TemperatureUnit;
|
|
1658
1694
|
|
|
1659
1695
|
(function (TemperatureUnit) {
|
|
@@ -1757,6 +1793,7 @@ export let VehicleImageTypeUploadable;
|
|
|
1757
1793
|
|
|
1758
1794
|
/** Mode (state) of the current production. */
|
|
1759
1795
|
export let VehicleMode;
|
|
1796
|
+
/** Vehicle model data. */
|
|
1760
1797
|
|
|
1761
1798
|
(function (VehicleMode) {
|
|
1762
1799
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1826,7 +1863,7 @@ export let VehicleType;
|
|
|
1826
1863
|
})(VehicleType || (VehicleType = {}));
|
|
1827
1864
|
|
|
1828
1865
|
export let VolumeUnit;
|
|
1829
|
-
/**
|
|
1866
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1830
1867
|
|
|
1831
1868
|
(function (VolumeUnit) {
|
|
1832
1869
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1834,6 +1871,15 @@ export let VolumeUnit;
|
|
|
1834
1871
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1835
1872
|
})(VolumeUnit || (VolumeUnit = {}));
|
|
1836
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
|
+
|
|
1837
1883
|
export let WeightUnit;
|
|
1838
1884
|
|
|
1839
1885
|
(function (WeightUnit) {
|