@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
|
@@ -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
|
|
|
@@ -237,6 +251,8 @@ export let ConnectorType;
|
|
|
237
251
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
238
252
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
239
253
|
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
254
|
+
ConnectorType["GBT_AC"] = "GBT_AC";
|
|
255
|
+
ConnectorType["GBT_DC"] = "GBT_DC";
|
|
240
256
|
})(ConnectorType || (ConnectorType = {}));
|
|
241
257
|
|
|
242
258
|
export let ConsumptionUnit;
|
|
@@ -255,6 +271,7 @@ export let ConsumptionUnit;
|
|
|
255
271
|
export let CountryCodeAlpha2;
|
|
256
272
|
|
|
257
273
|
(function (CountryCodeAlpha2) {
|
|
274
|
+
CountryCodeAlpha2["AA"] = "AA";
|
|
258
275
|
CountryCodeAlpha2["AD"] = "AD";
|
|
259
276
|
CountryCodeAlpha2["AE"] = "AE";
|
|
260
277
|
CountryCodeAlpha2["AF"] = "AF";
|
|
@@ -849,7 +866,6 @@ export let DayOfWeek;
|
|
|
849
866
|
})(DayOfWeek || (DayOfWeek = {}));
|
|
850
867
|
|
|
851
868
|
export let DimensionUnit;
|
|
852
|
-
/** Distance unit */
|
|
853
869
|
|
|
854
870
|
(function (DimensionUnit) {
|
|
855
871
|
DimensionUnit["METER"] = "meter";
|
|
@@ -942,7 +958,6 @@ export let HeavyVehiclesEUType;
|
|
|
942
958
|
})(HeavyVehiclesEUType || (HeavyVehiclesEUType = {}));
|
|
943
959
|
|
|
944
960
|
export let HeavyVehiclesFacility;
|
|
945
|
-
/** Navigation service providers available */
|
|
946
961
|
|
|
947
962
|
(function (HeavyVehiclesFacility) {
|
|
948
963
|
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
@@ -952,13 +967,6 @@ export let HeavyVehiclesFacility;
|
|
|
952
967
|
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
953
968
|
})(HeavyVehiclesFacility || (HeavyVehiclesFacility = {}));
|
|
954
969
|
|
|
955
|
-
export let InstructionsFormat;
|
|
956
|
-
|
|
957
|
-
(function (InstructionsFormat) {
|
|
958
|
-
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
959
|
-
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
960
|
-
})(InstructionsFormat || (InstructionsFormat = {}));
|
|
961
|
-
|
|
962
970
|
export let IsolineFerryConnectionsType;
|
|
963
971
|
|
|
964
972
|
(function (IsolineFerryConnectionsType) {
|
|
@@ -998,26 +1006,11 @@ export let LegType;
|
|
|
998
1006
|
|
|
999
1007
|
/** GeoJSON LineString type. */
|
|
1000
1008
|
export let LineStringType;
|
|
1001
|
-
/** Preferred language for the mapping */
|
|
1002
1009
|
|
|
1003
1010
|
(function (LineStringType) {
|
|
1004
1011
|
LineStringType["LINESTRING"] = "LineString";
|
|
1005
1012
|
})(LineStringType || (LineStringType = {}));
|
|
1006
1013
|
|
|
1007
|
-
export let MappingLanguage;
|
|
1008
|
-
/** Navigation service providers available */
|
|
1009
|
-
|
|
1010
|
-
(function (MappingLanguage) {
|
|
1011
|
-
MappingLanguage["EN"] = "en";
|
|
1012
|
-
})(MappingLanguage || (MappingLanguage = {}));
|
|
1013
|
-
|
|
1014
|
-
export let MappingProvider;
|
|
1015
|
-
|
|
1016
|
-
(function (MappingProvider) {
|
|
1017
|
-
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
1018
|
-
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
1019
|
-
})(MappingProvider || (MappingProvider = {}));
|
|
1020
|
-
|
|
1021
1014
|
export let MeasurementUnit;
|
|
1022
1015
|
/** A GeoJSON Polygon. */
|
|
1023
1016
|
|
|
@@ -1033,16 +1026,16 @@ export let MultiPolygonType;
|
|
|
1033
1026
|
MultiPolygonType["MULTIPOLYGON"] = "MultiPolygon";
|
|
1034
1027
|
})(MultiPolygonType || (MultiPolygonType = {}));
|
|
1035
1028
|
|
|
1036
|
-
/** State of navigation session */
|
|
1037
|
-
export let
|
|
1038
|
-
/**
|
|
1029
|
+
/** State of navigation session. */
|
|
1030
|
+
export let NavigationStatus;
|
|
1031
|
+
/** The navigation session subscription data */
|
|
1039
1032
|
|
|
1040
|
-
(function (
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
})(
|
|
1033
|
+
(function (NavigationStatus) {
|
|
1034
|
+
NavigationStatus["DRIVING"] = "driving";
|
|
1035
|
+
NavigationStatus["CHARGING"] = "charging";
|
|
1036
|
+
NavigationStatus["FINISHED"] = "finished";
|
|
1037
|
+
NavigationStatus["ERROR"] = "error";
|
|
1038
|
+
})(NavigationStatus || (NavigationStatus = {}));
|
|
1046
1039
|
|
|
1047
1040
|
/** The capabilities of an EVSE. */
|
|
1048
1041
|
export let OCPICapability;
|
|
@@ -1114,6 +1107,8 @@ export let OCPIConnectorType;
|
|
|
1114
1107
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
1115
1108
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
1116
1109
|
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
1110
|
+
OCPIConnectorType["GBT_AC"] = "GBT_AC";
|
|
1111
|
+
OCPIConnectorType["GBT_DC"] = "GBT_DC";
|
|
1117
1112
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
1118
1113
|
|
|
1119
1114
|
export let OCPIDayOfWeek;
|
|
@@ -1315,7 +1310,16 @@ export let OICPValueAddedServices;
|
|
|
1315
1310
|
OICPValueAddedServices["NONE"] = "none";
|
|
1316
1311
|
})(OICPValueAddedServices || (OICPValueAddedServices = {}));
|
|
1317
1312
|
|
|
1313
|
+
export let OperatorPreferenceType;
|
|
1318
1314
|
/** Operator ranking level. */
|
|
1315
|
+
|
|
1316
|
+
(function (OperatorPreferenceType) {
|
|
1317
|
+
OperatorPreferenceType["RANKED"] = "ranked";
|
|
1318
|
+
OperatorPreferenceType["UNRANKED"] = "unranked";
|
|
1319
|
+
OperatorPreferenceType["AVOIDED"] = "avoided";
|
|
1320
|
+
OperatorPreferenceType["EXCLUDED"] = "excluded";
|
|
1321
|
+
})(OperatorPreferenceType || (OperatorPreferenceType = {}));
|
|
1322
|
+
|
|
1319
1323
|
export let OperatorRankingLevel;
|
|
1320
1324
|
/** 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. */
|
|
1321
1325
|
|
|
@@ -1357,7 +1361,6 @@ export let PowerSupported;
|
|
|
1357
1361
|
})(PowerSupported || (PowerSupported = {}));
|
|
1358
1362
|
|
|
1359
1363
|
export let PowerUnit;
|
|
1360
|
-
/** Pressure units. */
|
|
1361
1364
|
|
|
1362
1365
|
(function (PowerUnit) {
|
|
1363
1366
|
PowerUnit["KILOWATT"] = "kilowatt";
|
|
@@ -1382,7 +1385,6 @@ export let PricingListElementType;
|
|
|
1382
1385
|
|
|
1383
1386
|
/** Types of an alternative route. */
|
|
1384
1387
|
export let RouteAlternativeType;
|
|
1385
|
-
/** Amenity preferences for a route. */
|
|
1386
1388
|
|
|
1387
1389
|
(function (RouteAlternativeType) {
|
|
1388
1390
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
@@ -1459,6 +1461,13 @@ export let RouteDetailsTag;
|
|
|
1459
1461
|
RouteDetailsTag["CROSSBORDER"] = "crossborder";
|
|
1460
1462
|
})(RouteDetailsTag || (RouteDetailsTag = {}));
|
|
1461
1463
|
|
|
1464
|
+
export let RouteDrivingStyle;
|
|
1465
|
+
|
|
1466
|
+
(function (RouteDrivingStyle) {
|
|
1467
|
+
RouteDrivingStyle["ECO"] = "eco";
|
|
1468
|
+
RouteDrivingStyle["SPORT"] = "sport";
|
|
1469
|
+
})(RouteDrivingStyle || (RouteDrivingStyle = {}));
|
|
1470
|
+
|
|
1462
1471
|
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1463
1472
|
export let RouteInstructionSign;
|
|
1464
1473
|
|
|
@@ -1524,6 +1533,19 @@ export let RouteOperationalElectricityClimate;
|
|
|
1524
1533
|
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1525
1534
|
})(RouteOperationalElectricityClimate || (RouteOperationalElectricityClimate = {}));
|
|
1526
1535
|
|
|
1536
|
+
/** Energy source models. */
|
|
1537
|
+
export let RouteOperationalElectricityEnergySourceModel;
|
|
1538
|
+
|
|
1539
|
+
(function (RouteOperationalElectricityEnergySourceModel) {
|
|
1540
|
+
RouteOperationalElectricityEnergySourceModel["GRID_MONTHLY_AVERAGE"] = "grid_monthly_average";
|
|
1541
|
+
RouteOperationalElectricityEnergySourceModel["GRID_HOURLY_AVERAGE"] = "grid_hourly_average";
|
|
1542
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_MONTHLY_AVERAGE"] = "grid_demand_based_monthly_average";
|
|
1543
|
+
RouteOperationalElectricityEnergySourceModel["GRID_DEMAND_BASED_HOURLY_AVERAGE"] = "grid_demand_based_hourly_average";
|
|
1544
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE"] = "climate_demand_based_seasonal_average";
|
|
1545
|
+
RouteOperationalElectricityEnergySourceModel["CLIMATE_DEMAND_BASED_HOURLY_AVERAGE"] = "climate_demand_based_hourly_average";
|
|
1546
|
+
RouteOperationalElectricityEnergySourceModel["DEFAULT"] = "default";
|
|
1547
|
+
})(RouteOperationalElectricityEnergySourceModel || (RouteOperationalElectricityEnergySourceModel = {}));
|
|
1548
|
+
|
|
1527
1549
|
/** Yearly seasons. */
|
|
1528
1550
|
export let RouteOperationalElectricitySeason;
|
|
1529
1551
|
|
|
@@ -1573,6 +1595,7 @@ export let RouteStatus;
|
|
|
1573
1595
|
|
|
1574
1596
|
/** Tags of a route. */
|
|
1575
1597
|
export let RouteTagType;
|
|
1598
|
+
/** 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. */
|
|
1576
1599
|
|
|
1577
1600
|
(function (RouteTagType) {
|
|
1578
1601
|
RouteTagType["ROAD"] = "road";
|
|
@@ -1583,8 +1606,13 @@ export let RouteTagType;
|
|
|
1583
1606
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1584
1607
|
})(RouteTagType || (RouteTagType = {}));
|
|
1585
1608
|
|
|
1609
|
+
export let SolarIrradianceUnit;
|
|
1610
|
+
|
|
1611
|
+
(function (SolarIrradianceUnit) {
|
|
1612
|
+
SolarIrradianceUnit["WATTS_PER_SQUARE_METER"] = "watts_per_square_meter";
|
|
1613
|
+
})(SolarIrradianceUnit || (SolarIrradianceUnit = {}));
|
|
1614
|
+
|
|
1586
1615
|
export let SortDirection;
|
|
1587
|
-
/** Speed units. */
|
|
1588
1616
|
|
|
1589
1617
|
(function (SortDirection) {
|
|
1590
1618
|
SortDirection["ASCENDING"] = "ascending";
|
|
@@ -1598,7 +1626,6 @@ export let SpeedUnit;
|
|
|
1598
1626
|
SpeedUnit["MILES_PER_HOUR"] = "miles_per_hour";
|
|
1599
1627
|
})(SpeedUnit || (SpeedUnit = {}));
|
|
1600
1628
|
|
|
1601
|
-
/** State of charge unit. */
|
|
1602
1629
|
export let StateOfChargeUnit;
|
|
1603
1630
|
/** Station data which extends OCPI Location. */
|
|
1604
1631
|
|
|
@@ -1652,7 +1679,6 @@ export let StepType;
|
|
|
1652
1679
|
StepType["CROSSBORDER"] = "crossborder";
|
|
1653
1680
|
})(StepType || (StepType = {}));
|
|
1654
1681
|
|
|
1655
|
-
/** Telemetry input sources. */
|
|
1656
1682
|
export let TelemetryInputSource;
|
|
1657
1683
|
|
|
1658
1684
|
(function (TelemetryInputSource) {
|
|
@@ -1661,7 +1687,6 @@ export let TelemetryInputSource;
|
|
|
1661
1687
|
TelemetryInputSource["DEFAULT"] = "default";
|
|
1662
1688
|
})(TelemetryInputSource || (TelemetryInputSource = {}));
|
|
1663
1689
|
|
|
1664
|
-
/** Temperature unit. */
|
|
1665
1690
|
export let TemperatureUnit;
|
|
1666
1691
|
|
|
1667
1692
|
(function (TemperatureUnit) {
|
|
@@ -1765,6 +1790,7 @@ export let VehicleImageTypeUploadable;
|
|
|
1765
1790
|
|
|
1766
1791
|
/** Mode (state) of the current production. */
|
|
1767
1792
|
export let VehicleMode;
|
|
1793
|
+
/** Vehicle model data. */
|
|
1768
1794
|
|
|
1769
1795
|
(function (VehicleMode) {
|
|
1770
1796
|
VehicleMode["INDEX_ONLY"] = "index_only";
|
|
@@ -1834,7 +1860,7 @@ export let VehicleType;
|
|
|
1834
1860
|
})(VehicleType || (VehicleType = {}));
|
|
1835
1861
|
|
|
1836
1862
|
export let VolumeUnit;
|
|
1837
|
-
/**
|
|
1863
|
+
/** Type of weather conditions used in the route calculation. */
|
|
1838
1864
|
|
|
1839
1865
|
(function (VolumeUnit) {
|
|
1840
1866
|
VolumeUnit["LITER"] = "liter";
|
|
@@ -1842,6 +1868,15 @@ export let VolumeUnit;
|
|
|
1842
1868
|
VolumeUnit["CUBIC_FOOT"] = "cubic_foot";
|
|
1843
1869
|
})(VolumeUnit || (VolumeUnit = {}));
|
|
1844
1870
|
|
|
1871
|
+
export let WeatherType;
|
|
1872
|
+
|
|
1873
|
+
(function (WeatherType) {
|
|
1874
|
+
WeatherType["SUMMER"] = "summer";
|
|
1875
|
+
WeatherType["WINTER"] = "winter";
|
|
1876
|
+
WeatherType["ACTUAL"] = "actual";
|
|
1877
|
+
WeatherType["CUSTOM"] = "custom";
|
|
1878
|
+
})(WeatherType || (WeatherType = {}));
|
|
1879
|
+
|
|
1845
1880
|
export let WeightUnit;
|
|
1846
1881
|
|
|
1847
1882
|
(function (WeightUnit) {
|