@chargetrip/types 1.40.0 → 1.42.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 +16 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +31 -12
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +31 -12
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +390 -170
- package/graphql.schema.json +1050 -344
- package/package.json +1 -1
- package/src/graphql.ts +415 -171
|
@@ -77,8 +77,9 @@ export let BatteryInputType;
|
|
|
77
77
|
BatteryInputType["PERCENTAGE"] = "percentage";
|
|
78
78
|
})(BatteryInputType || (BatteryInputType = {}));
|
|
79
79
|
|
|
80
|
-
/**
|
|
80
|
+
/** Deprecated: In favour of VehicleBatteryFieldEstimations. */
|
|
81
81
|
export let CarBatteryFieldEstimations;
|
|
82
|
+
/** Deprecated: In favour of VehicleBody. */
|
|
82
83
|
|
|
83
84
|
(function (CarBatteryFieldEstimations) {
|
|
84
85
|
CarBatteryFieldEstimations["B"] = "B";
|
|
@@ -94,7 +95,7 @@ export let CarConnectivityProvider;
|
|
|
94
95
|
CarConnectivityProvider["ENODE"] = "Enode";
|
|
95
96
|
})(CarConnectivityProvider || (CarConnectivityProvider = {}));
|
|
96
97
|
|
|
97
|
-
/**
|
|
98
|
+
/** Deprecated: In favour of VehicleDrivetrain. */
|
|
98
99
|
export let CarDrivetrain;
|
|
99
100
|
/** Deprecated. */
|
|
100
101
|
|
|
@@ -103,16 +104,17 @@ export let CarDrivetrain;
|
|
|
103
104
|
CarDrivetrain["EREV"] = "EREV";
|
|
104
105
|
})(CarDrivetrain || (CarDrivetrain = {}));
|
|
105
106
|
|
|
106
|
-
/**
|
|
107
|
+
/** Deprecated: In favour of VehicleFuel. */
|
|
107
108
|
export let CarFuel;
|
|
109
|
+
/** Deprecated: In favour of VehicleImage */
|
|
108
110
|
|
|
109
111
|
(function (CarFuel) {
|
|
110
112
|
CarFuel["E"] = "E";
|
|
111
113
|
})(CarFuel || (CarFuel = {}));
|
|
112
114
|
|
|
113
|
-
/**
|
|
115
|
+
/** Deprecated: In favour of VehicleImageType. */
|
|
114
116
|
export let CarImageType;
|
|
115
|
-
/**
|
|
117
|
+
/** Deprecated: In favour of VehicleImageTypeUploadable. */
|
|
116
118
|
|
|
117
119
|
(function (CarImageType) {
|
|
118
120
|
CarImageType["PROVIDER"] = "provider";
|
|
@@ -124,14 +126,15 @@ export let CarImageType;
|
|
|
124
126
|
})(CarImageType || (CarImageType = {}));
|
|
125
127
|
|
|
126
128
|
export let CarImageTypeUploadable;
|
|
127
|
-
/**
|
|
129
|
+
/** Deprecated: In favour of VehicleList. */
|
|
128
130
|
|
|
129
131
|
(function (CarImageTypeUploadable) {
|
|
130
132
|
CarImageTypeUploadable["IMAGE"] = "image";
|
|
131
133
|
})(CarImageTypeUploadable || (CarImageTypeUploadable = {}));
|
|
132
134
|
|
|
133
|
-
/**
|
|
135
|
+
/** Deprecated: In favour of VehicleMode. */
|
|
134
136
|
export let CarMode;
|
|
137
|
+
/** Deprecated: In favour of VehicleNaming. */
|
|
135
138
|
|
|
136
139
|
(function (CarMode) {
|
|
137
140
|
CarMode["INDEX_ONLY"] = "index_only";
|
|
@@ -139,8 +142,9 @@ export let CarMode;
|
|
|
139
142
|
CarMode["CONCEPT"] = "concept";
|
|
140
143
|
})(CarMode || (CarMode = {}));
|
|
141
144
|
|
|
142
|
-
/**
|
|
145
|
+
/** Deprecated: In favour of VehiclePropulsion. */
|
|
143
146
|
export let CarPropulsion;
|
|
147
|
+
/** Deprecated: In favour of VehicleRange. */
|
|
144
148
|
|
|
145
149
|
(function (CarPropulsion) {
|
|
146
150
|
CarPropulsion["AWD"] = "AWD";
|
|
@@ -148,8 +152,9 @@ export let CarPropulsion;
|
|
|
148
152
|
CarPropulsion["REAR"] = "Rear";
|
|
149
153
|
})(CarPropulsion || (CarPropulsion = {}));
|
|
150
154
|
|
|
151
|
-
/**
|
|
155
|
+
/** Deprecated: In favour of VehicleStatus. */
|
|
152
156
|
export let CarStatus;
|
|
157
|
+
/** Deprecated: In favour of VehicleVideo. */
|
|
153
158
|
|
|
154
159
|
(function (CarStatus) {
|
|
155
160
|
CarStatus["NEW"] = "new";
|
|
@@ -585,7 +590,7 @@ export let EmissionUnit;
|
|
|
585
590
|
EmissionUnit["OUNCE"] = "ounce";
|
|
586
591
|
})(EmissionUnit || (EmissionUnit = {}));
|
|
587
592
|
|
|
588
|
-
/** GeoJSON Feature type */
|
|
593
|
+
/** GeoJSON Feature type. */
|
|
589
594
|
export let FeatureType;
|
|
590
595
|
|
|
591
596
|
(function (FeatureType) {
|
|
@@ -607,7 +612,15 @@ export let FuelUnit;
|
|
|
607
612
|
FuelUnit["GALLON"] = "gallon";
|
|
608
613
|
})(FuelUnit || (FuelUnit = {}));
|
|
609
614
|
|
|
615
|
+
export let HeatPumpMode;
|
|
610
616
|
/** Allowed N (EU) types of heavy vehicles. */
|
|
617
|
+
|
|
618
|
+
(function (HeatPumpMode) {
|
|
619
|
+
HeatPumpMode["DEFAULT"] = "default";
|
|
620
|
+
HeatPumpMode["INSTALLED"] = "installed";
|
|
621
|
+
HeatPumpMode["NONE"] = "none";
|
|
622
|
+
})(HeatPumpMode || (HeatPumpMode = {}));
|
|
623
|
+
|
|
611
624
|
export let HeavyVehiclesEUType;
|
|
612
625
|
/** List of facilities in the location. */
|
|
613
626
|
|
|
@@ -998,7 +1011,7 @@ export let ParkingCost;
|
|
|
998
1011
|
ParkingCost["PAID"] = "paid";
|
|
999
1012
|
})(ParkingCost || (ParkingCost = {}));
|
|
1000
1013
|
|
|
1001
|
-
/** GeoJSON Point type */
|
|
1014
|
+
/** GeoJSON Point type. */
|
|
1002
1015
|
export let PointType;
|
|
1003
1016
|
/** Polygon properties. */
|
|
1004
1017
|
|
|
@@ -1022,7 +1035,6 @@ export let PowerUnit;
|
|
|
1022
1035
|
})(PowerUnit || (PowerUnit = {}));
|
|
1023
1036
|
|
|
1024
1037
|
export let PressureUnit;
|
|
1025
|
-
/** The price model. */
|
|
1026
1038
|
|
|
1027
1039
|
(function (PressureUnit) {
|
|
1028
1040
|
PressureUnit["BAR"] = "bar";
|
|
@@ -1172,6 +1184,13 @@ export let RouteTagType;
|
|
|
1172
1184
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1173
1185
|
})(RouteTagType || (RouteTagType = {}));
|
|
1174
1186
|
|
|
1187
|
+
export let SortDirection;
|
|
1188
|
+
|
|
1189
|
+
(function (SortDirection) {
|
|
1190
|
+
SortDirection["ASCENDING"] = "ascending";
|
|
1191
|
+
SortDirection["DESCENDING"] = "descending";
|
|
1192
|
+
})(SortDirection || (SortDirection = {}));
|
|
1193
|
+
|
|
1175
1194
|
export let SpeedUnit;
|
|
1176
1195
|
/** Standards(plug type) stats model */
|
|
1177
1196
|
|