@chargetrip/types 1.35.1 → 1.37.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 +51 -15
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +51 -15
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +564 -422
- package/graphql.schema.json +1225 -562
- package/package.json +1 -1
- package/src/graphql.ts +571 -422
|
@@ -120,6 +120,7 @@ export let CarImageType;
|
|
|
120
120
|
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
121
121
|
CarImageType["BRAND"] = "brand";
|
|
122
122
|
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
123
|
+
CarImageType["PLACEHOLDER"] = "placeholder";
|
|
123
124
|
})(CarImageType || (CarImageType = {}));
|
|
124
125
|
|
|
125
126
|
export let CarImageTypeUploadable;
|
|
@@ -267,14 +268,12 @@ export let ConsumptionUnit;
|
|
|
267
268
|
/** The complete contact information */
|
|
268
269
|
|
|
269
270
|
(function (ConsumptionUnit) {
|
|
270
|
-
ConsumptionUnit["KILOMETER"] = "kilometer";
|
|
271
|
-
ConsumptionUnit["KILOWATT_HOUR"] = "kilowatt_hour";
|
|
272
271
|
ConsumptionUnit["KILOWATT_HOURS_PER_100_KILOMETERS"] = "kilowatt_hours_per_100_kilometers";
|
|
273
|
-
ConsumptionUnit["KILOWATT_HOURS_PER_100_MILES"] = "kilowatt_hours_per_100_miles";
|
|
274
272
|
ConsumptionUnit["WATT_HOURS_PER_KILOMETER"] = "watt_hours_per_kilometer";
|
|
273
|
+
ConsumptionUnit["KILOMETERS_PER_KILOWATT_HOUR"] = "kilometers_per_kilowatt_hour";
|
|
274
|
+
ConsumptionUnit["KILOWATT_HOURS_PER_100_MILES"] = "kilowatt_hours_per_100_miles";
|
|
275
275
|
ConsumptionUnit["WATT_HOURS_PER_MILE"] = "watt_hours_per_mile";
|
|
276
276
|
ConsumptionUnit["MILES_PER_KILOWATT_HOUR"] = "miles_per_kilowatt_hour";
|
|
277
|
-
ConsumptionUnit["KILOMETERS_PER_KILOWATT_HOUR"] = "kilometers_per_kilowatt_hour";
|
|
278
277
|
})(ConsumptionUnit || (ConsumptionUnit = {}));
|
|
279
278
|
|
|
280
279
|
/** ISO-3166 alpha-2 country codes */
|
|
@@ -541,6 +540,7 @@ export let CurrencyUnit;
|
|
|
541
540
|
(function (CurrencyUnit) {
|
|
542
541
|
CurrencyUnit["EUR"] = "EUR";
|
|
543
542
|
CurrencyUnit["USD"] = "USD";
|
|
543
|
+
CurrencyUnit["GBP"] = "GBP";
|
|
544
544
|
})(CurrencyUnit || (CurrencyUnit = {}));
|
|
545
545
|
|
|
546
546
|
export let DistanceUnit;
|
|
@@ -1141,7 +1141,7 @@ export let TurningCircleUnit;
|
|
|
1141
1141
|
TurningCircleUnit["FOOT"] = "foot";
|
|
1142
1142
|
})(TurningCircleUnit || (TurningCircleUnit = {}));
|
|
1143
1143
|
|
|
1144
|
-
/** Availability status of a vehicle */
|
|
1144
|
+
/** Availability status of a vehicle. */
|
|
1145
1145
|
export let VehicleAvailabilityStatus;
|
|
1146
1146
|
|
|
1147
1147
|
(function (VehicleAvailabilityStatus) {
|
|
@@ -1156,7 +1156,7 @@ export let VehicleAvailabilityStatus;
|
|
|
1156
1156
|
VehicleAvailabilityStatus["UNCERTAIN"] = "uncertain";
|
|
1157
1157
|
})(VehicleAvailabilityStatus || (VehicleAvailabilityStatus = {}));
|
|
1158
1158
|
|
|
1159
|
-
/** Battery field estimated */
|
|
1159
|
+
/** Battery field estimated. */
|
|
1160
1160
|
export let VehicleBatteryFieldEstimations;
|
|
1161
1161
|
|
|
1162
1162
|
(function (VehicleBatteryFieldEstimations) {
|
|
@@ -1173,9 +1173,9 @@ export let VehicleDataProvider;
|
|
|
1173
1173
|
VehicleDataProvider["EVDATABASE"] = "evdatabase";
|
|
1174
1174
|
})(VehicleDataProvider || (VehicleDataProvider = {}));
|
|
1175
1175
|
|
|
1176
|
-
/** Drivetrain */
|
|
1176
|
+
/** Drivetrain. */
|
|
1177
1177
|
export let VehicleDrivetrainType;
|
|
1178
|
-
/** Fuel type */
|
|
1178
|
+
/** Fuel type. */
|
|
1179
1179
|
|
|
1180
1180
|
(function (VehicleDrivetrainType) {
|
|
1181
1181
|
VehicleDrivetrainType["BEV"] = "BEV";
|
|
@@ -1192,26 +1192,30 @@ export let VehicleFuel;
|
|
|
1192
1192
|
VehicleFuel["P"] = "P";
|
|
1193
1193
|
})(VehicleFuel || (VehicleFuel = {}));
|
|
1194
1194
|
|
|
1195
|
-
/** Available types of images which can be found for a vehicle. Each type has specific image sizes */
|
|
1195
|
+
/** Available types of images which can be found for a vehicle. Each type has specific image sizes. */
|
|
1196
1196
|
export let VehicleImageType;
|
|
1197
|
-
/** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
1197
|
+
/** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system. */
|
|
1198
1198
|
|
|
1199
1199
|
(function (VehicleImageType) {
|
|
1200
1200
|
VehicleImageType["PROVIDER"] = "provider";
|
|
1201
1201
|
VehicleImageType["IMAGE"] = "image";
|
|
1202
1202
|
VehicleImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
1203
|
+
VehicleImageType["IMAGE_PREMIUM"] = "image_premium";
|
|
1204
|
+
VehicleImageType["PREMIUM_IMAGE_THUMBNAIL"] = "premium_image_thumbnail";
|
|
1203
1205
|
VehicleImageType["BRAND"] = "brand";
|
|
1204
1206
|
VehicleImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
1207
|
+
VehicleImageType["PLACEHOLDER"] = "placeholder";
|
|
1205
1208
|
})(VehicleImageType || (VehicleImageType = {}));
|
|
1206
1209
|
|
|
1207
1210
|
export let VehicleImageTypeUploadable;
|
|
1208
|
-
/** The output element of the vehicleList query */
|
|
1211
|
+
/** The output element of the vehicleList query. */
|
|
1209
1212
|
|
|
1210
1213
|
(function (VehicleImageTypeUploadable) {
|
|
1211
1214
|
VehicleImageTypeUploadable["IMAGE"] = "image";
|
|
1215
|
+
VehicleImageTypeUploadable["IMAGE_PREMIUM"] = "image_premium";
|
|
1212
1216
|
})(VehicleImageTypeUploadable || (VehicleImageTypeUploadable = {}));
|
|
1213
1217
|
|
|
1214
|
-
/** Mode (state) of the current production */
|
|
1218
|
+
/** Mode (state) of the current production. */
|
|
1215
1219
|
export let VehicleMode;
|
|
1216
1220
|
|
|
1217
1221
|
(function (VehicleMode) {
|
|
@@ -1220,9 +1224,9 @@ export let VehicleMode;
|
|
|
1220
1224
|
VehicleMode["CONCEPT"] = "concept";
|
|
1221
1225
|
})(VehicleMode || (VehicleMode = {}));
|
|
1222
1226
|
|
|
1223
|
-
/** Propulsion */
|
|
1227
|
+
/** Propulsion. */
|
|
1224
1228
|
export let VehiclePropulsion;
|
|
1225
|
-
/** Status of a vehicle provider */
|
|
1229
|
+
/** Status of a vehicle provider. */
|
|
1226
1230
|
|
|
1227
1231
|
(function (VehiclePropulsion) {
|
|
1228
1232
|
VehiclePropulsion["AWD"] = "AWD";
|
|
@@ -1239,7 +1243,26 @@ export let VehicleProviderStatus;
|
|
|
1239
1243
|
VehicleProviderStatus["ARCHIVED"] = "archived";
|
|
1240
1244
|
})(VehicleProviderStatus || (VehicleProviderStatus = {}));
|
|
1241
1245
|
|
|
1242
|
-
|
|
1246
|
+
export let VehiclePurpose;
|
|
1247
|
+
|
|
1248
|
+
(function (VehiclePurpose) {
|
|
1249
|
+
VehiclePurpose["PASSENGER"] = "passenger";
|
|
1250
|
+
VehiclePurpose["CARGO"] = "cargo";
|
|
1251
|
+
VehiclePurpose["UTILITY"] = "utility";
|
|
1252
|
+
})(VehiclePurpose || (VehiclePurpose = {}));
|
|
1253
|
+
|
|
1254
|
+
export let VehicleRegion;
|
|
1255
|
+
|
|
1256
|
+
(function (VehicleRegion) {
|
|
1257
|
+
VehicleRegion["AF"] = "AF";
|
|
1258
|
+
VehicleRegion["AS"] = "AS";
|
|
1259
|
+
VehicleRegion["EU"] = "EU";
|
|
1260
|
+
VehicleRegion["NA"] = "NA";
|
|
1261
|
+
VehicleRegion["OC"] = "OC";
|
|
1262
|
+
VehicleRegion["SA"] = "SA";
|
|
1263
|
+
})(VehicleRegion || (VehicleRegion = {}));
|
|
1264
|
+
|
|
1265
|
+
/** Status of a vehicle. */
|
|
1243
1266
|
export let VehicleStatus;
|
|
1244
1267
|
|
|
1245
1268
|
(function (VehicleStatus) {
|
|
@@ -1249,6 +1272,19 @@ export let VehicleStatus;
|
|
|
1249
1272
|
VehicleStatus["ARCHIVED"] = "archived";
|
|
1250
1273
|
})(VehicleStatus || (VehicleStatus = {}));
|
|
1251
1274
|
|
|
1275
|
+
export let VehicleType;
|
|
1276
|
+
|
|
1277
|
+
(function (VehicleType) {
|
|
1278
|
+
VehicleType["MOTORCYCLE"] = "motorcycle";
|
|
1279
|
+
VehicleType["MICROCAR"] = "microcar";
|
|
1280
|
+
VehicleType["CAR"] = "car";
|
|
1281
|
+
VehicleType["PICKUP"] = "pickup";
|
|
1282
|
+
VehicleType["VAN"] = "van";
|
|
1283
|
+
VehicleType["BUS"] = "bus";
|
|
1284
|
+
VehicleType["TRUCK"] = "truck";
|
|
1285
|
+
VehicleType["UTILITY"] = "utility";
|
|
1286
|
+
})(VehicleType || (VehicleType = {}));
|
|
1287
|
+
|
|
1252
1288
|
export let VolumeUnit;
|
|
1253
1289
|
|
|
1254
1290
|
(function (VolumeUnit) {
|