@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
package/dist/node/index.js
CHANGED
|
@@ -53,6 +53,8 @@ exports.Amenities = void 0;
|
|
|
53
53
|
Amenities["SUPERMARKET"] = "supermarket";
|
|
54
54
|
Amenities["PLAYGROUND"] = "playground";
|
|
55
55
|
Amenities["PHARMACY"] = "pharmacy";
|
|
56
|
+
Amenities["BAKERY"] = "bakery";
|
|
57
|
+
Amenities["CONVENIENCE_STORE"] = "convenience_store";
|
|
56
58
|
})(exports.Amenities || (exports.Amenities = {}));
|
|
57
59
|
|
|
58
60
|
/** A list of amenity types. */
|
|
@@ -70,6 +72,8 @@ exports.AmenityType = void 0;
|
|
|
70
72
|
AmenityType["SUPERMARKET"] = "supermarket";
|
|
71
73
|
AmenityType["PLAYGROUND"] = "playground";
|
|
72
74
|
AmenityType["PHARMACY"] = "pharmacy";
|
|
75
|
+
AmenityType["BAKERY"] = "bakery";
|
|
76
|
+
AmenityType["CONVENIENCE_STORE"] = "convenience_store";
|
|
73
77
|
})(exports.AmenityType || (exports.AmenityType = {}));
|
|
74
78
|
|
|
75
79
|
exports.AmenityWheelchairAccessibilityType = void 0;
|
|
@@ -255,6 +259,8 @@ exports.ConnectorType = void 0;
|
|
|
255
259
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
256
260
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
257
261
|
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
262
|
+
ConnectorType["GBT_AC"] = "GBT_AC";
|
|
263
|
+
ConnectorType["GBT_DC"] = "GBT_DC";
|
|
258
264
|
})(exports.ConnectorType || (exports.ConnectorType = {}));
|
|
259
265
|
|
|
260
266
|
exports.ConsumptionUnit = void 0;
|
|
@@ -960,7 +966,6 @@ exports.HeavyVehiclesEUType = void 0;
|
|
|
960
966
|
})(exports.HeavyVehiclesEUType || (exports.HeavyVehiclesEUType = {}));
|
|
961
967
|
|
|
962
968
|
exports.HeavyVehiclesFacility = void 0;
|
|
963
|
-
/** Navigation service providers available */
|
|
964
969
|
|
|
965
970
|
(function (HeavyVehiclesFacility) {
|
|
966
971
|
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
@@ -970,13 +975,6 @@ exports.HeavyVehiclesFacility = void 0;
|
|
|
970
975
|
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
971
976
|
})(exports.HeavyVehiclesFacility || (exports.HeavyVehiclesFacility = {}));
|
|
972
977
|
|
|
973
|
-
exports.InstructionsFormat = void 0;
|
|
974
|
-
|
|
975
|
-
(function (InstructionsFormat) {
|
|
976
|
-
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
977
|
-
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
978
|
-
})(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
|
|
979
|
-
|
|
980
978
|
exports.IsolineFerryConnectionsType = void 0;
|
|
981
979
|
|
|
982
980
|
(function (IsolineFerryConnectionsType) {
|
|
@@ -1016,26 +1014,11 @@ exports.LegType = void 0;
|
|
|
1016
1014
|
|
|
1017
1015
|
/** GeoJSON LineString type. */
|
|
1018
1016
|
exports.LineStringType = void 0;
|
|
1019
|
-
/** Preferred language for the mapping */
|
|
1020
1017
|
|
|
1021
1018
|
(function (LineStringType) {
|
|
1022
1019
|
LineStringType["LINESTRING"] = "LineString";
|
|
1023
1020
|
})(exports.LineStringType || (exports.LineStringType = {}));
|
|
1024
1021
|
|
|
1025
|
-
exports.MappingLanguage = void 0;
|
|
1026
|
-
/** Navigation service providers available */
|
|
1027
|
-
|
|
1028
|
-
(function (MappingLanguage) {
|
|
1029
|
-
MappingLanguage["EN"] = "en";
|
|
1030
|
-
})(exports.MappingLanguage || (exports.MappingLanguage = {}));
|
|
1031
|
-
|
|
1032
|
-
exports.MappingProvider = void 0;
|
|
1033
|
-
|
|
1034
|
-
(function (MappingProvider) {
|
|
1035
|
-
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
1036
|
-
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
1037
|
-
})(exports.MappingProvider || (exports.MappingProvider = {}));
|
|
1038
|
-
|
|
1039
1022
|
exports.MeasurementUnit = void 0;
|
|
1040
1023
|
/** A GeoJSON Polygon. */
|
|
1041
1024
|
|
|
@@ -1051,16 +1034,16 @@ exports.MultiPolygonType = void 0;
|
|
|
1051
1034
|
MultiPolygonType["MULTIPOLYGON"] = "MultiPolygon";
|
|
1052
1035
|
})(exports.MultiPolygonType || (exports.MultiPolygonType = {}));
|
|
1053
1036
|
|
|
1054
|
-
/** State of navigation session */
|
|
1055
|
-
exports.
|
|
1056
|
-
/**
|
|
1037
|
+
/** State of navigation session. */
|
|
1038
|
+
exports.NavigationStatus = void 0;
|
|
1039
|
+
/** The navigation session subscription data */
|
|
1057
1040
|
|
|
1058
|
-
(function (
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
})(exports.
|
|
1041
|
+
(function (NavigationStatus) {
|
|
1042
|
+
NavigationStatus["DRIVING"] = "driving";
|
|
1043
|
+
NavigationStatus["CHARGING"] = "charging";
|
|
1044
|
+
NavigationStatus["FINISHED"] = "finished";
|
|
1045
|
+
NavigationStatus["ERROR"] = "error";
|
|
1046
|
+
})(exports.NavigationStatus || (exports.NavigationStatus = {}));
|
|
1064
1047
|
|
|
1065
1048
|
/** The capabilities of an EVSE. */
|
|
1066
1049
|
exports.OCPICapability = void 0;
|
|
@@ -1132,6 +1115,8 @@ exports.OCPIConnectorType = void 0;
|
|
|
1132
1115
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
1133
1116
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
1134
1117
|
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
1118
|
+
OCPIConnectorType["GBT_AC"] = "GBT_AC";
|
|
1119
|
+
OCPIConnectorType["GBT_DC"] = "GBT_DC";
|
|
1135
1120
|
})(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
|
|
1136
1121
|
|
|
1137
1122
|
exports.OCPIDayOfWeek = void 0;
|
|
@@ -1333,7 +1318,16 @@ exports.OICPValueAddedServices = void 0;
|
|
|
1333
1318
|
OICPValueAddedServices["NONE"] = "none";
|
|
1334
1319
|
})(exports.OICPValueAddedServices || (exports.OICPValueAddedServices = {}));
|
|
1335
1320
|
|
|
1321
|
+
exports.OperatorPreferenceType = void 0;
|
|
1336
1322
|
/** Operator ranking level. */
|
|
1323
|
+
|
|
1324
|
+
(function (OperatorPreferenceType) {
|
|
1325
|
+
OperatorPreferenceType["RANKED"] = "ranked";
|
|
1326
|
+
OperatorPreferenceType["UNRANKED"] = "unranked";
|
|
1327
|
+
OperatorPreferenceType["AVOIDED"] = "avoided";
|
|
1328
|
+
OperatorPreferenceType["EXCLUDED"] = "excluded";
|
|
1329
|
+
})(exports.OperatorPreferenceType || (exports.OperatorPreferenceType = {}));
|
|
1330
|
+
|
|
1337
1331
|
exports.OperatorRankingLevel = void 0;
|
|
1338
1332
|
/** 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. */
|
|
1339
1333
|
|
|
@@ -1399,7 +1393,6 @@ exports.PricingListElementType = void 0;
|
|
|
1399
1393
|
|
|
1400
1394
|
/** Types of an alternative route. */
|
|
1401
1395
|
exports.RouteAlternativeType = void 0;
|
|
1402
|
-
/** Amenity preferences for a route. */
|
|
1403
1396
|
|
|
1404
1397
|
(function (RouteAlternativeType) {
|
|
1405
1398
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
@@ -1464,6 +1457,18 @@ exports.RouteDetailsLegType = void 0;
|
|
|
1464
1457
|
RouteDetailsLegType["FINAL"] = "final";
|
|
1465
1458
|
})(exports.RouteDetailsLegType || (exports.RouteDetailsLegType = {}));
|
|
1466
1459
|
|
|
1460
|
+
/** Types of warnings that can be encountered in a route leg. */
|
|
1461
|
+
exports.RouteDetailsLegWarningCode = void 0;
|
|
1462
|
+
|
|
1463
|
+
(function (RouteDetailsLegWarningCode) {
|
|
1464
|
+
RouteDetailsLegWarningCode["VIA_NOT_VEHICLE_ACCESSIBLE"] = "via_not_vehicle_accessible";
|
|
1465
|
+
RouteDetailsLegWarningCode["OPERATORS_PREFERRED_NOT_AVAILABLE"] = "operators_preferred_not_available";
|
|
1466
|
+
RouteDetailsLegWarningCode["MAXIMUM_WEIGHT_EXCEEDED"] = "maximum_weight_exceeded";
|
|
1467
|
+
RouteDetailsLegWarningCode["SEGMENT_UNAVOIDABLE"] = "segment_unavoidable";
|
|
1468
|
+
RouteDetailsLegWarningCode["STATION_LIMITED_OPEN_HOURS"] = "station_limited_open_hours";
|
|
1469
|
+
RouteDetailsLegWarningCode["VIA_INSUFFICIENT_CHARGING_TIME"] = "via_insufficient_charging_time";
|
|
1470
|
+
})(exports.RouteDetailsLegWarningCode || (exports.RouteDetailsLegWarningCode = {}));
|
|
1471
|
+
|
|
1467
1472
|
/** Tags of a route. */
|
|
1468
1473
|
exports.RouteDetailsTag = void 0;
|
|
1469
1474
|
|
|
@@ -1476,6 +1481,13 @@ exports.RouteDetailsTag = void 0;
|
|
|
1476
1481
|
RouteDetailsTag["CROSSBORDER"] = "crossborder";
|
|
1477
1482
|
})(exports.RouteDetailsTag || (exports.RouteDetailsTag = {}));
|
|
1478
1483
|
|
|
1484
|
+
exports.RouteDrivingStyle = void 0;
|
|
1485
|
+
|
|
1486
|
+
(function (RouteDrivingStyle) {
|
|
1487
|
+
RouteDrivingStyle["ECO"] = "eco";
|
|
1488
|
+
RouteDrivingStyle["SPORT"] = "sport";
|
|
1489
|
+
})(exports.RouteDrivingStyle || (exports.RouteDrivingStyle = {}));
|
|
1490
|
+
|
|
1479
1491
|
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1480
1492
|
exports.RouteInstructionSign = void 0;
|
|
1481
1493
|
|
|
@@ -1603,6 +1615,7 @@ exports.RouteStatus = void 0;
|
|
|
1603
1615
|
|
|
1604
1616
|
/** Tags of a route. */
|
|
1605
1617
|
exports.RouteTagType = void 0;
|
|
1618
|
+
/** 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. */
|
|
1606
1619
|
|
|
1607
1620
|
(function (RouteTagType) {
|
|
1608
1621
|
RouteTagType["ROAD"] = "road";
|
|
@@ -1613,6 +1626,20 @@ exports.RouteTagType = void 0;
|
|
|
1613
1626
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1614
1627
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
1615
1628
|
|
|
1629
|
+
/** Types of warnings that can be encountered in a route. */
|
|
1630
|
+
exports.RouteWarningCode = void 0;
|
|
1631
|
+
|
|
1632
|
+
(function (RouteWarningCode) {
|
|
1633
|
+
RouteWarningCode["EV_UNAVAILABLE_IN_REGION"] = "ev_unavailable_in_region";
|
|
1634
|
+
RouteWarningCode["HEV_NO_CHARGING_STATIONS"] = "hev_no_charging_stations";
|
|
1635
|
+
RouteWarningCode["EREV_BATTERY_ONLY_RANGE"] = "erev_battery_only_range";
|
|
1636
|
+
RouteWarningCode["ORIGIN_NOT_VEHICLE_ACCESSIBLE"] = "origin_not_vehicle_accessible";
|
|
1637
|
+
RouteWarningCode["DESTINATION_NOT_VEHICLE_ACCESSIBLE"] = "destination_not_vehicle_accessible";
|
|
1638
|
+
RouteWarningCode["FINAL_SOC_NOT_POSSIBLE"] = "final_soc_not_possible";
|
|
1639
|
+
RouteWarningCode["LOW_SPEED"] = "low_speed";
|
|
1640
|
+
RouteWarningCode["OPERATOR_PREFERENCES_NOT_FOUND"] = "operator_preferences_not_found";
|
|
1641
|
+
})(exports.RouteWarningCode || (exports.RouteWarningCode = {}));
|
|
1642
|
+
|
|
1616
1643
|
exports.SolarIrradianceUnit = void 0;
|
|
1617
1644
|
|
|
1618
1645
|
(function (SolarIrradianceUnit) {
|