@chargetrip/types 1.33.0 → 1.34.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/src/graphql.ts CHANGED
@@ -28,6 +28,13 @@ export type Scalars = {
28
28
  Void: any;
29
29
  };
30
30
 
31
+ export enum AccelerationUnit {
32
+ /** Return the acceleration in seconds to 100 kilometers per hour */
33
+ SECONDS_TO_100_KILOMETERS_PER_HOUR = "seconds_to_100_kilometers_per_hour",
34
+ /** Return the acceleration in seconds to 60 miles per hour */
35
+ SECONDS_TO_60_MILES_PER_HOUR = "seconds_to_60_miles_per_hour"
36
+ }
37
+
31
38
  export enum AccessType {
32
39
  PUBLIC = "Public",
33
40
  RESTRICTED = "Restricted",
@@ -107,6 +114,14 @@ export type Amenity = {
107
114
  updatedAt?: Maybe<Scalars["String"]>;
108
115
  };
109
116
 
117
+ /** Amenity preferences for a route */
118
+ export type AmenityPreferencesInput = {
119
+ /** Desired amenities near all charge-stops along a route, with a 1 kilometer radius */
120
+ all_charge_stops?: Maybe<Array<AmenityType>>;
121
+ /** Scheduled charge stops, with a specified amenity and timeline */
122
+ scheduled_charge_stops?: Maybe<Array<ScheduledChargeStopInput>>;
123
+ };
124
+
110
125
  /** Amenities stats model */
111
126
  export type AmenityStats = {
112
127
  /** The amenity type */
@@ -115,6 +130,20 @@ export type AmenityStats = {
115
130
  total?: Maybe<Scalars["Int"]>;
116
131
  };
117
132
 
133
+ /** A list of amenity types */
134
+ export enum AmenityType {
135
+ PARK = "park",
136
+ RESTAURANT = "restaurant",
137
+ MUSEUM = "museum",
138
+ COFFEE = "coffee",
139
+ HOTEL = "hotel",
140
+ SHOPPING = "shopping",
141
+ BATHROOM = "bathroom",
142
+ SUPERMARKET = "supermarket",
143
+ PLAYGROUND = "playground",
144
+ PHARMACY = "pharmacy"
145
+ }
146
+
118
147
  export type AuthorizeConnectedVehicleInput = {
119
148
  /** Id from the connected vehicle */
120
149
  id: Scalars["ID"];
@@ -127,6 +156,20 @@ export type AuthorizeConnectedVehicleOptions = {
127
156
  code?: Maybe<Scalars["PlainString"]>;
128
157
  };
129
158
 
159
+ export type AuxiliaryConsumptionInput = {
160
+ /** Value of the auxiliary power consumption of the vehicle */
161
+ value: Scalars["Float"];
162
+ /** Type of auxiliary power consumption of the vehicle */
163
+ type: AuxiliaryConsumptionUnit;
164
+ /** Source of inputted data, defaults to 'manual' */
165
+ source?: Maybe<TelemetryInputSource>;
166
+ };
167
+
168
+ export enum AuxiliaryConsumptionUnit {
169
+ /** Return the auxiliary consumption in kilowatt hours */
170
+ KILOWATT_HOUR = "kilowatt_hour"
171
+ }
172
+
130
173
  /** The type of the battery value */
131
174
  export enum BatteryInputType {
132
175
  KWH = "kwh",
@@ -135,6 +178,15 @@ export enum BatteryInputType {
135
178
  PERCENTAGE = "percentage"
136
179
  }
137
180
 
181
+ export type BatteryTemperatureInput = {
182
+ /** Value of the temperature of the battery */
183
+ value: Scalars["Float"];
184
+ /** Type of temperature of the battery */
185
+ type: TemperatureUnit;
186
+ /** Source of inputted data, defaults to 'manual' */
187
+ source?: Maybe<TelemetryInputSource>;
188
+ };
189
+
138
190
  /** Output of a car query */
139
191
  export type Car = {
140
192
  /** Cars unique ID */
@@ -346,10 +398,6 @@ export type CarBody = {
346
398
  seats?: Maybe<Scalars["Int"]>;
347
399
  };
348
400
 
349
- export enum CarConnectivityProvider {
350
- ENODE = "Enode"
351
- }
352
-
353
401
  /** Deprecated */
354
402
  export type CarConsumption = {
355
403
  /** Worst conditions are based on -10°C and use of heating */
@@ -1351,6 +1399,33 @@ export enum ChargeMode {
1351
1399
  ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1352
1400
  }
1353
1401
 
1402
+ export type ChargeSpeedInput = {
1403
+ /** Value of the charge speed of the battery */
1404
+ value: Scalars["Float"];
1405
+ /** Type of the charge speed of the battery */
1406
+ type: ChargeSpeedUnit;
1407
+ /** Source of inputted data, defaults to 'manual' */
1408
+ source?: Maybe<TelemetryInputSource>;
1409
+ };
1410
+
1411
+ export enum ChargeSpeedUnit {
1412
+ /** Return the charge speed in kilowatt hours */
1413
+ KILOWATT_HOUR = "kilowatt_hour",
1414
+ /** Return the charge speed in kilometers per hour */
1415
+ KILOMETERS_PER_HOUR = "kilometers_per_hour",
1416
+ /** Return the charge speed in miles per hour */
1417
+ MILES_PER_HOUR = "miles_per_hour"
1418
+ }
1419
+
1420
+ export type ChargeTotalInput = {
1421
+ /** Value of the temperature of the battery */
1422
+ value: Scalars["Float"];
1423
+ /** Type of total charge amount */
1424
+ type: BatteryInputType;
1425
+ /** Source of inputted data, defaults to 'manual' */
1426
+ source?: Maybe<TelemetryInputSource>;
1427
+ };
1428
+
1354
1429
  /** A groupped representation of EVSEs */
1355
1430
  export type Charger = {
1356
1431
  /** Type of charger */
@@ -1398,6 +1473,16 @@ export type ChargetripRange = {
1398
1473
  best?: Maybe<Scalars["Float"]>;
1399
1474
  };
1400
1475
 
1476
+ /** Chargetrip's custom real world range provides a carefully calculated display range for all EV models. This is based on our own research and driving data */
1477
+ export type ChargetripRangeworstArgs = {
1478
+ unit?: Maybe<DistanceUnit>;
1479
+ };
1480
+
1481
+ /** Chargetrip's custom real world range provides a carefully calculated display range for all EV models. This is based on our own research and driving data */
1482
+ export type ChargetripRangebestArgs = {
1483
+ unit?: Maybe<DistanceUnit>;
1484
+ };
1485
+
1401
1486
  export type ChargingBehaviour = {
1402
1487
  /** Charging behaviour of users divided in groups, based on real-time information */
1403
1488
  code?: Maybe<ChargingBehaviourCode>;
@@ -1422,16 +1507,16 @@ export enum ChargingBehaviourCode {
1422
1507
 
1423
1508
  export type Connect = {
1424
1509
  /** List of connectivity providers to which a vehicle can connect */
1425
- providers?: Maybe<Array<Maybe<ConnectProvider>>>;
1510
+ providers: Array<ConnectProvider>;
1426
1511
  };
1427
1512
 
1428
1513
  export type ConnectBattery = {
1429
1514
  /** Estimated range by OEM */
1430
- range?: Maybe<Scalars["Int"]>;
1515
+ range?: Maybe<Scalars["Float"]>;
1431
1516
  /** Percentage of the battery remaining */
1432
- percentage?: Maybe<Scalars["Int"]>;
1517
+ percentage?: Maybe<Scalars["Float"]>;
1433
1518
  /** Capacity of the battery, in kwh */
1434
- capacity?: Maybe<Scalars["Int"]>;
1519
+ capacity?: Maybe<Scalars["Float"]>;
1435
1520
  /** Date when the battery data was retrieved, as ISO-8601 date */
1436
1521
  date?: Maybe<Scalars["DateTime"]>;
1437
1522
  };
@@ -1478,7 +1563,7 @@ export type ConnectLocationProperties = {
1478
1563
 
1479
1564
  export type ConnectOdometer = {
1480
1565
  /** Odometer value, distance driven, default in km */
1481
- distance?: Maybe<Scalars["Int"]>;
1566
+ distance?: Maybe<Scalars["Float"]>;
1482
1567
  /** Date when the odometer data was retrieved, as ISO-8601 date */
1483
1568
  date?: Maybe<Scalars["DateTime"]>;
1484
1569
  };
@@ -1506,7 +1591,7 @@ export type ConnectedVehicle = {
1506
1591
  /** URL to connect the vehicle to the connectivity provider */
1507
1592
  authorization_url?: Maybe<Scalars["String"]>;
1508
1593
  /** Connectivity provider */
1509
- provider: CarConnectivityProvider;
1594
+ provider: VehicleConnectivityProvider;
1510
1595
  /** Scope for accessing the vehicle */
1511
1596
  scope?: Maybe<Array<Maybe<ConnectScope>>>;
1512
1597
  /** Custom label for a connected vehicle that can be assigned by a user */
@@ -1515,13 +1600,20 @@ export type ConnectedVehicle = {
1515
1600
  vin?: Maybe<Scalars["String"]>;
1516
1601
  };
1517
1602
 
1603
+ export type ConnectedVehicleListFilter = {
1604
+ /** Status of the connected vehicle */
1605
+ status?: Maybe<Array<ConnectedVehicleStatus>>;
1606
+ };
1607
+
1518
1608
  export enum ConnectedVehicleStatus {
1519
- /** Vehicle was added to the Chargetrip platform but not yet authorized */
1520
- PENDING = "pending",
1609
+ /** Vehicle was added to the Chargetrip Connect platform but not yet authorized */
1610
+ PENDING_AUTHORIZATION = "pending_authorization",
1521
1611
  /** Vehicle was authorized. Chargetrip can retrieve data on behave of the user */
1522
1612
  AUTHORIZED = "authorized",
1523
- /** User did revoke permissions to retrieve data from the vehicle */
1524
- DEAUTHORIZED = "deauthorized"
1613
+ /** Pending vehicle removal */
1614
+ PENDING_REMOVAL = "pending_removal",
1615
+ /** Vehicle was removed and access has been revoked */
1616
+ REMOVED = "removed"
1525
1617
  }
1526
1618
 
1527
1619
  /** Connector data which extends OCPI Connector */
@@ -1540,7 +1632,7 @@ export type Connector = {
1540
1632
  max_amperage?: Maybe<Scalars["Int"]>;
1541
1633
  /**
1542
1634
  * Maximum electric power that can be delivered by a connector, in watt [W]. When the maximum electric power is lower than the calculated value from voltage and amperage, this value should be set.
1543
- * For example: A DC Charge Point which can deliver up to 920V and up to 400A can be limited to a maximum of 150kW. Depending on the car, it may supply maximum voltage or current, but not both at the same time.
1635
+ * For example: A DC Charge Point which can deliver up to 920V and up to 400A can be limited to a maximum of 150kW. Depending on the vehicle, it may supply maximum voltage or current, but not both at the same time.
1544
1636
  * For AC Charge Points, the amount of phases used can also have influence on the maximum power.
1545
1637
  */
1546
1638
  max_electric_power?: Maybe<Scalars["Int"]>;
@@ -1569,9 +1661,12 @@ export type Connector = {
1569
1661
  custom_properties?: Maybe<ConnectorCustomProperties>;
1570
1662
  };
1571
1663
 
1664
+ /** Custom properties for connectors */
1572
1665
  export type ConnectorCustomProperties = {
1573
1666
  /** Charging prices */
1574
1667
  pricing?: Maybe<Pricing>;
1668
+ /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values */
1669
+ oicp?: Maybe<OICPConnectorCustomProperties>;
1575
1670
  };
1576
1671
 
1577
1672
  /** The socket or plug standard of the charging point. */
@@ -1656,6 +1751,25 @@ export enum ConnectorType {
1656
1751
  NEMA_14_50 = "NEMA_14_50"
1657
1752
  }
1658
1753
 
1754
+ export enum ConsumptionUnit {
1755
+ /** Return the consumption in kilometers */
1756
+ KILOMETER = "kilometer",
1757
+ /** Return the consumption in kilowatt hours */
1758
+ KILOWATT_HOUR = "kilowatt_hour",
1759
+ /** Return the consumption in kilowatt hours per 100 kilometers */
1760
+ KILOWATT_HOURS_PER_100_KILOMETERS = "kilowatt_hours_per_100_kilometers",
1761
+ /** Return the consumption in kilowatt hours per 100 miles */
1762
+ KILOWATT_HOURS_PER_100_MILES = "kilowatt_hours_per_100_miles",
1763
+ /** Return the consumption in watt hours per kilometer */
1764
+ WATT_HOURS_PER_KILOMETER = "watt_hours_per_kilometer",
1765
+ /** Return the consumption in watt hours per mile */
1766
+ WATT_HOURS_PER_MILE = "watt_hours_per_mile",
1767
+ /** Return the consumption in miles per kilowatt hour */
1768
+ MILES_PER_KILOWATT_HOUR = "miles_per_kilowatt_hour",
1769
+ /** Return the consumption in kilometers per kilowatt hour */
1770
+ KILOMETERS_PER_KILOWATT_HOUR = "kilometers_per_kilowatt_hour"
1771
+ }
1772
+
1659
1773
  /** The complete contact information */
1660
1774
  export type Contact = {
1661
1775
  /** The phone number in international format */
@@ -1932,13 +2046,28 @@ export type CreateConnectedVehicleInput = {
1932
2046
  /** Id from the vehicle */
1933
2047
  vehicle_id: Scalars["ID"];
1934
2048
  /** Connectivity provider used to retrieve data from the vehicle */
1935
- provider: CarConnectivityProvider;
2049
+ provider: VehicleConnectivityProvider;
1936
2050
  /** Label for a connected vehicle */
1937
2051
  label?: Maybe<Scalars["PlainString"]>;
1938
2052
  /** Provider specific options. See the developer portal for more details */
1939
- options: NewConnectedVehicleOptions;
2053
+ options: CreateConnectedVehicleOptions;
2054
+ };
2055
+
2056
+ export type CreateConnectedVehicleOptions = {
2057
+ /** Redirect uri */
2058
+ redirect_uri?: Maybe<Scalars["PlainString"]>;
2059
+ /** Scope */
2060
+ scope?: Maybe<Array<ConnectScope>>;
1940
2061
  };
1941
2062
 
2063
+ /** Currency according to the ISO 4217 standard */
2064
+ export enum CurrencyUnit {
2065
+ /** Return the currency in EUR */
2066
+ EUR = "EUR",
2067
+ /** Return the currency in USD */
2068
+ USD = "USD"
2069
+ }
2070
+
1942
2071
  export enum DistanceUnit {
1943
2072
  /** Return the distance in meters */
1944
2073
  METER = "meter",
@@ -1983,6 +2112,72 @@ export type EVSE = {
1983
2112
  parking_cost?: Maybe<ParkingCost>;
1984
2113
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1985
2114
  properties?: Maybe<Scalars["JSON"]>;
2115
+ /** Custom properties of an EVSE */
2116
+ custom_properties?: Maybe<EvseCustomProperties>;
2117
+ };
2118
+
2119
+ export type ElevationInput = {
2120
+ /** Value of the elevation */
2121
+ value: Scalars["Float"];
2122
+ /** Type of the value of elevation */
2123
+ type: DistanceUnit;
2124
+ /** Source of inputted data, defaults to 'manual' */
2125
+ source?: Maybe<TelemetryInputSource>;
2126
+ };
2127
+
2128
+ export enum ElevationUnit {
2129
+ /** Return the elevation in meters */
2130
+ METER = "meter",
2131
+ /** Return the elevation in feet */
2132
+ FOOT = "foot"
2133
+ }
2134
+
2135
+ export enum EmissionRateUnit {
2136
+ /** Return the emission rate in grams per kilometer */
2137
+ GRAMS_PER_KILOMETER = "grams_per_kilometer",
2138
+ /** Return the emission rate in ounces per mile */
2139
+ OUNCES_PER_MILE = "ounces_per_mile"
2140
+ }
2141
+
2142
+ export enum EmissionUnit {
2143
+ /** Return the emission in grams */
2144
+ GRAM = "gram",
2145
+ /** Return the emission in ounces */
2146
+ OUNCE = "ounce"
2147
+ }
2148
+
2149
+ /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
2150
+ export type EvseCustomProperties = {
2151
+ /** OICP standard custom properties */
2152
+ oicp?: Maybe<OICPEvseCustomProperties>;
2153
+ };
2154
+
2155
+ /** A GeoJSON Feature<LineString> */
2156
+ export type FeatureLineString = {
2157
+ /** Feature type */
2158
+ type: FeatureType;
2159
+ /** Geometry of the feature */
2160
+ geometry: LineString;
2161
+ };
2162
+
2163
+ /** A GeoJSON Feature<MultiPolygon> */
2164
+ export type FeatureMultiPolygon = {
2165
+ /** Feature type */
2166
+ type: FeatureType;
2167
+ /** Geometry of the feature */
2168
+ geometry: MultiPolygon;
2169
+ /** Properties of the MultiPolygon Feature */
2170
+ properties?: Maybe<PolygonProperties>;
2171
+ };
2172
+
2173
+ /** A GeoJSON Feature<Point> */
2174
+ export type FeatureMultiPolygonPoint = {
2175
+ /** Feature type */
2176
+ type: FeatureType;
2177
+ /** Geometry of the feature */
2178
+ geometry: Point;
2179
+ /** Optional object where you can store custom data you need in your application. */
2180
+ properties?: Maybe<Scalars["JSON"]>;
1986
2181
  };
1987
2182
 
1988
2183
  /** A GeoJSON Feature<Point> */
@@ -2031,31 +2226,18 @@ export type FeaturePointPolygonPropertiesInput = {
2031
2226
  name?: Maybe<Scalars["String"]>;
2032
2227
  };
2033
2228
 
2034
- /** A GeoJSON Feature<Polygon> */
2035
- export type FeaturePolygon = {
2036
- /** Feature type */
2037
- type: FeatureType;
2038
- /** Geometry of the feature */
2039
- geometry: Polygon;
2040
- /** Properties of the Polygon Feature */
2041
- properties?: Maybe<PolygonProperties>;
2042
- };
2043
-
2044
- /** A GeoJSON Feature<Point> */
2045
- export type FeaturePolygonPoint = {
2046
- /** Feature type */
2047
- type: FeatureType;
2048
- /** Geometry of the feature */
2049
- geometry: Point;
2050
- /** Optional object where you can store custom data you need in your application. */
2051
- properties?: Maybe<Scalars["JSON"]>;
2052
- };
2053
-
2054
2229
  /** GeoJSON Feature type */
2055
2230
  export enum FeatureType {
2056
2231
  FEATURE = "Feature"
2057
2232
  }
2058
2233
 
2234
+ export enum FuelConsumptionUnit {
2235
+ /** Return the fuel consumption in liters per 100 kilometers */
2236
+ LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
2237
+ /** Return the fuel consumption in miles per gallon */
2238
+ MILES_PER_GALLON = "miles_per_gallon"
2239
+ }
2240
+
2059
2241
  /** Geometry point with GPS coordinates */
2060
2242
  export type GeometryPoint = {
2061
2243
  type: PointType;
@@ -2075,28 +2257,53 @@ export type Isoline = {
2075
2257
  id: Scalars["ID"];
2076
2258
  /** Isoline status */
2077
2259
  status: IsolineStatus;
2078
- /** Shape of the isoline consisting in a list of polygons */
2079
- polygons?: Maybe<Array<Maybe<FeaturePolygon>>>;
2260
+ /** Shape of the isoline consisting in a list of multipolygons */
2261
+ polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
2262
+ /** List of the ferries uniting islands formed by the isoline */
2263
+ ferries?: Maybe<Array<Maybe<FeatureLineString>>>;
2080
2264
  /** Origin point of the request */
2081
- origin: FeaturePolygonPoint;
2265
+ origin: FeatureMultiPolygonPoint;
2082
2266
  /** Vehicle id */
2083
2267
  vehicle_id: Scalars["ID"];
2084
- /** Number of Isolines to be generated representing SoC (default: 1, max: 100) */
2268
+ /** Number of Isolines to be generated representing SoC (default: 1, maximum: 20) */
2085
2269
  polygon_count?: Maybe<Scalars["Int"]>;
2086
- /** Season to be taken into account when generating the isoline, defaults to current */
2270
+ /** Season to be taken into account when generating the isoline. Default: current */
2087
2271
  season?: Maybe<RouteSeason>;
2088
2272
  };
2089
2273
 
2274
+ export enum IsolineFerryConnectionsType {
2275
+ /** Ferry connections should not be included */
2276
+ NONE = "none",
2277
+ /** Ferry connections should be taken into account but only one level deep. For example: from the European mainland to England and no other connecting ferries departing from England. */
2278
+ SINGLE = "single"
2279
+ }
2280
+
2090
2281
  export type IsolineInput = {
2091
2282
  /** Vehicle id */
2092
2283
  vehicle_id: Scalars["ID"];
2093
2284
  /** Origin point of the request */
2094
2285
  origin: FeaturePointPolygonInput;
2095
- /** Numbers of polygons to be generated (default: 1, max: 100) */
2286
+ /** Numbers of polygons to be generated (default: 1, maximum: 20) */
2096
2287
  polygon_count?: Maybe<Scalars["Int"]>;
2097
- /** Season to be taken into account when generating the isoline, defaults to current */
2288
+ /** Vehicle should be able to return to the origin point from any point */
2289
+ round_trip?: Maybe<Scalars["Boolean"]>;
2290
+ /** Climate is on */
2291
+ climate_control?: Maybe<Scalars["Boolean"]>;
2292
+ /** Season to be taken into account when generating the isoline */
2098
2293
  season?: Maybe<RouteSeason>;
2099
- };
2294
+ /** Polygons precision quality */
2295
+ quality?: Maybe<IsolineQuality>;
2296
+ /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2297
+ ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2298
+ };
2299
+
2300
+ /** Granularity of the isoline */
2301
+ export enum IsolineQuality {
2302
+ /** High polygons precisions */
2303
+ HIGH = "high",
2304
+ /** Low polygons precisions */
2305
+ LOW = "low"
2306
+ }
2100
2307
 
2101
2308
  /** Status of the isoline label */
2102
2309
  export enum IsolineStatus {
@@ -2110,10 +2317,12 @@ export enum IsolineStatus {
2110
2317
 
2111
2318
  /** Types of a leg */
2112
2319
  export enum LegType {
2113
- /** This leg ends at a charging station and the car must recharge */
2320
+ /** This leg ends at a charging station and the vehicle must recharge */
2114
2321
  STATION = "station",
2115
- /** This leg ends at a via charging station and the car must recharge */
2322
+ /** This leg ends at a via charging station and the vehicle must recharge */
2116
2323
  STATIONVIA = "stationVia",
2324
+ /** This leg ends at a scheduled charging station and the vehicle must recharge */
2325
+ STATIONAMENITY = "stationAmenity",
2117
2326
  /** This leg ends at a via location */
2118
2327
  VIA = "via",
2119
2328
  /** This leg ends at the destination, and is the last leg of the route */
@@ -2122,6 +2331,19 @@ export enum LegType {
2122
2331
  STATIONFINAL = "stationFinal"
2123
2332
  }
2124
2333
 
2334
+ /** A GeoJSON LineString */
2335
+ export type LineString = {
2336
+ /** LineString type */
2337
+ type: LineStringType;
2338
+ /** List of coordinates arrays with longitude as first value and latitude as second one */
2339
+ coordinates: Array<Maybe<Array<Scalars["Float"]>>>;
2340
+ };
2341
+
2342
+ /** GeoJSON LineString type */
2343
+ export enum LineStringType {
2344
+ LINESTRING = "LineString"
2345
+ }
2346
+
2125
2347
  /** Preferred language for the mapping */
2126
2348
  export enum MappingLanguage {
2127
2349
  /** English(US) */
@@ -2136,6 +2358,28 @@ export enum MappingProvider {
2136
2358
  MAPBOXV5 = "MapboxV5"
2137
2359
  }
2138
2360
 
2361
+ export enum MeasurementUnit {
2362
+ /** Return the measurement in millimeters */
2363
+ MILLIMETER = "millimeter",
2364
+ /** Return the measurement in inches */
2365
+ INCH = "inch"
2366
+ }
2367
+
2368
+ /** A GeoJSON Polygon */
2369
+ export type MultiPolygon = {
2370
+ /** MultiPolygon type */
2371
+ type: MultiPolygonType;
2372
+ /** List of coordinates representing a polygon */
2373
+ coordinates: Array<
2374
+ Maybe<Array<Maybe<Array<Maybe<Array<Scalars["Float"]>>>>>>
2375
+ >;
2376
+ };
2377
+
2378
+ /** GeoJSON MultiPolygon type */
2379
+ export enum MultiPolygonType {
2380
+ MULTIPOLYGON = "MultiPolygon"
2381
+ }
2382
+
2139
2383
  export type Mutation = {
2140
2384
  /** [BETA] Create a connected vehicle for a given vehicle id and a connectivity provider */
2141
2385
  createConnectedVehicle?: Maybe<ConnectedVehicle>;
@@ -2143,8 +2387,8 @@ export type Mutation = {
2143
2387
  authorizeConnectedVehicle?: Maybe<ConnectedVehicle>;
2144
2388
  /** [BETA] Update a connected vehicle */
2145
2389
  updateConnectedVehicle?: Maybe<ConnectedVehicle>;
2146
- /** [BETA] Revoke access for a connected vehicle */
2147
- removeConnectedVehicle?: Maybe<Scalars["Void"]>;
2390
+ /** [BETA] Remove a connected vehicle and revoke access */
2391
+ removeConnectedVehicle?: Maybe<ConnectedVehicle>;
2148
2392
  /** [BETA] Generate a set of consumption based Isolines */
2149
2393
  createIsoline?: Maybe<Scalars["ID"]>;
2150
2394
  /** [BETA] Start a new navigation session on top of an existing route */
@@ -2225,9 +2469,9 @@ export type Navigation = {
2225
2469
  /** ID of the navigation session */
2226
2470
  id: Scalars["ID"];
2227
2471
  /** The current route used for navigation */
2228
- route_id?: Maybe<Scalars["String"]>;
2472
+ route_id?: Maybe<Scalars["ID"]>;
2229
2473
  /** The current route alternative used for navigation */
2230
- route_alternative_id?: Maybe<Scalars["String"]>;
2474
+ route_alternative_id?: Maybe<Scalars["ID"]>;
2231
2475
  /** The state of a navigation session. The status can be driving, charging, finished, or error */
2232
2476
  state?: Maybe<NavigationState>;
2233
2477
  /** State of charge at the last known location */
@@ -2267,16 +2511,16 @@ export type NavigationRecalculateInput = {
2267
2511
  current_location: PointInput;
2268
2512
  /** Via points of a new route. If this field is not sent, the original via points will be used */
2269
2513
  via?: Maybe<Array<Maybe<FeaturePointInput>>>;
2270
- /** Heading of a vehicle, in degrees */
2271
- heading?: Maybe<Scalars["Float"]>;
2514
+ /** Telemetry data input */
2515
+ telemetry?: Maybe<TelemetryInput>;
2272
2516
  };
2273
2517
 
2274
2518
  /** Input for the navigation start */
2275
2519
  export type NavigationStartInput = {
2276
2520
  /** ID of the route of the navigation session */
2277
- route_id: Scalars["String"];
2521
+ route_id: Scalars["ID"];
2278
2522
  /** ID of the route alternative of the navigation session */
2279
- route_alternative_id?: Maybe<Scalars["String"]>;
2523
+ route_alternative_id?: Maybe<Scalars["ID"]>;
2280
2524
  /** Current coordinates */
2281
2525
  current_location: PointInput;
2282
2526
  };
@@ -2296,7 +2540,7 @@ export enum NavigationState {
2296
2540
  /** Navigation session station type */
2297
2541
  export type NavigationStation = {
2298
2542
  /** The ID as string of the charging station */
2299
- station_id?: Maybe<Scalars["String"]>;
2543
+ station_id?: Maybe<Scalars["ID"]>;
2300
2544
  /** GPS location of the charging station */
2301
2545
  station_location?: Maybe<Point>;
2302
2546
  /** An array with all GPS locations of via points until the next charging station */
@@ -2309,26 +2553,14 @@ export type NavigationStation = {
2309
2553
  estimated_duration?: Maybe<Scalars["Int"]>;
2310
2554
  };
2311
2555
 
2312
- /** Input for the navigation session update telemetry data */
2313
- export type NavigationTelemetryUpdateInput = {
2314
- /** State of charge at the last known location, in kwh */
2315
- state_of_charge?: Maybe<Scalars["Float"]>;
2316
- /** Indicates if a vehicle is charging */
2317
- is_charging?: Maybe<Scalars["Boolean"]>;
2318
- /** Average tire pressure, in bars. This information should come from telemetry */
2319
- tire_pressure?: Maybe<Scalars["Float"]>;
2320
- };
2321
-
2322
2556
  /** Input for the navigation update */
2323
2557
  export type NavigationUpdateInput = {
2324
2558
  /** ID of the navigation session */
2325
2559
  id: Scalars["ID"];
2326
- /** Heading of a vehicle, in degrees */
2327
- heading?: Maybe<Scalars["Float"]>;
2328
2560
  /** A list of locations that were collected since the last update */
2329
2561
  location_data: Array<NavigationUpdateLocationsInput>;
2330
2562
  /** Telemetry data input */
2331
- telemetry?: Maybe<NavigationTelemetryUpdateInput>;
2563
+ telemetry?: Maybe<TelemetryInput>;
2332
2564
  };
2333
2565
 
2334
2566
  /** Properties of the location */
@@ -2336,7 +2568,7 @@ export type NavigationUpdateLocationPropertiesInput = {
2336
2568
  /** Current route leg index corresponding to a location */
2337
2569
  route_leg: Scalars["Int"];
2338
2570
  /** Speed at a location, in km/h */
2339
- speed: Scalars["Float"];
2571
+ speed?: Maybe<Scalars["Float"]>;
2340
2572
  /** UNIX timestamp at location, in seconds */
2341
2573
  timestamp: Scalars["Int"];
2342
2574
  /** Altitude information, in meters. This is optional */
@@ -2351,13 +2583,6 @@ export type NavigationUpdateLocationsInput = {
2351
2583
  properties: NavigationUpdateLocationPropertiesInput;
2352
2584
  };
2353
2585
 
2354
- export type NewConnectedVehicleOptions = {
2355
- /** Redirect uri */
2356
- redirect_uri?: Maybe<Scalars["PlainString"]>;
2357
- /** Scope */
2358
- scope?: Maybe<Array<Maybe<ConnectScope>>>;
2359
- };
2360
-
2361
2586
  /** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
2362
2587
  export type OCPIAdditionalGeoLocation = {
2363
2588
  /** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
@@ -2869,6 +3094,98 @@ export enum OCPITariffType {
2869
3094
  REGULAR = "REGULAR"
2870
3095
  }
2871
3096
 
3097
+ /** List of charging modes that are supported */
3098
+ export enum OICPChargingModes {
3099
+ MODE_1 = "mode_1",
3100
+ MODE_2 = "mode_2",
3101
+ MODE_3 = "mode_3",
3102
+ MODE_4 = "mode_4",
3103
+ CHADEMO = "chademo"
3104
+ }
3105
+
3106
+ /** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values */
3107
+ export type OICPConnectorCustomProperties = {
3108
+ /** Returns whether the connector is able to deliver different power outputs */
3109
+ dynamic_power_level?: Maybe<Scalars["Boolean"]>;
3110
+ /** List of charging modes that are supported as specified by IEC 61851-1 */
3111
+ charging_modes?: Maybe<Array<OICPChargingModes>>;
3112
+ };
3113
+
3114
+ /** List of authentication modes that are supported */
3115
+ export enum OICPEvseAuthenticationMode {
3116
+ NFC_RFID_CLASSIC = "nfc_rfid_classic",
3117
+ NFC_RFID_DESFIRE = "nfc_rfid_desfire",
3118
+ PNC = "pnc",
3119
+ REMOTE = "remote",
3120
+ DIRECT_PAYMENT = "direct_payment",
3121
+ NO_AUTHENTICATION_REQUIRED = "no_authentication_required"
3122
+ }
3123
+
3124
+ /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
3125
+ export type OICPEvseCustomProperties = {
3126
+ /** List of authentication modes that are supported */
3127
+ authentication_modes: Array<OICPEvseAuthenticationMode>;
3128
+ /** Returns a value if the EVSE has a limited capacity (e.g. built-in battery). Values are in kWh */
3129
+ max_capacity?: Maybe<Scalars["Int"]>;
3130
+ /** List of payment options that are supported */
3131
+ payment_options: Array<OICPPaymentOptions>;
3132
+ /** List of value added services that are supported */
3133
+ value_added_services: Array<OICPValueAddedServices>;
3134
+ /** List of additional info by locale */
3135
+ additional_info?: Maybe<Array<OICPEvseCustomPropertiesAdditionalInfo>>;
3136
+ /** When the value is set to false this station does not support remote start and stop by Hubject */
3137
+ is_hubject_compatible: Scalars["Boolean"];
3138
+ /** Name of the charging point manufacturer */
3139
+ hardware_manufacturer?: Maybe<Scalars["String"]>;
3140
+ };
3141
+
3142
+ export type OICPEvseCustomPropertiesAdditionalInfo = {
3143
+ /** The language in which the additional info text is provided */
3144
+ lang?: Maybe<Scalars["String"]>;
3145
+ /** Additional info text value */
3146
+ value?: Maybe<Scalars["String"]>;
3147
+ };
3148
+
3149
+ /** List of payment options that are supported */
3150
+ export enum OICPPaymentOptions {
3151
+ NO_PAYMENT = "no_payment",
3152
+ DIRECT = "direct",
3153
+ CONTRACT = "contract"
3154
+ }
3155
+
3156
+ /** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
3157
+ export type OICPStationCustomProperties = {
3158
+ /** Returns whether the station is a parking facility */
3159
+ parking_facility?: Maybe<Scalars["Boolean"]>;
3160
+ /** Returns an identifier for the precise parking spot. Eg. 36 or 12-1 */
3161
+ parking_spot?: Maybe<Scalars["String"]>;
3162
+ /** Returns information on how the charging station provides metering law data */
3163
+ calibration_law_data_availability: Scalars["String"];
3164
+ /** Identification of the corresponding clearing house in the event that roaming between different clearing houses must be processed in the future */
3165
+ clearinghouse_id?: Maybe<Scalars["String"]>;
3166
+ };
3167
+
3168
+ /** List of value added services that are supported */
3169
+ export enum OICPValueAddedServices {
3170
+ RESERVATION = "reservation",
3171
+ DYNAMIC_PRICING = "dynamic_pricing",
3172
+ PARKING_SENSORS = "parking_sensors",
3173
+ MAXIMUM_POWER_CHARGING = "maximum_power_charging",
3174
+ PREDICTIVE_CHARGE_POINT_USAGE = "predictive_charge_point_usage",
3175
+ CHARGING_PLANS = "charging_plans",
3176
+ ROOF_PROVIDED = "roof_provided",
3177
+ NONE = "none"
3178
+ }
3179
+
3180
+ export type OdometerInput = {
3181
+ /** Value of the vehicle's odometer */
3182
+ value: Scalars["Float"];
3183
+ /** Type of the value of the vehicle's odometer */
3184
+ type: DistanceUnit;
3185
+ /** Source of inputted data, defaults to 'manual' */
3186
+ source?: Maybe<TelemetryInputSource>;
3187
+ };
3188
+
2872
3189
  /** The operator data which extends OCPI BusinessDetails */
2873
3190
  export type Operator = {
2874
3191
  /** Unique operator ID */
@@ -2915,6 +3232,15 @@ export type OperatorListQuery = {
2915
3232
  country?: Maybe<Scalars["String"]>;
2916
3233
  };
2917
3234
 
3235
+ export type OutsideTempInput = {
3236
+ /** Value of the outside temperature */
3237
+ value: Scalars["Float"];
3238
+ /** Type of the value of the outside temperature */
3239
+ type: TemperatureUnit;
3240
+ /** Source of inputted data, defaults to 'manual' */
3241
+ source?: Maybe<TelemetryInputSource>;
3242
+ };
3243
+
2918
3244
  export enum ParkingCost {
2919
3245
  /** Parking is free */
2920
3246
  FREE = "free",
@@ -2960,24 +3286,20 @@ export enum PointType {
2960
3286
  POINT = "Point"
2961
3287
  }
2962
3288
 
2963
- /** A GeoJSON Polygon */
2964
- export type Polygon = {
2965
- /** Polygon type */
2966
- type: PolygonType;
2967
- /** List of coordinates representing a polygon */
2968
- coordinates: Array<Maybe<Array<Maybe<Array<Maybe<Scalars["Float"]>>>>>>;
2969
- };
2970
-
2971
3289
  /** Polygon properties */
2972
3290
  export type PolygonProperties = {
2973
3291
  /** Index of the feature inside the list */
2974
3292
  index?: Maybe<Scalars["Int"]>;
2975
3293
  };
2976
3294
 
2977
- /** GeoJSON Polygon type */
2978
- export enum PolygonType {
2979
- POLYGON = "Polygon"
2980
- }
3295
+ export type PowerInput = {
3296
+ /** Value of the positive or negative power. When negative the vehicle is charging */
3297
+ value: Scalars["Float"];
3298
+ /** Type of the value of the power */
3299
+ type: PowerUnit;
3300
+ /** Source of inputted data, defaults to 'manual' */
3301
+ source?: Maybe<TelemetryInputSource>;
3302
+ };
2981
3303
 
2982
3304
  /** The list of powers for the speed type */
2983
3305
  export type PowerList = {
@@ -2995,6 +3317,20 @@ export type PowerStats = {
2995
3317
  powers?: Maybe<Array<Maybe<PowerList>>>;
2996
3318
  };
2997
3319
 
3320
+ export enum PowerUnit {
3321
+ /** Return the power in kilowatts */
3322
+ KILOWATT = "kilowatt",
3323
+ /** Return the power in horsepower */
3324
+ HORSEPOWER = "horsepower"
3325
+ }
3326
+
3327
+ export enum PressureUnit {
3328
+ /** Return the pressure in bar */
3329
+ BAR = "bar",
3330
+ /** Return the pressure in pounds per square inch */
3331
+ POUNDS_PER_SQUARE_INCH = "pounds_per_square_inch"
3332
+ }
3333
+
2998
3334
  /** The price model */
2999
3335
  export type Price = {
3000
3336
  /** The value of the price */
@@ -3065,9 +3401,9 @@ export type Query = {
3065
3401
  carPremium?: Maybe<CarPremium>;
3066
3402
  /** Get a full list of cars */
3067
3403
  carList?: Maybe<Array<Maybe<CarList>>>;
3068
- /** [BETA] Get connected vehicles for the current user */
3404
+ /** [BETA] Get a connected vehicles by id */
3069
3405
  connectedVehicle?: Maybe<ConnectedVehicle>;
3070
- /** [BETA] Get a connected vehicle by id */
3406
+ /** [BETA] Get the connected vehicles for the current user */
3071
3407
  connectedVehicleList?: Maybe<Array<Maybe<ConnectedVehicle>>>;
3072
3408
  /** [BETA] Retrieve live vehicle data by connected vehicle id */
3073
3409
  connectedVehicleData?: Maybe<VehicleData>;
@@ -3105,6 +3441,12 @@ export type Query = {
3105
3441
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3106
3442
  /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3107
3443
  navigationMapping?: Maybe<Scalars["JSON"]>;
3444
+ /** [BETA] Get information about a vehicle by its ID */
3445
+ vehicle?: Maybe<Vehicle>;
3446
+ /** [BETA] Vehicle premium data provides even more information about your vehicle: tire pressure, prices, drivetrain data, and more. Please contact us for access to premium data. */
3447
+ vehiclePremium?: Maybe<VehiclePremium>;
3448
+ /** [BETA] Get a full list of vehicles */
3449
+ vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
3108
3450
  };
3109
3451
 
3110
3452
  export type QueryamenityListArgs = {
@@ -3132,6 +3474,12 @@ export type QueryconnectedVehicleArgs = {
3132
3474
  id: Scalars["ID"];
3133
3475
  };
3134
3476
 
3477
+ export type QueryconnectedVehicleListArgs = {
3478
+ filter?: Maybe<ConnectedVehicleListFilter>;
3479
+ size?: Maybe<Scalars["Int"]>;
3480
+ page?: Maybe<Scalars["Int"]>;
3481
+ };
3482
+
3135
3483
  export type QueryconnectedVehicleDataArgs = {
3136
3484
  id: Scalars["ID"];
3137
3485
  };
@@ -3178,7 +3526,8 @@ export type QueryroutePathArgs = {
3178
3526
  };
3179
3527
 
3180
3528
  export type QuerystationArgs = {
3181
- id: Scalars["ID"];
3529
+ id?: Maybe<Scalars["ID"]>;
3530
+ evse_id?: Maybe<Scalars["String"]>;
3182
3531
  };
3183
3532
 
3184
3533
  export type QuerystationListArgs = {
@@ -3213,6 +3562,24 @@ export type QuerynavigationMappingArgs = {
3213
3562
  language?: Maybe<MappingLanguage>;
3214
3563
  };
3215
3564
 
3565
+ export type QueryvehicleArgs = {
3566
+ id: Scalars["ID"];
3567
+ country?: Maybe<CountryCodeAlpha2>;
3568
+ };
3569
+
3570
+ export type QueryvehiclePremiumArgs = {
3571
+ id: Scalars["ID"];
3572
+ country?: Maybe<CountryCodeAlpha2>;
3573
+ };
3574
+
3575
+ export type QueryvehicleListArgs = {
3576
+ search?: Maybe<Scalars["String"]>;
3577
+ filter?: Maybe<VehicleListFilter>;
3578
+ country?: Maybe<CountryCodeAlpha2>;
3579
+ size?: Maybe<Scalars["Int"]>;
3580
+ page?: Maybe<Scalars["Int"]>;
3581
+ };
3582
+
3216
3583
  export type RemoveConnectedVehicleInput = {
3217
3584
  /** Id from the connected vehicle */
3218
3585
  id: Scalars["ID"];
@@ -3220,7 +3587,7 @@ export type RemoveConnectedVehicleInput = {
3220
3587
 
3221
3588
  /** EV specific data for a route request */
3222
3589
  export type RequestEv = {
3223
- /** Internal ID of a Car */
3590
+ /** Internal ID of a Vehicle */
3224
3591
  id?: Maybe<Scalars["ID"]>;
3225
3592
  /** EV battery specific data */
3226
3593
  battery?: Maybe<RequestEvBattery>;
@@ -3246,7 +3613,7 @@ export type RequestEv = {
3246
3613
  };
3247
3614
 
3248
3615
  export type RequestEvBattery = {
3249
- /** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car battery.usable_kwh */
3616
+ /** Usable capacity of the battery used to compute the route. If this in not filled in, value as the vehicle battery.usable_kwh */
3250
3617
  capacity?: Maybe<RequestEvBatteryValue>;
3251
3618
  /** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
3252
3619
  capacityKwh?: Maybe<Scalars["Float"]>;
@@ -3254,18 +3621,18 @@ export type RequestEvBattery = {
3254
3621
  stateOfCharge?: Maybe<RequestEvBatteryValue>;
3255
3622
  /** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
3256
3623
  stateOfChargeKwh?: Maybe<Scalars["Float"]>;
3257
- /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car battery.usable_kwh */
3624
+ /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the vehicle battery.usable_kwh */
3258
3625
  finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
3259
3626
  /** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
3260
3627
  finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
3261
3628
  };
3262
3629
 
3263
3630
  export type RequestEvBatteryInput = {
3264
- /** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car battery.usable_kwh */
3631
+ /** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the vehicle battery.usable_kwh */
3265
3632
  capacity?: Maybe<RequestEvBatteryInputValue>;
3266
- /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car battery.usable_kwh */
3633
+ /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with vehicle battery.usable_kwh */
3267
3634
  stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
3268
- /** Desired final amount of energy in a battery. The value should be between 0 and 80% of the car battery.usable_kwh If this is not filled in, we assume it is 20% of the car battery.usable_kwh */
3635
+ /** Desired final amount of energy in a battery. The value should be between 0 and 80% of the vehicle battery.usable_kwh If this is not filled in, we assume it is 20% of the vehicle battery.usable_kwh */
3269
3636
  finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
3270
3637
  };
3271
3638
 
@@ -3288,7 +3655,7 @@ export type RequestEvConsumption = {
3288
3655
  aux?: Maybe<CarConsumption>;
3289
3656
  /** The consumption, in kWh, of the battery management system */
3290
3657
  bms?: Maybe<CarConsumption>;
3291
- /** The consumption, in kWh, of the car in idle mode */
3658
+ /** The consumption, in kWh, of the vehicle in idle mode */
3292
3659
  idle?: Maybe<CarConsumption>;
3293
3660
  };
3294
3661
 
@@ -3297,12 +3664,12 @@ export type RequestEvConsumptionInput = {
3297
3664
  aux?: Maybe<CarConsumptionInput>;
3298
3665
  /** Consumption, in kWh, of the battery management system */
3299
3666
  bms?: Maybe<CarConsumptionInput>;
3300
- /** Consumption, in kWh, of the car in idle mode */
3667
+ /** Consumption, in kWh, of the vehicle in idle mode */
3301
3668
  idle?: Maybe<CarConsumptionInput>;
3302
3669
  };
3303
3670
 
3304
3671
  export type RequestEvInput = {
3305
- /** Internal ID of a Car */
3672
+ /** Internal ID of a Vehicle */
3306
3673
  id: Scalars["ID"];
3307
3674
  /** The EV battery specific data */
3308
3675
  battery?: Maybe<RequestEvBatteryInput>;
@@ -3350,8 +3717,13 @@ export type RequestInput = {
3350
3717
  };
3351
3718
 
3352
3719
  export type RequestRoute = {
3353
- /** Desired amenities near the stations, within a 1 km radius */
3720
+ /**
3721
+ * Requested amenities near the stations, within a 1 kilometer radius
3722
+ * @deprecated Will be removed. Use the amenity preferences instead
3723
+ */
3354
3724
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
3725
+ /** Amenity preferences for a route */
3726
+ amenity_preferences?: Maybe<RouteAmenityPreferences>;
3355
3727
  /**
3356
3728
  * Requested operators
3357
3729
  * @deprecated Will be removed. Use the operators property instead
@@ -3388,8 +3760,10 @@ export type RequestRoute = {
3388
3760
  };
3389
3761
 
3390
3762
  export type RequestRouteInput = {
3391
- /** A list of desired amenities near the stations, with a 1 km radius */
3763
+ /** Deprecated: in favor of amenity preferences. A list of desired amenities near the stations, with a 1 kilometer radius */
3392
3764
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
3765
+ /** Amenity preferences for a route */
3766
+ amenity_preferences?: Maybe<AmenityPreferencesInput>;
3393
3767
  /** Deprecated: in favor of operators. A list of requested operators */
3394
3768
  operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
3395
3769
  /** Deprecated: in favor of operators. Flag which indicates if the operators are required */
@@ -3435,7 +3809,7 @@ export type Review = {
3435
3809
  message?: Maybe<Scalars["String"]>;
3436
3810
  /** Locale of a message */
3437
3811
  locale?: Maybe<Scalars["String"]>;
3438
- /** Car that was provided/selected by a user */
3812
+ /** Vehicle that was provided/selected by a user */
3439
3813
  ev?: Maybe<Car>;
3440
3814
  /** Plug type that was provided/selected by a user */
3441
3815
  plugType?: Maybe<ConnectorType>;
@@ -3459,7 +3833,7 @@ export type ReviewAdd = {
3459
3833
  message?: Maybe<Scalars["String"]>;
3460
3834
  /** Locale of a message */
3461
3835
  locale?: Maybe<Scalars["String"]>;
3462
- /** ID of the Car that was provided/selected by a user */
3836
+ /** ID of the vehicle that was provided/selected by a user */
3463
3837
  ev?: Maybe<Scalars["String"]>;
3464
3838
  /** Plug type that was provided/selected by a user */
3465
3839
  plugType?: Maybe<ConnectorType>;
@@ -3643,6 +4017,14 @@ export enum RouteAlternativeType {
3643
4017
  ALTERNATIVE = "alternative"
3644
4018
  }
3645
4019
 
4020
+ /** Amenity preferences for a route */
4021
+ export type RouteAmenityPreferences = {
4022
+ /** Desired amenities near all charge-stops along a route, with a 1 kilometer radius */
4023
+ all_charge_stops?: Maybe<Array<AmenityType>>;
4024
+ /** Scheduled charge stops, with a specified amenity and timeline */
4025
+ scheduled_charge_stops?: Maybe<Array<RouteScheduledChargeStop>>;
4026
+ };
4027
+
3646
4028
  export type RouteApp = {
3647
4029
  /** ID of the app who requested a route */
3648
4030
  id?: Maybe<Scalars["ID"]>;
@@ -3866,6 +4248,20 @@ export type RoutePath = {
3866
4248
  stateOfCharge?: Maybe<Scalars["Float"]>;
3867
4249
  };
3868
4250
 
4251
+ /** Scheduled charge stop along a route */
4252
+ export type RouteScheduledChargeStop = {
4253
+ /** List of amenity types */
4254
+ types?: Maybe<Array<Maybe<AmenityType>>>;
4255
+ /** Duration at the amenity, in seconds */
4256
+ duration?: Maybe<Scalars["Int"]>;
4257
+ /** Maximum allowed offset from the stop_after value in seconds. Default is 1800 */
4258
+ offset?: Maybe<Scalars["Int"]>;
4259
+ /** Desired drive time before a scheduled stop after leaving the previous stop, in seconds */
4260
+ stop_after?: Maybe<Scalars["Int"]>;
4261
+ /** Maximum distance from a station to an amenity, in meters */
4262
+ max_distance_from_station?: Maybe<Scalars["Int"]>;
4263
+ };
4264
+
3869
4265
  /** The season of the route */
3870
4266
  export enum RouteSeason {
3871
4267
  /** We suppose it is summer and we have the best weather conditions */
@@ -3934,6 +4330,27 @@ export enum RouteTagType {
3934
4330
  CROSSBORDER = "crossborder"
3935
4331
  }
3936
4332
 
4333
+ /** Scheduled charge stop along a route */
4334
+ export type ScheduledChargeStopInput = {
4335
+ /** List of amenity types */
4336
+ types: Array<AmenityType>;
4337
+ /** Duration at the amenity, in seconds. The value should be between 900 and 86400 */
4338
+ duration: Scalars["Int"];
4339
+ /** Maximum allowed offset from the stop_after value in seconds. Default is 1800 */
4340
+ offset?: Maybe<Scalars["Int"]>;
4341
+ /** Desired drive time for a scheduled stop after leaving the origin point, in seconds */
4342
+ stop_after: Scalars["Int"];
4343
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. Default is 1000 */
4344
+ max_distance_from_station?: Maybe<Scalars["Int"]>;
4345
+ };
4346
+
4347
+ export enum SpeedUnit {
4348
+ /** Return the speed in kilometers per hour */
4349
+ KILOMETERS_PER_HOUR = "kilometers_per_hour",
4350
+ /** Return the speed in miles per hour */
4351
+ MILES_PER_HOUR = "miles_per_hour"
4352
+ }
4353
+
3937
4354
  /** Standards(plug type) stats model */
3938
4355
  export type StandardStats = {
3939
4356
  /** The plug type */
@@ -3942,6 +4359,26 @@ export type StandardStats = {
3942
4359
  total?: Maybe<Scalars["Int"]>;
3943
4360
  };
3944
4361
 
4362
+ export type StateOfChargeInput = {
4363
+ /** Value of the state of charge of the vehicle */
4364
+ value: Scalars["Float"];
4365
+ /** Type of the state of charge of the vehicle */
4366
+ type: BatteryInputType;
4367
+ /** Source of inputted data, defaults to 'manual' */
4368
+ source?: Maybe<TelemetryInputSource>;
4369
+ };
4370
+
4371
+ export enum StateOfChargeUnit {
4372
+ /** Return the state of charge in kilometers */
4373
+ KILOMETER = "kilometer",
4374
+ /** Return the speed of charge in miles */
4375
+ MILE = "mile",
4376
+ /** Return the speed of charge in kilowatt hours */
4377
+ KILOWATT_HOUR = "kilowatt_hour",
4378
+ /** Return the speed of charge in a percentage */
4379
+ PERCENTAGE = "percentage"
4380
+ }
4381
+
3945
4382
  /** Station data which extends OCPI Location */
3946
4383
  export type Station = {
3947
4384
  /** Review of a station */
@@ -4085,6 +4522,8 @@ export type StationCustomProperties = {
4085
4522
  predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
4086
4523
  /** Type of access to the charging station */
4087
4524
  access_type?: Maybe<AccessType>;
4525
+ /** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
4526
+ oicp?: Maybe<OICPStationCustomProperties>;
4088
4527
  };
4089
4528
 
4090
4529
  /** Filter which can be applied to retrieve the station list action */
@@ -4207,20 +4646,1401 @@ export type SubscriptionrouteUpdatedByIdArgs = {
4207
4646
  id: Scalars["ID"];
4208
4647
  };
4209
4648
 
4210
- export type UpdateConnectedVehicleInput = {
4211
- /** Id from the connected vehicle */
4212
- id: Scalars["ID"];
4213
- /** New label for a connected vehicle */
4214
- label?: Maybe<Scalars["PlainString"]>;
4649
+ export type Telemetry = {
4650
+ /** Value of the auxiliary power consumption of the vehicle */
4651
+ auxiliary_consumption?: Maybe<Scalars["Float"]>;
4652
+ /** Battery current in ampere */
4653
+ battery_current?: Maybe<Scalars["Float"]>;
4654
+ /** Value of the temperature of the battery */
4655
+ battery_temperature?: Maybe<Scalars["Float"]>;
4656
+ /** Battery voltage in volts */
4657
+ battery_voltage?: Maybe<Scalars["Float"]>;
4658
+ /** Is the vehicle currently charging */
4659
+ is_charging?: Maybe<Scalars["Boolean"]>;
4660
+ /** Value of the rate of charge of the battery */
4661
+ charge_speed?: Maybe<Scalars["Float"]>;
4662
+ /** Value of the amount of battery charged */
4663
+ charge_total?: Maybe<Scalars["Float"]>;
4664
+ /** Value of the current weight of the occupants */
4665
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4666
+ /** Value of the current weight of the cargo */
4667
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4668
+ /** Value of the current elevation */
4669
+ elevation?: Maybe<Scalars["Float"]>;
4670
+ /** Current heading in degrees */
4671
+ heading?: Maybe<Scalars["Float"]>;
4672
+ /** RPM of the motor */
4673
+ motor_rpm?: Maybe<Scalars["Int"]>;
4674
+ /** Number of occupants present in the vehicle */
4675
+ occupants?: Maybe<Scalars["Int"]>;
4676
+ /** Value of the vehicle's odometer */
4677
+ odometer?: Maybe<Scalars["Float"]>;
4678
+ /** Value of the outside temperature */
4679
+ outside_temperature?: Maybe<Scalars["Float"]>;
4680
+ /** Vehicle is in park, neutral or turned off */
4681
+ is_parked?: Maybe<Scalars["Boolean"]>;
4682
+ /** Value of the positive or negative power. When negative the vehicle is charging */
4683
+ power?: Maybe<Scalars["Float"]>;
4684
+ /** Value of the state of charge of the vehicle */
4685
+ state_of_charge?: Maybe<Scalars["Float"]>;
4686
+ /** Values for the average tire pressures of all wheels, starting from the front side right to left and to the rear */
4687
+ tire_pressure?: Maybe<Array<Scalars["Float"]>>;
4688
+ /** UNIX timestamp in seconds */
4689
+ timestamp?: Maybe<Scalars["Int"]>;
4690
+ /** Value of the vehicle speed */
4691
+ vehicle_speed?: Maybe<Scalars["Float"]>;
4692
+ /** Custom input fields can be added based on telemetry architecture */
4693
+ custom?: Maybe<Scalars["JSON"]>;
4215
4694
  };
4216
4695
 
4217
- export type VehicleData = {
4218
- /** Battery data */
4219
- battery?: Maybe<ConnectBattery>;
4220
- /** Charge data */
4221
- charge?: Maybe<ConnectCharge>;
4222
- /** Location data */
4223
- location?: Maybe<ConnectLocation>;
4224
- /** Odometer data */
4225
- odometer?: Maybe<ConnectOdometer>;
4696
+ export type Telemetryauxiliary_consumptionArgs = {
4697
+ unit?: Maybe<AuxiliaryConsumptionUnit>;
4226
4698
  };
4699
+
4700
+ export type Telemetrybattery_temperatureArgs = {
4701
+ unit?: Maybe<TemperatureUnit>;
4702
+ };
4703
+
4704
+ export type Telemetrycharge_speedArgs = {
4705
+ unit?: Maybe<ChargeSpeedUnit>;
4706
+ };
4707
+
4708
+ export type Telemetrycharge_totalArgs = {
4709
+ unit?: Maybe<BatteryInputType>;
4710
+ };
4711
+
4712
+ export type Telemetrytotal_occupant_weightArgs = {
4713
+ unit?: Maybe<WeightUnit>;
4714
+ };
4715
+
4716
+ export type Telemetrytotal_cargo_weightArgs = {
4717
+ unit?: Maybe<WeightUnit>;
4718
+ };
4719
+
4720
+ export type TelemetryelevationArgs = {
4721
+ unit?: Maybe<ElevationUnit>;
4722
+ };
4723
+
4724
+ export type TelemetryodometerArgs = {
4725
+ unit?: Maybe<DistanceUnit>;
4726
+ };
4727
+
4728
+ export type Telemetryoutside_temperatureArgs = {
4729
+ unit?: Maybe<TemperatureUnit>;
4730
+ };
4731
+
4732
+ export type TelemetrypowerArgs = {
4733
+ unit?: Maybe<PowerUnit>;
4734
+ };
4735
+
4736
+ export type Telemetrystate_of_chargeArgs = {
4737
+ unit?: Maybe<BatteryInputType>;
4738
+ };
4739
+
4740
+ export type Telemetrytire_pressureArgs = {
4741
+ unit?: Maybe<PressureUnit>;
4742
+ };
4743
+
4744
+ export type Telemetryvehicle_speedArgs = {
4745
+ unit?: Maybe<SpeedUnit>;
4746
+ };
4747
+
4748
+ export type TelemetryInput = {
4749
+ /** Average auxiliary power consumption */
4750
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
4751
+ /** Battery current in ampere */
4752
+ battery_current?: Maybe<Scalars["Float"]>;
4753
+ /** Battery temperature */
4754
+ battery_temperature?: Maybe<BatteryTemperatureInput>;
4755
+ /** Battery voltage in volts */
4756
+ battery_voltage?: Maybe<Scalars["Float"]>;
4757
+ /** Is the vehicle currently charging */
4758
+ is_charging?: Maybe<Scalars["Boolean"]>;
4759
+ /** Rate of charge */
4760
+ charge_speed?: Maybe<ChargeSpeedInput>;
4761
+ /** Amount charged */
4762
+ charge_total?: Maybe<ChargeTotalInput>;
4763
+ /** Cumulated weight of the occupants */
4764
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
4765
+ /** Weight of the cargo */
4766
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
4767
+ /** Current elevation */
4768
+ elevation?: Maybe<ElevationInput>;
4769
+ /** Current heading in degrees */
4770
+ heading?: Maybe<Scalars["Float"]>;
4771
+ /** RPM of the motor */
4772
+ motor_rpm?: Maybe<Scalars["Int"]>;
4773
+ /** Number of occupants in the vehicle */
4774
+ occupants?: Maybe<Scalars["Int"]>;
4775
+ /** Mileage or odometer reading */
4776
+ odometer?: Maybe<OdometerInput>;
4777
+ /** Outside temperature */
4778
+ outside_temperature?: Maybe<OutsideTempInput>;
4779
+ /** Vehicle is in park, neutral or turned off */
4780
+ is_parked?: Maybe<Scalars["Boolean"]>;
4781
+ /** Vehicle power */
4782
+ power?: Maybe<PowerInput>;
4783
+ /** Battery state of charge */
4784
+ state_of_charge?: Maybe<StateOfChargeInput>;
4785
+ /** Average tire pressures of all wheels, starting from the front side right to left and to the rear */
4786
+ tire_pressure?: Maybe<TirePressureInput>;
4787
+ /** UNIX timestamp in seconds */
4788
+ timestamp?: Maybe<Scalars["Int"]>;
4789
+ /** Vehicle speed */
4790
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
4791
+ /** Custom input fields can be added based on telemetry architecture */
4792
+ custom?: Maybe<Scalars["JSON"]>;
4793
+ };
4794
+
4795
+ export enum TelemetryInputSource {
4796
+ /** Manually inputted value */
4797
+ MANUAL = "manual",
4798
+ /** Value from the vehicle's telemetry */
4799
+ TELEMETRY = "telemetry"
4800
+ }
4801
+
4802
+ export enum TemperatureUnit {
4803
+ /** Return the temperature in Celsius */
4804
+ CELSIUS = "Celsius",
4805
+ /** Return the temperature in Fahrenheit */
4806
+ FAHRENHEIT = "Fahrenheit"
4807
+ }
4808
+
4809
+ export type TirePressureInput = {
4810
+ /** Values for the tire pressure, starting from the front side right to left and to the rear */
4811
+ value: Array<Scalars["Float"]>;
4812
+ /** Type of the value of pressure */
4813
+ type: PressureUnit;
4814
+ /** Source of inputted data, defaults to 'manual' */
4815
+ source?: Maybe<TelemetryInputSource>;
4816
+ };
4817
+
4818
+ export enum TorqueUnit {
4819
+ /** Return the torque in newton meters */
4820
+ NEWTON_METER = "newton_meter",
4821
+ /** Return the torque in foot pounds */
4822
+ FOOT_POUND = "foot_pound"
4823
+ }
4824
+
4825
+ export type TotalCargoWeightInput = {
4826
+ /** Value of the current weight of the cargo */
4827
+ value: Scalars["Float"];
4828
+ /** Type of the current weight of the cargo */
4829
+ type: WeightUnit;
4830
+ /** Source of inputted data, defaults to 'manual' */
4831
+ source?: Maybe<TelemetryInputSource>;
4832
+ };
4833
+
4834
+ export type TotalOccupantWeightInput = {
4835
+ /** Value of the current weight of the occupants */
4836
+ value: Scalars["Float"];
4837
+ /** Type of the current weight of the occupants */
4838
+ type: WeightUnit;
4839
+ /** Source of inputted data, defaults to 'manual' */
4840
+ source?: Maybe<TelemetryInputSource>;
4841
+ };
4842
+
4843
+ export enum TurningCircleUnit {
4844
+ /** Return the turning circle in meters */
4845
+ METER = "meter",
4846
+ /** Return the turning circle in feet */
4847
+ FOOT = "foot"
4848
+ }
4849
+
4850
+ export type UpdateConnectedVehicleInput = {
4851
+ /** Id from the connected vehicle */
4852
+ id: Scalars["ID"];
4853
+ /** New label for a connected vehicle */
4854
+ label?: Maybe<Scalars["PlainString"]>;
4855
+ };
4856
+
4857
+ /** Output of a vehicle query */
4858
+ export type Vehicle = {
4859
+ /** Vehicles unique ID */
4860
+ id: Scalars["ID"];
4861
+ /** Naming of the vehicle */
4862
+ naming: VehicleNaming;
4863
+ /** Drivetrain of the vehicle */
4864
+ drivetrain: VehicleDrivetrain;
4865
+ /** Available connectors for the vehicle */
4866
+ connectors: Array<VehicleConnector>;
4867
+ /** Adapters for the connectors of the vehicle */
4868
+ adapters: Array<VehicleConnector>;
4869
+ /** Battery of the vehicle */
4870
+ battery: VehicleBattery;
4871
+ /** Body of the vehicle */
4872
+ body: VehicleBody;
4873
+ /** Availability of the vehicle */
4874
+ availability: VehicleAvailability;
4875
+ /** Performance of the vehicle */
4876
+ performance?: Maybe<VehiclePerformance>;
4877
+ /** Range of the vehicle */
4878
+ range: VehicleRange;
4879
+ /** Media of the vehicle */
4880
+ media: VehicleMedia;
4881
+ /** Routing of the vehicle */
4882
+ routing: VehicleRouting;
4883
+ /** Information about vehicle connectivity */
4884
+ connect: Connect;
4885
+ };
4886
+
4887
+ export type VehicleAvailability = {
4888
+ /** Availability of the vehicle */
4889
+ status: VehicleAvailabilityStatus;
4890
+ };
4891
+
4892
+ /** Availability status of a vehicle */
4893
+ export enum VehicleAvailabilityStatus {
4894
+ /** Vehicle no longer for sale in any market / region */
4895
+ NO_LONGER_AVAILABLE = "no_longer_available",
4896
+ /** Vehicle currently for sale in at least one market / region */
4897
+ AVAILABLE = "available",
4898
+ /** Vehicle expected in market from Date_From (estimated), pre-order open */
4899
+ RELEASE_DATE_ANNOUNCED_PREORDERABLE = "release_date_announced_preorderable",
4900
+ /** Vehicle expected in market from Date_From (estimated), pre-order unknown or not open */
4901
+ RELEASE_DATE_ANNOUNCED = "release_date_announced",
4902
+ /** Concept vehicle, nearing production and/or confirmed, pre-order open */
4903
+ CONCEPT_VEHICLE_PREORDERABLE = "concept_vehicle_preorderable",
4904
+ /** Concept vehicle, nearing production and/or confirmed, pre-order unknown or not open */
4905
+ CONCEPT_VEHICLE = "concept_vehicle",
4906
+ /** Concept vehicle, not close to production and/or unconfirmed, pre-order open */
4907
+ CONCEPT_VEHICLE_RELEASE_DATE_TBA_PREORDERABLE = "concept_vehicle_release_date_tba_preorderable",
4908
+ /** Concept vehicle, not close to production and/or unconfirmed, pre-order unknown */
4909
+ CONCEPT_VEHICLE_RELEASE_DATE_TBA = "concept_vehicle_release_date_tba",
4910
+ /** Status uncertain, introduction date and/or pricing unclear */
4911
+ UNCERTAIN = "uncertain"
4912
+ }
4913
+
4914
+ export type VehicleBattery = {
4915
+ /** Full battery capacity in kWh */
4916
+ full_kwh: Scalars["Float"];
4917
+ /** Usable battery capacity in kWh */
4918
+ usable_kwh: Scalars["Float"];
4919
+ };
4920
+
4921
+ /** Battery field estimated */
4922
+ export enum VehicleBatteryFieldEstimations {
4923
+ /** Both of the battery kWh fields are estimations */
4924
+ B = "B",
4925
+ /** full_kwh field is estimated */
4926
+ F = "F",
4927
+ /** None of the battery kWh fields are estimations */
4928
+ N = "N",
4929
+ /** usable_kwh field is estimated */
4930
+ U = "U"
4931
+ }
4932
+
4933
+ export type VehicleBody = {
4934
+ /** Width with folded mirrors, default in mm */
4935
+ width: Scalars["Float"];
4936
+ /** Height (average height for adjustable suspensions), default in mm */
4937
+ height: Scalars["Float"];
4938
+ /** Weight (unladen), default in kg */
4939
+ weight: VehicleBodyWeight;
4940
+ /** Number of seats */
4941
+ seats: Scalars["Int"];
4942
+ };
4943
+
4944
+ export type VehicleBodywidthArgs = {
4945
+ unit?: Maybe<MeasurementUnit>;
4946
+ };
4947
+
4948
+ export type VehicleBodyheightArgs = {
4949
+ unit?: Maybe<MeasurementUnit>;
4950
+ };
4951
+
4952
+ export type VehicleBodyWeight = {
4953
+ /** Minimum weight, default in kg */
4954
+ minimum?: Maybe<Scalars["Float"]>;
4955
+ /** Nominal weight, default in kg */
4956
+ nominal: Scalars["Float"];
4957
+ /** Maximal weight, default in kg */
4958
+ maximal?: Maybe<Scalars["Float"]>;
4959
+ };
4960
+
4961
+ export type VehicleBodyWeightminimumArgs = {
4962
+ unit?: Maybe<WeightUnit>;
4963
+ };
4964
+
4965
+ export type VehicleBodyWeightnominalArgs = {
4966
+ unit?: Maybe<WeightUnit>;
4967
+ };
4968
+
4969
+ export type VehicleBodyWeightmaximalArgs = {
4970
+ unit?: Maybe<WeightUnit>;
4971
+ };
4972
+
4973
+ export enum VehicleConnectivityProvider {
4974
+ ENODE = "Enode"
4975
+ }
4976
+
4977
+ /** Vehicle plug model */
4978
+ export type VehicleConnector = {
4979
+ /** Connector type, known as connector standard in OCPI */
4980
+ standard: ConnectorType;
4981
+ /** Usable electric power in kW */
4982
+ power: Scalars["Float"];
4983
+ /** Maximum electric power in kW */
4984
+ max_electric_power: Scalars["Float"];
4985
+ /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes */
4986
+ time: Scalars["Int"];
4987
+ /** Charging speed, default in kmph */
4988
+ speed: Scalars["Float"];
4989
+ };
4990
+
4991
+ /** Vehicle plug model */
4992
+ export type VehicleConnectorspeedArgs = {
4993
+ unit?: Maybe<SpeedUnit>;
4994
+ };
4995
+
4996
+ /** The consumption of the vehicle */
4997
+ export type VehicleConsumptionInput = {
4998
+ /** Worst conditions are based on -10°C and use of heating */
4999
+ worst?: Maybe<Scalars["Float"]>;
5000
+ /** Best conditions are based on 23°C and no use of A/C */
5001
+ best?: Maybe<Scalars["Float"]>;
5002
+ };
5003
+
5004
+ export type VehicleData = {
5005
+ /** Battery data */
5006
+ battery?: Maybe<ConnectBattery>;
5007
+ /** Charge data */
5008
+ charge?: Maybe<ConnectCharge>;
5009
+ /** Location data */
5010
+ location?: Maybe<ConnectLocation>;
5011
+ /** Odometer data */
5012
+ odometer?: Maybe<ConnectOdometer>;
5013
+ };
5014
+
5015
+ export enum VehicleDataProvider {
5016
+ /** Internal data provider */
5017
+ CHARGETRIP = "chargetrip",
5018
+ /** EV database data provider */
5019
+ EVDATABASE = "evdatabase"
5020
+ }
5021
+
5022
+ export type VehicleDrivetrain = {
5023
+ /** Type of drivetrain */
5024
+ type: VehicleDrivetrainType;
5025
+ };
5026
+
5027
+ /** Drivetrain */
5028
+ export enum VehicleDrivetrainType {
5029
+ /** Battery Electric Vehicle */
5030
+ BEV = "BEV",
5031
+ /** Extended Range Electric Vehicle */
5032
+ EREV = "EREV",
5033
+ /** Hybrid Electric Vehicle */
5034
+ HEV = "HEV",
5035
+ /** Plug-in Hybrid Electric Vehicle */
5036
+ PHEV = "PHEV"
5037
+ }
5038
+
5039
+ /** Fuel type */
5040
+ export enum VehicleFuel {
5041
+ /** ICE engine available. Uses diesel */
5042
+ D = "D",
5043
+ /** Electricity only. Full electric vehicle */
5044
+ E = "E",
5045
+ /** ICE engine available. Uses petrol */
5046
+ P = "P"
5047
+ }
5048
+
5049
+ export type VehicleImage = {
5050
+ /** Image id */
5051
+ id?: Maybe<Scalars["ID"]>;
5052
+ /** Image type */
5053
+ type: VehicleImageType;
5054
+ /** Full path URL of a large image */
5055
+ url: Scalars["String"];
5056
+ /** Height of a large image in pixels */
5057
+ height: Scalars["Int"];
5058
+ /** Width of a large image in pixels */
5059
+ width: Scalars["Int"];
5060
+ /** Full path URL of a thumbnail image */
5061
+ thumbnail_url: Scalars["String"];
5062
+ /** Height of a thumbnail image in pixels */
5063
+ thumbnail_height: Scalars["Int"];
5064
+ /** Width of a thumbnail image in pixels */
5065
+ thumbnail_width: Scalars["Int"];
5066
+ };
5067
+
5068
+ /** Available types of images which can be found for a vehicle. Each type has specific image sizes */
5069
+ export enum VehicleImageType {
5070
+ /** Images provided by a Vehicle Datasource */
5071
+ PROVIDER = "provider",
5072
+ /** Full-sized image at 1536x864 px */
5073
+ IMAGE = "image",
5074
+ /** Thumbnail of a full-sized image at 131x72 px */
5075
+ IMAGE_THUMBNAIL = "image_thumbnail",
5076
+ /** Full-sized brand (maker) logo at 768x432 px */
5077
+ BRAND = "brand",
5078
+ /** Thumbnail of a full-sized brand logo at 56x24 px */
5079
+ BRAND_THUMBNAIL = "brand_thumbnail"
5080
+ }
5081
+
5082
+ /** When uploading images to a vehicle, you can select one of this types. The rest of the types are automatically generated by the system */
5083
+ export enum VehicleImageTypeUploadable {
5084
+ /** Full size image with a resolution at least 1536x864 px */
5085
+ IMAGE = "image"
5086
+ }
5087
+
5088
+ /** The output element of the vehicleList query */
5089
+ export type VehicleList = {
5090
+ /** Vehicles unique ID */
5091
+ id: Scalars["ID"];
5092
+ /** Naming of the vehicle */
5093
+ naming: VehicleListNaming;
5094
+ /** Drivetrain of the vehicle */
5095
+ drivetrain: VehicleDrivetrain;
5096
+ /** Connectors available for the vehicle */
5097
+ connectors: Array<VehicleConnector>;
5098
+ /** Adapters available for the vehicle */
5099
+ adapters: Array<VehicleConnector>;
5100
+ /** Battery of the vehicle */
5101
+ battery: VehicleListBattery;
5102
+ /** Body of the vehicle */
5103
+ body: VehicleListBody;
5104
+ /** Availability of the vehicle */
5105
+ availability: VehicleListAvailability;
5106
+ /** Range of the vehicle */
5107
+ range: VehicleListRange;
5108
+ /** Media of the vehicle */
5109
+ media: VehicleListMedia;
5110
+ /** Routing of the vehicle */
5111
+ routing: VehicleListRouting;
5112
+ /** Information about vehicle connectivity */
5113
+ connect: Connect;
5114
+ };
5115
+
5116
+ export type VehicleListAvailability = {
5117
+ /** Availability of the vehicle */
5118
+ status: VehicleAvailabilityStatus;
5119
+ };
5120
+
5121
+ export type VehicleListBattery = {
5122
+ /** Full battery capacity in kWh */
5123
+ full_kwh: Scalars["Float"];
5124
+ /** Usable battery capacity in kWh */
5125
+ usable_kwh: Scalars["Float"];
5126
+ };
5127
+
5128
+ export type VehicleListBody = {
5129
+ /** Number of seats in a vehicle */
5130
+ seats: Scalars["Int"];
5131
+ };
5132
+
5133
+ export type VehicleListFilter = {
5134
+ /** Availability of a vehicle */
5135
+ availability?: Maybe<Array<Maybe<VehicleAvailabilityStatus>>>;
5136
+ /** Drivetrain type of a vehicle */
5137
+ drivetrain?: Maybe<VehicleDrivetrainType>;
5138
+ /** Information about vehicle connectivity */
5139
+ connect?: Maybe<ConnectFilter>;
5140
+ };
5141
+
5142
+ export type VehicleListMedia = {
5143
+ /** Latest image of the vehicle */
5144
+ image: VehicleImage;
5145
+ /** Latest maker logo of the vehicle */
5146
+ brand: VehicleImage;
5147
+ /** Latest video of the vehicle */
5148
+ video?: Maybe<VehicleVideo>;
5149
+ };
5150
+
5151
+ export type VehicleListNaming = {
5152
+ /** Vehicle manufacturer name */
5153
+ make: Scalars["String"];
5154
+ /** Vehicle model name */
5155
+ model: Scalars["String"];
5156
+ /** Version, edition or submodel of the vehicle */
5157
+ version?: Maybe<Scalars["String"]>;
5158
+ /** Another submodel level of the vehicle */
5159
+ edition?: Maybe<Scalars["String"]>;
5160
+ /** Vehicle model version. Added by Chargetrip as an alternative for when a vehicle manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
5161
+ chargetrip_version: Scalars["String"];
5162
+ };
5163
+
5164
+ export type VehicleListRange = {
5165
+ /**
5166
+ * Is an index value of what we consider to be the real-world range.
5167
+ * (Comparable to Range_Real from EV Database.) It is essentially a normalized range to display in the front-end.
5168
+ */
5169
+ chargetrip_range: ChargetripRange;
5170
+ };
5171
+
5172
+ export type VehicleListRouting = {
5173
+ /** Vehicles that support fast charging have a minimum charging speed of 43 kWh */
5174
+ fast_charging_support: Scalars["Boolean"];
5175
+ };
5176
+
5177
+ export type VehicleMedia = {
5178
+ /** Latest image */
5179
+ image: VehicleImage;
5180
+ /** Latest maker logo */
5181
+ brand: VehicleImage;
5182
+ /** All images */
5183
+ image_list: Array<VehicleImage>;
5184
+ /** Latest video */
5185
+ video?: Maybe<VehicleVideo>;
5186
+ /** All videos */
5187
+ video_list?: Maybe<Array<VehicleVideo>>;
5188
+ };
5189
+
5190
+ /** Mode (state) of the current production */
5191
+ export enum VehicleMode {
5192
+ /** Old vehicle that is no longer manufactured */
5193
+ INDEX_ONLY = "index_only",
5194
+ /** Vehicle is in production and has been released */
5195
+ PRODUCTION = "production",
5196
+ /** Future releases of a vehicle, a concept of the vehicle, specs may change over time */
5197
+ CONCEPT = "concept"
5198
+ }
5199
+
5200
+ export type VehicleNaming = {
5201
+ /** Vehicle manufacturer name */
5202
+ make: Scalars["String"];
5203
+ /** Vehicle model name */
5204
+ model: Scalars["String"];
5205
+ /** Version, edition or submodel of the vehicle */
5206
+ version?: Maybe<Scalars["String"]>;
5207
+ /** Another submodel level of the vehicle */
5208
+ edition?: Maybe<Scalars["String"]>;
5209
+ /** Vehicle model version. Added by Chargetrip as an alternative for when a vehicle manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
5210
+ chargetrip_version: Scalars["String"];
5211
+ };
5212
+
5213
+ export type VehiclePerformance = {
5214
+ /** Acceleration in seconds, default in kmph to 100 */
5215
+ acceleration?: Maybe<Scalars["Float"]>;
5216
+ /** Top speed of the vehicle, default in kmph */
5217
+ top_speed?: Maybe<Scalars["Float"]>;
5218
+ };
5219
+
5220
+ export type VehiclePerformanceaccelerationArgs = {
5221
+ unit?: Maybe<AccelerationUnit>;
5222
+ };
5223
+
5224
+ export type VehiclePerformancetop_speedArgs = {
5225
+ unit?: Maybe<SpeedUnit>;
5226
+ };
5227
+
5228
+ /** The output element of the vehiclePremium query */
5229
+ export type VehiclePremium = {
5230
+ /** Vehicles unique ID */
5231
+ id: Scalars["ID"];
5232
+ /** Internal ID of the successor vehicle trim */
5233
+ succesor_id?: Maybe<Scalars["String"]>;
5234
+ /** Naming of the vehicle */
5235
+ naming: VehiclePremiumNaming;
5236
+ /** Connectors available for the vehicle */
5237
+ connectors: Array<VehicleConnector>;
5238
+ /** Charge details */
5239
+ charge: VehiclePremiumCharge;
5240
+ /** Fast charge details */
5241
+ fast_charge: VehiclePremiumFastCharge;
5242
+ /** Adapters of connectors available for a connectors of the vehicle */
5243
+ adapters: Array<VehicleConnector>;
5244
+ /** Battery of the vehicle */
5245
+ battery: VehiclePremiumBattery;
5246
+ /** Body of the vehicle */
5247
+ body: VehiclePremiumBody;
5248
+ /** Availability of the vehicle */
5249
+ availability: VehiclePremiumAvailability;
5250
+ /** Pricing of the vehicle */
5251
+ price: VehiclePremiumPrice;
5252
+ /** Drivetrain of the vehicle */
5253
+ drivetrain: VehiclePremiumDrivetrain;
5254
+ /** Performance of the vehicle */
5255
+ performance?: Maybe<VehiclePremiumPerformance>;
5256
+ /** Range of the vehicle */
5257
+ range: VehiclePremiumRange;
5258
+ /** Efficiency of the vehicle */
5259
+ efficiency: VehiclePremiumEfficiency;
5260
+ /** Safety of the vehicle */
5261
+ safety?: Maybe<VehiclePremiumSafety>;
5262
+ /** Media of the vehicle */
5263
+ media: VehiclePremiumMedia;
5264
+ /** Routing of the vehicle */
5265
+ routing: VehiclePremiumRouting;
5266
+ /** Information about vehicle connectivity */
5267
+ connect: Connect;
5268
+ };
5269
+
5270
+ export type VehiclePremiumAvailability = {
5271
+ /** Availability of the vehicle */
5272
+ status: VehicleAvailabilityStatus;
5273
+ /** Date of introduction, mm-yyyy */
5274
+ date_from?: Maybe<Scalars["String"]>;
5275
+ /** Indicates if date from field is estimated */
5276
+ date_from_is_estimated?: Maybe<Scalars["Boolean"]>;
5277
+ /** Date last available, mm-yyyy */
5278
+ date_to?: Maybe<Scalars["String"]>;
5279
+ };
5280
+
5281
+ export type VehiclePremiumBattery = {
5282
+ /** Usable battery capacity in kWh */
5283
+ usable_kwh: Scalars["Float"];
5284
+ /** Full battery capacity in kWh */
5285
+ full_kwh: Scalars["Float"];
5286
+ /** Indicates which battery fields are estimated */
5287
+ estimated_fields?: Maybe<VehicleBatteryFieldEstimations>;
5288
+ /** Battery thermal management system (active/passive, air/liquid) */
5289
+ thermal_management_system?: Maybe<Scalars["String"]>;
5290
+ /** Duration of battery warranty */
5291
+ warranty_period?: Maybe<Scalars["Float"]>;
5292
+ /** Mileage of battery warranty */
5293
+ warranty_mileage?: Maybe<Scalars["Float"]>;
5294
+ /** Chemistry of the battery */
5295
+ chemistry?: Maybe<Scalars["String"]>;
5296
+ /** Manufacturer of the battery */
5297
+ manufacturer?: Maybe<Scalars["String"]>;
5298
+ /** Number of battery modules */
5299
+ modules?: Maybe<Scalars["Float"]>;
5300
+ /** Number of cells in the battery pack, can include configuration (s = serial, p = parallel) */
5301
+ cells?: Maybe<Scalars["String"]>;
5302
+ /** Weight of the battery pack */
5303
+ weight?: Maybe<Scalars["Float"]>;
5304
+ /** Nominal voltage of battery */
5305
+ nominal_voltage?: Maybe<Scalars["Float"]>;
5306
+ };
5307
+
5308
+ export type VehiclePremiumBody = {
5309
+ /** Length, default in mm */
5310
+ length?: Maybe<Scalars["Float"]>;
5311
+ /** Width with folded mirrors, default in mm */
5312
+ width: Scalars["Float"];
5313
+ /** Width of vehicle including mirrors, default in mm */
5314
+ full_width?: Maybe<Scalars["Float"]>;
5315
+ /** Height (average height for adjustable suspensions), default in mm */
5316
+ height: Scalars["Float"];
5317
+ /** Indicates if length/width/height fields are estimations */
5318
+ size_is_estimated?: Maybe<Scalars["Boolean"]>;
5319
+ /** Wheelbase, default in mm */
5320
+ wheelbase?: Maybe<Scalars["Float"]>;
5321
+ /** Indicates if wheelbase field is estimated */
5322
+ wheelbase_is_estimated?: Maybe<Scalars["Boolean"]>;
5323
+ /** Weight (unladen EU) */
5324
+ weight: VehicleBodyWeight;
5325
+ /** Maximum allowed vehicle weight with payload */
5326
+ weight_gvwr?: Maybe<VehicleBodyWeight>;
5327
+ /** Maximum allowed vehicle and trailer weight with payload */
5328
+ weight_gtw?: Maybe<VehicleBodyWeight>;
5329
+ /** Allowed payload weight */
5330
+ weight_payload?: Maybe<VehicleBodyWeight>;
5331
+ /** Indicates if weight field is estimated */
5332
+ weight_is_estimated?: Maybe<Scalars["Boolean"]>;
5333
+ /** Maximum payload allowed for the vehicle, default in kg */
5334
+ weight_max_payload?: Maybe<Scalars["Float"]>;
5335
+ /** Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload), default in kg */
5336
+ max_gross_vehicle_weight?: Maybe<Scalars["Float"]>;
5337
+ /** Standard luggage capacity, default in l */
5338
+ boot_capacity?: Maybe<Scalars["Float"]>;
5339
+ /** Storage capacity of front trunk/under the hood (frunk), default in l */
5340
+ boot_front_capacity?: Maybe<Scalars["Float"]>;
5341
+ /** Maximum luggage capacity, default in l */
5342
+ boot_capacity_max?: Maybe<Scalars["Float"]>;
5343
+ /** Indicates if a tow hitch/towbar can be fitted according to vehicle homologation */
5344
+ tow_hitch_compatible?: Maybe<Scalars["Boolean"]>;
5345
+ /** Maximum unbraked towing weight, default in kg */
5346
+ tow_weight_unbraked?: Maybe<Scalars["Float"]>;
5347
+ /** Maximum braked towing weight, default in kg */
5348
+ tow_weight_braked?: Maybe<Scalars["Float"]>;
5349
+ /** Indicates if tow weight fields are estimations */
5350
+ tow_weight_is_estimated?: Maybe<Scalars["Boolean"]>;
5351
+ /** Maximum vertical load / noseweight on tow hitch according to vehicle homologation, default in kg */
5352
+ tow_weight_vertical_load?: Maybe<Scalars["Float"]>;
5353
+ /** Maximum load on roof of the vehicle, default in kg */
5354
+ roof_load_max?: Maybe<Scalars["Float"]>;
5355
+ /** Body type, listed in local naming convention where applicable */
5356
+ body_type?: Maybe<Scalars["String"]>;
5357
+ /** Segment, listed in local naming convention where applicable */
5358
+ segment?: Maybe<Scalars["String"]>;
5359
+ /** Number of seats */
5360
+ seats?: Maybe<Scalars["Int"]>;
5361
+ /** Indicates whether a vehicle has roof rails as a standard */
5362
+ has_roofrails?: Maybe<Scalars["Boolean"]>;
5363
+ /** Turning circle of the vehicle kerb-to-kerb, default in meters */
5364
+ turning_circle?: Maybe<Scalars["Float"]>;
5365
+ /** Name of the vehicle platform used for vehicle (often abbreviated to indicate group platforms) */
5366
+ vehicle_platform?: Maybe<Scalars["String"]>;
5367
+ /** Indicates if the vehicle platform used for vehicle is a dedicated battery electric vehicle platform */
5368
+ vehicle_platform_is_dedicated?: Maybe<Scalars["Boolean"]>;
5369
+ };
5370
+
5371
+ export type VehiclePremiumBodylengthArgs = {
5372
+ unit?: Maybe<MeasurementUnit>;
5373
+ };
5374
+
5375
+ export type VehiclePremiumBodywidthArgs = {
5376
+ unit?: Maybe<MeasurementUnit>;
5377
+ };
5378
+
5379
+ export type VehiclePremiumBodyfull_widthArgs = {
5380
+ unit?: Maybe<MeasurementUnit>;
5381
+ };
5382
+
5383
+ export type VehiclePremiumBodyheightArgs = {
5384
+ unit?: Maybe<MeasurementUnit>;
5385
+ };
5386
+
5387
+ export type VehiclePremiumBodywheelbaseArgs = {
5388
+ unit?: Maybe<MeasurementUnit>;
5389
+ };
5390
+
5391
+ export type VehiclePremiumBodyweight_max_payloadArgs = {
5392
+ unit?: Maybe<WeightUnit>;
5393
+ };
5394
+
5395
+ export type VehiclePremiumBodymax_gross_vehicle_weightArgs = {
5396
+ unit?: Maybe<WeightUnit>;
5397
+ };
5398
+
5399
+ export type VehiclePremiumBodyboot_capacityArgs = {
5400
+ unit?: Maybe<VolumeUnit>;
5401
+ };
5402
+
5403
+ export type VehiclePremiumBodyboot_capacity_maxArgs = {
5404
+ unit?: Maybe<VolumeUnit>;
5405
+ };
5406
+
5407
+ export type VehiclePremiumBodytow_weight_unbrakedArgs = {
5408
+ unit?: Maybe<WeightUnit>;
5409
+ };
5410
+
5411
+ export type VehiclePremiumBodytow_weight_brakedArgs = {
5412
+ unit?: Maybe<WeightUnit>;
5413
+ };
5414
+
5415
+ export type VehiclePremiumBodytow_weight_vertical_loadArgs = {
5416
+ unit?: Maybe<WeightUnit>;
5417
+ };
5418
+
5419
+ export type VehiclePremiumBodyroof_load_maxArgs = {
5420
+ unit?: Maybe<WeightUnit>;
5421
+ };
5422
+
5423
+ export type VehiclePremiumBodyturning_circleArgs = {
5424
+ unit?: Maybe<TurningCircleUnit>;
5425
+ };
5426
+
5427
+ export type VehiclePremiumCharge = {
5428
+ /** Information about the main connector */
5429
+ plug?: Maybe<VehiclePremiumChargeConnector>;
5430
+ /** Information about vehicles secondary onboard charger */
5431
+ second_plug?: Maybe<VehiclePremiumChargeSecondConnector>;
5432
+ /** Information about the vehicle standard onboard charger */
5433
+ standard?: Maybe<VehiclePremiumChargeStandardOBC>;
5434
+ /** Optional upgrade for the standard onboard charger when available */
5435
+ option?: Maybe<VehiclePremiumChargeOptionOBC>;
5436
+ };
5437
+
5438
+ export type VehiclePremiumChargeConnector = {
5439
+ /** Type of charge port on vehicle */
5440
+ value?: Maybe<ConnectorType>;
5441
+ /** Indicates if value is an estimate */
5442
+ is_estimated?: Maybe<Scalars["Boolean"]>;
5443
+ /** Location of charge port */
5444
+ location?: Maybe<Scalars["String"]>;
5445
+ };
5446
+
5447
+ export type VehiclePremiumChargeOBCTable = {
5448
+ /** Voltage between phase and neutral for this EVSE (phase voltage) */
5449
+ evse_phase_voltage?: Maybe<Scalars["Int"]>;
5450
+ /** Current per phase for this EVSE (phase current) */
5451
+ evse_phase_amperage?: Maybe<Scalars["Int"]>;
5452
+ /** Number of phases for this EVSE */
5453
+ evse_phases?: Maybe<Scalars["Int"]>;
5454
+ /** Voltage between phase and neutral used by standard OBC (phase voltage) */
5455
+ charge_phase_voltage?: Maybe<Scalars["Int"]>;
5456
+ /** Current per phase used by standard OBC (phase current) */
5457
+ charge_phase_amperage?: Maybe<Scalars["Float"]>;
5458
+ /** Number of phases used by standard OBC */
5459
+ charge_phases?: Maybe<Scalars["Int"]>;
5460
+ /** Power used by standard OBC (before OBC losses) */
5461
+ charge_power?: Maybe<Scalars["Float"]>;
5462
+ /** Minutes needed to charge from 0% to 100% (standard OBC with this EVSE) */
5463
+ charge_time?: Maybe<Scalars["Int"]>;
5464
+ /** Charging speed when charging at maximum power (standard OBC with this EVSE), default in kmph */
5465
+ charge_speed?: Maybe<Scalars["Float"]>;
5466
+ };
5467
+
5468
+ export type VehiclePremiumChargeOBCTablecharge_speedArgs = {
5469
+ unit?: Maybe<ChargeSpeedUnit>;
5470
+ };
5471
+
5472
+ export type VehiclePremiumChargeOptionOBC = {
5473
+ /** Maximum power OBC can accept to charge a battery (standard OBC) */
5474
+ power?: Maybe<Scalars["Float"]>;
5475
+ /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
5476
+ phases?: Maybe<Scalars["Int"]>;
5477
+ /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
5478
+ phase_amperage?: Maybe<Scalars["Float"]>;
5479
+ /** Minutes needed to charge from 0% to 100% (standard OBC) */
5480
+ charge_time?: Maybe<Scalars["Int"]>;
5481
+ /** Charging speed when charging at maximum power (standard OBC), default in kmph */
5482
+ charge_speed?: Maybe<Scalars["Float"]>;
5483
+ /** Charging details for the standard OBC at several charging points */
5484
+ table?: Maybe<Array<Maybe<VehiclePremiumChargeOBCTable>>>;
5485
+ };
5486
+
5487
+ export type VehiclePremiumChargeOptionOBCcharge_speedArgs = {
5488
+ unit?: Maybe<ChargeSpeedUnit>;
5489
+ };
5490
+
5491
+ export type VehiclePremiumChargePower = {
5492
+ /** Maximum value */
5493
+ max?: Maybe<Scalars["Float"]>;
5494
+ /** Average value */
5495
+ average?: Maybe<Scalars["Float"]>;
5496
+ };
5497
+
5498
+ export type VehiclePremiumChargeSecondConnector = {
5499
+ /** Location of charge port */
5500
+ location?: Maybe<Scalars["String"]>;
5501
+ /** Indicates if second charge port is optional */
5502
+ is_optional?: Maybe<Scalars["Boolean"]>;
5503
+ };
5504
+
5505
+ export type VehiclePremiumChargeStandardOBC = {
5506
+ /** Maximum power OBC can accept to charge a battery (standard OBC) */
5507
+ power?: Maybe<Scalars["Float"]>;
5508
+ /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
5509
+ phases?: Maybe<Scalars["Int"]>;
5510
+ /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
5511
+ phase_amperage?: Maybe<Scalars["Float"]>;
5512
+ /** Minutes needed to charge from 0% to 100% (standard OBC) */
5513
+ charge_time?: Maybe<Scalars["Int"]>;
5514
+ /** Charging speed when charging at maximum power (standard OBC), default in kmph */
5515
+ charge_speed?: Maybe<Scalars["Float"]>;
5516
+ /** Indicates if Charge_Standard fields are estimated */
5517
+ is_estimated?: Maybe<Scalars["Boolean"]>;
5518
+ /** Charging details for the standard OBC at several charging points */
5519
+ table?: Maybe<Array<Maybe<VehiclePremiumChargeOBCTable>>>;
5520
+ };
5521
+
5522
+ export type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
5523
+ unit?: Maybe<ChargeSpeedUnit>;
5524
+ };
5525
+
5526
+ export type VehiclePremiumDrivetrain = {
5527
+ /** Type of drivetrain */
5528
+ type: VehicleDrivetrainType;
5529
+ /** Fuel type */
5530
+ fuel?: Maybe<VehicleFuel>;
5531
+ /** Propulsion type */
5532
+ propulsion?: Maybe<VehiclePropulsion>;
5533
+ /** Indicates if propulsion field is estimated */
5534
+ propulsion_is_estimated?: Maybe<Scalars["Boolean"]>;
5535
+ /** Maximum (combined) power output, default in kw */
5536
+ power?: Maybe<Scalars["Float"]>;
5537
+ /** Indicates if power field is estimated */
5538
+ power_is_estimated?: Maybe<Scalars["Boolean"]>;
5539
+ /** Maximum (combine) power output, default in horsepower (PS) */
5540
+ power_hp?: Maybe<Scalars["Float"]>;
5541
+ /** Maximum (combine) torque output, default in newton meter */
5542
+ torque?: Maybe<Scalars["Float"]>;
5543
+ /** Indicates if torque field is estimated */
5544
+ torque_is_estimated?: Maybe<Scalars["Boolean"]>;
5545
+ };
5546
+
5547
+ export type VehiclePremiumDrivetrainpowerArgs = {
5548
+ unit?: Maybe<PowerUnit>;
5549
+ };
5550
+
5551
+ export type VehiclePremiumDrivetrainpower_hpArgs = {
5552
+ unit?: Maybe<PowerUnit>;
5553
+ };
5554
+
5555
+ export type VehiclePremiumDrivetraintorqueArgs = {
5556
+ unit?: Maybe<TorqueUnit>;
5557
+ };
5558
+
5559
+ export type VehiclePremiumEfficiency = {
5560
+ /** Rated efficiency in WLTP combined cycle */
5561
+ wltp?: Maybe<VehiclePremiumEfficiencyWLTP>;
5562
+ /** Rated efficiency in WLTP combined cycle (TEH / least efficient trim) */
5563
+ wltp_teh?: Maybe<VehiclePremiumEfficiencyWLTPTEH>;
5564
+ /** Rated efficiency in NEDC combined cycle */
5565
+ nedc?: Maybe<VehiclePremiumEfficiencyNEDC>;
5566
+ /** Vehicle efficiency based on provider range */
5567
+ provider?: Maybe<VehiclePremiumEfficiencyProvider>;
5568
+ };
5569
+
5570
+ export type VehiclePremiumEfficiencyNEDC = {
5571
+ /** Rated efficiency in NEDC combined cycle, default in kWh/100 km */
5572
+ value?: Maybe<Scalars["Float"]>;
5573
+ /** Rated efficiency in NEDC combined cycle presented in gas equivalent, default in l/100 km */
5574
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
5575
+ /** Rated vehicle efficiency in NEDC combined cycle (based on value), default in kWh/100 km */
5576
+ vehicle?: Maybe<Scalars["Float"]>;
5577
+ /** Rated vehicle efficiency in NEDC combined cycle presented in gas equivalent, default in l/100 km */
5578
+ vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
5579
+ /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated), default in gr/km */
5580
+ co2?: Maybe<Scalars["Float"]>;
5581
+ };
5582
+
5583
+ export type VehiclePremiumEfficiencyNEDCvalueArgs = {
5584
+ unit?: Maybe<ConsumptionUnit>;
5585
+ };
5586
+
5587
+ export type VehiclePremiumEfficiencyNEDCfuel_equivalentArgs = {
5588
+ unit?: Maybe<FuelConsumptionUnit>;
5589
+ };
5590
+
5591
+ export type VehiclePremiumEfficiencyNEDCvehicleArgs = {
5592
+ unit?: Maybe<ConsumptionUnit>;
5593
+ };
5594
+
5595
+ export type VehiclePremiumEfficiencyNEDCvehicle_fuel_equivalentArgs = {
5596
+ unit?: Maybe<FuelConsumptionUnit>;
5597
+ };
5598
+
5599
+ export type VehiclePremiumEfficiencyNEDCco2Args = {
5600
+ unit?: Maybe<EmissionRateUnit>;
5601
+ };
5602
+
5603
+ export type VehiclePremiumEfficiencyProvider = {
5604
+ /** Vehicle efficiency based on RealRange (usable battery/range), default in kWh/100 km */
5605
+ value?: Maybe<Scalars["Float"]>;
5606
+ /** Vehicle efficiency based on RealRange presented in gas equivalent, default in l/100 km */
5607
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
5608
+ /** Worst conditions are based on -10°C and use of heating */
5609
+ worst?: Maybe<VehiclePremiumEfficiencyProviderValue>;
5610
+ /** Best conditions are based on 23°C and no use of A/C */
5611
+ best?: Maybe<VehiclePremiumEfficiencyProviderValue>;
5612
+ };
5613
+
5614
+ export type VehiclePremiumEfficiencyProvidervalueArgs = {
5615
+ unit?: Maybe<ConsumptionUnit>;
5616
+ };
5617
+
5618
+ export type VehiclePremiumEfficiencyProviderfuel_equivalentArgs = {
5619
+ unit?: Maybe<FuelConsumptionUnit>;
5620
+ };
5621
+
5622
+ export type VehiclePremiumEfficiencyProviderValue = {
5623
+ /** Estimated value on highway or express roads, default in km */
5624
+ highway?: Maybe<Scalars["Float"]>;
5625
+ /** Estimated value on city roads, default in km */
5626
+ city?: Maybe<Scalars["Float"]>;
5627
+ /** Estimated combined value, default in km */
5628
+ combined?: Maybe<Scalars["Float"]>;
5629
+ };
5630
+
5631
+ export type VehiclePremiumEfficiencyProviderValuehighwayArgs = {
5632
+ unit?: Maybe<DistanceUnit>;
5633
+ };
5634
+
5635
+ export type VehiclePremiumEfficiencyProviderValuecityArgs = {
5636
+ unit?: Maybe<DistanceUnit>;
5637
+ };
5638
+
5639
+ export type VehiclePremiumEfficiencyProviderValuecombinedArgs = {
5640
+ unit?: Maybe<DistanceUnit>;
5641
+ };
5642
+
5643
+ export type VehiclePremiumEfficiencyWLTP = {
5644
+ /** Rated efficiency in WLTP combined cycle, default in kWh/100 km */
5645
+ value?: Maybe<Scalars["Float"]>;
5646
+ /** Rated efficiency in WLTP combined cycle presented in gas equivalent, default in l/100 km */
5647
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
5648
+ /** Rated vehicle efficiency in WLTP combined cycle (based on value), default in kWh/100 km */
5649
+ vehicle?: Maybe<Scalars["Float"]>;
5650
+ /** Rated vehicle efficiency in WLTP combined cycle presented in gas equivalent, default in l/100 km */
5651
+ vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
5652
+ /** Rated CO2 emissions in WLTP combined cycle in battery-only mode (NULL if not WLTP rated), default in gr/km */
5653
+ co2?: Maybe<Scalars["Float"]>;
5654
+ };
5655
+
5656
+ export type VehiclePremiumEfficiencyWLTPvalueArgs = {
5657
+ unit?: Maybe<ConsumptionUnit>;
5658
+ };
5659
+
5660
+ export type VehiclePremiumEfficiencyWLTPfuel_equivalentArgs = {
5661
+ unit?: Maybe<FuelConsumptionUnit>;
5662
+ };
5663
+
5664
+ export type VehiclePremiumEfficiencyWLTPvehicleArgs = {
5665
+ unit?: Maybe<ConsumptionUnit>;
5666
+ };
5667
+
5668
+ export type VehiclePremiumEfficiencyWLTPvehicle_fuel_equivalentArgs = {
5669
+ unit?: Maybe<FuelConsumptionUnit>;
5670
+ };
5671
+
5672
+ export type VehiclePremiumEfficiencyWLTPco2Args = {
5673
+ unit?: Maybe<EmissionRateUnit>;
5674
+ };
5675
+
5676
+ export type VehiclePremiumEfficiencyWLTPTEH = {
5677
+ /** Rated efficiency in WLTP TEH combined cycle (TEH/least efficient trim) */
5678
+ value?: Maybe<Scalars["Float"]>;
5679
+ /** Rated efficiency in WLTP TEH combined cycle presented in gas equivalent, default in l/100 km */
5680
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
5681
+ /** Rated vehicle efficiency in WLTP TEH combined cycle (based on value), default in kWh/100 km */
5682
+ vehicle?: Maybe<Scalars["Float"]>;
5683
+ /** Rated vehicle efficiency in WLTP TEH combined cycle presented in gas equivalent, default in l/100 km */
5684
+ vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
5685
+ /** Rated CO2 emissions in WLTP TEH combined cycle in battery-only mode (NULL if not WLTP TEH rated), default in gr/km */
5686
+ co2?: Maybe<Scalars["Float"]>;
5687
+ };
5688
+
5689
+ export type VehiclePremiumEfficiencyWLTPTEHvalueArgs = {
5690
+ unit?: Maybe<ConsumptionUnit>;
5691
+ };
5692
+
5693
+ export type VehiclePremiumEfficiencyWLTPTEHfuel_equivalentArgs = {
5694
+ unit?: Maybe<FuelConsumptionUnit>;
5695
+ };
5696
+
5697
+ export type VehiclePremiumEfficiencyWLTPTEHvehicleArgs = {
5698
+ unit?: Maybe<ConsumptionUnit>;
5699
+ };
5700
+
5701
+ export type VehiclePremiumEfficiencyWLTPTEHvehicle_fuel_equivalentArgs = {
5702
+ unit?: Maybe<FuelConsumptionUnit>;
5703
+ };
5704
+
5705
+ export type VehiclePremiumEfficiencyWLTPTEHco2Args = {
5706
+ unit?: Maybe<EmissionRateUnit>;
5707
+ };
5708
+
5709
+ export type VehiclePremiumFastCharge = {
5710
+ /** Location of charge port */
5711
+ charge_port?: Maybe<VehiclePremiumChargeConnector>;
5712
+ /** Power during fast charging from 10% to 80% SoC (optimal conditions, fastest charger) */
5713
+ power?: Maybe<VehiclePremiumChargePower>;
5714
+ /** Minutes needed to charge from 10% to 80%, with average charging power (optimal conditions, fastest charger) */
5715
+ charge_time?: Maybe<Scalars["Float"]>;
5716
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions, fastest charger), default is kmph */
5717
+ charge_speed?: Maybe<Scalars["Float"]>;
5718
+ /** Indicates if fast charge is optional in some markets/regions */
5719
+ is_optional?: Maybe<Scalars["Boolean"]>;
5720
+ /** Indicates what fields are estimated */
5721
+ is_estimated?: Maybe<Scalars["Boolean"]>;
5722
+ /** Charging details for fast charging */
5723
+ table?: Maybe<Array<Maybe<VehiclePremiumFastChargeTable>>>;
5724
+ };
5725
+
5726
+ export type VehiclePremiumFastChargecharge_speedArgs = {
5727
+ unit?: Maybe<ChargeSpeedUnit>;
5728
+ };
5729
+
5730
+ export type VehiclePremiumFastChargeTable = {
5731
+ /** Charging details for fast charging (format: ChargerConnector-ChargerPower-AC/DC) */
5732
+ format?: Maybe<Scalars["String"]>;
5733
+ /** Fast charge power */
5734
+ power?: Maybe<VehiclePremiumChargePower>;
5735
+ /** Minutes needed to charge from 10% to 80% (optimal conditions) */
5736
+ charge_time?: Maybe<Scalars["Int"]>;
5737
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions), default is kmph */
5738
+ charge_speed?: Maybe<Scalars["Float"]>;
5739
+ /** Indicates if maximum power during fast charging is limited by the vehicle */
5740
+ is_limited?: Maybe<Scalars["Boolean"]>;
5741
+ /** Indicates if average power during fast charging is limited by the vehicle */
5742
+ average_is_limited?: Maybe<Scalars["Boolean"]>;
5743
+ };
5744
+
5745
+ export type VehiclePremiumFastChargeTablecharge_speedArgs = {
5746
+ unit?: Maybe<ChargeSpeedUnit>;
5747
+ };
5748
+
5749
+ export type VehiclePremiumMedia = {
5750
+ /** URL for more details */
5751
+ provider_details_url?: Maybe<Scalars["String"]>;
5752
+ /** Latest image */
5753
+ image: VehicleImage;
5754
+ /** Latest maker logo */
5755
+ brand: VehicleImage;
5756
+ /** All images */
5757
+ image_list: Array<VehicleImage>;
5758
+ /** Latest video */
5759
+ video?: Maybe<VehicleVideo>;
5760
+ /** All videos */
5761
+ video_list?: Maybe<Array<VehicleVideo>>;
5762
+ /** URL of the OEM page for this vehicle */
5763
+ oem_details_url?: Maybe<Scalars["String"]>;
5764
+ };
5765
+
5766
+ export type VehiclePremiumNaming = {
5767
+ /** Vehicle manufacturer name */
5768
+ make: Scalars["String"];
5769
+ /** Vehicle model name */
5770
+ model: Scalars["String"];
5771
+ /** Version, edition or submodel of the vehicle */
5772
+ version?: Maybe<Scalars["String"]>;
5773
+ /** Another submodel level of the vehicle */
5774
+ edition?: Maybe<Scalars["String"]>;
5775
+ /** Vehicle model version. Added by Chargetrip as an alternative for when a vehicle manufacturer does not provide a version name, or uses the same version name across all trims or consecutive years */
5776
+ chargetrip_version: Scalars["String"];
5777
+ /** Vehicle model length version */
5778
+ length_version?: Maybe<Scalars["String"]>;
5779
+ /** Vehicle model height version */
5780
+ height_version?: Maybe<Scalars["String"]>;
5781
+ };
5782
+
5783
+ export type VehiclePremiumPerformance = {
5784
+ /** Acceleration 0-100 km/h, default in seconds */
5785
+ acceleration?: Maybe<Scalars["Float"]>;
5786
+ /** Indicates if acceleration field is estimated */
5787
+ acceleration_is_estimated?: Maybe<Scalars["Boolean"]>;
5788
+ /** Top speed of the vehicle, default in km/h */
5789
+ top_speed?: Maybe<Scalars["Float"]>;
5790
+ /** Indicates if top_speed field is estimated */
5791
+ top_speed_is_estimated?: Maybe<Scalars["Boolean"]>;
5792
+ };
5793
+
5794
+ export type VehiclePremiumPerformanceaccelerationArgs = {
5795
+ unit?: Maybe<AccelerationUnit>;
5796
+ };
5797
+
5798
+ export type VehiclePremiumPerformancetop_speedArgs = {
5799
+ unit?: Maybe<SpeedUnit>;
5800
+ };
5801
+
5802
+ export type VehiclePremiumPrice = {
5803
+ /** Starting price for German market */
5804
+ DE?: Maybe<VehiclePremiumPriceValueWithGrant>;
5805
+ /** Starting price for Dutch market */
5806
+ NL?: Maybe<VehiclePremiumPriceValueWithGrant>;
5807
+ /** Starting price for British market */
5808
+ GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
5809
+ };
5810
+
5811
+ export type VehiclePremiumPriceValueWithGrant = {
5812
+ /** Starting price for local market, default in EUR */
5813
+ value?: Maybe<Scalars["Float"]>;
5814
+ /** Indicates if price value is based on estimates */
5815
+ is_estimated?: Maybe<Scalars["Boolean"]>;
5816
+ /** Grant is applied to value */
5817
+ grant_applied?: Maybe<Scalars["Int"]>;
5818
+ };
5819
+
5820
+ export type VehiclePremiumPriceValueWithGrantvalueArgs = {
5821
+ unit?: Maybe<CurrencyUnit>;
5822
+ };
5823
+
5824
+ export type VehiclePremiumRange = {
5825
+ /** Rated range in WLTP combined cycle (NULL if not WLTP rated), default in km */
5826
+ wltp?: Maybe<Scalars["Float"]>;
5827
+ /** Indicates if WLTP range is estimated (NULL if not WLTP rated) */
5828
+ wltp_is_estimated?: Maybe<Scalars["Boolean"]>;
5829
+ /** Rated range in WLTP (TEH/least efficient trim) combined cycle (NULL if not WLTP rated) */
5830
+ wltp_teh?: Maybe<Scalars["Int"]>;
5831
+ /** Rated range in NEDC combined cycle (NULL if not NEDC rated), default in km */
5832
+ nedc?: Maybe<Scalars["Float"]>;
5833
+ /** Indicates if NEDC range is estimated (NULL if not NEDC rated) */
5834
+ nedc_is_estimated?: Maybe<Scalars["Boolean"]>;
5835
+ /** Index range, default in km */
5836
+ provider?: Maybe<Scalars["Float"]>;
5837
+ /** Indicates if index range is estimated */
5838
+ provider_is_estimated?: Maybe<Scalars["Boolean"]>;
5839
+ /** Worst conditions are based on -10°C and use of heating */
5840
+ worst: VehiclePremiumRangeValue;
5841
+ /** Best conditions are based on 23°C and no use of A/C */
5842
+ best: VehiclePremiumRangeValue;
5843
+ /** Is an index value of what we consider to be the real-world range. (Comparable to Range_Real from EV Database.) It is essentially a normalized range to display on the front-end. */
5844
+ chargetrip_range: ChargetripRange;
5845
+ };
5846
+
5847
+ export type VehiclePremiumRangewltpArgs = {
5848
+ unit?: Maybe<ConsumptionUnit>;
5849
+ };
5850
+
5851
+ export type VehiclePremiumRangenedcArgs = {
5852
+ unit?: Maybe<ConsumptionUnit>;
5853
+ };
5854
+
5855
+ export type VehiclePremiumRangeproviderArgs = {
5856
+ unit?: Maybe<ConsumptionUnit>;
5857
+ };
5858
+
5859
+ export type VehiclePremiumRangeValue = {
5860
+ /** Estimated value on highway or express roads, default in km */
5861
+ highway?: Maybe<Scalars["Float"]>;
5862
+ /** Estimated value on city roads, default in km */
5863
+ city?: Maybe<Scalars["Float"]>;
5864
+ /** Estimated combined value, default in km */
5865
+ combined?: Maybe<Scalars["Float"]>;
5866
+ };
5867
+
5868
+ export type VehiclePremiumRangeValuehighwayArgs = {
5869
+ unit?: Maybe<DistanceUnit>;
5870
+ };
5871
+
5872
+ export type VehiclePremiumRangeValuecityArgs = {
5873
+ unit?: Maybe<DistanceUnit>;
5874
+ };
5875
+
5876
+ export type VehiclePremiumRangeValuecombinedArgs = {
5877
+ unit?: Maybe<DistanceUnit>;
5878
+ };
5879
+
5880
+ export type VehiclePremiumRouting = {
5881
+ /** Vehicles that support fast charging have a minimum charging speed of 43 kWh */
5882
+ fast_charging_support: Scalars["Boolean"];
5883
+ /** Drag coefficient */
5884
+ drag_coefficient: Scalars["Float"];
5885
+ /** Tire pressure recommended by manufacturer, default in bar */
5886
+ tire_pressure: Scalars["Float"];
5887
+ /** Extra consumption model */
5888
+ consumption?: Maybe<VehiclePremiumRoutingConsumption>;
5889
+ /** Amount of petrol that an equivalent petrol vehicle would consume, default in l/100 km */
5890
+ fuel_consumption?: Maybe<Scalars["Float"]>;
5891
+ };
5892
+
5893
+ export type VehiclePremiumRoutingtire_pressureArgs = {
5894
+ unit?: Maybe<PressureUnit>;
5895
+ };
5896
+
5897
+ export type VehiclePremiumRoutingfuel_consumptionArgs = {
5898
+ unit?: Maybe<FuelConsumptionUnit>;
5899
+ };
5900
+
5901
+ export type VehiclePremiumRoutingConsumption = {
5902
+ /** Consumption, in kWh, of the auxiliaries */
5903
+ aux?: Maybe<VehiclePremiumRoutingConsumptionValue>;
5904
+ /** Consumption, in kWh, of the battery management system */
5905
+ bms?: Maybe<VehiclePremiumRoutingConsumptionValue>;
5906
+ /** Consumption, in kWh, of the vehicle in idle mode */
5907
+ idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
5908
+ };
5909
+
5910
+ export type VehiclePremiumRoutingConsumptionValue = {
5911
+ /** Best (lowest) consumption in summer */
5912
+ best?: Maybe<Scalars["Float"]>;
5913
+ /** Best (lowest) consumption in winter */
5914
+ worst?: Maybe<Scalars["Float"]>;
5915
+ };
5916
+
5917
+ export type VehiclePremiumSafety = {
5918
+ /** Number of seats equipped with ISOFIX */
5919
+ isofix_seats?: Maybe<Scalars["Int"]>;
5920
+ /** EuroNCAP results */
5921
+ euro_ncap?: Maybe<VehiclePremiumSafetyEuroNcap>;
5922
+ };
5923
+
5924
+ export type VehiclePremiumSafetyEuroNcap = {
5925
+ /** EuroNCAP rating (out of 5 stars) */
5926
+ rating?: Maybe<Scalars["Int"]>;
5927
+ /** EuroNCAP year of rating */
5928
+ year?: Maybe<Scalars["Int"]>;
5929
+ /** EuroNCAP rating of adult protection (out of 100%) */
5930
+ adult?: Maybe<Scalars["Int"]>;
5931
+ /** EuroNCAP rating of child protection (out of 100%) */
5932
+ child?: Maybe<Scalars["Int"]>;
5933
+ /** EuroNCAP rating of vulnerable road users (out of 100%) */
5934
+ vru?: Maybe<Scalars["Int"]>;
5935
+ /** EuroNCAP rating of safety assists (out of 100%) */
5936
+ sa?: Maybe<Scalars["Int"]>;
5937
+ };
5938
+
5939
+ /** Propulsion */
5940
+ export enum VehiclePropulsion {
5941
+ /** All-wheel drive vehicle */
5942
+ AWD = "AWD",
5943
+ /** Front-wheel drive vehicle */
5944
+ FRONT = "Front",
5945
+ /** Rear-wheel drive vehicle */
5946
+ REAR = "Rear"
5947
+ }
5948
+
5949
+ /** Status of a vehicle provider */
5950
+ export enum VehicleProviderStatus {
5951
+ /** Is imported from any of the data providers */
5952
+ NEW = "new",
5953
+ /** Has been attached to core vehicle */
5954
+ ATTACHED = "attached",
5955
+ /** Has been detached from a core vehicle */
5956
+ DETACHED = "detached",
5957
+ /** Has been archived by database maintainer */
5958
+ ARCHIVED = "archived"
5959
+ }
5960
+
5961
+ export type VehicleRange = {
5962
+ /** Index range, default in km */
5963
+ provider?: Maybe<Scalars["Float"]>;
5964
+ /** Indicates if index range is estimated */
5965
+ provider_is_estimated?: Maybe<Scalars["Boolean"]>;
5966
+ /** Worst conditions are based on -10°C and use of heating */
5967
+ worst: VehicleRangeValue;
5968
+ /** Best conditions are based on 23°C and no use of A/C */
5969
+ best: VehicleRangeValue;
5970
+ /** Chargetrip's custom real world range provides a carefully calculated display range for all EV models. This is based on our own research and driving data */
5971
+ chargetrip_range: ChargetripRange;
5972
+ };
5973
+
5974
+ export type VehicleRangeproviderArgs = {
5975
+ unit?: Maybe<DistanceUnit>;
5976
+ };
5977
+
5978
+ export type VehicleRangeValue = {
5979
+ /** Estimated value on the highway or express roads, default in km */
5980
+ highway: Scalars["Float"];
5981
+ /** Estimated value on the cities road, default in km */
5982
+ city: Scalars["Float"];
5983
+ /** Estimated combined value, default in km */
5984
+ combined: Scalars["Float"];
5985
+ };
5986
+
5987
+ export type VehicleRangeValuehighwayArgs = {
5988
+ unit?: Maybe<DistanceUnit>;
5989
+ };
5990
+
5991
+ export type VehicleRangeValuecityArgs = {
5992
+ unit?: Maybe<DistanceUnit>;
5993
+ };
5994
+
5995
+ export type VehicleRangeValuecombinedArgs = {
5996
+ unit?: Maybe<DistanceUnit>;
5997
+ };
5998
+
5999
+ export type VehicleRouting = {
6000
+ /** Vehicles that support fast charging have a minimum charging speed of 43 kWh */
6001
+ fast_charging_support: Scalars["Boolean"];
6002
+ };
6003
+
6004
+ export type VehicleSpeedInput = {
6005
+ /** Value of the vehicle speed */
6006
+ value: Scalars["Float"];
6007
+ /** Type of the vehicle speed */
6008
+ type: SpeedUnit;
6009
+ /** Source of inputted data, defaults to 'manual' */
6010
+ source?: Maybe<TelemetryInputSource>;
6011
+ };
6012
+
6013
+ /** Status of a vehicle */
6014
+ export enum VehicleStatus {
6015
+ /** Is being reviewed by a human operator */
6016
+ DRAFT = "draft",
6017
+ /** Is public and can be used by a customer */
6018
+ PUBLIC = "public",
6019
+ /** Is private and can be used by a human operator */
6020
+ PRIVATE = "private",
6021
+ /** Is archived and can not be used */
6022
+ ARCHIVED = "archived"
6023
+ }
6024
+
6025
+ export type VehicleVideo = {
6026
+ /** Video id */
6027
+ id?: Maybe<Scalars["ID"]>;
6028
+ /** Full path URL of a video */
6029
+ url?: Maybe<Scalars["String"]>;
6030
+ };
6031
+
6032
+ export enum VolumeUnit {
6033
+ /** Return the volume in liters */
6034
+ LITER = "liter",
6035
+ /** Return the volume in cubic meters */
6036
+ CUBIC_METER = "cubic_meter",
6037
+ /** Return the volume in cubic feet */
6038
+ CUBIC_FOOT = "cubic_foot"
6039
+ }
6040
+
6041
+ export enum WeightUnit {
6042
+ /** Return the weight in kilograms */
6043
+ KILOGRAM = "kilogram",
6044
+ /** Return the weight in pounds */
6045
+ POUND = "pound"
6046
+ }