@chargetrip/types 1.41.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 +9 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +23 -12
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +23 -12
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +283 -157
- package/graphql.schema.json +576 -327
- package/package.json +1 -1
- package/src/graphql.ts +299 -158
|
@@ -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) {
|
|
@@ -1006,7 +1011,7 @@ export let ParkingCost;
|
|
|
1006
1011
|
ParkingCost["PAID"] = "paid";
|
|
1007
1012
|
})(ParkingCost || (ParkingCost = {}));
|
|
1008
1013
|
|
|
1009
|
-
/** GeoJSON Point type */
|
|
1014
|
+
/** GeoJSON Point type. */
|
|
1010
1015
|
export let PointType;
|
|
1011
1016
|
/** Polygon properties. */
|
|
1012
1017
|
|
|
@@ -1030,7 +1035,6 @@ export let PowerUnit;
|
|
|
1030
1035
|
})(PowerUnit || (PowerUnit = {}));
|
|
1031
1036
|
|
|
1032
1037
|
export let PressureUnit;
|
|
1033
|
-
/** The price model. */
|
|
1034
1038
|
|
|
1035
1039
|
(function (PressureUnit) {
|
|
1036
1040
|
PressureUnit["BAR"] = "bar";
|
|
@@ -1180,6 +1184,13 @@ export let RouteTagType;
|
|
|
1180
1184
|
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
1181
1185
|
})(RouteTagType || (RouteTagType = {}));
|
|
1182
1186
|
|
|
1187
|
+
export let SortDirection;
|
|
1188
|
+
|
|
1189
|
+
(function (SortDirection) {
|
|
1190
|
+
SortDirection["ASCENDING"] = "ascending";
|
|
1191
|
+
SortDirection["DESCENDING"] = "descending";
|
|
1192
|
+
})(SortDirection || (SortDirection = {}));
|
|
1193
|
+
|
|
1183
1194
|
export let SpeedUnit;
|
|
1184
1195
|
/** Standards(plug type) stats model */
|
|
1185
1196
|
|