@chargetrip/types 1.37.4 → 1.39.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/CHANGELOG.md +14 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +99 -38
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +99 -38
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +1618 -994
- package/graphql.schema.json +5090 -1487
- package/package.json +1 -1
- package/src/graphql.ts +1711 -994
|
@@ -7,7 +7,7 @@ export let AccelerationUnit;
|
|
|
7
7
|
})(AccelerationUnit || (AccelerationUnit = {}));
|
|
8
8
|
|
|
9
9
|
export let AccessType;
|
|
10
|
-
/** Information about an address */
|
|
10
|
+
/** Information about an address. */
|
|
11
11
|
|
|
12
12
|
(function (AccessType) {
|
|
13
13
|
AccessType["PUBLIC"] = "Public";
|
|
@@ -45,7 +45,7 @@ export let Amenities;
|
|
|
45
45
|
Amenities["PHARMACY"] = "pharmacy";
|
|
46
46
|
})(Amenities || (Amenities = {}));
|
|
47
47
|
|
|
48
|
-
/** A list of amenity types */
|
|
48
|
+
/** A list of amenity types. */
|
|
49
49
|
export let AmenityType;
|
|
50
50
|
|
|
51
51
|
(function (AmenityType) {
|
|
@@ -62,7 +62,7 @@ export let AmenityType;
|
|
|
62
62
|
})(AmenityType || (AmenityType = {}));
|
|
63
63
|
|
|
64
64
|
export let AuxiliaryConsumptionUnit;
|
|
65
|
-
/** The type of the battery value */
|
|
65
|
+
/** The type of the battery value. */
|
|
66
66
|
|
|
67
67
|
(function (AuxiliaryConsumptionUnit) {
|
|
68
68
|
AuxiliaryConsumptionUnit["KILOWATT_HOUR"] = "kilowatt_hour";
|
|
@@ -77,7 +77,7 @@ export let BatteryInputType;
|
|
|
77
77
|
BatteryInputType["PERCENTAGE"] = "percentage";
|
|
78
78
|
})(BatteryInputType || (BatteryInputType = {}));
|
|
79
79
|
|
|
80
|
-
/** Battery field estimated */
|
|
80
|
+
/** Battery field estimated. */
|
|
81
81
|
export let CarBatteryFieldEstimations;
|
|
82
82
|
|
|
83
83
|
(function (CarBatteryFieldEstimations) {
|
|
@@ -88,31 +88,31 @@ export let CarBatteryFieldEstimations;
|
|
|
88
88
|
})(CarBatteryFieldEstimations || (CarBatteryFieldEstimations = {}));
|
|
89
89
|
|
|
90
90
|
export let CarConnectivityProvider;
|
|
91
|
-
/** Deprecated */
|
|
91
|
+
/** Deprecated. */
|
|
92
92
|
|
|
93
93
|
(function (CarConnectivityProvider) {
|
|
94
94
|
CarConnectivityProvider["ENODE"] = "Enode";
|
|
95
95
|
})(CarConnectivityProvider || (CarConnectivityProvider = {}));
|
|
96
96
|
|
|
97
|
-
/** Drivetrain */
|
|
97
|
+
/** Drivetrain. */
|
|
98
98
|
export let CarDrivetrain;
|
|
99
|
-
/** Deprecated */
|
|
99
|
+
/** Deprecated. */
|
|
100
100
|
|
|
101
101
|
(function (CarDrivetrain) {
|
|
102
102
|
CarDrivetrain["BEV"] = "BEV";
|
|
103
103
|
CarDrivetrain["EREV"] = "EREV";
|
|
104
104
|
})(CarDrivetrain || (CarDrivetrain = {}));
|
|
105
105
|
|
|
106
|
-
/** Fuel type */
|
|
106
|
+
/** Fuel type. */
|
|
107
107
|
export let CarFuel;
|
|
108
108
|
|
|
109
109
|
(function (CarFuel) {
|
|
110
110
|
CarFuel["E"] = "E";
|
|
111
111
|
})(CarFuel || (CarFuel = {}));
|
|
112
112
|
|
|
113
|
-
/** Available types of images which can be found for a car. Each type has specific image sizes */
|
|
113
|
+
/** Available types of images which can be found for a car. Each type has specific image sizes. */
|
|
114
114
|
export let CarImageType;
|
|
115
|
-
/** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
115
|
+
/** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system. */
|
|
116
116
|
|
|
117
117
|
(function (CarImageType) {
|
|
118
118
|
CarImageType["PROVIDER"] = "provider";
|
|
@@ -124,13 +124,13 @@ export let CarImageType;
|
|
|
124
124
|
})(CarImageType || (CarImageType = {}));
|
|
125
125
|
|
|
126
126
|
export let CarImageTypeUploadable;
|
|
127
|
-
/** The output element of the carList query */
|
|
127
|
+
/** The output element of the carList query. */
|
|
128
128
|
|
|
129
129
|
(function (CarImageTypeUploadable) {
|
|
130
130
|
CarImageTypeUploadable["IMAGE"] = "image";
|
|
131
131
|
})(CarImageTypeUploadable || (CarImageTypeUploadable = {}));
|
|
132
132
|
|
|
133
|
-
/** Mode (state) of the current production */
|
|
133
|
+
/** Mode (state) of the current production. */
|
|
134
134
|
export let CarMode;
|
|
135
135
|
|
|
136
136
|
(function (CarMode) {
|
|
@@ -139,7 +139,7 @@ export let CarMode;
|
|
|
139
139
|
CarMode["CONCEPT"] = "concept";
|
|
140
140
|
})(CarMode || (CarMode = {}));
|
|
141
141
|
|
|
142
|
-
/** Propulsion */
|
|
142
|
+
/** Propulsion. */
|
|
143
143
|
export let CarPropulsion;
|
|
144
144
|
|
|
145
145
|
(function (CarPropulsion) {
|
|
@@ -148,7 +148,7 @@ export let CarPropulsion;
|
|
|
148
148
|
CarPropulsion["REAR"] = "Rear";
|
|
149
149
|
})(CarPropulsion || (CarPropulsion = {}));
|
|
150
150
|
|
|
151
|
-
/** Status of a car */
|
|
151
|
+
/** Status of a car. */
|
|
152
152
|
export let CarStatus;
|
|
153
153
|
|
|
154
154
|
(function (CarStatus) {
|
|
@@ -158,7 +158,7 @@ export let CarStatus;
|
|
|
158
158
|
CarStatus["REMOVED"] = "removed";
|
|
159
159
|
})(CarStatus || (CarStatus = {}));
|
|
160
160
|
|
|
161
|
-
/** Charging mode used at charging stations */
|
|
161
|
+
/** Charging mode used at charging stations. */
|
|
162
162
|
export let ChargeMode;
|
|
163
163
|
|
|
164
164
|
(function (ChargeMode) {
|
|
@@ -265,7 +265,7 @@ export let ConnectorType;
|
|
|
265
265
|
})(ConnectorType || (ConnectorType = {}));
|
|
266
266
|
|
|
267
267
|
export let ConsumptionUnit;
|
|
268
|
-
/** The complete contact information */
|
|
268
|
+
/** The complete contact information. */
|
|
269
269
|
|
|
270
270
|
(function (ConsumptionUnit) {
|
|
271
271
|
ConsumptionUnit["KILOWATT_HOURS_PER_100_KILOMETERS"] = "kilowatt_hours_per_100_kilometers";
|
|
@@ -276,7 +276,7 @@ export let ConsumptionUnit;
|
|
|
276
276
|
ConsumptionUnit["MILES_PER_KILOWATT_HOUR"] = "miles_per_kilowatt_hour";
|
|
277
277
|
})(ConsumptionUnit || (ConsumptionUnit = {}));
|
|
278
278
|
|
|
279
|
-
/** ISO-3166 alpha-2 country codes */
|
|
279
|
+
/** ISO-3166 alpha-2 country codes. */
|
|
280
280
|
export let CountryCodeAlpha2;
|
|
281
281
|
|
|
282
282
|
(function (CountryCodeAlpha2) {
|
|
@@ -534,7 +534,7 @@ export let CountryCodeAlpha2;
|
|
|
534
534
|
CountryCodeAlpha2["ZW"] = "ZW";
|
|
535
535
|
})(CountryCodeAlpha2 || (CountryCodeAlpha2 = {}));
|
|
536
536
|
|
|
537
|
-
/** Currency according to the ISO 4217 standard */
|
|
537
|
+
/** Currency according to the ISO 4217 standard. */
|
|
538
538
|
export let CurrencyUnit;
|
|
539
539
|
|
|
540
540
|
(function (CurrencyUnit) {
|
|
@@ -583,13 +583,20 @@ export let FeatureType;
|
|
|
583
583
|
})(FeatureType || (FeatureType = {}));
|
|
584
584
|
|
|
585
585
|
export let FuelConsumptionUnit;
|
|
586
|
-
/** Geometry point with GPS coordinates */
|
|
587
586
|
|
|
588
587
|
(function (FuelConsumptionUnit) {
|
|
589
588
|
FuelConsumptionUnit["LITERS_PER_100_KILOMETERS"] = "liters_per_100_kilometers";
|
|
590
589
|
FuelConsumptionUnit["MILES_PER_GALLON"] = "miles_per_gallon";
|
|
591
590
|
})(FuelConsumptionUnit || (FuelConsumptionUnit = {}));
|
|
592
591
|
|
|
592
|
+
export let FuelUnit;
|
|
593
|
+
/** Geometry point with GPS coordinates */
|
|
594
|
+
|
|
595
|
+
(function (FuelUnit) {
|
|
596
|
+
FuelUnit["LITER"] = "liter";
|
|
597
|
+
FuelUnit["GALLON"] = "gallon";
|
|
598
|
+
})(FuelUnit || (FuelUnit = {}));
|
|
599
|
+
|
|
593
600
|
/** Navigation service providers available */
|
|
594
601
|
export let InstructionsFormat;
|
|
595
602
|
|
|
@@ -605,17 +612,17 @@ export let IsolineFerryConnectionsType;
|
|
|
605
612
|
IsolineFerryConnectionsType["SINGLE"] = "single";
|
|
606
613
|
})(IsolineFerryConnectionsType || (IsolineFerryConnectionsType = {}));
|
|
607
614
|
|
|
608
|
-
/** Granularity of the isoline */
|
|
615
|
+
/** Granularity of the isoline. */
|
|
609
616
|
export let IsolineQuality;
|
|
610
|
-
/** Status of the isoline label */
|
|
611
617
|
|
|
612
618
|
(function (IsolineQuality) {
|
|
613
619
|
IsolineQuality["HIGH"] = "high";
|
|
614
620
|
IsolineQuality["LOW"] = "low";
|
|
615
621
|
})(IsolineQuality || (IsolineQuality = {}));
|
|
616
622
|
|
|
623
|
+
/** Status of the isoline label. */
|
|
617
624
|
export let IsolineStatus;
|
|
618
|
-
/** Types of a leg */
|
|
625
|
+
/** Types of a leg. */
|
|
619
626
|
|
|
620
627
|
(function (IsolineStatus) {
|
|
621
628
|
IsolineStatus["DONE"] = "done";
|
|
@@ -624,7 +631,7 @@ export let IsolineStatus;
|
|
|
624
631
|
})(IsolineStatus || (IsolineStatus = {}));
|
|
625
632
|
|
|
626
633
|
export let LegType;
|
|
627
|
-
/** A GeoJSON LineString */
|
|
634
|
+
/** A GeoJSON LineString. */
|
|
628
635
|
|
|
629
636
|
(function (LegType) {
|
|
630
637
|
LegType["STATION"] = "station";
|
|
@@ -635,7 +642,7 @@ export let LegType;
|
|
|
635
642
|
LegType["STATIONFINAL"] = "stationFinal";
|
|
636
643
|
})(LegType || (LegType = {}));
|
|
637
644
|
|
|
638
|
-
/** GeoJSON LineString type */
|
|
645
|
+
/** GeoJSON LineString type. */
|
|
639
646
|
export let LineStringType;
|
|
640
647
|
/** Preferred language for the mapping */
|
|
641
648
|
|
|
@@ -658,14 +665,14 @@ export let MappingProvider;
|
|
|
658
665
|
})(MappingProvider || (MappingProvider = {}));
|
|
659
666
|
|
|
660
667
|
export let MeasurementUnit;
|
|
661
|
-
/** A GeoJSON Polygon */
|
|
668
|
+
/** A GeoJSON Polygon. */
|
|
662
669
|
|
|
663
670
|
(function (MeasurementUnit) {
|
|
664
671
|
MeasurementUnit["MILLIMETER"] = "millimeter";
|
|
665
672
|
MeasurementUnit["INCH"] = "inch";
|
|
666
673
|
})(MeasurementUnit || (MeasurementUnit = {}));
|
|
667
674
|
|
|
668
|
-
/** GeoJSON MultiPolygon type */
|
|
675
|
+
/** GeoJSON MultiPolygon type. */
|
|
669
676
|
export let MultiPolygonType;
|
|
670
677
|
|
|
671
678
|
(function (MultiPolygonType) {
|
|
@@ -963,7 +970,7 @@ export let ParkingCost;
|
|
|
963
970
|
|
|
964
971
|
/** GeoJSON Point type */
|
|
965
972
|
export let PointType;
|
|
966
|
-
/** Polygon properties */
|
|
973
|
+
/** Polygon properties. */
|
|
967
974
|
|
|
968
975
|
(function (PointType) {
|
|
969
976
|
PointType["POINT"] = "Point";
|
|
@@ -977,7 +984,7 @@ export let PowerUnit;
|
|
|
977
984
|
})(PowerUnit || (PowerUnit = {}));
|
|
978
985
|
|
|
979
986
|
export let PressureUnit;
|
|
980
|
-
/** The price model */
|
|
987
|
+
/** The price model. */
|
|
981
988
|
|
|
982
989
|
(function (PressureUnit) {
|
|
983
990
|
PressureUnit["BAR"] = "bar";
|
|
@@ -993,9 +1000,9 @@ export let PricingListElementType;
|
|
|
993
1000
|
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
994
1001
|
})(PricingListElementType || (PricingListElementType = {}));
|
|
995
1002
|
|
|
996
|
-
/** Types of an alternative route */
|
|
1003
|
+
/** Types of an alternative route. */
|
|
997
1004
|
export let RouteAlternativeType;
|
|
998
|
-
/** Amenity preferences for a route */
|
|
1005
|
+
/** Amenity preferences for a route. */
|
|
999
1006
|
|
|
1000
1007
|
(function (RouteAlternativeType) {
|
|
1001
1008
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
@@ -1003,7 +1010,7 @@ export let RouteAlternativeType;
|
|
|
1003
1010
|
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
1004
1011
|
})(RouteAlternativeType || (RouteAlternativeType = {}));
|
|
1005
1012
|
|
|
1006
|
-
/** Sign belonging to the instruction indicating the main maneuver */
|
|
1013
|
+
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1007
1014
|
export let RouteInstructionSign;
|
|
1008
1015
|
|
|
1009
1016
|
(function (RouteInstructionSign) {
|
|
@@ -1031,7 +1038,62 @@ export let RouteInstructionSign;
|
|
|
1031
1038
|
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
1032
1039
|
})(RouteInstructionSign || (RouteInstructionSign = {}));
|
|
1033
1040
|
|
|
1034
|
-
/**
|
|
1041
|
+
/** Köppen climate classification. */
|
|
1042
|
+
export let RouteOperationalElectricityClimate;
|
|
1043
|
+
|
|
1044
|
+
(function (RouteOperationalElectricityClimate) {
|
|
1045
|
+
RouteOperationalElectricityClimate["AF"] = "Af";
|
|
1046
|
+
RouteOperationalElectricityClimate["AM"] = "Am";
|
|
1047
|
+
RouteOperationalElectricityClimate["AW"] = "Aw";
|
|
1048
|
+
RouteOperationalElectricityClimate["AS"] = "As";
|
|
1049
|
+
RouteOperationalElectricityClimate["BWH"] = "BWh";
|
|
1050
|
+
RouteOperationalElectricityClimate["BWK"] = "BWk";
|
|
1051
|
+
RouteOperationalElectricityClimate["BSH"] = "BSh";
|
|
1052
|
+
RouteOperationalElectricityClimate["BSK"] = "BSk";
|
|
1053
|
+
RouteOperationalElectricityClimate["CWA"] = "Cwa";
|
|
1054
|
+
RouteOperationalElectricityClimate["CWB"] = "Cwb";
|
|
1055
|
+
RouteOperationalElectricityClimate["CWC"] = "Cwc";
|
|
1056
|
+
RouteOperationalElectricityClimate["CFA"] = "Cfa";
|
|
1057
|
+
RouteOperationalElectricityClimate["CFB"] = "Cfb";
|
|
1058
|
+
RouteOperationalElectricityClimate["CFC"] = "Cfc";
|
|
1059
|
+
RouteOperationalElectricityClimate["CSA"] = "Csa";
|
|
1060
|
+
RouteOperationalElectricityClimate["CSB"] = "Csb";
|
|
1061
|
+
RouteOperationalElectricityClimate["CSC"] = "Csc";
|
|
1062
|
+
RouteOperationalElectricityClimate["DWA"] = "Dwa";
|
|
1063
|
+
RouteOperationalElectricityClimate["DWB"] = "Dwb";
|
|
1064
|
+
RouteOperationalElectricityClimate["DWC"] = "Dwc";
|
|
1065
|
+
RouteOperationalElectricityClimate["DWD"] = "Dwd";
|
|
1066
|
+
RouteOperationalElectricityClimate["DFA"] = "Dfa";
|
|
1067
|
+
RouteOperationalElectricityClimate["DFB"] = "Dfb";
|
|
1068
|
+
RouteOperationalElectricityClimate["DFC"] = "Dfc";
|
|
1069
|
+
RouteOperationalElectricityClimate["DFD"] = "Dfd";
|
|
1070
|
+
RouteOperationalElectricityClimate["DSA"] = "Dsa";
|
|
1071
|
+
RouteOperationalElectricityClimate["DSB"] = "Dsb";
|
|
1072
|
+
RouteOperationalElectricityClimate["DSC"] = "Dsc";
|
|
1073
|
+
RouteOperationalElectricityClimate["DSD"] = "Dsd";
|
|
1074
|
+
RouteOperationalElectricityClimate["ET"] = "ET";
|
|
1075
|
+
RouteOperationalElectricityClimate["EF"] = "EF";
|
|
1076
|
+
})(RouteOperationalElectricityClimate || (RouteOperationalElectricityClimate = {}));
|
|
1077
|
+
|
|
1078
|
+
/** Yearly seasons. */
|
|
1079
|
+
export let RouteOperationalElectricitySeason;
|
|
1080
|
+
|
|
1081
|
+
(function (RouteOperationalElectricitySeason) {
|
|
1082
|
+
RouteOperationalElectricitySeason["WINTER"] = "winter";
|
|
1083
|
+
RouteOperationalElectricitySeason["SPRING"] = "spring";
|
|
1084
|
+
RouteOperationalElectricitySeason["SUMMER"] = "summer";
|
|
1085
|
+
RouteOperationalElectricitySeason["FALL"] = "fall";
|
|
1086
|
+
})(RouteOperationalElectricitySeason || (RouteOperationalElectricitySeason = {}));
|
|
1087
|
+
|
|
1088
|
+
/** Fuel types. */
|
|
1089
|
+
export let RouteOperationalFuelType;
|
|
1090
|
+
|
|
1091
|
+
(function (RouteOperationalFuelType) {
|
|
1092
|
+
RouteOperationalFuelType["GASOLINE"] = "gasoline";
|
|
1093
|
+
RouteOperationalFuelType["DIESEL"] = "diesel";
|
|
1094
|
+
})(RouteOperationalFuelType || (RouteOperationalFuelType = {}));
|
|
1095
|
+
|
|
1096
|
+
/** Type of operator prioritization for a route. */
|
|
1035
1097
|
export let RouteOperatorsType;
|
|
1036
1098
|
|
|
1037
1099
|
(function (RouteOperatorsType) {
|
|
@@ -1040,7 +1102,7 @@ export let RouteOperatorsType;
|
|
|
1040
1102
|
RouteOperatorsType["REQUIRED"] = "required";
|
|
1041
1103
|
})(RouteOperatorsType || (RouteOperatorsType = {}));
|
|
1042
1104
|
|
|
1043
|
-
/** The season of the route */
|
|
1105
|
+
/** The season of the route. */
|
|
1044
1106
|
export let RouteSeason;
|
|
1045
1107
|
|
|
1046
1108
|
(function (RouteSeason) {
|
|
@@ -1049,7 +1111,7 @@ export let RouteSeason;
|
|
|
1049
1111
|
RouteSeason["CURRENT"] = "current";
|
|
1050
1112
|
})(RouteSeason || (RouteSeason = {}));
|
|
1051
1113
|
|
|
1052
|
-
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
1114
|
+
/** The status of a route. The status can be pending, processing, done, not_found or error. */
|
|
1053
1115
|
export let RouteStatus;
|
|
1054
1116
|
|
|
1055
1117
|
(function (RouteStatus) {
|
|
@@ -1060,9 +1122,8 @@ export let RouteStatus;
|
|
|
1060
1122
|
RouteStatus["ERROR"] = "error";
|
|
1061
1123
|
})(RouteStatus || (RouteStatus = {}));
|
|
1062
1124
|
|
|
1063
|
-
/** Tags of a route */
|
|
1125
|
+
/** Tags of a route. */
|
|
1064
1126
|
export let RouteTagType;
|
|
1065
|
-
/** Scheduled charge stop along a route */
|
|
1066
1127
|
|
|
1067
1128
|
(function (RouteTagType) {
|
|
1068
1129
|
RouteTagType["ROAD"] = "road";
|
|
@@ -1091,7 +1152,7 @@ export let StateOfChargeUnit;
|
|
|
1091
1152
|
StateOfChargeUnit["PERCENTAGE"] = "percentage";
|
|
1092
1153
|
})(StateOfChargeUnit || (StateOfChargeUnit = {}));
|
|
1093
1154
|
|
|
1094
|
-
/** The station speed type */
|
|
1155
|
+
/** The station speed type. */
|
|
1095
1156
|
export let StationSpeedType;
|
|
1096
1157
|
/** The station stats model */
|
|
1097
1158
|
|
|
@@ -1101,7 +1162,7 @@ export let StationSpeedType;
|
|
|
1101
1162
|
StationSpeedType["TURBO"] = "turbo";
|
|
1102
1163
|
})(StationSpeedType || (StationSpeedType = {}));
|
|
1103
1164
|
|
|
1104
|
-
/** Types of a route step */
|
|
1165
|
+
/** Types of a route step. */
|
|
1105
1166
|
export let StepType;
|
|
1106
1167
|
|
|
1107
1168
|
(function (StepType) {
|