@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
package/dist/node/index.js
CHANGED
|
@@ -124,6 +124,7 @@ exports.CarImageType = void 0;
|
|
|
124
124
|
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
125
125
|
CarImageType["BRAND"] = "brand";
|
|
126
126
|
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
127
|
+
CarImageType["PLACEHOLDER"] = "placeholder";
|
|
127
128
|
})(exports.CarImageType || (exports.CarImageType = {}));
|
|
128
129
|
|
|
129
130
|
exports.CarImageTypeUploadable = void 0;
|
|
@@ -271,14 +272,12 @@ exports.ConsumptionUnit = void 0;
|
|
|
271
272
|
/** The complete contact information */
|
|
272
273
|
|
|
273
274
|
(function (ConsumptionUnit) {
|
|
274
|
-
ConsumptionUnit["KILOMETER"] = "kilometer";
|
|
275
|
-
ConsumptionUnit["KILOWATT_HOUR"] = "kilowatt_hour";
|
|
276
275
|
ConsumptionUnit["KILOWATT_HOURS_PER_100_KILOMETERS"] = "kilowatt_hours_per_100_kilometers";
|
|
277
|
-
ConsumptionUnit["KILOWATT_HOURS_PER_100_MILES"] = "kilowatt_hours_per_100_miles";
|
|
278
276
|
ConsumptionUnit["WATT_HOURS_PER_KILOMETER"] = "watt_hours_per_kilometer";
|
|
277
|
+
ConsumptionUnit["KILOMETERS_PER_KILOWATT_HOUR"] = "kilometers_per_kilowatt_hour";
|
|
278
|
+
ConsumptionUnit["KILOWATT_HOURS_PER_100_MILES"] = "kilowatt_hours_per_100_miles";
|
|
279
279
|
ConsumptionUnit["WATT_HOURS_PER_MILE"] = "watt_hours_per_mile";
|
|
280
280
|
ConsumptionUnit["MILES_PER_KILOWATT_HOUR"] = "miles_per_kilowatt_hour";
|
|
281
|
-
ConsumptionUnit["KILOMETERS_PER_KILOWATT_HOUR"] = "kilometers_per_kilowatt_hour";
|
|
282
281
|
})(exports.ConsumptionUnit || (exports.ConsumptionUnit = {}));
|
|
283
282
|
|
|
284
283
|
/** ISO-3166 alpha-2 country codes */
|
|
@@ -545,6 +544,7 @@ exports.CurrencyUnit = void 0;
|
|
|
545
544
|
(function (CurrencyUnit) {
|
|
546
545
|
CurrencyUnit["EUR"] = "EUR";
|
|
547
546
|
CurrencyUnit["USD"] = "USD";
|
|
547
|
+
CurrencyUnit["GBP"] = "GBP";
|
|
548
548
|
})(exports.CurrencyUnit || (exports.CurrencyUnit = {}));
|
|
549
549
|
|
|
550
550
|
exports.DistanceUnit = void 0;
|
|
@@ -1145,7 +1145,7 @@ exports.TurningCircleUnit = void 0;
|
|
|
1145
1145
|
TurningCircleUnit["FOOT"] = "foot";
|
|
1146
1146
|
})(exports.TurningCircleUnit || (exports.TurningCircleUnit = {}));
|
|
1147
1147
|
|
|
1148
|
-
/** Availability status of a vehicle */
|
|
1148
|
+
/** Availability status of a vehicle. */
|
|
1149
1149
|
exports.VehicleAvailabilityStatus = void 0;
|
|
1150
1150
|
|
|
1151
1151
|
(function (VehicleAvailabilityStatus) {
|
|
@@ -1160,7 +1160,7 @@ exports.VehicleAvailabilityStatus = void 0;
|
|
|
1160
1160
|
VehicleAvailabilityStatus["UNCERTAIN"] = "uncertain";
|
|
1161
1161
|
})(exports.VehicleAvailabilityStatus || (exports.VehicleAvailabilityStatus = {}));
|
|
1162
1162
|
|
|
1163
|
-
/** Battery field estimated */
|
|
1163
|
+
/** Battery field estimated. */
|
|
1164
1164
|
exports.VehicleBatteryFieldEstimations = void 0;
|
|
1165
1165
|
|
|
1166
1166
|
(function (VehicleBatteryFieldEstimations) {
|
|
@@ -1177,9 +1177,9 @@ exports.VehicleDataProvider = void 0;
|
|
|
1177
1177
|
VehicleDataProvider["EVDATABASE"] = "evdatabase";
|
|
1178
1178
|
})(exports.VehicleDataProvider || (exports.VehicleDataProvider = {}));
|
|
1179
1179
|
|
|
1180
|
-
/** Drivetrain */
|
|
1180
|
+
/** Drivetrain. */
|
|
1181
1181
|
exports.VehicleDrivetrainType = void 0;
|
|
1182
|
-
/** Fuel type */
|
|
1182
|
+
/** Fuel type. */
|
|
1183
1183
|
|
|
1184
1184
|
(function (VehicleDrivetrainType) {
|
|
1185
1185
|
VehicleDrivetrainType["BEV"] = "BEV";
|
|
@@ -1196,26 +1196,30 @@ exports.VehicleFuel = void 0;
|
|
|
1196
1196
|
VehicleFuel["P"] = "P";
|
|
1197
1197
|
})(exports.VehicleFuel || (exports.VehicleFuel = {}));
|
|
1198
1198
|
|
|
1199
|
-
/** Available types of images which can be found for a vehicle. Each type has specific image sizes */
|
|
1199
|
+
/** Available types of images which can be found for a vehicle. Each type has specific image sizes. */
|
|
1200
1200
|
exports.VehicleImageType = void 0;
|
|
1201
|
-
/** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
1201
|
+
/** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system. */
|
|
1202
1202
|
|
|
1203
1203
|
(function (VehicleImageType) {
|
|
1204
1204
|
VehicleImageType["PROVIDER"] = "provider";
|
|
1205
1205
|
VehicleImageType["IMAGE"] = "image";
|
|
1206
1206
|
VehicleImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
1207
|
+
VehicleImageType["IMAGE_PREMIUM"] = "image_premium";
|
|
1208
|
+
VehicleImageType["PREMIUM_IMAGE_THUMBNAIL"] = "premium_image_thumbnail";
|
|
1207
1209
|
VehicleImageType["BRAND"] = "brand";
|
|
1208
1210
|
VehicleImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
1211
|
+
VehicleImageType["PLACEHOLDER"] = "placeholder";
|
|
1209
1212
|
})(exports.VehicleImageType || (exports.VehicleImageType = {}));
|
|
1210
1213
|
|
|
1211
1214
|
exports.VehicleImageTypeUploadable = void 0;
|
|
1212
|
-
/** The output element of the vehicleList query */
|
|
1215
|
+
/** The output element of the vehicleList query. */
|
|
1213
1216
|
|
|
1214
1217
|
(function (VehicleImageTypeUploadable) {
|
|
1215
1218
|
VehicleImageTypeUploadable["IMAGE"] = "image";
|
|
1219
|
+
VehicleImageTypeUploadable["IMAGE_PREMIUM"] = "image_premium";
|
|
1216
1220
|
})(exports.VehicleImageTypeUploadable || (exports.VehicleImageTypeUploadable = {}));
|
|
1217
1221
|
|
|
1218
|
-
/** Mode (state) of the current production */
|
|
1222
|
+
/** Mode (state) of the current production. */
|
|
1219
1223
|
exports.VehicleMode = void 0;
|
|
1220
1224
|
|
|
1221
1225
|
(function (VehicleMode) {
|
|
@@ -1224,9 +1228,9 @@ exports.VehicleMode = void 0;
|
|
|
1224
1228
|
VehicleMode["CONCEPT"] = "concept";
|
|
1225
1229
|
})(exports.VehicleMode || (exports.VehicleMode = {}));
|
|
1226
1230
|
|
|
1227
|
-
/** Propulsion */
|
|
1231
|
+
/** Propulsion. */
|
|
1228
1232
|
exports.VehiclePropulsion = void 0;
|
|
1229
|
-
/** Status of a vehicle provider */
|
|
1233
|
+
/** Status of a vehicle provider. */
|
|
1230
1234
|
|
|
1231
1235
|
(function (VehiclePropulsion) {
|
|
1232
1236
|
VehiclePropulsion["AWD"] = "AWD";
|
|
@@ -1243,7 +1247,26 @@ exports.VehicleProviderStatus = void 0;
|
|
|
1243
1247
|
VehicleProviderStatus["ARCHIVED"] = "archived";
|
|
1244
1248
|
})(exports.VehicleProviderStatus || (exports.VehicleProviderStatus = {}));
|
|
1245
1249
|
|
|
1246
|
-
|
|
1250
|
+
exports.VehiclePurpose = void 0;
|
|
1251
|
+
|
|
1252
|
+
(function (VehiclePurpose) {
|
|
1253
|
+
VehiclePurpose["PASSENGER"] = "passenger";
|
|
1254
|
+
VehiclePurpose["CARGO"] = "cargo";
|
|
1255
|
+
VehiclePurpose["UTILITY"] = "utility";
|
|
1256
|
+
})(exports.VehiclePurpose || (exports.VehiclePurpose = {}));
|
|
1257
|
+
|
|
1258
|
+
exports.VehicleRegion = void 0;
|
|
1259
|
+
|
|
1260
|
+
(function (VehicleRegion) {
|
|
1261
|
+
VehicleRegion["AF"] = "AF";
|
|
1262
|
+
VehicleRegion["AS"] = "AS";
|
|
1263
|
+
VehicleRegion["EU"] = "EU";
|
|
1264
|
+
VehicleRegion["NA"] = "NA";
|
|
1265
|
+
VehicleRegion["OC"] = "OC";
|
|
1266
|
+
VehicleRegion["SA"] = "SA";
|
|
1267
|
+
})(exports.VehicleRegion || (exports.VehicleRegion = {}));
|
|
1268
|
+
|
|
1269
|
+
/** Status of a vehicle. */
|
|
1247
1270
|
exports.VehicleStatus = void 0;
|
|
1248
1271
|
|
|
1249
1272
|
(function (VehicleStatus) {
|
|
@@ -1253,6 +1276,19 @@ exports.VehicleStatus = void 0;
|
|
|
1253
1276
|
VehicleStatus["ARCHIVED"] = "archived";
|
|
1254
1277
|
})(exports.VehicleStatus || (exports.VehicleStatus = {}));
|
|
1255
1278
|
|
|
1279
|
+
exports.VehicleType = void 0;
|
|
1280
|
+
|
|
1281
|
+
(function (VehicleType) {
|
|
1282
|
+
VehicleType["MOTORCYCLE"] = "motorcycle";
|
|
1283
|
+
VehicleType["MICROCAR"] = "microcar";
|
|
1284
|
+
VehicleType["CAR"] = "car";
|
|
1285
|
+
VehicleType["PICKUP"] = "pickup";
|
|
1286
|
+
VehicleType["VAN"] = "van";
|
|
1287
|
+
VehicleType["BUS"] = "bus";
|
|
1288
|
+
VehicleType["TRUCK"] = "truck";
|
|
1289
|
+
VehicleType["UTILITY"] = "utility";
|
|
1290
|
+
})(exports.VehicleType || (exports.VehicleType = {}));
|
|
1291
|
+
|
|
1256
1292
|
exports.VolumeUnit = void 0;
|
|
1257
1293
|
|
|
1258
1294
|
(function (VolumeUnit) {
|