@chargetrip/types 1.47.1 → 1.48.0
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 +60 -33
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +60 -33
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +350 -242
- package/graphql.schema.json +1637 -710
- package/package.json +2 -2
- package/src/graphql.ts +378 -253
- package/CHANGELOG.md +0 -412
|
@@ -49,6 +49,8 @@ export let Amenities;
|
|
|
49
49
|
Amenities["SUPERMARKET"] = "supermarket";
|
|
50
50
|
Amenities["PLAYGROUND"] = "playground";
|
|
51
51
|
Amenities["PHARMACY"] = "pharmacy";
|
|
52
|
+
Amenities["BAKERY"] = "bakery";
|
|
53
|
+
Amenities["CONVENIENCE_STORE"] = "convenience_store";
|
|
52
54
|
})(Amenities || (Amenities = {}));
|
|
53
55
|
|
|
54
56
|
/** A list of amenity types. */
|
|
@@ -66,6 +68,8 @@ export let AmenityType;
|
|
|
66
68
|
AmenityType["SUPERMARKET"] = "supermarket";
|
|
67
69
|
AmenityType["PLAYGROUND"] = "playground";
|
|
68
70
|
AmenityType["PHARMACY"] = "pharmacy";
|
|
71
|
+
AmenityType["BAKERY"] = "bakery";
|
|
72
|
+
AmenityType["CONVENIENCE_STORE"] = "convenience_store";
|
|
69
73
|
})(AmenityType || (AmenityType = {}));
|
|
70
74
|
|
|
71
75
|
export let AmenityWheelchairAccessibilityType;
|
|
@@ -251,6 +255,8 @@ export let ConnectorType;
|
|
|
251
255
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
252
256
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
253
257
|
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
258
|
+
ConnectorType["GBT_AC"] = "GBT_AC";
|
|
259
|
+
ConnectorType["GBT_DC"] = "GBT_DC";
|
|
254
260
|
})(ConnectorType || (ConnectorType = {}));
|
|
255
261
|
|
|
256
262
|
export let ConsumptionUnit;
|
|
@@ -956,7 +962,6 @@ export let HeavyVehiclesEUType;
|
|
|
956
962
|
})(HeavyVehiclesEUType || (HeavyVehiclesEUType = {}));
|
|
957
963
|
|
|
958
964
|
export let HeavyVehiclesFacility;
|
|
959
|
-
/** Navigation service providers available */
|
|
960
965
|
|
|
961
966
|
(function (HeavyVehiclesFacility) {
|
|
962
967
|
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
@@ -966,13 +971,6 @@ export let HeavyVehiclesFacility;
|
|
|
966
971
|
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
967
972
|
})(HeavyVehiclesFacility || (HeavyVehiclesFacility = {}));
|
|
968
973
|
|
|
969
|
-
export let InstructionsFormat;
|
|
970
|
-
|
|
971
|
-
(function (InstructionsFormat) {
|
|
972
|
-
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
973
|
-
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
974
|
-
})(InstructionsFormat || (InstructionsFormat = {}));
|
|
975
|
-
|
|
976
974
|
export let IsolineFerryConnectionsType;
|
|
977
975
|
|
|
978
976
|
(function (IsolineFerryConnectionsType) {
|
|
@@ -1012,26 +1010,11 @@ export let LegType;
|
|
|
1012
1010
|
|
|
1013
1011
|
/** GeoJSON LineString type. */
|
|
1014
1012
|
export let LineStringType;
|
|
1015
|
-
/** Preferred language for the mapping */
|
|
1016
1013
|
|
|
1017
1014
|
(function (LineStringType) {
|
|
1018
1015
|
LineStringType["LINESTRING"] = "LineString";
|
|
1019
1016
|
})(LineStringType || (LineStringType = {}));
|
|
1020
1017
|
|
|
1021
|
-
export let MappingLanguage;
|
|
1022
|
-
/** Navigation service providers available */
|
|
1023
|
-
|
|
1024
|
-
(function (MappingLanguage) {
|
|
1025
|
-
MappingLanguage["EN"] = "en";
|
|
1026
|
-
})(MappingLanguage || (MappingLanguage = {}));
|
|
1027
|
-
|
|
1028
|
-
export let MappingProvider;
|
|
1029
|
-
|
|
1030
|
-
(function (MappingProvider) {
|
|
1031
|
-
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
1032
|
-
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
1033
|
-
})(MappingProvider || (MappingProvider = {}));
|
|
1034
|
-
|
|
1035
1018
|
export let MeasurementUnit;
|
|
1036
1019
|
/** A GeoJSON Polygon. */
|
|
1037
1020
|
|
|
@@ -1047,16 +1030,16 @@ export let MultiPolygonType;
|
|
|
1047
1030
|
MultiPolygonType["MULTIPOLYGON"] = "MultiPolygon";
|
|
1048
1031
|
})(MultiPolygonType || (MultiPolygonType = {}));
|
|
1049
1032
|
|
|
1050
|
-
/** State of navigation session */
|
|
1051
|
-
export let
|
|
1052
|
-
/**
|
|
1033
|
+
/** State of navigation session. */
|
|
1034
|
+
export let NavigationStatus;
|
|
1035
|
+
/** The navigation session subscription data */
|
|
1053
1036
|
|
|
1054
|
-
(function (
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
})(
|
|
1037
|
+
(function (NavigationStatus) {
|
|
1038
|
+
NavigationStatus["DRIVING"] = "driving";
|
|
1039
|
+
NavigationStatus["CHARGING"] = "charging";
|
|
1040
|
+
NavigationStatus["FINISHED"] = "finished";
|
|
1041
|
+
NavigationStatus["ERROR"] = "error";
|
|
1042
|
+
})(NavigationStatus || (NavigationStatus = {}));
|
|
1060
1043
|
|
|
1061
1044
|
/** The capabilities of an EVSE. */
|
|
1062
1045
|
export let OCPICapability;
|
|
@@ -1128,6 +1111,8 @@ export let OCPIConnectorType;
|
|
|
1128
1111
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
1129
1112
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
1130
1113
|
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
1114
|
+
OCPIConnectorType["GBT_AC"] = "GBT_AC";
|
|
1115
|
+
OCPIConnectorType["GBT_DC"] = "GBT_DC";
|
|
1131
1116
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
1132
1117
|
|
|
1133
1118
|
export let OCPIDayOfWeek;
|
|
@@ -1329,7 +1314,16 @@ export let OICPValueAddedServices;
|
|
|
1329
1314
|
OICPValueAddedServices["NONE"] = "none";
|
|
1330
1315
|
})(OICPValueAddedServices || (OICPValueAddedServices = {}));
|
|
1331
1316
|
|
|
1317
|
+
export let OperatorPreferenceType;
|
|
1332
1318
|
/** Operator ranking level. */
|
|
1319
|
+
|
|
1320
|
+
(function (OperatorPreferenceType) {
|
|
1321
|
+
OperatorPreferenceType["RANKED"] = "ranked";
|
|
1322
|
+
OperatorPreferenceType["UNRANKED"] = "unranked";
|
|
1323
|
+
OperatorPreferenceType["AVOIDED"] = "avoided";
|
|
1324
|
+
OperatorPreferenceType["EXCLUDED"] = "excluded";
|
|
1325
|
+
})(OperatorPreferenceType || (OperatorPreferenceType = {}));
|
|
1326
|
+
|
|
1333
1327
|
export let OperatorRankingLevel;
|
|
1334
1328
|
/** 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. */
|
|
1335
1329
|
|
|
@@ -1395,7 +1389,6 @@ export let PricingListElementType;
|
|
|
1395
1389
|
|
|
1396
1390
|
/** Types of an alternative route. */
|
|
1397
1391
|
export let RouteAlternativeType;
|
|
1398
|
-
/** Amenity preferences for a route. */
|
|
1399
1392
|
|
|
1400
1393
|
(function (RouteAlternativeType) {
|
|
1401
1394
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
@@ -1460,6 +1453,18 @@ export let RouteDetailsLegType;
|
|
|
1460
1453
|
RouteDetailsLegType["FINAL"] = "final";
|
|
1461
1454
|
})(RouteDetailsLegType || (RouteDetailsLegType = {}));
|
|
1462
1455
|
|
|
1456
|
+
/** Types of warnings that can be encountered in a route leg. */
|
|
1457
|
+
export let RouteDetailsLegWarningCode;
|
|
1458
|
+
|
|
1459
|
+
(function (RouteDetailsLegWarningCode) {
|
|
1460
|
+
RouteDetailsLegWarningCode["VIA_NOT_VEHICLE_ACCESSIBLE"] = "via_not_vehicle_accessible";
|
|
1461
|
+
RouteDetailsLegWarningCode["OPERATORS_PREFERRED_NOT_AVAILABLE"] = "operators_preferred_not_available";
|
|
1462
|
+
RouteDetailsLegWarningCode["MAXIMUM_WEIGHT_EXCEEDED"] = "maximum_weight_exceeded";
|
|
1463
|
+
RouteDetailsLegWarningCode["SEGMENT_UNAVOIDABLE"] = "segment_unavoidable";
|
|
1464
|
+
RouteDetailsLegWarningCode["STATION_LIMITED_OPEN_HOURS"] = "station_limited_open_hours";
|
|
1465
|
+
RouteDetailsLegWarningCode["VIA_INSUFFICIENT_CHARGING_TIME"] = "via_insufficient_charging_time";
|
|
1466
|
+
})(RouteDetailsLegWarningCode || (RouteDetailsLegWarningCode = {}));
|
|
1467
|
+
|
|
1463
1468
|
/** Tags of a route. */
|
|
1464
1469
|
export let RouteDetailsTag;
|
|
1465
1470
|
|
|
@@ -1472,6 +1477,13 @@ export let RouteDetailsTag;
|
|
|
1472
1477
|
RouteDetailsTag["CROSSBORDER"] = "crossborder";
|
|
1473
1478
|
})(RouteDetailsTag || (RouteDetailsTag = {}));
|
|
1474
1479
|
|
|
1480
|
+
export let RouteDrivingStyle;
|
|
1481
|
+
|
|
1482
|
+
(function (RouteDrivingStyle) {
|
|
1483
|
+
RouteDrivingStyle["ECO"] = "eco";
|
|
1484
|
+
RouteDrivingStyle["SPORT"] = "sport";
|
|
1485
|
+
})(RouteDrivingStyle || (RouteDrivingStyle = {}));
|
|
1486
|
+
|
|
1475
1487
|
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1476
1488
|
export let RouteInstructionSign;
|
|
1477
1489
|
|
|
@@ -1599,6 +1611,7 @@ export let RouteStatus;
|
|
|
1599
1611
|
|
|
1600
1612
|
/** Tags of a route. */
|
|
1601
1613
|
export let RouteTagType;
|
|
1614
|
+
/** 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. */
|
|
1602
1615
|
|
|
1603
1616
|
(function (RouteTagType) {
|
|
1604
1617
|
RouteTagType["ROAD"] = "road";
|
|
@@ -1609,6 +1622,20 @@ export let RouteTagType;
|
|
|
1609
1622
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1610
1623
|
})(RouteTagType || (RouteTagType = {}));
|
|
1611
1624
|
|
|
1625
|
+
/** Types of warnings that can be encountered in a route. */
|
|
1626
|
+
export let RouteWarningCode;
|
|
1627
|
+
|
|
1628
|
+
(function (RouteWarningCode) {
|
|
1629
|
+
RouteWarningCode["EV_UNAVAILABLE_IN_REGION"] = "ev_unavailable_in_region";
|
|
1630
|
+
RouteWarningCode["HEV_NO_CHARGING_STATIONS"] = "hev_no_charging_stations";
|
|
1631
|
+
RouteWarningCode["EREV_BATTERY_ONLY_RANGE"] = "erev_battery_only_range";
|
|
1632
|
+
RouteWarningCode["ORIGIN_NOT_VEHICLE_ACCESSIBLE"] = "origin_not_vehicle_accessible";
|
|
1633
|
+
RouteWarningCode["DESTINATION_NOT_VEHICLE_ACCESSIBLE"] = "destination_not_vehicle_accessible";
|
|
1634
|
+
RouteWarningCode["FINAL_SOC_NOT_POSSIBLE"] = "final_soc_not_possible";
|
|
1635
|
+
RouteWarningCode["LOW_SPEED"] = "low_speed";
|
|
1636
|
+
RouteWarningCode["OPERATOR_PREFERENCES_NOT_FOUND"] = "operator_preferences_not_found";
|
|
1637
|
+
})(RouteWarningCode || (RouteWarningCode = {}));
|
|
1638
|
+
|
|
1612
1639
|
export let SolarIrradianceUnit;
|
|
1613
1640
|
|
|
1614
1641
|
(function (SolarIrradianceUnit) {
|